Console based proxy checker?
by - Thursday, January 1, 1970 at 12:00 AM
good evening a question is there a fast and console based proxy checker to put on a vps?
Reply
It's not too hard to write one. I spun one up a while back and it only took ~30 minutes or so to write it
Reply
I already answered you in the shoutbox and this takes literally one google search but here you go:

https://github.com/restyler/proxy-checker-cli

Seriously, learn to google friend.
Reply
(August 25, 2022, 08:55 PM)nullptr Wrote: I already answered you in the shoutbox and this takes literally one google search but here you go:

https://github.com/restyler/proxy-checker-cli

Seriously, learn to google friend.


i literally searched 30 pages of google with different keywords... maybe in italy proxycheckers are banned
Reply
what do you mean by vps? Is it related to vulnerable...system? Do not know the term yet :(
Reply
I use curl to check a proxy:

SOCKS5:
curl -x "socks5://yourproxyip:port" http://icanhazip.com
Reply
Here's one i coded in python3:

import requests
import sys
for line in open(sys.argv[1]).readlines():
    line = line.strip()
    proxy = {'proxy': line}
    try:
     status = requests.get('https://google.com', proxies=proxy)
     if status.status_code == 200:
        print(line)
    except:
     pass

usage:
  1. make a file with this format for each line: protocol://ip:port
  2. run the following command in the same directory as the proxy checker and proxy file


python3 proxy_checker.py proxies.txt
Reply
look for mubeng on github
Reply
(September 1, 2022, 02:57 PM)wideeyeveeti Wrote: Here's one i coded in python3:


import requests
import sys
for line in open(sys.argv[1]).readlines():
    line = line.strip()
    proxy = {'proxy': line}
    try:
     status = requests.get('https://google.com', proxies=proxy)
     if status.status_code == 200:
        print(line)
    except:
     pass

usage:
  1. make a file with this format for each line: protocol://ip:port
  2. run the following command in the same directory as the proxy checker and proxy file
python3 proxy_checker.py proxies.txt

That's working pretty nice, thanks!
Reply
I wrote a little bash script a few years ago for checking lists with curl takes like 5 minutes to do although there are probably better/faster ones available on other sites like GitHub.
Reply


 Users viewing this thread: Console based proxy checker?: No users currently viewing.