Skip to content

Instantly share code, notes, and snippets.

@abaykan
Created May 10, 2018 11:41
Show Gist options
  • Save abaykan/201b183d324caded99feea09427a8639 to your computer and use it in GitHub Desktop.
Save abaykan/201b183d324caded99feea09427a8639 to your computer and use it in GitHub Desktop.
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Usage
--------------
./adfin
Enter Site Name (ex: abaykan.com)
"""
import urllib2,os,sys
banner = """
_-----_
| |
|--(o)--| ╒ abaykandotcom ════════════════════════╕
`---------´ | Another admin panel finder. │
( _´U`_ ) | Enter the site name, (ex: abaykan.com)|
/___A___\ ╘═══════════════════════════════════════╛
| ~ |
__'.___.'__
´ ` |° ´ Y `
"""
os.system('clear')
print banner
site = raw_input("Enter Site Name (ex: abaykan.com) : ")
if "http://" not in site:
site ="http://"+site
admin = ['/admin/','/administrator/','/0admin33','/admin1/','/cms/','/admin2/','/admin3/','/admin4/','/admin5/','/usuarios/','/usuario/','/administrator/','/moderator/','/webadmin/','/adminarea/','/bb-admin/','/adminLogin/','/admin_area/','/panel-administracion/','/instadmin/',
'/memberadmin/','/administratorlogin/','/adm/','/admin/account.php','/admin/index.php','/admin/login.php','/admin/admin.php','/admin/account.php',
'/admin_area/admin.php','/admin_area/login.php','/siteadmin/login.php','/siteadmin/index.php','/siteadmin/login.html','/admin/account.html','/admin/index.html','/admin/login.html','/admin/admin.html',
'/admin_area/index.php','/bb-admin/index.php','/bb-admin/login.php','/bb-admin/admin.php','/admin/home.php','/admin_area/login.html','/admin_area/index.html',
'/admin/controlpanel.php','/admin.php','/admincp/index.asp','/admincp/login.asp','/admincp/index.html','/admin/account.html','/adminpanel.html','/webadmin.html',
'/webadmin/index.html','/webadmin/admin.html','/webadmin/login.html','/admin/admin_login.html','/admin_login.html','/panel-administracion/login.html',
'/admin/cp.php','/cp.php','/administrator/index.php','/administrator/login.php','/nsw/admin/login.php','/webadmin/login.php','/admin/admin_login.php','/admin_login.php',
'/administrator/account.php','/administrator.php','/admin_area/admin.html','/pages/admin/admin-login.php','/admin/admin-login.php','/admin-login.php',
'/bb-admin/index.html','/bb-admin/login.html','/acceso.php','/bb-admin/admin.html','/admin/home.html','login.php','/modelsearch/login.php','/moderator.php','/moderator/login.php',
'/moderator/admin.php','/account.php','/pages/admin/admin-login.html','/admin/admin-login.html','/admin-login.html','/controlpanel.php','/admincontrol.php',
'/admin/adminLogin.html','/adminLogin.html','/admin/adminLogin.html','/home.html','/rcjakar/admin/login.php','/adminarea/index.html','/adminarea/admin.html',
'/webadmin.php','/webadmin/index.php','/webadmin/admin.php','/admin/controlpanel.html','/admin.html','/admin/cp.html','/cp.html','/adminpanel.php','/moderator.html',
'/administrator/index.html','/administrator/login.html','/user.html','/administrator/account.html','/administrator.html','/login.html','/modelsearch/login.html',
'/moderator/login.html','/adminarea/login.html','/panel-administracion/index.html','/panel-administracion/admin.html','/modelsearch/index.html','/modelsearch/admin.html',
'/admincontrol/login.html','/adm/index.html','/adm.html','/moderator/admin.html','/user.php','/account.html','/controlpanel.html','/admincontrol.html',
'/panel-administracion/login.php','/wp-login.php','/adminLogin.php','/admin/adminLogin.php','/home.php','/admin.php','/adminarea/index.php',
'/adminarea/admin.php','/adminarea/login.php','/panel-administracion/index.php','/panel-administracion/admin.php','/modelsearch/index.php',
'/modelsearch/admin.php','/admincontrol/login.php','/adm/admloginuser.php','/admloginuser.php','/admin2.php','/admin2/login.php','/admin2/index.php','/usuarios/login.php',
'/adm/index.php','/adm.php','/affiliate.php','/adm_auth.php','/memberadmin.php','/administratorlogin.php','/user/login','administrator','log','log.php']
for i in admin:
try:
adminlogin = urllib2.urlopen(site+i)
checkurl = adminlogin.code
if checkurl ==200:
print site+i,'\x1b[6;30;42m' + ' GOTCHA! ' + '\x1b[0m'
continue
except urllib2.URLError, checkurl:
if checkurl == 404:
print site+i," "" Not Found :/"
else:
print site+i,''' Error '''
except KeyboardInterrupt:
print("\n[-] Ctrl + C Detected")
print("[-] Exiting")
os._exit(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment