Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Directory Traversal Program # Recursively #
- #####################################
- # It's a python2 Compatible Program #
- #####################################
- # C:\Documents and Settings\All Users\Start Menu\Programs\Startup <--- use this wisely and send your ideas to @mail - contactthedead1998@gmail.com
- import os
- def listDir(current_dir,count):
- spc = count * "=="
- for item in os.listdir(current_dir):
- if os.path.isfile(current_dir + "/"+ item):
- new_spc = spc + "="
- print new_spc + "File> " + item
- elif os.path.isdir(current_dir + "/" + item):
- print spc + "[" + item + "]"
- newDir = current_dir + "/" + item
- listDir(newDir, count*2)
- else:
- print "unknown"
- listDir(".", 1)
- # its a Ransomeware Builder If you can use this #
- #Possibilities are endless, use this for intel gathering(use this to search specific kind of files and copy then silently to a place.)#
Add Comment
Please, Sign In to add comment