Coder Social home page Coder Social logo

invoke-socksproxy's People

Contributors

cx01n avatar p3nt4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

invoke-socksproxy's Issues

Memory Leak

This is pretty cool, to have socks 4/5 in one file, but if you use it with Firefox (or Chrome), the connections never get closed, so opening 5 pages eats up all ram and the proxy server becomes unresponsive.

Failed to receive SOCKS5 connect request ack

I am using Windows 7 machine to run powershell.exe. The Win 7 machine does have Internet access as well so it can connect out on the internet.

screen shot 2017-12-16 at 11 11 50 am

On the win7 client where socks proxy is running, I can see the connection from the kali machine from which the curl session above was run.

screen shot 2017-12-16 at 11 13 38 am

I have attached a Wireshark capture as well between kali (192.168.56.101) and win7 (192.168.56.102) where socks proxy is running.
Invoke-SocksProxy.wiresharkcap.pcapng.zip

How to run from a bat file?

How do I run this script from a bat file?
I tried powershell Import-Module .\Invoke-SocksProxy.psm1
But nothing happens.

Bypassing the need to Port Forward from Router & to Open the Port in Firewall

Since it's Windows, and we are talking about home PCs in many cases, there is the problem of router not knowing which local IP to route to and Windows Firewall on the PC blocking incoming connections. So you can't connect to such a proxy server.

There is a technique of making the home PC running the proxy server program ("Invoke-SocksProxy" PowerShell module in this case) initiate the connection to an actual server, which is open to the world. And then we, the user, can connect to the server and give directions to the connected proxy server (running on home PC), and to route traffic that way. The actual, open-to-the-world server can also run Windows and PowerShell / .NET.

Let's say our open server has IP 1.1.1.1 and the home PC proxy server has IP 2.2.2.2.

We would use 1.1.1.1:22222 v4/v5 as SOCKS proxy credentials, but our IP would appear as 2.2.2.2 to the web services we connect to.

PowerShell vs C#

It's my understanding that both PowerShell and C# are .NET, just use different syntax.
It's also my understanding that it's Microsoft's Bash.

And it's basically meant for one-liners that can do stuff on the command line.

Why not just use C#? Just a curious question, I'm perfectly ok with it.

error

Hello!
I've got this error when i try to do reverse shell from my windows vps to linux vps

[SSL] internal error (_ssl.c:1124)
[SSL] internal error (_ssl.c:1124)
[SSL] internal error (_ssl.c:1124)
[SSL] internal error (_ssl.c:1124)
[SSL] internal error (_ssl.c:1124)
[SSL] internal error (_ssl.c:1124)
[SSL] internal error (_ssl.c:1124)
[SSL] internal error (_ssl.c:1124)
[SSL] internal error (_ssl.c:1124)
[SSL] internal error (_ssl.c:1124)

how to fix it ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.