HavocFramework / Modules

Modules used by the Havoc Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Psexec module incorrect argument check

random-ideas opened this issue · comments

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!

commented

I think I fixed this on dev: 79101e2
let me know if you still have issues, thank you for reporting!