Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't get psh modules to work #51

Closed
HashtagMarkus opened this issue Sep 24, 2020 · 2 comments
Closed

can't get psh modules to work #51

HashtagMarkus opened this issue Sep 24, 2020 · 2 comments

Comments

@HashtagMarkus
Copy link
Contributor

I'm having problems getting a response from the psh command when using provided modules.
Tried on two different Win10 machines as beacon (1909 build 18363.720 and 18363.592)

Standard ps commands are working e.g. psh -c Write-Output $PSversionTable
But when running modules I don't receive any response

shad0w(User@WINDEV2002EVAL) ≫ psh -m GetHash -c Invoke-GetHash
[i] Hosting module 'GetHash' (22216 bytes) => /KEiePaTceM
[i] Beacon (b810bd86ec9ec08516b4a609d8d85899) received task

Supplied ps1 scripts alone do work when I execute them directly on the target. I'm not sure how to debug this, so maybe someone could verify it's not a local problem.

@HashtagMarkus
Copy link
Contributor Author

Ah, I got it. It wasn't clear for me I had to start the listener with the -e flag
I'll add a warning to psh command if this flag is missing

@bats3c
Copy link
Owner

bats3c commented Sep 27, 2020

Okay cool, will implement a version of #55 once I have finished rewriting the way modules will be called by the team server

@bats3c bats3c closed this as completed Sep 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants