mirror of
https://github.com/luzhisheng/js_reverse.git
synced 2025-04-20 10:25:01 +08:00
19css加密css加密-雪碧图-数据干扰等
This commit is contained in:
parent
6c4288ad19
commit
a33d44d310
25
猿人学练习/19css加密css加密-雪碧图-数据干扰等/main.py
Normal file
25
猿人学练习/19css加密css加密-雪碧图-数据干扰等/main.py
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
import requests
|
||||||
|
|
||||||
|
|
||||||
|
def challenge19():
|
||||||
|
url = "https://www.python-spider.com/api/challenge19"
|
||||||
|
payload = "page=1"
|
||||||
|
session = requests.session()
|
||||||
|
headers = {
|
||||||
|
'Content-Type': 'text/plain'
|
||||||
|
}
|
||||||
|
session.headers = headers
|
||||||
|
response = session.request("POST", url, headers=headers, data=payload)
|
||||||
|
return response.text
|
||||||
|
|
||||||
|
|
||||||
|
def run():
|
||||||
|
data_num = 0
|
||||||
|
for page in range(1, 101):
|
||||||
|
response_content = challenge19()
|
||||||
|
print(response_content)
|
||||||
|
exit()
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
run()
|
5
猿人学练习/19css加密css加密-雪碧图-数据干扰等/readme.md
Normal file
5
猿人学练习/19css加密css加密-雪碧图-数据干扰等/readme.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# 知识点:
|
||||||
|
|
||||||
|
## 解题思路
|
||||||
|
|
||||||
|
模拟请求地址,发现返回的是一串js
|
Loading…
x
Reference in New Issue
Block a user