comment
IRC Chat
play_arrow
Este sitio utiliza cookies propias y de terceros. Si continúa navegando consideramos que acepta el uso de cookies. OK Más Información.

Scaner de Directorios

  • 0 Respuestas
  • 1284 Vistas

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado @ed33x

  • *
  • Underc0der
  • Mensajes: 107
  • Actividad:
    0%
  • Reputación 0
    • Ver Perfil
    • Email
« en: Enero 27, 2011, 08:55:45 pm »
Código: Perl
  1. #!/usr/bin/perl
  2.  
  3. #
  4.  
  5. #bY boER
  6.  
  7. use LWP::UserAgent;
  8.  
  9. my $ua = LWP::UserAgent->new();
  10.  
  11. $ua->timeout(10);
  12.  
  13. $ua->agent("Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801");
  14.  
  15. unless($ARGV[0]){
  16.  
  17.         OUT("#############################################\n");
  18.  
  19.         OUT("\n Usage: perl $0 website\n");
  20.  
  21.         OUT("\n#############################################\n");
  22.  
  23.         No tienes permisos para ver links. Registrate o Entra con tu cuenta(0);
  24.  
  25. }
  26.  
  27. if($^O =~ /Win/){
  28.  
  29.         No tienes permisos para ver links. Registrate o Entra con tu cuenta("cls");
  30.  
  31. }else{
  32.  
  33.         No tienes permisos para ver links. Registrate o Entra con tu cuenta("clear");
  34.  
  35. }
  36.  
  37. OUT("#############################################\n");
  38.  
  39. OUT("        Scanner Directory!\n");
  40.  
  41. OUT("#############################################\n");
  42.  
  43. OUT(" 200 - OK\n");
  44.  
  45. OUT(" 401 - Authorization Required\n");
  46.  
  47. OUT(" 403 - Forbidden\n");
  48.  
  49. OUT(" 500 - Bad Hostname | Internal Server Error\n");
  50.  
  51. OUT("#############################################\n");
  52.  
  53. $webcl = clear($ARGV[0]);
  54.  
  55. OUT("\n# Scanning: $webcl\n\n");
  56.  
  57. brute($webcl);
  58.  
  59. OUT("\n# Scanning Finished\n");
  60.  
  61. sub brute{
  62.  
  63.         $web = No tienes permisos para ver links. Registrate o Entra con tu cuenta;
  64.  
  65.         @paths = ("access","active","adm","admin","_admin","administrator",
  66.  
  67.         "administracion","_administracion","~administracion","administer",
  68.  
  69.         "upload","uploads","~adm","~admin","~administrator","~guest","~mail",
  70.  
  71.         "~operator","~root","~sys","~sysadm","~sysadmin","~test","~user","~www",
  72.  
  73.         "~webmaster","admin_upload","admin_uploadpic","editpassword",
  74.  
  75.         "manager_userinfo","manager_tongji","managerenter","incupfile","inc",
  76.  
  77.         "upfile","admin_index","admin_admin","index_admin","index","admindefault",
  78.  
  79.         "default","manage","login","manage_index","index_manage","admin1",
  80.  
  81.         "admin_login","login_admin","ad_login","ad_manage","count","manager",
  82.  
  83.         "adminlogin","adminuserlogin","adm_login","chklogin","adduser","adminuser",
  84.  
  85.         "admin_user","edituser","adminadduser","adminmember","addmember","adminedit",
  86.  
  87.         "admin_edit","up","upfiles","aadmin","admintab","admin_main","fileadmin",
  88.  
  89.         "databases","includeinc","***","app","apacheasp","apps","archive","archives",
  90.  
  91.         "asp","back","backup","back-up","bak","bakup","bak-up","basic","bea","bin",
  92.  
  93.         "binaries","broken","c","cc","connections","ccs","cache","cgi","fcgi",
  94.  
  95.         "cgibin","cgi-win","class","classes","classified","classifieds","code",
  96.  
  97.         "common","credit","creditcards","cv","cvs","customer","customers",
  98.  
  99.         "CYBERDOCS","CYBERDOCS25","CYBERDOCS31","d","dfiles","data","database",
  100.  
  101.         "db","dbase","dbm","dbms","demo","dev","devel","develop","development",
  102.  
  103.         "doc","docs","docs41","docs51","dms","e","email","downloads","ecommerce",
  104.  
  105.         "ebriefs","error","errors","esales","echannel","esupport","etc","exec",
  106.  
  107.         "executable","executables","extra","extranet","examples","exchange",
  108.  
  109.         "fcgi-bin","functions","feedback","file","files","forum","forums","ftp",
  110.  
  111.         "graphics","galeria","gallery","galerias","guestbook","guests","help",
  112.  
  113.         "hidden","hide","home","homes","htm","html","imagen","images","icons",
  114.  
  115.         "incs","include","includes","interactive","internet","intranet","java",
  116.  
  117.         "javascript","js","jsp","keep","kept","ldap","lib","libs","libraries",
  118.  
  119.         "links","log","logfiles","logs","lightbox2","mail","me","members","mine",
  120.  
  121.         "mirror","mirrors","mp3","mp3s","ms","mssql","ms-sql","music","my","new",
  122.  
  123.         "old","online","order","orders","pages","_pages","pass","passes","passwd",
  124.  
  125.         "password","polls","passwords","perl","personal","personals","php","_php",
  126.  
  127.         "phpincludes","pics","pl","pls","plx","press","priv","private","products",
  128.  
  129.         "production","pub","public","removed","reports","root","sales","save",
  130.  
  131.         "saved","scripts","secret","secrets","security","servlet","servlets",
  132.  
  133.         "soap","soapdocs","source","site","sites","SiteServer","sql","src",
  134.  
  135.         "staff","stats","statistics","ssi","stuff","support","temp","temps","test",
  136.  
  137.         "text","texts","tmp","user","users","var","vb","vbs","vbscript","vbscripts",
  138.  
  139.         "weblogic","www","xcache","xsql","zip","zips","W3SVC","W3SVC3","index.php",
  140.  
  141.         "index.html","phpmyadmin","phpMyAdmin",".bash_history","upload.php",
  142.  
  143.         "upload.asp","uploader.php","uploader.asp","phpinfo.php","_banners",
  144.  
  145.         "_adv","468","88","ads","adv","ban","baners","bann","banner","banners",
  146.  
  147.         "bannerz","be","begun","bn","bnr","cnstats","cnt","phpadsnew","server-status",
  148.  
  149.         "server-info",".server-status",".server-info",".passwd","INSTALL","_vti_log",
  150.  
  151.         "admcgi","_notes","_tmp","_temp","panel","_panel","~panel","upFiles","img",
  152.  
  153.         "es","css","socios","Documentation","INSTALLsetup.php","Upfile","cgi-bin",
  154.  
  155.         "content","secure","mysql","4Dbin","trustscn_pdos","trustscn_pdos1","_vti_bin",
  156.  
  157.         "Connections","_mmServerScripts","bot","imag","lobatos","phpmyadm","Phpmyadmin",
  158.  
  159.         "PhpMyAdmin","PhpGAdmin","PhpInclude","PhpIncludes","phpscripts","PhpScripts",
  160.  
  161.         "_vti_txt","cgi-local","cgis","WS_FTP.LOG","User.php","Upload.php","AlbumDB.php",
  162.  
  163.         "add_comment.php","add_photo.php","admin.php","adm.php","adm.asp","admin.asp","main",
  164.  
  165.         "web","global","globals","uploader","logon","sign","signin","example","update",
  166.  
  167.         "readme","client","clients","cmd","logfile","details","shtml","asa","jsa",
  168.  
  169.         "txt","cfm","sav","nsf","bat","com","exe","dll","reg","tar","tar.gz","tgz",
  170.  
  171.         "o","sh","member","auth","login.php","user.php","admin.php~","members.php",
  172.  
  173.         "members.php~","configuration.php~","config.php~","Setting.php~","Settings.php~",
  174.  
  175.         "Settings_bak.php~","Setting_bak.php~","config-bak.php~","member.php","users.php",
  176.  
  177.         "webadmin.php","webadmin","miembro","miembros","administrador","administration",
  178.  
  179.         "config.php.inc","config.php.inc~","configuration.php.inc","configuration.php.inc~",
  180.  
  181.         "DBConnection.inc","includesDBConnection.inc","includesDBConnection.php.inc");
  182.  
  183.         foreach $path(@paths){
  184.  
  185.                 No tienes permisos para ver links. Registrate o Entra con tu cuenta($path);
  186.  
  187.                 $code = $ua->get($web . $path)->status_line;
  188.  
  189.                 check_code($code,$path);
  190.  
  191.         }
  192.  
  193. }
  194.  
  195. sub check_code{
  196.  
  197.         $ncode = No tienes permisos para ver links. Registrate o Entra con tu cuenta;
  198.  
  199.         $path = No tienes permisos para ver links. Registrate o Entra con tu cuenta;
  200.  
  201.         $wp = $webcl . $path;
  202.  
  203.         if($ncode =~ /200/){
  204.  
  205.                 OUT("$wp\t=>\t200 OK\n");
  206.  
  207.         }
  208.  
  209.         if($ncode =~ /401/){
  210.  
  211.                 OUT("$wp\t=>\t401 Authorization Required\n");
  212.  
  213.         }
  214.  
  215.         if($ncode =~ /403/){
  216.  
  217.                 OUT("$wp\t=>\t403 Forbidden\n");
  218.  
  219.         }
  220.  
  221.         if($ncode =~ /500/){
  222.  
  223.                 OUT("$wp\t=>\t500 Internal Server Error\n");
  224.  
  225.         }
  226.  
  227. }
  228.  
  229. sub clear{
  230.  
  231.         $website = No tienes permisos para ver links. Registrate o Entra con tu cuenta;
  232.  
  233.         if($website !~ /^http/){
  234.  
  235.                 $website = 'http://' . $website;
  236.  
  237.         }
  238.  
  239.         if($website !~ /\/$/){
  240.  
  241.                 $website.='/';
  242.  
  243.         }
  244.  
  245.         No tienes permisos para ver links. Registrate o Entra con tu cuenta $website;
  246.  
  247. }
  248.  
  249. sub OUT{
  250.  
  251.         $msg = No tienes permisos para ver links. Registrate o Entra con tu cuenta;
  252.  
  253.         No tienes permisos para ver links. Registrate o Entra con tu cuenta STDOUT, "$msg";
  254.  
  255. }
« Última modificación: Marzo 14, 2015, 09:56:27 am por Expermicid »
Me cambie de messenger ahora es: edeex@live.comNo tienes permisos para ver links. Registrate o Entra con tu cuenta

 

¿Te gustó el post? COMPARTILO!



Scaner SQLi Perl

Iniciado por @ed33x

Respuestas: 0
Vistas: 1508
Último mensaje Enero 21, 2011, 04:06:45 pm
por @ed33x