Closed XiaoliChan closed 4 months ago
Fix some logic error in dcomrt.py, now wmiexec.py can work with -target-ip & -k even without add hosts attribute into /etc/hosts or DNS resolution
dcomrt.py
wmiexec.py
-target-ip
-k
/etc/hosts
Before: (use -silentcommand to avoid create smb connection)
-silentcommand
After:
Semi-interactive:
I've just tested and reviewed these changes. It's working as expected. Thanks!
Fix some logic error in
dcomrt.py
, nowwmiexec.py
can work with-target-ip
&-k
even without add hosts attribute into/etc/hosts
or DNS resolutionBefore: (use
-silentcommand
to avoid create smb connection)After:
Semi-interactive: