Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
aidencaptcha committed Dec 15, 2023
1 parent 9323b92 commit ed3cd5c
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 50 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Byte-compiled / optimized / DLL files
_main.py
_yilian.py
logs/
__pycache__/
*.py[cod]
*$py.class
Expand Down
44 changes: 27 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,52 @@
# VivoPhoneAuthCheckSpider
# HuzhanSpider

DingxiangCaptchaBreak 【vivo官网-手机真伪查询】 案例
GeetestCaptchaBreak 【互站网-登录/注册案例】 案例

api 地址

* [DingxiangCaptchaBreak](https://github.com/aidencaptcha/DingxiangCaptchaBreak)
* [GeetestCaptchaBreak](https://github.com/aidencaptcha/GeetestCaptchaBreak)

有需求请在邮箱联系

aidencaptcha@gmail.com


# 更新说明
2023-11-25: 上线 VivoPhoneAuthCheckSpider 【vivo官网-手机真伪查询】 案例

# 演示效果图
(这里是单ip, 且做了限速处理, 真实情况20qps也无压力)
2023-12-16: 上线 GeetestCaptchaBreak 极验三代 互站网-登录/注册案例

![image](https://github.com/aidencaptcha/VivoPhoneAuthCheckSpider/blob/main/examples/screenshots.gif)
2023-12-08: 上线 GeetestCaptchaBreak 极验三代 全新上线

2023-09-26: 上线 GeetestCaptchaBreak 极验四代 虎嗅网登录/注册案例

2023-09-03: GeetestCaptchaBreak 极验四代 全新上线

vivo官网--手机真伪查询 appKey: 0a9809abafa9157f31e5b8ab9c6d990f
效果图:
极验三代
![image](https://github.com/aidencaptcha/GeetestCaptchaBreak/blob/main/Geetest4_examples/100%E6%88%90%E5%8A%9F%E6%88%AA%E5%9B%BE.jpg)

顶象官网体验 appKey: 12610a3853150e888ccd0c6d4c415626
# 使用此类验证码的网站

平安银行--登录/注册 appKey: 9dddc15436d8939ede9bc131558a57bc
基本通用 :

山东航空--登录/机票预订 appKey: 73360ce3e32b708eb1a2a95602a614fe
https://www.geetest.com/adaptive-captcha-demo/

中国国际航空公司--办理值机 appKey: 0a9809abafa9157f31e5b8ab9c6d990f
...
https://m.weibo.cn/login/

全部通用
Web/APP/小程序都通用

......


# api 例子地址

Geetest4
* [虎嗅网-登录/注册案例](https://github.com/aidencaptcha/HuXiuSpider)

Geetest3
* [互站网-登录/注册案例](https://github.com/aidencaptcha/HuzhanSpider)


### 免责声明
* 艾登科技提供的服务仅用于个人学习以及协助个人解决无法识别验证码问题,用户使用艾登科技从事的任何行为均不代表艾登科技的意志和观点,与艾登科技的立场无关。
* 严禁用户使用艾登科技从事任何违法犯罪行为,请遵守当地的法律法规,任何使用本产品造成的后果由使用者个人承担。
* 如果有侵犯到您的权益,请第一时间联系个人邮箱处理。
* 本项目严禁用于非法用途!!请遵守当地的法律法规,若读者将其用于不良用途,其造成的一切后果将自行承担且与本人无关.
* 如果有侵犯到您的权益,请第一时间联系个人邮箱处理.
Binary file added examples/screenshots.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 6 additions & 32 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

# HuzhanSpider

# GeetestCaptchaBreak 极验三代【互站网-登录/注册】 案例
# GeetestCaptchaBreak 【互站网-登录/注册案例】 案例

# api 地址

# * [GeetestCaptchaBreak ](https://github.com/aidencaptcha/GeetestCaptchaBreak )
# * [GeetestCaptchaBreak](https://github.com/aidencaptcha/GeetestCaptchaBreak)

# 有需求请在邮箱联系

Expand Down Expand Up @@ -172,43 +172,17 @@ def main(proxy, token):
'cookies': response.cookies.get_dict()
}

def routine(res):
# TODO: 请求4-前端业务请求三-商品刷新
cookies = res['cookies']
url = "https://my.huzhan.com/execute/routine/"
payload = "first_select=order&first_role=sell&mode=sale&type=serve&list=goods&batch=uptime&C1=167996049194"
headers = {
'Connection': 'keep-alive',
'Pragma': 'no-cache',
'Cache-Control': 'no-cache',
'sec-ch-ua': '"Chromium";v="21", " Not;A Brand";v="99"',
'Accept': 'application/json, text/javascript, */*; q=0.01',
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
'X-Requested-With': 'XMLHttpRequest',
'sec-ch-ua-mobile': '?0',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36',
'sec-ch-ua-platform': '"Windows"',
'Origin': 'https://my.huzhan.com',
'Sec-Fetch-Site': 'same-origin',
'Sec-Fetch-Mode': 'cors',
'Sec-Fetch-Dest': 'empty',
'Referer': 'https://my.huzhan.com/goods/sale',
'Accept-Language': 'zh-CN,zh;q=0.9,ja;q=0.8',
}
response = requests.request("POST", url, headers=headers, cookies=cookies, data=payload)
logger.debug(response.text)


if __name__ == '__main__':
proxy = "http://127.0.0.1:7890"
token = "xxxxxx"

count = 0
for i in range(1):
for i in range(100):
res = main(proxy, token)
if not res:
continue
logger.debug(f"Geetest3CaptchaBreak 【互站网-登录/注册】案例 gt: {res['gt'][:10]}, 令牌{res['validate'][:10]}..., 登录后的cookies: {str(res['cookies'])[:30]}..., 查询次数: {count+1}")
logger.debug(f"GeetestCaptchaBreak 极验三代【互站网-登录/注册】案例 gt: {res['gt'][:10]}..., 极验令牌{res['validate'][:10]}..., 登录后的cookies: {str(res['cookies'])[:30]}..., 使用次数: {count+1}")
count += 1
# 速度限制
time.sleep(10)
# 速度限制, 防止风控
time.sleep(2)
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
requests
loguru
APScheduler==3.7.0
# APScheduler==3.7.0
# pip install -r requirements.txt -i https://pypi.mirrors.ustc.edu.cn/simple/

0 comments on commit ed3cd5c

Please sign in to comment.