- Recon
- Find vuln
- Exploit
- Document it
Unicornscans in cli, nmap in msfconsole to help store loot in database.
| # Store this file in ~/.pystartup, | |
| # set "export PYTHONSTARTUP=/home/user/.pystartup" | |
| # | |
| # Note that PYTHONSTARTUP does *not* expand "~", so you have to put in the | |
| # full path to your home directory. | |
| import atexit | |
| import os | |
| import readline | |
| import rlcompleter |
| #!/usr/bin/env python | |
| import sys | |
| if __name__ == "__main__": | |
| if len(sys.argv) != 2: | |
| print "usage: %s names.txt" % (sys.argv[0]) | |
| sys.exit(0) | |
| for line in open(sys.argv[1]): | |
| name = ''.join([c for c in line if c == " " or c.isalpha()]) |