If you don’t want to buy shoeshine, try learning to spit shine shoes.
The toothbrush tactic works best on fuzzy flip flops. The bristles can work between the fuzz in a way that other cleaning products cannot.
Use concentrated dish soap, if you have it. If your flip flops are white and incredibly dirty, you can add bleach – but be careful not to get it on your skin.