Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
P
px3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangmingming
px3
Commits
341ce935
Commit
341ce935
authored
Jul 23, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收集环境
parent
fe933ebc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8969 additions
and
7 deletions
+8969
-7
captcha.js
ast2/captcha.js
+8936
-2
decode.js
ast2/decode.js
+1
-1
test.py
test.py
+13
-1
test_search.py
test_search.py
+19
-3
No files found.
ast2/captcha.js
View file @
341ce935
This source diff could not be displayed because it is too large. You can
view the blob
instead.
ast2/decode.js
View file @
341ce935
...
@@ -7,7 +7,7 @@ const generator = require("@babel/generator").default;
...
@@ -7,7 +7,7 @@ const generator = require("@babel/generator").default;
//js混淆代码读取
//js混淆代码读取
process
.
argv
.
length
>
2
?
encodeFile
=
process
.
argv
[
2
]
:
encodeFile
=
"./
main
.js"
;
//默认的js文件
process
.
argv
.
length
>
2
?
encodeFile
=
process
.
argv
[
2
]
:
encodeFile
=
"./
captcha
.js"
;
//默认的js文件
process
.
argv
.
length
>
3
?
decodeFile
=
process
.
argv
[
3
]
:
decodeFile
=
encodeFile
.
slice
(
0
,
encodeFile
.
length
-
3
)
+
"_ok.js"
;
process
.
argv
.
length
>
3
?
decodeFile
=
process
.
argv
[
3
]
:
decodeFile
=
encodeFile
.
slice
(
0
,
encodeFile
.
length
-
3
)
+
"_ok.js"
;
//将源代码解析为AST
//将源代码解析为AST
...
...
test.py
View file @
341ce935
import
base64
import
base64
import
requests
with
open
(
'test.js'
,
'r'
,
encoding
=
'utf-8'
)
as
f
:
with
open
(
'test.js'
,
'r'
,
encoding
=
'utf-8'
)
as
f
:
jsCode
=
f
.
read
()
jsCode
=
f
.
read
()
...
@@ -91,4 +93,14 @@ IIIIII|fp|60|1
...
@@ -91,4 +93,14 @@ IIIIII|fp|60|1
#
#
# message, typedef = blackboxprotobuf.protobuf_to_json(data, message_type=None)
# message, typedef = blackboxprotobuf.protobuf_to_json(data, message_type=None)
#
#
# print(message)
# print(message)
\ No newline at end of file
r
=
requests
.
post
(
'http://api.zjdanli.com/px/cookiePress'
,
json
=
{
"appid"
:
"tfxwqt52py2ztbgfbrrn9pxfp0sf19ji"
,
"url"
:
"https://www.flyfrontier.com/"
,
'proxyPort'
:
4600
,
'proxyIp'
:
'pr.roxlabs.cn'
,
'proxyUserPwd'
:
'user-uni001-region-us-sessid-1122-sesstime-5-keep-true:q39CEBTs5A5YQXor'
})
print
(
r
.
text
)
\ No newline at end of file
test_search.py
View file @
341ce935
...
@@ -10,7 +10,19 @@ headers = {
...
@@ -10,7 +10,19 @@ headers = {
"authority"
:
"www.flyfrontier.com"
,
"accept"
:
"application/json, text/plain, */*"
,
"accept-language"
:
"en-US"
}
"authority"
:
"www.flyfrontier.com"
,
"accept"
:
"application/json, text/plain, */*"
,
"accept-language"
:
"en-US"
}
url
=
"https://booking.flyfrontier.com/Flight/InternalSelect?o1=BNA&d1=ATL&dd1=Apr
%2027
,
%202024
&ADT=1&mon=true&promo="
url
=
"https://booking.flyfrontier.com/Flight/InternalSelect?o1=BNA&d1=ATL&dd1=Apr
%2027
,
%202024
&ADT=1&mon=true&promo="
cks
=
'ASP.NET_SessionId=ihwbo45eoowvupwzwxomxg5v; __RequestVerificationToken=x-ZSSdHlXMVJ7O2eTLJQ3jkjGRuJCdC_RcK8oePoDerhy_5wR0QVblMuCOehsQcNgJZRvL5Kd1UK5yHYFeEnBmDuS6ki3I_F30KL85Pv3-NywoV7P6zCqvb4629qy8OZ6CvRwg2; dotrez=!CnivcHTAVzJanI8uf6ZSo6dUbzw/bkjc3KPBdM872oqh2wI0uFelhMyMFgRbw2WRRoP+iId2sLEb8A==; dtCookie=v_4_srv_2_sn_FEF87482CA71806DAC2FC5A3FD55DEE0_perc_100000_ol_0_mul_1_app-3Aea7c4b59f27d43eb_0_rcs-3Acss_0; _pxhd=fc89f95c3c260e2013a32b1c547ee786d0ec75b96e75bad79566ea8a1807581b:ba338dac-44ed-11ef-8750-75c8eb11a49c; _px2=eyJ1IjoiYmE1NTg3NDAtNDRlZC0xMWVmLWI2ZGMtODU5ZDg2NzM3NmNlIiwidiI6ImJhZDU3MjY4LTQ0ZWQtMTFlZi1iMWRlLTE2NWUxOGQ4MTA5OSIsInQiOjYyMDIzMzg4MDAwNCwiaCI6IjZmZjgxMzYyZWUxODcxYThjYWZmYjFjMGNhZWUyZjY3YzE5YzE2YTgwMzVlOTcxOTJlYzdkNjU2ZGU2ODdlYzkifQ==; pxcts=bad57b7d-44ed-11ef-b1df-140968312052; _pxvid=bad57268-44ed-11ef-b1de-165e18d81099'
cks
=
'ASP.NET_SessionId=ihwbo45eoowvupwzwxomxg5v; __RequestVerificationToken=x-ZSSdHlXMVJ7O2eTLJQ3jkjGRuJCdC_RcK8oePoDerhy_5wR0QVblMuCOehsQcNgJZRvL5Kd1UK5yHYFeEnBmDuS6ki3I_F30KL85Pv3-NywoV7P6zCqvb4629qy8OZ6CvRwg2; dotrez=!CnivcHTAVzJanI8uf6ZSo6dUbzw/bkjc3KPBdM872oqh2wI0uFelhMyMFgRbw2WRRoP+iId2sLEb8A==; dtCookie=v_4_srv_2_sn_FEF87482CA71806DAC2FC5A3FD55DEE0_perc_100000_ol_0_mul_1_app-3Aea7c4b59f27d43eb_0_rcs-3Acss_0; _pxhd=f92139a046d1adefcffc8d23c670ab440e9979bb2d02b52038e92060fc295092:cc81e27d-48cc-11ef-aabe-cf249c35436c; _px2=eyJ1IjoiY2M5YjFhZTAtNDhjYy0xMWVmLWE3YWUtNzU0NWE2MDI0NGYyIiwidiI6ImNkOWYyNWJmLTQ4Y2MtMTFlZi1iY2Y5LWY2OWI0ZDkwODY1MiIsInQiOjYyMDIzMzg4MDAwNCwiaCI6IjYxYjExYWQwMGUxZjIzODE5MmIwYTM3NjYwNjIyNmI5NTVlN2FkMmMyNTJiNjliZTVmN2VmYzUzMGQzMjc0ZmUifQ==; pxcts=cd9f32c5-48cc-11ef-bcfa-518c3243c35c; _pxvid=cd9f25bf-48cc-11ef-bcf9-f69b4d908652'
...
@@ -36,7 +48,9 @@ kccs = {
...
@@ -36,7 +48,9 @@ kccs = {
}
}
cks
=
'; '
.
join
([
f
'{k}={v}'
for
k
,
v
in
kccs
.
items
()])
# cks = '; '.join([f'{k}={v}' for k, v in kccs.items()])
# print(cks)
# input('...')
# prox = 'http://user-uni001-region-us-sessid-1114-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
# prox = 'http://user-uni001-region-us-sessid-1114-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
# prox = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{random.randint(10000, 13500)}'
# prox = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{random.randint(10000, 13500)}'
...
@@ -83,9 +97,11 @@ for i in range(20):
...
@@ -83,9 +97,11 @@ for i in range(20):
)
)
print
(
response
.
json
()[
'cookies'
])
print
(
response
.
json
()[
'status_code'
])
print
(
response
.
json
()[
'status_code'
])
print
(
response
.
json
()[
'text'
])
print
(
response
.
json
()[
'cookies'
])
print
(
'FlightData'
in
response
.
json
()[
'text'
])
print
(
'FlightData'
in
response
.
json
()[
'text'
])
print
(
' has been denied'
,
'has been denied'
in
response
.
json
()[
'text'
])
print
(
' has been denied'
,
'has been denied'
in
response
.
json
()[
'text'
])
with
open
(
'1.html'
,
'w'
)
as
f
:
with
open
(
'1.html'
,
'w'
)
as
f
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment