exe2powershell - exe2bat 重生,适用于现代 Windows
exe2bat 以 exe2powershell 的形式重生,适用于现代 Windows
exe2powershell 用于将任何二进制文件 (*.exe) 转换为 BAT 文件。 生成的 BAT 文件仅包含 "echo" 命令,最后包含一条 powershell 命令来重新创建原始二进制文件。
此类工具在渗透测试期间非常有用,当审计员触发一个没有上传功能的 shell 时。通过 "echo" 和 "powershell",审计员能够在目标系统上 "上传" 任何二进制文件。
最初作者 ninar1,基于 riftor 的工作,由 ycam 现代化改造 exe2powershell - 保持更新:www.asafety.fr / synetis.com
主要代码取自 Riftors 的 "exe2hex"。
由 ninar1 改编为适用于 Windows BAT 文件。
由 Yann CAM (ycam - http://www.asafety.fr | http://www.synetis.com) 现代化改造,以适应更新的 Windows 系统。
此版本从 exe2bat 现代化改造,以便与现代 Windows 版本兼容。 exe2bat 存在限制:
exe2powershell 通过自 Windows 7 / 2008 起所有 Windows 上可用的 PowerShell 命令行,取代了对 "debug.exe" 的需求。 输入 exe 大小不再有限制。
使用方法:
C:\exe2powershell\bin>exe2powershell.exe
______ ___ _____ _____ _ _ _
| ____| |__ \| __ \ / ____| | | | |
| |__ __ _____ ) | |__) |____ _____ _ _| (___ | |__ ___| | |
| __| \ \/ / _ \ / /| ___/ _ \ \ /\ / / _ \ '__\___ \| '_ \ / _ \ | |
| |____ > < __// /_| | | (_) \ V V / __/ | ____) | | | | __/ | |
|______/_/\_\___|____|_| \___/ \_/\_/ \___|_| |_____/|_| |_|\___|_|_|
[ exe2bat reborn in exe2powershell for modern Windows ]
[ initial author ninar1, based on riftor work, and modernized by ycam ]
[ exe2powershell version 1.0 - keep up2date: asafety.fr / synetis.com ]
[*] Usage : exe2powershell.exe inputfile outputfile
[*] e.g. : exe2powershell.exe nc.exe nc.bat
致谢:Riftor, ninar1, BCK 和 ycam