Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import urllib2
- response = urllib2.urlopen('http://tabletworld.co.in')
- directory = ['/admin/', '/admin.php', '/login.php']
- code = response.code
- for password in directory:
- if code==(200):
- print('[*] Found: %s' %password)
- elif code==(404):
- print('[*] Forbidden: %s' %password)
- else:
- print('[*] Not Found: %s' %password)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement