MCPcopy Index your code
hub / github.com/jaykali/hackerpro / findZip

Method findZip

hackerpro.py:1191–1206  ·  view source on GitHub ↗

find zip files from grabbed websites it may contain useful informations

(self)

Source from the content-addressed store, hash-verified

1189 # find ZIP files
1190
1191 def findZip(self):
1192 """
1193 find zip files from grabbed websites
1194 it may contain useful informations
1195 """
1196 zipList = ['backup.tar.gz', 'backup/backup.tar.gz', 'backup/backup.zip', 'vb/backup.zip', 'site/backup.zip', 'backup.zip', 'backup.rar', 'backup.sql', 'vb/vb.zip', 'vb.zip', 'vb.sql', 'vb.rar',
1197 'vb1.zip', 'vb2.zip', 'vbb.zip', 'vb3.zip', 'upload.zip', 'up/upload.zip', 'joomla.zip', 'joomla.rar', 'joomla.sql', 'wordpress.zip', 'wp/wordpress.zip', 'blog/wordpress.zip', 'wordpress.rar']
1198 clearScr()
1199 print "[~] Finding zip file"
1200 for site in self.sites:
1201 for zip1 in zipList:
1202 try:
1203 if urllib.urlopen(site + zip1).getcode() == 200:
1204 print " [*] Found zip file -> ", site + zip1
1205 except IOError:
1206 pass
1207
1208 def findUp(self):
1209 """

Callers 1

__init__Method · 0.95

Calls 1

clearScrFunction · 0.85

Tested by

no test coverage detected