This Ruby script scans a given site looking for administrator login pages.
4807fc91ca699c013d3390a37be1c780e241a1029fe00cbc5dffd54990d56312
#!/usr/bin/ruby
#
#
# blkhtc0rp@yahoo.com.br
# $login-finder.rb
#
# Codado por FuRt3X
#
# h4x0r(~)$ ruby login-finder.rb www.xxx.com /
# [*] Admin login finder
# [*] Codado por FuRt3X
#
# testando: /admin/
# encontrado: /admin/
#
#
require 'net/http'
vitima = ARGV[0]
path = ARGV[1]
### tor proxy
proxy = '127.0.0.1'
proxy_porta = 8118
if ARGV.length != 2
puts "#{$0} www.vitima.com.br [ /path/ or / ]"
exit
end
painels = ["admin/", "admin1.php", "administrador/", "administracao/", "painel/", "administraçao/" ,
"administracao.php", "administraçao.php", "administrateur/", "administrateur.php", "beheerder/",
"administracion/", "administracion.php","beheerder.php", "adminisztrátora/", "adminisztrátora.php",
"amministratore/", "amministratore.php", "v2/painel/", "admin1.html", "admin2.php", "admin2.html",
"yonetim.php", "yonetim.html", "yonetici.php", "yonetici.html", "ccms/", "ccms/login.php", "ccms/index.php", "maintenance/",
"webmaster/", "adm/", "configuration/", "configure/", "websvn/", "admin/account.php",
"admin/account.html", "admin/index.php", "admin/index.html", "admin/login.php", "admin/login.html", "admin/home.php", "admin/controlpanel.html", "admin/controlpanel.php", "admin.php", "admin.html", "admin/cp.php", "admin/cp.html", "cp.php", "cp.html", "administrator/", "administrator/index.html", "administrator/index.php", "administrator/login.html", "administrator/login.php", "administrator/account.html", "administrator/account.php", "administrator.php", "administrator.html", "login.php", "login.html", "modelsearch/login.php", "moderator.php", "moderator.html", "moderator/login.php", "moderator/login.html", "moderator/admin.php", "moderator/admin.html", "moderator/", "account.php", "account.html", "controlpanel/", "controlpanel.php", "controlpanel.html", "admincontrol.php", "admincontrol.html", "adminpanel.php", "adminpanel.html", "admin1.asp", "admin2.asp", "yonetim.asp", "yonetici.asp", "admin/account.asp", "admin/index.asp", "admin/login.asp", "admin/home.asp", "admin/controlpanel.asp", "admin.asp", "admin/cp.asp", "cp.asp", "administrator/index.asp", "administrator/login.asp", "administrator/account.asp", "administrator.asp", "login.asp", "modelsearch/login.asp", "moderator.asp", "moderator/login.asp", "moderator/admin.asp", "account.asp", "controlpanel.asp", "admincontrol.asp", "adminpanel.asp", "fileadmin/", "fileadmin.php", "fileadmin.asp", "fileadmin.html", "administration/", "administration.php", "administration.html", "sysadmin.php", "sysadmin.html", "phpmyadmin/", "myadmin/", "sysadmin.asp", "sysadmin/", "ur-admin.asp", "ur-admin.php", "ur-admin.html", "ur-admin/", "Server.php", "Server.html", "Server.asp", "Server/", "wp-admin/", "administr8.php", "administr8.html", "administr8/", "administr8.asp", "webadmin/", "webadmin.php", "webadmin.asp", "webadmin.html", "administratie/", "admins/", "admins.php", "admins.asp", "admins.html", "administrivia/", "Database_Administration/", "WebAdmin/", "useradmin/", "sysadmins/", "admin1/", "system-administration/", "administrators/", "pgadmin/", "directadmin/", "staradmin/", "ServerAdministrator/", "SysAdmin/", "administer/", "LiveUser_Admin/", "sys-admin/", "typo3/", "panel/", "cpanel/", "cPanel/", "cpanel_file/", "platz_login/", "rcLogin/", "blogindex/", "formslogin/", "autologin/", "support_login/", "meta_login/", "manuallogin/", "simpleLogin/", "loginflat/", "utility_login/", "showlogin/", "memlogin/", "members/", "login-redirect/", "sub-login/", "wp-login/", "login1/", "dir-login/", "login_db/", "xlogin/", "smblogin/", "customer_login/", "UserLogin/", "login-us/", "acct_login/", "admin_area/", "bigadmin/", "project-admins/", "phppgadmin/", "pureadmin/", "sql-admin/", "radmind/", "openvpnadmin/", "wizmysqladmin/", "vadmind/", "ezsqliteadmin/", "hpwebjetadmin/", "newsadmin/", "adminpro/", "Lotus_Domino_Admin/", "bbadmin/", "vmailadmin/", "Indy_admin/", "ccp14admin/", "irc-macadmin/", "banneradmin/", "sshadmin/", "phpldapadmin/", "macadmin/", "administratoraccounts/", "admin4_account/", "admin4_colon/", "radmind-1/", "Super-Admin/", "AdminTools/", "cmsadmin/", "SysAdmin2/", "globes_admin/", "cadmins/", "phpSQLiteAdmin/", "navSiteAdmin/", "server_admin_small/", "logo_sysadmin/", "server/", "database_administration/", "power_user/", "system_administration/", "ss_vms_admin_sm/"]
puts "[*] Admin login finder"
puts "[*] Codado por FuRt3X"
puts
painels.each { |brute|
http = Net::HTTP::Proxy(proxy, proxy_porta).new(vitima)
find_lg = path + brute
headers, body = http.get(find_lg)
puts "testando: #{find_lg}"
if headers.code =~ /200/
print "encontrado: #{find_lg}\n"
exit
end
}
print "portal de login nao encontrado =( \n"