You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.
when I run:
/opt/pth-toolkit/pth-wmis -U username%password //IP 'cmd.exe /c whoami > C:\output.txt' Note: I am absolutely sure the username, password, and IP are correct. And that the user is an admin.
I get the following response:
[wmi/wmis.c:172:main()] 1: cmd.exe /c whoami > c:\output.txt
[wmi/wmis.c:130:WBEM_RemoteExecute()] ERROR: IWbemServices_ExecMethod.
NTSTATUS: NT_STATUS_OK - Success
If I run:
/opt/pth-toolkit/bin/wmis -U username%password //IP 'cmd.exe /c whoami > C:\output.txt'
I get the response:
error while loading shared libraries: libtasn1.so.3: cannot open shared object file: No such file or directory
sometimes the response is:
error while loading shared libraries: libgnutls.so.26: cannot open shared object file: No such file or directory
If I go to /opt/pth-toolkit/lib:
I notice that both of those lib files are there (libtasn1.so.3 and libgnutls.so.26), but they are not executable like the other lib files in the directory.
Could that be the problem?
Any help or tips would be much appreciated!!
Thanks!
The text was updated successfully, but these errors were encountered:
I've cloned the repo to /opt
when I run:
/opt/pth-toolkit/pth-wmis -U username%password //IP 'cmd.exe /c whoami > C:\output.txt'
Note: I am absolutely sure the username, password, and IP are correct. And that the user is an admin.
I get the following response:
[wmi/wmis.c:172:main()] 1: cmd.exe /c whoami > c:\output.txt
[wmi/wmis.c:130:WBEM_RemoteExecute()] ERROR: IWbemServices_ExecMethod.
NTSTATUS: NT_STATUS_OK - Success
If I run:
/opt/pth-toolkit/bin/wmis -U username%password //IP 'cmd.exe /c whoami > C:\output.txt'
I get the response:
error while loading shared libraries: libtasn1.so.3: cannot open shared object file: No such file or directory
sometimes the response is:
error while loading shared libraries: libgnutls.so.26: cannot open shared object file: No such file or directory
If I go to /opt/pth-toolkit/lib:
I notice that both of those lib files are there (libtasn1.so.3 and libgnutls.so.26), but they are not executable like the other lib files in the directory.
Could that be the problem?
Any help or tips would be much appreciated!!
Thanks!
The text was updated successfully, but these errors were encountered: