Contagio
1.0.6
C++ 封闭版本:https://github.com/TryZeroOne/Contagio-lated
Contagio 是一个用 go 编写的僵尸网络。这是测试版,因此可能存在错误。在创建问题之前阅读常见问题解答和文档。不要相信乌克兰的宣传
安装
支持的系统
文档
常问问题
捐款
操作系统 | 地位 |
---|---|
Linux | |
视窗 | |
macOS |
Linux 发行版
发行版 | 地位 |
---|---|
拱 | |
曼扎罗 | |
软呢帽 | |
森托斯 | |
乌班图 |
系统信息可以在assets文件夹的照片中找到
Contagio 有自己的安装程序。
wget https://raw.githubusercontent.com/TryZeroOne/Contagio/main/installer/installer.sh -O installer.sh
bash installer.sh -[args]
Example: bash installer.sh -default
参数:
干净的 | 安装 contagio,无需预安装配置和主题。 |
默认 | 使用预安装的配置和主题安装 contagio。 |
source ~/.bashrc
go install mvdan.cc/garble@latest
cd Contagio
go mod init contagio
go mod tidy
然后按照 setup.txt 中的步骤操作
设置指南很快...
姓名 | 类型 | 描述 |
---|---|---|
ImportTheme | 细绳 | 导入主题。在此处阅读有关定制的更多信息。 |
CncServer | 细绳 | IP:端口。您必须指定公共 IP。要获取公共IP,请输入curl http://ip-api.com/json/?fields=query |
RootLogin | 细绳 | 有权访问管理命令(addip、adduser 等)的登录名。 |
RELEASE_MODE | 布尔 | 隐藏日志(新机器人连接、垃圾箱发送等)。 |
TelegramBotToken | 细绳 | Telegram 机器人令牌。 |
TelegramChatId | 细绳 | 您的电报 ID/聊天 ID。获取身份证。 |
SaveLogsInFile | 布尔 | 将日志保存在文件中? |
SendLogsInTelegram | 布尔 | 通过 Telegram 机器人将日志发送到频道或私人消息? |
PrintLogsInTerminal | 布尔 | 在终端打印日志? |
NewClientConnectedLog | 布尔 | 启用与 CNC 的新连接的日志记录。 |
NewClientConnectedFileName | 细绳 | 新连接日志的文件名。 |
NewAttackStartedFileName | 细绳 | 新攻击日志的文件名。 |
AllowAllIps | 布尔 | 允许所有 IP 地址吗?如果AllowAllIps = false,则只有通过addip命令添加的IP地址才能连接到cnc。 |
自定义模块只能在标题中使用。您的 echo 结果将显示在标题中。定制模块包括:
[Modules.ModuleName]
Exec = "command to execute"
ExecEnv = "env"
ExecDir = "directory where the command is executed"
仅需要指定 Exec。如果未指定 ExecDir,将从 CNC 启动的目录执行。
您可以使用空主题,也可以使用现有主题。您还可以使用颜色。
姓名 | 类型 | 变量 | 描述 |
---|---|---|---|
[日志] | |||
NewClientConnectedTerminal | 细绳 | {ip} {login} {port} {date} | 新连接的终端中的日志格式。 |
NewClientConnectedTelegram | 细绳 | {ip} {login} {port} {date} | 新连接的 Telegram 日志格式(可以使用 markdown)。 |
NewClientConnectedFile | 细绳 | {ip} {login} {port} {date} | 新连接的文件中的日志格式。 |
NewAttackStartedTerminal | 细绳 | {ip} {login} {port} {date} {target} {target_port} {duration} {method} | 新攻击的终端日志格式。 |
NewAttackStartedTelegram | 细绳 | {ip} {login} {port} {date} {target} {target_port} {duration} {method} | Telegram 中新攻击的日志格式。 |
NewAttackStartedFile | 细绳 | {ip} {login} {port} {date} {target} {target_port} {duration} {method} | 新攻击的文件中的日志格式。 |
[数控] | |||
CmdPrompt | 细绳 | {login} | CNC命令提示符。 |
Banner | 字符串(数组) | Null | 横幅。 |
HelpCommand | 细绳 | {command} {description} | 帮助命令输出格式。 |
MethodsCommand | 细绳 | {name} {description} | 方法命令输出格式。 |
CustomMethodsEnabled | 布尔 | Null | 启用自定义方法? |
CustomMethods | 字符串(数组) | Null | 自定义方法(当CustomMethodsEnabled=true 时启用)。 |
CustomHelpEnabled | 布尔 | Null | 启用自定义帮助吗? |
CustomHelp | 字符串(数组) | Null | 自定义帮助(当CustomHelpEnabled=true 时启用)。 |
BotCount | 细绳 | {total} {bots} | 机器人命令输出格式。 |
NoBotsConnectedError | 细绳 | Null | 执行“bots”命令时出现错误消息,但没有可用的机器人。 |
CommandSent | 细绳 | {bots} {id} | 攻击发送成功时的输出。 |
UnknownCommandError | 细绳 | Null | 命令未知时出现错误消息。 |
InvalidCommandSyntaxError | 细绳 | {syntax} {example} | 命令(ddos 方法)语法不正确时的错误消息。 |
NoActiveAttacksError | 细绳 | Null | 没有主动攻击时的错误消息(运行命令)。 |
AttackIdNotFoundError | 细绳 | Null | 找不到攻击 ID 时出现错误消息(kill 命令)。 |
CommandExecuted | 细绳 | Null | 命令成功执行后的结果。 |
CommandInvalidSyntax | 细绳 | {syntax} {example} | 命令语法不正确时出现错误消息。 |
Title | 细绳 | {login} {cpu} {memory} {animation} {bots} | 数控标题。 |
[授权] | |||
LoginPrompt | 细绳 | Null | 登录提示。 |
PasswordPrompt | 细绳 | Null | 密码提示。 |
AuthError | 细绳 | Null | 密码或登录不正确时出现错误消息。 |
CaptchaPrompt | 细绳 | {code} | 验证码提示。 |
CaptchaError | 细绳 | Null | 验证码输入错误时出现错误消息。 |
IpIsNotAllowedError | 细绳 | Null | 当 IP 不被允许时出现错误消息。 |
在 Contagio 中,有可用的内置颜色,您也可以创建自己的颜色。
颜色应写在大括号内。例如,
CncPrompt = "{red}Hello{white} World: "
要创建您自己的颜色,您需要使用 ANSI 颜色。例如:
{custom(fg=ansi_code bg=ansi_code fgstyle=ansi_code)}
答:尝试在行尾添加 r 。例如
PasswordPrompt = "Enter password: r"
如果这不起作用,请创建一个问题
答:将 /newbot 发送到 @BotFather 机器人,然后回答他的问题并复制令牌(令牌示例:1234545:DDDDD__ASDADAHUQHHHI34I29I)。
一个: