openbullet / OpenBullet2

OpenBullet reinvented
https://docs.openbullet.dev/
MIT License
1.74k stars 464 forks source link

[Suggestion] Use Proxy Judges to verify if proxy being used is elite, anonymous, default / using SSL #175

Open BellezaEmporium opened 3 years ago

BellezaEmporium commented 3 years ago

In a daily basis, I suppose lots of people would grab proxies and put them into OB. Thing is, if they're nitpicky and wanting a certain proxy type (elite SSL as an example), they can't really know if they are, directly from OB.

What I suggest, is adding a "Proxy Judge Verification". Those judges can actually tell lots of things from the proxy type and securities.

This might be a nitpicky suggestion, but consider it as a proposal.

openbullet commented 3 years ago

Any chance you could provide some more info? Like maybe a link to a public proxy judge and how to get the required information from it.

RiseFox commented 3 years ago

@openbullet i can help with this

azenv Url: http://httpheader.net/azenv.php
for SSL https://httpheader.net/azenv.php
Same services:
http://azenv.net
http://wfuchs.de/azenv.php
http://www.meow.org.uk/cgi-bin/env.pl
http://www.proxyjudge.biz/
http://httpheader.net/
http://52.27.208.157/azenv.php
http://www.sbjudge3.com/azenv.php
http://54.244.185.141/azenv2.php
http://proxyjudge.us/
http://www2t.biglobe.ne.jp/~take52/test/env.cgi
http://users.on.net/~emerson/env/env.pl
http://shinh.org/env.cgi
http://www.sbjudge4.com/azenv.php
http://www.9ravens.com/env.cgi
http://www3.wind.ne.jp/hassii/env.cgi
https://aranguren.org/azenv.php

or pars from https://ipinfo.io

BellezaEmporium commented 3 years ago

Any chance you could provide some more info? Like maybe a link to a public proxy judge and how to get the required information from it.

Sure, i'll show how I proceed on a program I got.

For the judges, use the links @RiseFox gave.

For the logic :

Get your IP address, and keep it cached. Request using the proxy through one proxy judge. You will get lots of data linked to the proxy you are actually using.

Determining the security from the judge's response :

If your IP address is shown (REMOTE_ADDR + your IP), then it's a transparent proxy. If "HTTP_VIA|PROXY_REMOTE_ADDR" is mentioned, you're using an anonymous proxy. If none of those appear (so the proxy's IP is shown), it's an elite proxy.

For the security, well just try with both HTTP and HTTPS. If the HTTPS request is done correctly, we can safely say SSL can, or is being used.

If this explanation gets you confused, and if you're familiar with JavaScript, please look at this JS code : https://github.com/LaneSh4d0w/unfx-proxy-checker/blob/master/src/core/checker.js

RiseFox commented 3 years ago

@openbullet For not a make new block, Q. How to Capture <PROXY> in a new OB2? Like in old Function constant

make error.
openbullet commented 3 years ago

@openbullet For not a make new block, Q. How to Capture <PROXY> in a new OB2? Like in old Function constant

make error.

Please refer to the documentation inside the program (http://localhost:5000/docs/lolicode)