Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import os
to_replace = """eval(base64_decode("DQplcnJvcl9yZXBvcnRpbmco...9DQp9"));"""
for dname, dirs, files in os.walk("/Users/mariogudelj/code/"):
for fname in files:
fpath = os.path.join(dname, fname)
with open(fpath) as f:
s =
found = s.find(to_replace)
if(found != -1):
print fpath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment