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
e3e6504a
Commit
e3e6504a
authored
Apr 12, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
f9 验票
parent
b97023b5
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11127 additions
and
8508 deletions
+11127
-8508
decodeResult22.js
ast/decodeResult22.js
+6481
-7974
px.js
src/px.js
+4630
-526
run.js
src/run.js
+16
-8
No files found.
ast/decodeResult22.js
View file @
e3e6504a
This diff is collapsed.
Click to expand it.
src/px.js
View file @
e3e6504a
This diff is collapsed.
Click to expand it.
src/run.js
View file @
e3e6504a
...
...
@@ -70,7 +70,7 @@ class PxBypass {
"accept-language"
:
"en-US,en;q=0.9"
,
"cache-control"
:
"no-cache"
,
"content-type"
:
"application/x-www-form-urlencoded"
,
"origin"
:
"https://www.
flyfrontier
.com"
,
"origin"
:
"https://www.
spirit
.com"
,
"pragma"
:
"no-cache"
,
"user-agent"
:
this
.
ua
}
...
...
@@ -125,7 +125,7 @@ class PxBypass {
'brush_proxy'
:
this
.
prox
,
'brush_mode'
:
'shopping'
,
'brush_name'
:
'js0'
,
'brush_type'
:
'cookie
F9
'
,
'brush_type'
:
'cookie
NK
'
,
}));
this
.
log
.
debug
(
res
.
data
)
...
...
@@ -133,6 +133,13 @@ class PxBypass {
async
do_collector
(
data
)
{
try
{
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
let
n
=
data
[
i
];
n
.
d
[
'PX11645'
]
=
this
.
url
;
n
.
d
[
"PX11379"
]
=
true
;
}
console
.
log
(
JSON
.
stringify
(
data
))
// if (typeof data === 'object') {
// data = ht(data)
// }
...
...
@@ -432,11 +439,12 @@ class PxBypass {
async
function
run
()
{
while
(
true
)
{
try
{
let
res
=
await
axios
.
get
(
'http://ymx-lcc.unififi.com/header/task/pull/cookieF9?brush_name=test'
)
// let data = {
// status: 0
// }
let
data
=
res
.
data
;
// let res = await axios.get('http://ymx-lcc.unififi.com/header/task/pull/cookieF9?brush_name=test')
// let data = res.data;
let
data
=
{
status
:
0
}
console
.
log
(
data
)
// if r.json()['status'] != 0:
// # logger.debug(f'不需要刷值')
...
...
@@ -450,7 +458,7 @@ async function run() {
await
px
.
step1
()
// await px.test()
await
px
.
step2
()
//
await px.step2()
// await sleep(1500)
...
...
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