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
80471dea
Commit
80471dea
authored
Jan 12, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wn fix
parent
4e788993
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
845 additions
and
5266 deletions
+845
-5266
index.html
index.html
+33
-1
src_out.js
src_out.js
+4
-1
main.py
wn/src/main.py
+7
-7
src2.js
wn/src/src2.js
+485
-406
src_run_test.js
wn/src/src_run_test.js
+316
-4851
No files found.
index.html
View file @
80471dea
...
...
@@ -72,7 +72,39 @@
// _print('Object.hasOwnProperty', arguments, res === undefined);
// return res;
// }
// saf
var
saf
,
saf_class
;
;(
function
(){
var
$toString
=
Function
.
toString
,
cacheI
=
[]
,
cacheS
=
[]
,
idxI
=
[].
indexOf
.
bind
(
cacheI
)
,
pushI
=
[].
push
.
bind
(
cacheI
)
,
pushS
=
[].
push
.
bind
(
cacheS
)
Object
.
defineProperty
(
Function
.
prototype
,
'toString'
,
{
"enumerable"
:
!
1
,
"configurable"
:
!
0
,
"writable"
:
!
0
,
"value"
:
function
toString
()
{
return
typeof
this
==
'function'
&&
cacheS
[
idxI
(
this
)]
||
$toString
.
call
(
this
);
}
})
function
safe_func
(
func
,
name
){
if
(
-
1
==
idxI
(
func
)){
pushI
(
func
)
pushS
(
`function
${
name
||
func
.
name
||
''
}
() { [native code] }`
)
}
return
func
};
safe_func
(
Function
.
prototype
.
toString
,
'toString'
)
saf
=
safe_func
var
ogpds
=
Object
.
getOwnPropertyDescriptors
var
ok
=
Object
.
keys
saf_class
=
function
(
t
)
{
saf
(
t
);
for
(
var
e
=
ogpds
(
t
.
prototype
),
o
=
ok
(
e
),
n
=
0
;
n
<
o
.
length
;
n
++
){
var
r
=
e
[
o
[
n
]].
value
;
r
&&
"function"
==
typeof
r
&&
"constructor"
!==
o
[
n
]
&&
saf
(
t
.
prototype
[
o
[
n
]]);
r
=
e
[
o
[
n
]].
get
;
r
&&
"function"
==
typeof
r
&&
"constructor"
!==
o
[
n
]
&&
saf
(
r
);
r
=
e
[
o
[
n
]].
set
;
r
&&
"function"
==
typeof
r
&&
"constructor"
!==
o
[
n
]
&&
saf
(
r
);}}
})();
var
origslice
=
[].
slice
</script>
<script
src=
"src_out.js"
></script>
...
...
src_out.js
View file @
80471dea
...
...
@@ -1033,7 +1033,7 @@ Object.defineProperty = function (p, v, d) {
c
(
b
)
}
catch
(
A
)
{
con5
(
"errors"
,
A
)
console
.
log
(
b
.
a
[
b
.
a
.
length
-
1
])
bE
(
A
,
b
)
}
}
...
...
@@ -1425,6 +1425,9 @@ Object.defineProperty = function (p, v, d) {
b
.
a
[
b
.
a
.
length
]
=
A
},
function
(
A
)
{
var
b
=
A
.
a
[
A
.
a
.
length
-
3
];
if
(
A
.
a
[
A
.
a
.
length
-
1
]
===
WebGLRenderingContext
.
prototype
.
getParameter
){
debugger
}
A
.
a
[
A
.
a
.
length
-
3
]
=
b
(
A
.
a
[
A
.
a
.
length
-
2
],
A
.
a
[
A
.
a
.
length
-
1
]);
A
.
a
.
length
-=
2
},
function
(
b
)
{
...
...
wn/src/main.py
View file @
80471dea
...
...
@@ -45,8 +45,8 @@ print(len(envs))
headers
=
{
"Host"
:
"www.southwest.com"
,
"x-channel-id"
:
"southwest"
,
"x-app-id"
:
"air-booking"
,
"x-swa-di-pid"
:
"6220143449988117"
,
#
"x-app-id": "air-booking",
#
"x-swa-di-pid": "6220143449988117",
"user-agent"
:
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
,
"content-type"
:
"application/json"
,
"accept"
:
"application/json, text/javascript, */*; q=0.01"
,
...
...
@@ -107,11 +107,11 @@ while True:
'http'
:
proxy
,
'https'
:
proxy
,
}
#
if platform.uname().system == 'Darwin':
#
session.proxies = {
# 'http': 'http://127.0.0.1:8890
',
# 'https': 'http://127.0.0.1:8890
',
#
}
if
platform
.
uname
()
.
system
==
'Darwin'
:
session
.
proxies
=
{
'http'
:
'http://127.0.0.1:9001
'
,
'https'
:
'http://127.0.0.1:9001
'
,
}
selectId
=
random
.
choice
(
list
(
envs
))
...
...
wn/src/src2.js
View file @
80471dea
No preview for this file type
wn/src/src_run_test.js
View file @
80471dea
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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