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
b97023b5
Commit
b97023b5
authored
Apr 11, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nk test
parent
9abd6014
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
run.js
src/run.js
+8
-7
No files found.
src/run.js
View file @
b97023b5
...
...
@@ -28,7 +28,7 @@ async function sleep(ms) {
class
PxBypass
{
tag
=
"v8.9.0"
ft
=
"324"
appId
=
"PX
Vb73hTEg
"
appId
=
"PX
kp4CLSb5
"
ua
=
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36'
ua
=
'Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Mobile/15E148 Safari/604.1'
...
...
@@ -56,15 +56,16 @@ class PxBypass {
this
.
prox
=
`http://user-uni001-region-us-sessid-
${
randint
(
1000
,
5000
)}
-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600`
// prox = `http://uni00001_custom_zone_US_sid_${randint(67336718, 67336728)}_time_5:q39CEBTs5A@us.foxyip.com:7778`
// prox = `http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:${randint(10000, 13500)}`
//
this.prox = 'http://127.0.0.1:8890'
this
.
prox
=
'http://127.0.0.1:8890'
this
.
tlsUrl
=
'http://52.52.23.116/tls/forward'
this
.
tlsUrl
=
'http://127.0.0.1:58000/tls/forward'
this
.
log
.
info
(
'ua'
,
this
.
ua
)
this
.
log
.
info
(
`proxy
${
this
.
prox
}
`
)
this
.
pxHeaders
=
{
"authority"
:
"collector-
pxvb73hteg
.px-cloud.net"
,
"authority"
:
"collector-
PXkp4CLSb5
.px-cloud.net"
,
"accept"
:
"*/*"
,
"accept-language"
:
"en-US,en;q=0.9"
,
"cache-control"
:
"no-cache"
,
...
...
@@ -75,7 +76,7 @@ class PxBypass {
}
this
.
url
=
'https://www.
flyfrontier
.com/'
this
.
url
=
'https://www.
spirit
.com/'
this
.
log
.
level
=
'debug'
this
.
uuid
=
''
;
this
.
ts
=
''
;
...
...
@@ -104,7 +105,7 @@ class PxBypass {
let
cks
=
Object
.
keys
(
this
.
cookies
).
map
((
v
,
k
)
=>
`
${
v
}
=
${
this
.
cookies
[
v
]}
`
).
join
(
'; '
)
this
.
log
.
info
(
'cookie'
,
cks
)
let
headers
=
{
"Host"
:
"
booking.flyfrontier
.com"
,
"Host"
:
"
www.spirit
.com"
,
"upgrade-insecure-requests"
:
"1"
,
// "user-agent": this.ua,
"user-agent"
:
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
,
...
...
@@ -383,9 +384,9 @@ class PxBypass {
let
cks
=
Object
.
keys
(
this
.
cookies
).
map
((
v
,
k
)
=>
`
${
v
}
=
${
this
.
cookies
[
v
]}
`
).
join
(
'; '
)
this
.
log
.
info
(
'cookie'
,
cks
)
let
res
=
await
axios
.
post
(
this
.
tlsUrl
,
JSON
.
stringify
({
url
:
'https://
booking.flyfrontier
.com/Booking/Retrieve?&ln=Gomez%20Carrillo&rl=AENQ7Q'
,
url
:
'https://
www.spirit
.com/Booking/Retrieve?&ln=Gomez%20Carrillo&rl=AENQ7Q'
,
headers
:
{
"Host"
:
"
booking.flyfrontier
.com"
,
"Host"
:
"
www.spirit
.com"
,
"upgrade-insecure-requests"
:
"1"
,
// "user-agent": this.ua,
"user-agent"
:
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
,
...
...
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