Psexec module incorrect argument check
random-ideas opened this issue · comments
random-ideas commented
In the psexec module, https://github.com/HavocFramework/Modules/blob/main/Jump-exec/Psexec/psexec.py , on line 31, the following check is performed:
if len(param) < 3:
However I think it should be set to either < 4 or <=3, as the later code expects to item to have 4 values (Line 37 calls param [ 3 ]).
I've done some testing and this appears to work if changed per the described. Thanks for a great project!