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

 

 


Tema destacado: Sigue las noticias más importantes de seguridad informática en el Twitter! de elhacker.NET


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación General
| | |-+  .NET (C#, VB.NET, ASP) (Moderador: kub0x)
| | | |-+  Ares Codigo Source de un B0t Simple en c#
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: Ares Codigo Source de un B0t Simple en c#  (Leído 2,273 veces)
offefman

Desconectado Desconectado

Mensajes: 1


Ver Perfil
Ares Codigo Source de un B0t Simple en c#
« en: 10 Agosto 2011, 19:43 pm »

Bueno amigos ya algunos talves les suene team xtreme virtual, o team xv en ares les traigo un bot programado en c# por los muchachos del team el login del bot esta actualizado hasta la fecha de hoy miercoles, 10 de agosto de 2011 para que conecte a todos los server's. Dudas solo comentar gracias

Code

Código
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Drawing;
  5. using System.Drawing.Drawing2D;
  6. using System.Data;
  7. using System.Text;
  8. using System.Windows.Forms;
  9. using System.Threading;
  10. using System.Net;
  11. using System.Net.Sockets;
  12. using System.IO;
  13. using System.Runtime.InteropServices;
  14.  
  15. namespace WindowsFormsApplication1
  16. {
  17. public partial class Form1 : Form
  18. {
  19. public Form1()
  20. {
  21. InitializeComponent();
  22. }
  23. public Socket Socket;
  24. public System.Net.Sockets.NetworkStream Stream;
  25. public void ConectarB0t(IPAddress ip, int puerto)
  26. {
  27. Socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
  28. richTextBox1.Text += " Conectando, por favor espera..." + Environment.NewLine;
  29. try
  30. {
  31. Socket.Connect(new IPEndPoint(ip, Convert.ToInt32(puerto)));
  32. }
  33. catch (Exception ex)
  34. {
  35. }
  36. if (Socket.Connected == true)
  37. {
  38. richTextBox1.Text += "Conectando, iniciando protocolo...." + Environment.NewLine;
  39. Socket.Send(MSG_CHAT_CLIENT_LOGIN());
  40. richTextBox1.Text += "Conectando, Login Aceptado...." + Environment.NewLine;
  41. }
  42. else
  43. {
  44. }
  45. }
  46.  
  47. //
  48. public byte[] MSG_CHAT_CLIENT_LOGIN()
  49. {
  50. //Aclaracion Este codigo no es de cb0t ni nada parecido!!!
  51.  
  52. List<byte> buffer = new List<byte>();
  53. buffer.AddRange(new byte[] {//nueva cadena de bytes
  54. 2,//id 2
  55. });
  56. buffer.AddRange(Guid.NewGuid().ToByteArray()); //guid 16 bytes
  57. buffer.AddRange(BitConverter.GetBytes(Convert.ToInt16(666))); //Numero de archivos
  58. buffer.AddRange(new byte[] {
  59. 0,//Null 1byte
  60. });
  61. buffer.AddRange(BitConverter.GetBytes(Convert.ToInt16(5555))); //puerto DC
  62. buffer.AddRange(new byte[] {//nueva cadena de bytes
  63. 0,0,0,0,//Nodos ip. 4bytes
  64. 0,0,//Nodos puerto 2 bytes
  65. 0,0,0,0,//4bytes Null.
  66. });
  67. buffer.AddRange(Encoding.UTF8.GetBytes("Nick"));//Nick x bytes
  68. buffer.AddRange(new byte[] {
  69. 0,//Null 1byte
  70. });
  71. buffer.AddRange(Encoding.UTF8.GetBytes("B0t"));//cliente version xbyte
  72. buffer.AddRange(new byte[] {//nueva cadena de bytes
  73. 0,//1byte Null.
  74. 127,0,0,1,//Local IpAdress 4 bytes
  75. 6,6,6,6,//External IpAdress Null. 4bytes
  76. 0,//client features 1 byte
  77. 0,//current upload 1byte
  78. 0,//maximum uploads allowed 1byte
  79. 0,//current queued users
  80. 20,1,69,//User años 1byte, User sexo 1byte, User country 1byte
  81.  
  82. });
  83. buffer.AddRange(Encoding.UTF8.GetBytes("Ares"));//User location xbyte
  84. buffer.AddRange(new byte[] {
  85. 0,//Null 1byte
  86. });
  87. buffer.InsertRange(0, BitConverter.GetBytes(Convert.ToInt16(buffer.Count - 1)));
  88. return buffer.ToArray();
  89. }
  90. private void button1_Click_1(object sender, EventArgs e)
  91. {
  92. ConectarB0t(System.Net.IPAddress.Parse("127.0.0.1"), 6969);
  93. }
  94. }
  95. }

aca les dejo el source.
http://www.megaupload.com/?d=USXD51T5
 


« Última modificación: 20 Agosto 2011, 02:10 am por Novlucker » En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Necesito codigo simple.
Programación Visual Basic
newbY 1 1,564 Último mensaje 9 Noviembre 2007, 00:57 am
por skapunky
(Source) Troyano e conexión inversa simple!!
Programación Visual Basic
skyweb07 8 5,015 Último mensaje 10 Septiembre 2008, 20:58 pm
por ‭‭‭‭jackl007
[Source] Crypter Simple Vr 2(?) FIX 1
Programación C/C++
Karman 1 3,972 Último mensaje 16 Febrero 2012, 22:50 pm
por Maurice_Lupin
* [ Source ] Encoder and Decode [Algoritmo Simple] « 1 2 »
Programación Visual Basic
BlackZeroX 15 9,992 Último mensaje 7 Diciembre 2009, 20:36 pm
por Dessa
Shared Source (Compartir codigo) « 1 2 3 4 »
Foro Libre
sebalo12 30 7,664 Último mensaje 25 Julio 2012, 12:55 pm
por Yoghurt
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines