elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Entrar al Canal Oficial Telegram de elhacker.net


+  Foro de elhacker.net
|-+  Programación
| |-+  Desarrollo Web
| | |-+  PHP (Moderador: #!drvy)
| | | |-+  ayuda, como ejecutar codigo php [metroBOT]?
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: ayuda, como ejecutar codigo php [metroBOT]?  (Leído 2,217 veces)
tobii_akatsukii

Desconectado Desconectado

Mensajes: 2


Ver Perfil
ayuda, como ejecutar codigo php [metroBOT]?
« en: 14 Abril 2009, 07:25 am »

el archivo es el siguiente http://www.mediafire.com/?nmynojx2njz


alguien podria descargarlo y probarlo, lo baje de aki

http://keynetsecurity.blogspot.com/2008/10/metrobot-bot-para-metroflog-by-keynet.html

esque no se como ejecutar el codigo

alguien podria ayudarme?


En línea

jdc


Desconectado Desconectado

Mensajes: 3.406


Ver Perfil WWW
Re: ayuda, como ejecutar codigo php [metroBOT]?
« Respuesta #1 en: 14 Abril 2009, 07:30 am »

Tienes que subirlo a un servidor con soporte PHP

Y luego abres la direccion...
Aunque mejor que alguien con tiempo revise el code yo no me fiaria asi como asi porque tendras que meter tus datos

Código
  1. <title>MetroBot Web Spider 2.2 - by KeyNet</title>
  2. <style>
  3. *{
  4. background-color:#000000;
  5. color:#CCCCCC;
  6. font-family:Verdana;
  7. font-size:10px;
  8. border-color:white;
  9. }
  10. #boton{
  11. background:none;
  12. border:solid;
  13. border-width:1px;
  14. }
  15. #no
  16. {
  17. color:red;
  18. }
  19. #yes
  20. {
  21. color:orange;
  22. }
  23. a,a:link,a:visited,a:active
  24. {
  25. color:#ffffff;
  26. text-decoration:none;
  27. }
  28. a:hover
  29. {
  30. color:#CCCCCC;
  31. }
  32. </style>
  33. <form action="" method="POST">
  34. <table>
  35. <tr>
  36. <td><h1>MetroBot Web Spider 2.2 - by KeyNet</h1></td>
  37. </tr>
  38. </table>
  39. <table>
  40. <tr>
  41. <td>-- Login --</td>
  42. </tr>
  43. <tr>
  44. <td>Uusario:</td>
  45. <td><input id="boton" type="text" name="usuario" value="metroflog"></td>
  46. </tr>
  47. <tr>
  48. <td>Password:</td>
  49. <td><input id="boton" type="text" name="password" value="123456xx"></td>
  50. </tr>
  51. <tr>
  52. <td>-- Spammear A --</td>
  53. </tr>
  54. <tr>
  55. <td>AL AZAR:</td>
  56. <td><input type="radio" name="random2hit" value="R" checked></td>
  57. </tr>
  58. <tr>
  59. <td>MAS VISITADOS:</td>
  60. <td><input type="radio" name="random2hit" value="H"></td>
  61. </tr>
  62. </table>
  63. <table>
  64. <tr>
  65. <td>-- Firmas --</td>
  66. </tr>
  67. <tr>
  68. <td><textarea name="firma1" cols="80" rows="20">hola $USER$ :D
  69. </textarea></td>
  70. </tr>
  71. <tr>
  72. <td><input type="submit" value="¡¡Send you Spamm!!"></td>
  73. </tr>
  74. </table>
  75. <?php
  76. $hora_inicio = date('H:i');
  77. $usuario = $_POST['usuario'];
  78. $password = $_POST['password'];
  79. $firma1 = $_POST['firma1'];
  80. $random0hit = $_POST['random2hit'];
  81. switch($random0hit)
  82. {
  83. case R:
  84. $metro_random = 'http://www.metroflog.com/directory/random';
  85. break;
  86. case H:
  87. $metro_random = 'http://www.metroflog.com/directory/hits';
  88. break;
  89. default:
  90. $metro_random = 'http://www.metroflog.com/directory/random';
  91. }
  92. $firmaspamm=0;
  93. if($usuario!="" && $password!="")
  94. {
  95. print '<ul>';
  96. while(1) // con el while(1) es infinito, sin él es solo -20
  97. {
  98. $random_content = @file_get_contents($metro_random);
  99. $random_lines = explode("\n",$random_content);
  100. $random_count_lines = count($random_lines);
  101. for($extract_randoms_mt_num=0;$extract_randoms_mt_num<$random_count_lines;$extract_randoms_mt_num++)
  102. {
  103. if(strpos($random_lines[$extract_randoms_mt_num],'<td width="100">') && $mt1!=1)
  104. {
  105. $clean_mt1 = explode('<a href="',$random_lines[$extract_randoms_mt_num]);
  106. $clean_mt2 = explode('">',$clean_mt1[1]);
  107. $mt = 'http://www.metroflog.com'.$clean_mt2[0];
  108. $mt_content = @file_get_contents($mt);
  109. $mt_content_lines = explode("\n",$mt_content);
  110. $mt_count_lines = count($mt_content_lines);
  111. for($extract_important_vars=0;$extract_important_vars<$mt_count_lines;$extract_important_vars++)
  112. {
  113. if(strpos($mt_content_lines[$extract_important_vars],'name="enviarmensaje"'))
  114. {
  115. $clean_enviarmensaje_value1 = explode('value="',$mt_content_lines[$extract_important_vars]);
  116. $clean_enviarmensaje_value2 = explode('"',$clean_enviarmensaje_value1[1]);
  117. $enviarmensaje_value = $clean_enviarmensaje_value2[0];
  118. //echo $enviarmensaje_value;
  119. }
  120. if(strpos($mt_content_lines[$extract_important_vars],'name="ID"'))
  121. {
  122. $clean_ID_value1 = explode('value="',$mt_content_lines[$extract_important_vars]);
  123. $clean_ID_value2 = explode('"',$clean_ID_value1[1]);
  124. $ID_value = $clean_ID_value2[0];
  125. //echo $ID_value;
  126. }
  127. if(strpos($mt_content_lines[$extract_important_vars],'name="Key"'))
  128. {
  129. $clean_Key_value1 = explode('value="',$mt_content_lines[$extract_important_vars]);
  130. $clean_Key_value2 = explode('"',$clean_Key_value1[1]);
  131. $Key_value = $clean_Key_value2[0];
  132. //echo $Key_value;
  133. }
  134. if(strpos($mt_content_lines[$extract_important_vars],'name="fecha"'))
  135. {
  136. $clean_fecha_value1 = explode('value="',$mt_content_lines[$extract_important_vars]);
  137. $clean_fecha_value2 = explode('"',$clean_fecha_value1[1]);
  138. $fecha_value = $clean_fecha_value2[0];
  139. //echo $fecha_value;
  140. }
  141. if(strpos($mt_content_lines[$extract_important_vars],'name="titulo"'))
  142. {
  143. $clean_titulo_value1 = explode('value="',$mt_content_lines[$extract_important_vars]);
  144. $clean_titulo_value2 = explode('"',$clean_titulo_value1[1]);
  145. $titulo_value = $clean_titulo_value2[0];
  146. //echo $titulo_value;
  147. }
  148. if(strpos($mt_content_lines[$extract_important_vars],'name="id_antibot"'))
  149. {
  150. print '<li><code>Bot detectado !!</code></li>';
  151. print '<li><code>Hora de inicio: '.$hora_inicio.'</code></li>';
  152. print '<li><code>Hora de finalizacion: '.date('H:i').'</code></li>';
  153. print '<li><code>En total se spammearon '.$firmaspamm." metroFLOG's..</code></li>";
  154. print '</ul>';
  155. exit();
  156. }
  157. }
  158. $clean_victima_user = explode('.com/',$mt);
  159. $victima_user = $clean_victima_user[1];
  160. $one0two = rand(1,2);
  161. $contenido_firmas = $firma1;
  162. if($enviarmensaje_value!="")
  163. {
  164. $contenido_firmas = str_replace('$USER$',$victima_user,$contenido_firmas);
  165. ##################################################################
  166. $host = 'www.metroflog.com';
  167. $path2crack = '/'.$victima_user.'#Msg';
  168. $log_string = 'mensaje='.$contenido_firmas.'&username='.$usuario.'&password='.$password.'&Recordar=S&enviarmensaje='.urlencode($enviarmensaje_value).'&ID='.$ID_value.'&Key='.$Key_value.'&fecha='.$fecha_value.'&titulo='.$titulo_value.'&pos=#Msg';
  169. $count_log_string = strlen($log_string);
  170. $header = "POST ".$path2crack." HTTP/1.1\r\n";
  171. $header .= "Host: ".$host."\r\n";
  172. $header .= "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16\r\n";
  173. $header .= "Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,image/jpg,image/gif,*/*;q=0.5\r\n";
  174. $header .= "Accept-Language: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3\r\n";
  175. $header .= "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n";
  176. $header .= "Keep-Alive: 300\r\n";
  177. $header .= "Proxy-Connection: keep-alive\r\n";
  178. $header .= "Referer: http://".$host.$path2crack."\r\n";
  179. $header .= "Content-Type: application/x-www-form-urlencoded\r\n";
  180. $header .= "Content-Length: ".$count_log_string."\r\n\r\n";
  181. $header .= $log_string."\r\n\r\n";
  182. $socket = fsockopen($host,80);
  183. fwrite($socket,$header);
  184. $firmaspamm++;
  185. printf('<li><code id="yes"><a href="%s" TARGET=BLANK>%s</a> - (Metro nº%d) Spammed!!</code></li>',$mt,$victima_user,$firmaspamm);
  186. $enviarmensaje_value='';
  187. }
  188. else
  189. {
  190. printf('<li><code id="no"><a href="%s" TARGET=BLANK>%s</a> - (No Spammed - libro lleno)</code></li>',$mt,$victima_user);
  191. }
  192. }
  193. }
  194. } // finaliza el while(1)
  195. }
  196. ?>


