CrashBandicot

Reverse YouGetSignal

Jul 11th, 2014
1,143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.79 KB | None | 0 0
  1. <?php
  2. /*Greetz To Hamza Parola , M-A , and all friend'z
  3.  
  4.               => Coder : CrashBandicot
  5.               => Usage : php reverse.php [target.com/Host Ip]
  6.               => Other : http://pastebin.com/u/CrashBandicot
  7.                          http://forum.gantengers-crews.org
  8.                          http://www.exploit4arab.net/
  9.                          http://sec4ever.com/
  10.  
  11. */
  12.  
  13. echo "
  14.                       +===========================+
  15.                       |   [Reverse YouGetSignal]  |
  16.                       |    [Result in Log.txt]    |
  17.                       +===========================+
  18.  
  19.               Usage => php $_SERVER[PHP_SELF] [target.com]
  20.                                    OR
  21.               php $_SERVER[PHP_SELF] [target.com] [PROXY:PORT]
  22.  
  23. ";
  24.  
  25. if(!$argv[1]) die("\nPut Target NIgga\n");
  26.     $target = $argv[1];
  27.  
  28.     $proxy = $argv[2];
  29. if(empty($proxy)) {
  30.  
  31.    $ch = curl_init();
  32.  curl_setopt($ch, CURLOPT_URL, "http://domains.yougetsignal.com/domains.php");
  33.  curl_setopt($ch, CURLOPT_POST, true);
  34.  curl_setopt($ch, CURLOPT_POSTFIELDS, "remoteAddress={$target}");
  35.  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  36.  $postResult = curl_exec($ch);
  37.  curl_close($ch);
  38.  
  39.  if(preg_match_all("#\"domainCount\":\"(.*?)\"#",$postResult,$domain)) {
  40.     $nigga = $domain[1];
  41. }
  42. foreach ($nigga as $domains) { echo "\n   [+] Total Websites: $domains\n";    }
  43.  echo "\n   [+]Host IP: ".gethostbyname($target)."\n";  
  44.    if(preg_match_all("#\[([^\]]*)\]#",$postResult,$fuck)){
  45.  $zebi = $fuck[1];
  46. }
  47. foreach ($zebi as $fucck) {  
  48.  
  49. if(preg_match_all("#\"(.*?)\", \"\"#",$fucck,$matches)) {  
  50.     $klawi = $matches[1];
  51. foreach ($klawi as $fuckaa)  {  
  52.  
  53.   $save = fopen('Log.txt','ab');
  54.   fwrite($save,"http://".$fuckaa."/\r\n");
  55.   fclose($save);
  56. } }} echo "\n [!] Result in Log.txt\n";
  57. } else {
  58.  
  59.     $ch = curl_init();
  60.  curl_setopt($ch, CURLOPT_URL, "http://domains.yougetsignal.com/domains.php");
  61.  curl_setopt($ch, CURLOPT_POST, true);
  62.  curl_setopt($ch, CURLOPT_POSTFIELDS, "remoteAddress={$target}");
  63.  curl_setopt($ch, CURLOPT_PROXY, $proxy);
  64.  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  65.  $postResult = curl_exec($ch);
  66.  curl_close($ch);
  67.  
  68.  if(preg_match_all("#\"domainCount\":\"(.*?)\"#",$postResult,$domain)) {
  69. $nigga = $domain[1];
  70. }
  71. foreach ($nigga as $domains) { echo "\n   [+] Total Websites: $domains\n";    }
  72.  echo "\n   [+]Host IP: ".gethostbyname($target)."\n";
  73.  echo "\n   [+]Proxy: ".$proxy."\n";
  74. if(preg_match_all("#\[([^\]]*)\]#",$postResult,$fuck)){
  75.  $zebi = $fuck[1];
  76. }
  77. foreach ($zebi as $fucck) {  
  78.  
  79.  if(preg_match_all("#\"(.*?)\", \"\"#",$fucck,$matches)) {  
  80.     $klawi = $matches[1];
  81. foreach ($klawi as $fuckaa)  {  
  82.  
  83.   $save = fopen('Log.txt','ab');
  84.   fwrite($save,"http://".$fuckaa."/\r\n");
  85.   fclose($save);
  86. } }}
  87.  
  88. echo "\n [!] Result in Log.txt\n"; }
  89. ?>
Advertisement
Add Comment
Please, Sign In to add comment