Skip to content
KitploitKITPLOIT
HerramientasBlog
Enviar
HerramientasBlog
Enviar

¡Herramientas de Hacking, PenTest y Ciberseguridad para tu Arsenal de Seguridad!

Kitploit es un directorio de herramientas de hacking, ciberseguridad y pentesting. Descubre las últimas actualizaciones de proyectos para encontrar vulnerabilidades, analizar sistemas, automatizar pruebas y fortalecer tu seguridad.

··Feeds·Contacto·Privacidad·© 2026 Kitploit

Directorio de Herramientas

Categorías

Ver todas las categorías
Loading categories
Telegra_Csharp_C2 — Comando y Control para escritura en C# | Kitploit
Herramientas/GitHubGitHub/sf197/telegra_csharp_c2
Generación de PayloadsPost-ExplotaciónComando y ControlRed TeamingHerramienta de Acceso Remoto
GitHubsf197/telegra_csharp_c2

Telegra_Csharp_C2

Comando y Control para escritura en C#

Ver Repositorio
68194hace 4 añosRevisado por Kitploit

Más Populares

Ver todos →

Descubre las herramientas más usadas por nuestra comunidad.

Explora todas las herramientas

Explora nuestra colección de herramientas

Ver todas las herramientas →
Compartir

Telegra_Csharp_C2

Comando y Control para escritura en C#

Autor: Leiothrix

Telegram: @Leiothrix

Twitter: @wh4am1

Equipo: QQ愛&Love

logo

Resultado de verificación de VirusTotal

No lo pases a Virus Total más. Lo he probado por ti.

VirusTotal

link:https://www.virustotal.com/gui/file/ad1cd12bd6c8bee46ab35aa21a4fb48c2bcf9fdddbf1af82ad6f20eb75daa663/detection

Vista general

  • Instalación
  • Cómo usar
  • Proxy
  • Cómo compilar

Instalación

Descargar estos paquetes con Nuget
root@kitploit:~
Descargar herramienta
using System.IO; using Telegram.Bot; using Telegram.Bot.Args; using Telegram.Bot.Types.InputFiles; using AForge.Video; using AForge.Controls; using AForge.Video.DirectShow;
Añadir clases relacionadas en 'Referencias'
root@kitploit:~
System.Drawing;
System.Windows.Forms;

Cómo usar

Modifica tu Token en el programa
root@kitploit:~
 static void Main(){
            botClient = new TelegramBotClient("token");		//Your Token
            botClient.OnMessage += Bot_OnMessage;
            botClient.StartReceiving();
            Thread.Sleep(int.MaxValue);
}

1566355269804

diviértete.

Proxy

TelegramBotClient te permite usar un proxy para las conexiones de la API de Bot.

HTTP

Puedes pasar un IWebProxy al bot cliente para proxies HTTP.
root@kitploit:~
	// using System.Net;

	var httpProxy = new WebProxy("https://example.org", 8080)
	{
     	Credentials = new NetworkCredential("USERNMAE", "PASSWORD")
	};
	var botClient = new TelegramBotClient("YOUR_API_TOKEN", httpProxy);

SOCKS 5

Puedes usar un paquete NuGet externo: HttpToSocks5Proxy proporcionado
root@kitploit:~
// using MihaZupan;

var proxy = new HttpToSocks5Proxy(Socks5ServerAddress, Socks5ServerPort);

// Or if you need credentials for your proxy server:
var proxy = new HttpToSocks5Proxy(
  Socks5ServerAddress, Socks5ServerPort, "USERNAME", "PASSWORD"
);

// Allows you to use proxies that are only allowing connections to Telegram
// Needed for some proxies
proxy.ResolveHostnamesLocally = true;

var botClient = new TelegramBotClient("YOUR_API_TOKEN", proxy);

Cómo compilar

Cómo compilar todos los archivos DLL en un archivo EXE
Primero, necesitas descargar la herramienta ILMerge, esta es una herramienta para fusionar todas las referencias de programas .NET.
root@kitploit:~
ilmerge.exe /target:exe /out:TGbot.exe ConsoleApp1.exe  AForge.Controls.dll AForge.dll AForge.Imaging.dll AForge.Math.dll AForge.Video.DirectShow.dll AForge.Video.dll Newtonsoft.Json.dll Telegram.Bot.dll /targetplatform:v4
/target -> library=>DLL exe=>exe
/targetplatform:v4 -> La plataforma del compilador es .NET 4.0
/out -> Archivo de salida fusionado, los parámetros van seguidos de los archivos que deben fusionarse

Finalmente, genera la salida en el directorio especificado por el parámetro out

¡Todavía en mejora! ¡Todavía en mejora! ¡Todavía en mejora!