且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

exe2hex - 使用Windows工具DEBUG.exe或PowerShell进行内联文件传输

更新时间:2021-11-15 17:25:20

版权声明:转载请注明出处:http://blog.csdn.net/dajitui2024 https://blog.csdn.net/dajitui2024/article/details/79396425

参考文章:
1、https://howucan.gr/scripts-tools/2368-exe2hex-inline-file-transfer-using-in-built-windows-tools-debug-exe-or-powershell
2、https://github.com/g0tmi1k/exe2hex

安装:

exe2hex只需要Python 3的功能(Expect是Telnet和WinEXE功能的可选)。
需在$PATH变量中添加一个文件夹exe2hex即可:

$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
$ curl https://raw.githubusercontent.com/g0tmi1k/exe2hex/master/exe2hex.py > /usr/local/bin/exe2hex
$ chmod 0755 /usr/local/bin/exe2hex

root@kali:~# apt install -y exe2hexbat

github页面有相对详细的介绍。