En línea

tobii_akatsukii

Desconectado Desconectado

Mensajes: 2


Ver Perfil
Re: ayuda, como ejecutar codigo php [metroBOT]?
« Respuesta #2 en: 15 Abril 2009, 05:24 am »

Tienes que subirlo a un servidor con soporte PHP

Y luego abres la direccion...
Aunque mejor que alguien con tiempo revise el code yo no me fiaria asi como asi porque tendras que meter tus datos

Código
  1. <title>MetroBot Web Spider 2.2 - by KeyNet</title>
  2. <style>
  3. *{
  4. background-color:#000000;
  5. color:#CCCCCC;
  6. font-family:Verdana;
  7. font-size:10px;
  8. border-color:white;
  9. }
  10. #boton{
  11. background:none;
  12. border:solid;
  13. border-width:1px;
  14. }
  15. #no
  16. {
  17. color:red;
  18. }
  19. #yes
  20. {
  21. color:orange;
  22. }
  23. a,a:link,a:visited,a:active
  24. {
  25. color:#ffffff;
  26. text-decoration:none;
  27. }
  28. a:hover
  29. {
  30. color:#CCCCCC;
  31. }
  32. </style>
  33. <form action="" method="POST">
  34. <table>
  35. <tr>
  36. <td><h1>MetroBot Web Spider 2.2 - by KeyNet</h1></td>
  37. </tr>
  38. </table>
  39. <table>
  40. <tr>
  41. <td>-- Login --</td>
  42. </tr>
  43. <tr>
  44. <td>Uusario:</td>
  45. <td><input id="boton" type="text" name="usuario" value="metroflog"></td>
  46. </tr>
  47. <tr>
  48. <td>Password:</td>
  49. <td><input id="boton" type="text" name="password" value="123456xx"></td>
  50. </tr>
  51. <tr>
  52. <td>-- Spammear A --</td>
  53. </tr>
  54. <tr>
  55. <td>AL AZAR:</td>
  56. <td><input type="radio" name="random2hit" value="R" checked></td>
  57. </tr>
  58. <tr>
  59. <td>MAS VISITADOS:</td>
  60. <td><input type="radio" name="random2hit" value="H"></td>
  61. </tr>
  62. </table>
  63. <table>
  64. <tr>
  65. <td>-- Firmas --</td>
  66. </tr>
  67. <tr>
  68. <td><textarea name="firma1" cols="80" rows="20">hola $USER$ :D
  69. </textarea></td>
  70. </tr>
  71. <tr>
  72. <td><input type="submit" value="¡¡Send you Spamm!!"></td>
  73. </tr>
  74. </table>
  75. <?php
  76. $hora_inicio = date('H:i');
  77. $usuario = $_POST['usuario'];
  78. $password = $_POST['password'];
  79. $firma1 = $_POST['firma1'];
  80. $random0hit = $_POST['random2hit'];
  81. switch($random0hit)
  82. {
  83. case R:
  84. $metro_random = 'http://www.metroflog.com/directory/random';
  85. break;
  86. case H:
  87. $metro_random = 'http://www.metroflog.com/directory/hits';
  88. break;
  89. default:
  90. $metro_random = 'http://www.metroflog.com/directory/random';
  91. }
  92. $firmaspamm=0;
  93. if($usuario!="" && $password!="")
  94. {
  95. print '<ul>';
  96. while(1) // con el while(1) es infinito, sin él es solo -20
  97. {
  98. $random_content = @file_get_contents($metro_random);
  99. $random_lines = explode("\n",$random_content);
  100. $random_count_lines = count($random_lines);
  101. for($extract_randoms_mt_num=0;$extract_randoms_mt_num<$random_count_lines;$extract_randoms_mt_num++)
  102. {
  103. if(strpos($random_lines[$extract_randoms_mt_num],'<td width="100">') && $mt1!=1)
  104. {
  105. $clean_mt1 = explode('<a href="',$random_lines[$extract_randoms_mt_num]);
  106. $clean_mt2 = explode('">',$clean_mt1[1]);
  107. $mt = 'http://www.metroflog.com'.$clean_mt2[0];
  108. $mt_content = @file_get_contents($mt);
  109. $mt_content_lines = explode("\n",$mt_content);
  110. $mt_count_lines = count($mt_content_lines);
  111. for($extract_important_vars=0;$extract_important_vars<$mt_count_lines;$extract_important_vars++)
  112. {
  113. if(strpos($mt_content_lines[$extract_important_vars],'name="enviarmensaje"'))
  114. {
  115. $clean_enviarmensaje_value1 = explode('value="',$mt_content_lines[$extract_important_vars]);
  116. $clean_enviarmensaje_value2 = explode('"',$clean_enviarmensaje_value1[1]);
  117. $enviarmensaje_value = $clean_enviarmensaje_value2[0];
  118. //echo $enviarmensaje_value;
  119. }
  120. if(strpos($mt_content_lines[$extract_important_vars],'name="ID"'))
  121. {
  122. $clean_ID_value1 = explode('value="',$mt_content_lines[$extract_important_vars]);
  123. $clean_ID_value2 = explode('"',$clean_ID_value1[1]);
  124. $ID_value = $clean_ID_value2[0];
  125. //echo $ID_value;
  126. }
  127. if(strpos($mt_content_lines[$extract_important_vars],'name="Key"'))
  128. {
  129. $clean_Key_value1 = explode('value="',$mt_content_lines[$extract_important_vars]);
  130. $clean_Key_value2 = explode('"',$clean_Key_value1[1]);
  131. $Key_value = $clean_Key_value2[0];
  132. //echo $Key_value;
  133. }
  134. if(strpos($mt_content_lines[$extract_important_vars],'name="fecha"'))
  135. {
  136. $clean_fecha_value1 = explode('value="',$mt_content_lines[$extract_important_vars]);
  137. $clean_fecha_value2 = explode('"',$clean_fecha_value1[1]);
  138. $fecha_value = $clean_fecha_value2[0];
  139. //echo $fecha_value;
  140. }
  141. if(strpos($mt_content_lines[$extract_important_vars],'name="titulo"'))
  142. {
  143. $clean_titulo_value1 = explode('value="',$mt_content_lines[$extract_important_vars]);
  144. $clean_titulo_value2 = explode('"',$clean_titulo_value1[1]);
  145. $titulo_value = $clean_titulo_value2[0];
  146. //echo $titulo_value;
  147. }
  148. if(strpos($mt_content_lines[$extract_important_vars],'name="id_antibot"'))
  149. {
  150. print '<li><code>Bot detectado !!</code></li>';
  151. print '<li><code>Hora de inicio: '.$hora_inicio.'</code></li>';
  152. print '<li><code>Hora de finalizacion: '.date('H:i').'</code></li>';
  153. print '<li><code>En total se spammearon '.$firmaspamm." metroFLOG's..</code></li>";
  154. print '</ul>';
  155. exit();
  156. }
  157. }
  158. $clean_victima_user = explode('.com/',$mt);
  159. $victima_user = $clean_victima_user[1];
  160. $one0two = rand(1,2);
  161. $contenido_firmas = $firma1;
  162. if($enviarmensaje_value!="")
  163. {
  164. $contenido_firmas = str_replace('$USER$',$victima_user,$contenido_firmas);
  165. ##################################################################
  166. $host = 'www.metroflog.com';
  167. $path2crack = '/'.$victima_user.'#Msg';
  168. $log_string = 'mensaje='.$contenido_firmas.'&username='.$usuario.'&password='.$password.'&Recordar=S&enviarmensaje='.urlencode($enviarmensaje_value).'&ID='.$ID_value.'&Key='.$Key_value.'&fecha='.$fecha_value.'&titulo='.$titulo_value.'&pos=#Msg';
  169. $count_log_string = strlen($log_string);
  170. $header = "POST ".$path2crack." HTTP/1.1\r\n";
  171. $header .= "Host: ".$host."\r\n";
  172. $header .= "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16\r\n";
  173. $header .= "Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,image/jpg,image/gif,*/*;q=0.5\r\n";
  174. $header .= "Accept-Language: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3\r\n";
  175. $header .= "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n";
  176. $header .= "Keep-Alive: 300\r\n";
  177. $header .= "Proxy-Connection: keep-alive\r\n";
  178. $header .= "Referer: http://".$host.$path2crack."\r\n";
  179. $header .= "Content-Type: application/x-www-form-urlencoded\r\n";
  180. $header .= "Content-Length: ".$count_log_string."\r\n\r\n";
  181. $header .= $log_string."\r\n\r\n";
  182. $socket = fsockopen($host,80);
  183. fwrite($socket,$header);
  184. $firmaspamm++;
  185. printf('<li><code id="yes"><a href="%s" TARGET=BLANK>%s</a> - (Metro nº%d) Spammed!!</code></li>',$mt,$victima_user,$firmaspamm);
  186. $enviarmensaje_value='';
  187. }
  188. else
  189. {
  190. printf('<li><code id="no"><a href="%s" TARGET=BLANK>%s</a> - (No Spammed - libro lleno)</code></li>',$mt,$victima_user);
  191. }
  192. }
  193. }
  194. } // finaliza el while(1)
  195. }
  196. ?>


si ya se que lo tengo que subir a un sevidor php

pero exactamente ese es el problema, no se como subirlo a un servidor php ni siquiera se que paginas o sevidores ahi....

podrias decirme como?
En línea

jdc


Desconectado Desconectado

Mensajes: 3.406


Ver Perfil WWW
Re: ayuda, como ejecutar codigo php [metroBOT]?
« Respuesta #3 en: 15 Abril 2009, 05:47 am »

http://foro.elhacker.net/desarrollo_web/recomendando_host-t186537.0.html

http://foro.elhacker.net/desarrollo_web-b7.0/

http://foro.elhacker.net/php-b68.0/

http://www.google.com
En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Ejecutar en C-Ayuda
Programación C/C++
jhonsc 3 1,998 Último mensaje 17 Septiembre 2011, 17:37 pm
por robernight
¿Como ejecutar codigo introducido en un textbox ? .Net
.NET (C#, VB.NET, ASP)
adan-2994 9 6,809 Último mensaje 4 Noviembre 2012, 20:25 pm
por Crazy.sx
ayuda para ejecutar este código
Programación General
chauder92 0 1,781 Último mensaje 28 Enero 2015, 19:46 pm
por chauder92
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines