GithubHelp home page GithubHelp logo

advancedhacker101 / c-sharp-proxy-server Goto Github PK

View Code? Open in Web Editor NEW
93.0 12.0 48.0 1.32 MB

A proxy server built with c# can be both normal and MITM Proxy

License: Other

C# 99.94% Batchfile 0.06%
c-sharp proxy-server mitmproxy http-proxy https-proxy

c-sharp-proxy-server's Introduction

C# Proxy Server

This is an open source proxy server for windows machines with .NET Framework installed.
The server can act as a normal proxy server, forwarding all traffic to the destination without any tampering.
But the server can also act as a MITM Proxy Server, intercepting, modifying traffic automatically, or based on patterns.
This program is a console like program.

Using it as Normal:

Type set ip any and press enter, to set the IP of the server to any, open out to the internet.
Then type set port 8080 to set the port of the server to 8080 (most proxy servers use port 8080).
Then type start to start the server, accept any firewall warnings, the server will not work without accepting the firewall pop-up.
That's it, your server is now working normally, to save the current settings type:
save normal - This will create a normal.xml file under the profiles folder.
Any time you close the program and re-open it just type:
load normal - this wil load the previously saved settings.
Loading a settings file will NOT start the server, you need to start it by using the start command
For advanced settings read: Advanced Settings
For MITM stuff read: MITM Mode
Features planned to be added:

  • Capture HTTP Basic Auth Requests
  • SOCKS5 Mode
  • Communication with the C# R.A.T Client

More information

You can read the licence here
You can read the code of conduct here
You can read how to contribute here

c-sharp-proxy-server's People

Contributors

advancedhacker101 avatar mariansam 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

Watchers

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

c-sharp-proxy-server's Issues

Suggestion to support IPV6

In some circumstances accessing IPV6 the exception "System.NotSupportedException" is thrown at line 9255.

bridge.Connect(ip, 443);

To correct it, just change two lines (in Form1 line 9242 and 9243):

Socket bridge = new Socket (AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
IPAddress ip = GetIPOfHost (_host);

To:

IPAddress ip = GetIPOfHost (_host);
Socket bridge = new Socket (ip.AddressFamily, SocketType.Stream, ProtocolType.Tcp); 

Please fix

This does work right because i started the proxy server and when i connected to it. it just closed or i would get an error from the web browser. i have tried my iphone connected to it and that falled, then i tried my android phone that falled and then i tried my windows computer and that falled. if you could tell me what i am not doing right or fix it that would be nice

Impressive repository

I must say a big thank you to you
For the ideas you are sharing here .
Would like to communicate with you .
I HAVE a research also to share with you .
Let's chart on:
Discord : @xanicoder#6668
Telegram : zainx2020
Or Skype : [email protected]

Thank you

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.