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
0e79ca07
Commit
0e79ca07
authored
Apr 22, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
f9
parent
5fc497ee
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5884 additions
and
5282 deletions
+5884
-5282
decodeResult22.js
ast/decodeResult22.js
+5224
-5228
main.src.js
ast2/main.src.js
+2
-1
f9test.py
f9test.py
+2
-4
f9.js
src/f9.js
+22
-5
px.js
src/px.js
+629
-40
pxenvutils.js
src/pxenvutils.js
+5
-4
No files found.
ast/decodeResult22.js
View file @
0e79ca07
This diff is collapsed.
Click to expand it.
ast2/main.src.js
View file @
0e79ca07
This source diff could not be displayed because it is too large. You can
view the blob
instead.
f9test.py
View file @
0e79ca07
...
@@ -2,13 +2,12 @@ import json
...
@@ -2,13 +2,12 @@ import json
import
tls_client
import
tls_client
sess
=
tls_client
.
Session
(
client_identifier
=
'chrome_120'
,
random_tls_extension_order
=
Tru
e
)
sess
=
tls_client
.
Session
(
client_identifier
=
'chrome_120'
,
random_tls_extension_order
=
Fals
e
)
sess
.
proxies
=
{
sess
.
proxies
=
{
'http'
:
'http://127.0.0.1:8890'
,
'http'
:
'http://127.0.0.1:8890'
,
'https'
:
'http://127.0.0.1:8890'
,
'https'
:
'http://127.0.0.1:8890'
,
}
}
import
requests
headers
=
{
headers
=
{
...
@@ -24,8 +23,7 @@ headers = {
...
@@ -24,8 +23,7 @@ headers = {
"sec-fetch-user"
:
"?1"
,
"sec-fetch-user"
:
"?1"
,
"sec-fetch-dest"
:
"document"
,
"sec-fetch-dest"
:
"document"
,
"accept-language"
:
"en"
,
"accept-language"
:
"en"
,
'cookie'
:
'c_uuid=25010157537361200005373651080192024; _gcl_au=1.1.448761603.1713336291; pxcts=fdf235a6-fc85-11ee-b4fb-43395248b920; _pxvid=fdf2276a-fc85-11ee-b4fb-5d3e2a270b62; _gid=GA1.2.1259122164.1713336292; cjConsent=MHxOfDB8Tnww; cjUser=e6f18d68-13e1-4c89-ab1c-23c5b027344b; cjLiveRampLastCall=2024-04-17T06:44:53.243Z; wisepops_visits=
%5
B
%222024
-04-17T06
%3
A44
%3
A50.744Z
%22%5
D; _pin_unauth=dWlkPVpqUm1NRFU0T0dJdE16TTBaaTAwTVdNd0xXSXhORGt0WXpBMU5HSTFORE0yTmpabQ; ORA_FPC=id=f6eb1aeb-7de0-4708-83ad-de8bed215c46; WTPERSIST=; _gat_UA-2678252-1=1; _ga_XXXX=GS1.1.1713336291.1.1.1713336405.0.0.265826372; _ga_P2WLKWBNNW=GS1.1.1713336291.1.1.1713336405.37.0.0; _ga=GA1.2.1340612058.1713336291; _rdt_uuid=1713336292452.15e1b8f2-c4d3-410b-aea6-4ce839505e3b; _px2=eyJ1IjoiNDE3OGIxMzAtZmM4Ni0xMWVlLWIwYmMtNTE4NjNiYjQxZTViIiwidiI6ImZkZjIyNzZhLWZjODUtMTFlZS1iNGZiLTVkM2UyYTI3MGI2MiIsInQiOjYyMDIzMzg4MDAwNywiaCI6ImI3MDFlN2YzZGQzYzExMTQwYjRlM2I3MDcxZTc2MjE1YTc1NTJhOTU0ZDQwYTQyMWEwM2UxOWNjYWNjMWEwMDQifQ==; wisepops=
%7
B
%22
popups
%22%3
A
%7
B
%22483108%22%3
A
%7
B
%22
dc
%22%3
A1
%2
C
%22
d
%22%3
A1713336297152
%2
C
%22
cl
%22%3
A1
%7
D
%7
D
%2
C
%22
sub
%22%3
A0
%2
C
%22
ucrn
%22%3
A3
%2
C
%22
cid
%22%3
A
%2278471%22%2
C
%22
v
%22%3
A4
%2
C
%22
bandit
%22%3
A
%7
B
%22
recos
%22%3
A
%7
B
%7
D
%7
D
%7
D; wisepops_visitor=
%7
B
%22
P9wqzAW4cp
%22%3
A
%22
cbc6973e-9403-43f5-af1f-feacc5315551
%22%7
D; wisepops_session=
%7
B
%22
arrivalOnSite
%22%3
A
%222024
-04-17T06
%3
A44
%3
A50.744Z
%22%2
C
%22
mtime
%22%3
A1713336408398
%2
C
%22
pageviews
%22%3
A4
%2
C
%22
popups
%22%3
A
%7
B
%22483108%22%3
A3
%7
D
%2
C
%22
bars
%22%3
A
%7
B
%7
D
%2
C
%22
sticky
%22%3
A
%7
B
%7
D
%2
C
%22
countdowns
%22%3
A
%7
B
%7
D
%2
C
%22
src
%22%3
Anull
%2
C
%22
utm
%22%3
A
%7
B
%7
D
%2
C
%22
testIp
%22%3
Anull
%7
D'
'cookie'
:
'c_uuid=25010157537361200005373651080192024; _gcl_au=1.1.1203097261.1713425018; pxcts=938a40eb-fd54-11ee-8c87-4bee1f093631; _pxvid=938a30fc-fd54-11ee-8c87-cd85968600f1; _gid=GA1.2.1812281059.1713425021; cjConsent=MHxOfDB8Tnww; cjUser=a29c89d8-0635-47b3-83ac-20a9fc3a5d1f; cjLiveRampLastCall=2024-04-18T07:23:40.789Z; _pin_unauth=dWlkPVpUQXlNMlUzTTJVdFpqaGpOUzAwWWpNMkxUa3pNR0l0Wm1FMk4ySmtOMk14WlRVNA; _gat_UA-2678252-1=1; wisepops_visits=
%5
B
%222024
-04-18T07
%3
A30
%3
A17.483Z
%22%2
C
%222024
-04-18T07
%3
A23
%3
A38.391Z
%22%5
D; _rdt_uuid=1713425020451.0a7acbb3-2cfb-46e8-baa8-99b12c5b7976; wisepops=
%7
B
%22
popups
%22%3
A
%7
B
%22483108%22%3
A
%7
B
%22
dc
%22%3
A1
%2
C
%22
d
%22%3
A1713425023361
%2
C
%22
c
%22%3
A1713425039108
%7
D
%7
D
%2
C
%22
sub
%22%3
A0
%2
C
%22
ucrn
%22%3
A59
%2
C
%22
cid
%22%3
A
%2278471%22%2
C
%22
v
%22%3
A4
%2
C
%22
bandit
%22%3
A
%7
B
%22
recos
%22%3
A
%7
B
%7
D
%7
D
%7
D; _ga_XXXX=GS1.1.1713425018.1.1.1713425470.0.0.1294547426; _ga=GA1.1.830353175.1713425019; _ga_P2WLKWBNNW=GS1.1.1713425019.1.1.1713425470.59.0.0; wisepops_visitor=
%7
B
%22
P9wqzAW4cp
%22%3
A
%225
f46ab28-3f85-41bc-972a-70c18202a026
%22%7
D; wisepops_session=
%7
B
%22
arrivalOnSite
%22%3
A
%222024
-04-18T07
%3
A30
%3
A17.483Z
%22%2
C
%22
mtime
%22%3
A1713425470573
%2
C
%22
pageviews
%22%3
A2
%2
C
%22
popups
%22%3
A
%7
B
%22483108%22%3
A2
%7
D
%2
C
%22
bars
%22%3
A
%7
B
%7
D
%2
C
%22
sticky
%22%3
A
%7
B
%7
D
%2
C
%22
countdowns
%22%3
A
%7
B
%7
D
%2
C
%22
src
%22%3
Anull
%2
C
%22
utm
%22%3
A
%7
B
%7
D
%2
C
%22
testIp
%22%3
Anull
%7
D; _px2=eyJ1IjoiYTExZWVjYjAtZmQ1NS0xMWVlLTkyNjktMmIxMDQzMTQ0ZDM1IiwidiI6IjkzOGEzMGZjLWZkNTQtMTFlZS04Yzg3LWNkODU5Njg2MDBmMSIsInQiOjE3MTM0MjU3NzI2MDgsImgiOiI3NzU1Nzg5YzUzMmU2ZGY3MTc0NTVkMzEzYTc3YzdmY2MwMjk4NTE3NjZiMjU5M2JjOTM0ZDc5ZDMxMmY0Mzk4In0=; ORA_FPC=id=0080a381-9cdd-452d-a791-edb926b19a20; WTPERSIST='
}
}
...
...
src/f9.js
View file @
0e79ca07
...
@@ -155,7 +155,10 @@ class PxBypass {
...
@@ -155,7 +155,10 @@ class PxBypass {
try
{
try
{
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
let
n
=
data
[
i
];
let
n
=
data
[
i
];
n
.
d
[
'PX11645'
]
=
this
.
url
;
if
(
n
.
t
===
'PX12167'
){
continue
}
// n.d['PX11645'] = this.url;
n
.
d
[
"PX11379"
]
=
false
;
n
.
d
[
"PX11379"
]
=
false
;
}
}
console
.
log
(
JSON
.
stringify
(
data
))
console
.
log
(
JSON
.
stringify
(
data
))
...
@@ -195,7 +198,7 @@ class PxBypass {
...
@@ -195,7 +198,7 @@ class PxBypass {
id
:
(
new
Date
().
getTime
())
+
''
,
id
:
(
new
Date
().
getTime
())
+
''
,
random_tls
:
true
,
random_tls
:
true
,
}),
{
}),
{
timeout
:
5000
,
timeout
:
7000
,
// 超时时间
});
});
let
inRes
=
JSON
.
parse
(
res
.
data
.
text
)
let
inRes
=
JSON
.
parse
(
res
.
data
.
text
)
this
.
log
.
info
(
inRes
)
this
.
log
.
info
(
inRes
)
...
@@ -408,12 +411,25 @@ class PxBypass {
...
@@ -408,12 +411,25 @@ class PxBypass {
// this.startTs, this.startTs2, this.performanceNow, this.px12280)
// this.startTs, this.startTs2, this.performanceNow, this.px12280)
this
.
pxenv
.
performanceNow
=
this
.
performanceNow
this
.
pxenv
.
performanceNow
=
this
.
performanceNow
let
data
=
[
let
data
=
[
//
this.pxenv.get_px12123(),
this
.
pxenv
.
get_px12123
(),
//
this.pxenv.get_px11891(),
this
.
pxenv
.
get_px11891
(),
this
.
pxenv
.
get_px11547
()]
this
.
pxenv
.
get_px11547
()]
let
res
=
await
this
.
do_collector
(
data
)
let
res
=
await
this
.
do_collector
(
data
)
}
}
async
step5
()
{
this
.
performanceNow
+=
randint
(
1000
,
2000
)
// let data = genPayload4(this.url, this.sid, this.vid, this.ts, this.num1, this.num2,
// this.str1, this.uuid,
// this.startTs, this.startTs2, this.performanceNow, this.px12280)
this
.
pxenv
.
performanceNow
=
this
.
performanceNow
let
data
=
[
// this.pxenv.get_px12123(),
// this.pxenv.get_px11891(),
this
.
pxenv
.
get_px12419
()]
let
res
=
await
this
.
do_collector
(
data
)
}
async
test
()
{
async
test
()
{
// this.prox = 'http://127.0.0.1:8890'
// this.prox = 'http://127.0.0.1:8890'
// this.tlsUrl = 'http://127.0.0.1:58000/tls/forwardios'
// this.tlsUrl = 'http://127.0.0.1:58000/tls/forwardios'
...
@@ -488,13 +504,14 @@ async function run() {
...
@@ -488,13 +504,14 @@ async function run() {
await
px
.
initMongo
()
await
px
.
initMongo
()
await
px
.
step1
()
await
px
.
step1
()
// await px.test()
// await px.test()
//
await px.step2()
await
px
.
step2
()
// await sleep(1500)
// await sleep(1500)
await
px
.
step3
()
await
px
.
step3
()
await
sleep
(
1000
)
await
sleep
(
1000
)
await
px
.
step4
()
await
px
.
step4
()
await
px
.
step5
()
await
px
.
test
()
await
px
.
test
()
// await sleep(1500)
// await sleep(1500)
...
...
src/px.js
View file @
0e79ca07
This diff is collapsed.
Click to expand it.
src/pxenvutils.js
View file @
0e79ca07
...
@@ -135,10 +135,11 @@ export function mousePath(startPoint, endPoint) {
...
@@ -135,10 +135,11 @@ export function mousePath(startPoint, endPoint) {
// 获取所有轨迹点
// 获取所有轨迹点
var
pointsOnCurve
=
[];
var
pointsOnCurve
=
[];
// for (var t = 0; t <= 1; t += 0.01) {
for
(
var
t
=
0
;
t
<=
1
;
t
+=
0.01
)
{
// var point = quadraticBezier(t, startPoint, controlPoint, endPoint);
var
point
=
quadraticBezier
(
t
,
startPoint
,
controlPoint
,
endPoint
);
// pointsOnCurve.push(point);
pointsOnCurve
.
push
(
point
);
// }
}
return
pointsOnCurve
let
reverseChooseTime
=
0
;
let
reverseChooseTime
=
0
;
let
reverseChoose
=
true
;
let
reverseChoose
=
true
;
let
x
=
startPoint
.
x
;
let
x
=
startPoint
.
x
;
...
...
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