Neurohazard
暮雲煙月,皓首窮經;森羅萬象,如是我聞。

EXE 转 bat 批处理、powershell 脚本

wpadmin~September 11, 2018 /InfoSec

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

Your email address will not be published. Required fields are marked *