Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

LoveCppp/Http-Proxy-Scan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

14 Commits

Repository files navigation

作者不是我 我从git上面搜索fork过来的。。

Http-Proxy-Scan

利用censys.io快速更新全网的优势,爬取http代理。提取关键字为'Mikrotik','Squid','Proxy','Tinyproxy','Wingate','CCProxy','Pound'。如需添加请修改censys.io main函数的keyword字段,测试的端口号为8080、80、3128。

部署方法

  • python 2.7.x
  • mysql导入proxy.sql
  • 修改dbconnect.py数据库连接信息
  • 修改censys.py UID、SECRET为你自己的api
  • 设置crontab:
    0 * * * * python /root/proxy/checkproxy.py

效果

用10美元1年的vps抓了10来天的效果

mysql> select count(*) from proxy where type=2;
+----------+
| count(*) |
+----------+
| 2096 |
+----------+
1 row in set (0.01 sec)</br>
mysql> select count(*) from proxy where type=2 and status=1;
+----------+
| count(*) |
+----------+
| 320 |
+----------+
1 row in set (0.00 sec)

加上自己用其他方式抓的公开代理,基本可以保障每天800左右的可用代理

mysql> select count(*) from proxy where status=1;
+----------+
| count(*) |
+----------+
| 891 |
+----------+
1 row in set (0.00 sec)

About

Use Censys.io Scan Http Proxy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

Languages

AltStyle によって変換されたページ (->オリジナル) /