Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Not working. Any tips? #6

Open
ZorroAVN opened this issue Sep 8, 2018 · 0 comments
Open

Not working. Any tips? #6

ZorroAVN opened this issue Sep 8, 2018 · 0 comments

Comments

@ZorroAVN
Copy link

ZorroAVN commented Sep 8, 2018

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant