Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import urllib2
- website = 'www.youtube.com'
- dir = [
- '/admin.php', '/login.php', '/adminstrator.php', '/adminlogin.php', '/panel.php'
- ]
- def findAdmin():
- for admin in dir:
- try:
- adminCP = urllib2.urlopen(website+admin)
- statusCode = adminCP.code
- if statusCode ==(200):
- print('[+] Found: %s' %admin)
- except urllib2.URLError as msg:
- print('[+] Not Found: %s' %admin)
- findAdmin()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement