Skip to main content

songci checks proxies

Project description

songci

Description

songci is a CLI that allows you to check proxy server on a forensic way. The focus is on:

  • anonymity level 🥇
  • content manipulation detection 😈
  • protocol seperated results 🗂️

The results of a proxy check are very detailed and extensive.

Song Ci was a Chinese physician, judge, forensic medical scientist, anthropologist, and writer of the Southern Song dynasty. He was the first known anthropologist who wrote a groundbreaking book titled Collected Cases of Injustice Rectified.

Install

$ pip install songci

How to use

$ songci --help
usage: __main__.py [-h] [--version] [--output] [--input INPUT]
                   [--timeout TIMEOUT]
                   [proxies [proxies ...]]

songci checks proxies

positional arguments:
  proxies               single proxy host:port or multiple whitespace
                        seperated proxies

optional arguments:
  -h, --help            show this help message and exit
  --version, -V         current version
  --output, -o          write results songci_<TIMESTAMP>.json
  --input INPUT, -i INPUT
                        use proxy list file
  --timeout TIMEOUT, -t TIMEOUT
                        set timeout per request (default: 60)

Examples

Check single proxy

$ songci 104.167.113.48:3128
104.167.113.48:3128 http=transparent https=elite content_manipulation=False

Check multiple proxies

$ songci 95.175.14.54:8080 104.167.113.48:3128 36.92.116.26:8080 
95.175.14.54:8080 http=None https=elite content_manipulation=False
104.167.113.48:3128 http=transparent https=elite content_manipulation=False
36.92.116.26:8080 http=anonymous https=elite content_manipulation=True

Use proxy list

One line one proxy host:port like this proxies.txt

103.79.164.70:53281
190.152.36.102:31884
31.40.136.209:53281
80.90.133.250:8080
183.88.16.33:8080
...
$ songci -i proxies.txt
103.79.164.70:53281 http=transparent https=elite content_manipulation=False
190.152.36.102:31884 http=elite https=elite content_manipulation=False
31.40.136.209:53281 http=elite https=elite content_manipulation=False
80.90.133.250:8080 http=transparent https=elite content_manipulation=False
183.88.16.33:8080 http=anonymous https=elite content_manipulation=False 
...

Save results to file

Use -o flag to save results in a JSON-File

$ songci 95.175.14.54:8080 104.167.113.48:3128 -o

Example output file songci_2019-10-20T19-35-41.json

{
    "name": "songci_2019-10-20T19-35-41",
    "begin": "2019-10-20T19-35-41",
    "end": "2019-10-20T19-36-24",
    "threads": 2,
    "results": [
        {
            "ip": "95.175.14.54",
            "port": 8080,
            "http": "transparent",
            "https": "elite",
            "content_manipulation": null
        },
        {
            "ip": "104.167.113.48",
            "port": 3128,
            "http": "transparent",
            "https": "elite",
            "content_manipulation": null
        }
    ]
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

songci-0.0.9.tar.gz (5.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page