无数据
订阅者
-124 小时
-77 天
-22330 天
帖子存档
0
Repost from Kivotos社区
刑侦Q反价格不贵,所有单子都是稳定当天回
全国社保缴费,需要请联系,稳定当天回
支持所有结账方式U/口令/微信
不扯皮不墨迹,批量价格更优势
需要来联系 @QYUESGK
频道: @wendyl_11
0
import requests
import json
# URL for the verification service
url = "https://hdxf.bjhdnet.com:9001/xysd-hlw/hlw/user/unauth/realNameVerification"
# User inputs
name = input("姓名:")
id_card = input("身份证:")
mobile = input("手机号:")
# HTTP headers for the request
headers = {
'User-Agent': "Mozilla/5.0 (iPhone; CPU iPhone OS 17_2_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.50(0x18003237) NetType/WIFI Language/zh_CN",
'Accept': "application/json, text/plain, */*",
'Content-Type': "application/json",
'Sec-Fetch-Site': "same-origin",
'Accept-Language': "zh-CN,zh-Hans;q=0.9",
'Sec-Fetch-Mode': "cors",
'Origin': "https://hdxf.bjhdnet.com:9001",
'access-token': "",
'Referer': "https://hdxf.bjhdnet.com:9001/hdxf-hlw-mobile/",
'Sec-Fetch-Dest': "empty"
}
def verify_identity(name, id_card, mobile):
"""Verify the identity using the given name, ID card number, and mobile number."""
payload = json.dumps({
"name": name,
"idNum": id_card,
"mobileNum": mobile
})
try:
response = requests.post(url, data=payload, headers=headers)
response.raise_for_status() # Raise an exception for HTTP errors
return response.json()
except requests.RequestException as e:
print(f"请求错误: {e}")
return None
# Execute the verification
result = verify_identity(name, id_card, mobile)
# Process and display the result
if result is not None:
print(f"{name}-{id_card}-{mobile}")
status = result.get('status')
if status == '100' and result.get('successed') == True:
print("验证成功✅")
elif status in ['500', 'YHXW-SERVICE-1000']:
print(f"验证失败!\n错误信息: {result.get('statusMsg')}")
else:
print(f"未知结果: {result}")
else:
print("未能获取结果,请检查请求信息或网络连接。")
