EXE 转 bat 批处理、powershell 脚本
渗透常用命令
https://github.com/g0tmi1k/exe2hex
EXE 转 bat 批处理、powershell 脚本的方法 (Kali Linux):
$ /usr/bin/exe2hex -x /usr/share/windows-binaries/sbd.exe
$ /usr/bin/exe2hex -x /usr/share/windows-binaries/nc.exe -b /var/www/html/nc.txt -cc
$ cat /usr/share/windows-binaries/whoami.exe | /usr/bin/exe2hex -s -b debug.bat -p ps.cmd
前提需要目标主机有debug命令
Leave a Reply