Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-shape
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wangmingming
lcc-shape
Commits
e0827208
Commit
e0827208
authored
Sep 04, 2023
by
wangmingming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
7777
parent
071c701a
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
3346 additions
and
42 deletions
+3346
-42
test2.js
decrypt/test2.js
+0
-0
jetblue.py
jetblue.py
+4
-4
js_dom_run.js
js_dom_run.js
+3289
-23
Window.js
jsdom/lib/jsdom/browser/Window.js
+1
-1
resource-loader.js
jsdom/lib/jsdom/browser/resources/resource-loader.js
+3
-3
HTMLBodyElement.js
jsdom/lib/jsdom/living/generated/HTMLBodyElement.js
+5
-0
src_out.js
src_out.js
+35
-8
src_run.js
src_run.js
+3
-3
sss.js
sss.js
+6
-0
No files found.
decrypt/test2.js
View file @
e0827208
No preview for this file type
jetblue.py
View file @
e0827208
...
...
@@ -27,7 +27,6 @@ with open('env.json', 'r') as f:
data
=
json
.
loads
(
f
.
read
())
envs
=
data
.
keys
()
session
=
tls_client
.
Session
(
client_identifier
=
'chrome_110'
)
# session = requests.session()
headers
=
{
...
...
@@ -58,8 +57,8 @@ for i in range(100):
t1
=
time
.
time
()
# r = requests.get('http://127.0.0.1:5000/getinfo').json()['message']
# r = requests.get('http://127.0.0.1:3001').json()
#
p = subprocess.Popen(['node', 'js_dom_run.js', selectId], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
p
=
subprocess
.
Popen
([
'node'
,
'src_run1.js'
,
selectId
],
stdin
=
subprocess
.
PIPE
,
stdout
=
subprocess
.
PIPE
,
p
=
subprocess
.
Popen
([
'node'
,
'js_dom_run.js'
,
selectId
],
stdin
=
subprocess
.
PIPE
,
stdout
=
subprocess
.
PIPE
,
#
p = subprocess.Popen(['node', 'src_run1.js', selectId], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
stderr
=
subprocess
.
PIPE
)
output
,
err
=
p
.
communicate
(
timeout
=
10
)
tmp
=
''
...
...
@@ -113,8 +112,9 @@ for i in range(100):
}
proxy
=
f
'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{int(random.randint(10000, 11149))}'
# proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@198.147.25.26:{int(random.randint(10000, 11149))}'
#
proxy = 'http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
proxy
=
'http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
# proxy = 'http://127.0.0.1:7890'
session
=
tls_client
.
Session
(
client_identifier
=
'chrome_112'
)
session
.
proxies
=
{
'http'
:
proxy
,
'https'
:
proxy
,
...
...
js_dom_run.js
View file @
e0827208
This diff is collapsed.
Click to expand it.
jsdom/lib/jsdom/browser/Window.js
View file @
e0827208
...
...
@@ -1004,7 +1004,7 @@ function Window(options) {
// ### INITIALIZATION
process
.
nextTick
(()
=>
{
_
process
.
nextTick
(()
=>
{
if
(
!
window
.
document
)
{
return
;
// window might've been closed already
}
...
...
jsdom/lib/jsdom/browser/resources/resource-loader.js
View file @
e0827208
...
...
@@ -13,12 +13,12 @@ module.exports = class ResourceLoader {
constructor
({
strictSSL
=
true
,
proxy
=
undefined
,
userAgent
=
`Mozilla/5.0 (
${
process
.
platform
||
"unknown OS"
}
) AppleWebKit/537.36 `
+
`(KHTML, like Gecko) jsdom/
${
packageVersion
}
`
//
userAgent = `Mozilla/5.0 (${process.platform || "unknown OS"}) AppleWebKit/537.36 ` +
//
`(KHTML, like Gecko) jsdom/${packageVersion}`
}
=
{})
{
this
.
_strictSSL
=
strictSSL
;
this
.
_proxy
=
proxy
;
this
.
_userAgent
=
userAgent
;
//
this._userAgent = userAgent;
}
_readDataURL
(
urlRecord
)
{
...
...
jsdom/lib/jsdom/living/generated/HTMLBodyElement.js
View file @
e0827208
...
...
@@ -188,6 +188,10 @@ exports.install = (globalObject, globalNames) => {
ceReactionsPostSteps_helpers_custom_elements
(
globalObject
);
}
}
get
innerText
()
{
console
.
log
(
'body.webkitRequestFullScreen'
)
}
get
webkitRequestFullScreen
()
{
console
.
log
(
'body.webkitRequestFullScreen'
)
...
...
@@ -795,6 +799,7 @@ exports.install = (globalObject, globalNames) => {
onunhandledrejection
:
{
enumerable
:
true
},
onunload
:
{
enumerable
:
true
},
webkitRequestFullScreen
:
{
enumerable
:
true
},
innerText
:
{
enumerable
:
true
},
[
Symbol
.
toStringTag
]:
{
value
:
"HTMLBodyElement"
,
configurable
:
true
}
});
if
(
globalObject
[
ctorRegistrySymbol
]
===
undefined
)
{
...
...
src_out.js
View file @
e0827208
Date
.
now
=
function
now
()
{
return
1685096207545
};
Date
.
parse
=
function
()
{
return
1685096207545
};
Date
.
prototype
.
valueOf
=
function
()
{
return
1685096207545
};
Date
.
prototype
.
getTime
=
function
()
{
return
1685096207545
};
Date
.
prototype
.
toString
=
function
()
{
return
1685096207545
};
Performance
.
prototype
.
now
=
function
now
()
{
return
Number
(
'1685096207545'
.
slice
(
8
))
}
Math
.
random
=
function
random
()
{
return
0.08636862211354912
};
con3
=
function
(){};
con4
=
console
.
log
;
(
function
L
(
T
)
{
var
p
=
new
Error
(
"HALT"
);
var
Z
=
{},
c
=
{};
...
...
@@ -2107,18 +2131,21 @@
"use strict"
;
let
res
=
jR
.
R
[
jR
.
R
.
length
-
2
][
jR
.
R
[
jR
.
R
.
length
-
1
]];
con3
(
jR
.
R
[
jR
.
R
.
length
-
2
],
'get'
,
jR
.
R
[
jR
.
R
.
length
-
1
],
'==>'
,
res
)
if
(
jR
.
R
[
jR
.
R
.
length
-
1
]
===
0
&&
typeof
res
===
'boolean'
if
(
jR
.
R
[
jR
.
R
.
length
-
1
]
===
5
&&
typeof
res
===
'boolean'
// && jR.R[jR.R.length - 2].length === 3
){
//
console.log(jR.R[jR.R.length - 2])
console
.
log
(
jR
.
R
[
jR
.
R
.
length
-
2
])
// console.log(jR.R[jR.R.length - 2].join(''));
// debugger;
}
if
(
jR
.
R
[
jR
.
R
.
length
-
1
]
===
'join'
){
// console.log(jR.R[jR.R.length - 2]);
// debugger;
}
// if ( jR.R[jR.R.length - 1] === 'length' && Array.isArray(jR.R[jR.R.length - 2]) && jR.R[jR.R.length - 2].length > 1000){
// console.log(JSON.stringify(jR.R[jR.R.length - 2]));
// // debugger;
//
// }
// if(jR.R[jR.R.length - 2].length === 10003){
// debugger;
// }
jR
.
R
[
jR
.
R
.
length
-
2
]
=
res
;
if
(
Array
.
isArray
(
jR
.
R
[
jR
.
R
.
length
-
2
])
&&
jR
.
R
[
jR
.
R
.
length
-
2
].
length
===
60
)
{
let
res
=
[];
...
...
@@ -2131,7 +2158,7 @@
}
})
con
sole
.
log
([].
slice
.
call
(
res
).
join
(
'iii'
))
con
4
([].
slice
.
call
(
res
).
join
(
'iii'
))
}
jR
.
R
[
jR
.
R
.
length
-
2
]
=
res
;
jR
.
R
.
length
-=
1
...
...
src_run.js
View file @
e0827208
...
...
@@ -90,8 +90,8 @@ print = console.log
dtavm
.
log
=
console
.
log
let
con3
=
console
.
log
let
con4
=
console
.
log
//
con3 = function (){}
//
con4 = function (){}
con3
=
function
(){}
con4
=
function
(){}
...
...
@@ -6030,7 +6030,7 @@ xhr.send("{\"tripType\":\"oneWay\",\"from\":\"ZLA\",\"to\":\"NAS\",\"depart\":\"
xhr
.
setRequestHeader
(
'user-agent'
,
ENV
.
navigatorparams
.
useragent
)
print
(
JSON
.
stringify
(
xhr
.
headers
))
_process
.
exit
(
0
)
},
1
0
00
)
},
1
5
00
)
// fetch("https://jbrest.jetblue.com/lfs-rwb/outboundLFS", {
// "headers": {
...
...
sss.js
View file @
e0827208
This diff is collapsed.
Click to expand it.
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