Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-reese84
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
lcc-reese84
Commits
80010ded
Commit
80010ded
authored
May 09, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
af920e63
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
21 deletions
+22
-21
reese84_bypass.py
src/reese84_bypass.py
+21
-20
run.js
src/run.js
+1
-1
No files found.
src/reese84_bypass.py
View file @
80010ded
import
hashlib
import
json
import
platform
import
random
import
subprocess
import
tempfile
import
time
from
pathlib
import
Path
import
requests
# import tls_client
# from curl_cffi import requests
import
urllib3
import
requests
urllib3
.
disable_warnings
()
from
loguru
import
logger
...
...
@@ -86,8 +86,8 @@ class Reese84ByPass(object):
self
.
_session
.
cookies
.
clear
()
t1
=
time
.
time
()
r1
=
self
.
_session
.
get
(
'https://
www.flyscoot.com/g-Then-And-meeting-beding-O-Scena-Quarre-allowt-
'
)
self
.
log
.
log
(
'REQU'
,
f
'jsURL:
{"https://makeabooking.flyscoot.com/rtaliuery-Doct-The-Then-throngling-Was-Son-Hes-I"}
'
)
'https://
booking.flyscoot.com/xildrong-in-I-confusing-freene-of-Duncannothin-b
'
)
self
.
log
.
log
(
'REQU'
,
f
'jsURL:
https://booking.flyscoot.com/xildrong-in-I-confusing-freene-of-Duncannothin-b
'
)
self
.
log
.
log
(
'REQU'
,
f
'JSURL: code:{r1.status_code} cost:{(time.time() - t1):.3f}s'
)
cache_md5
=
md5
(
r1
.
text
)
if
self
.
_cache_md5
!=
cache_md5
:
...
...
@@ -112,21 +112,22 @@ class Reese84ByPass(object):
# print(len(data['solution']['interrogation']['p']))
t3
=
time
.
time
()
url
=
"https://
www.flyscoot.com/g-Then-And-meeting-beding-O-Scena-Quarre-allowt-?d=www
.flyscoot.com"
url
=
"https://
booking.flyscoot.com/xildrong-in-I-confusing-freene-of-Duncannothin-b?d=booking
.flyscoot.com"
response
=
self
.
_session
.
post
(
url
,
headers
=
{
"Host"
:
"www.flyscoot.com"
,
"sec-ch-ua"
:
"
\"
Google Chrome
\"
;v=
\"
120
\"
,
\"
Not;A=Brand
\"
;v=
\"
8
\"
,
\"
Chromium
\"
;v=
\"
120
\"
"
,
"Accept"
:
"application/json; charset=utf-8"
,
"sec-ch-ua-platform"
:
"
\"
macOS
\"
"
,
"Content-Type"
:
"text/plain; charset=utf-8"
,
"authority"
:
"booking.flyscoot.com"
,
"accept"
:
"application/json; charset=utf-8"
,
"accept-language"
:
"en"
,
"cache-control"
:
"no-cache"
,
"content-type"
:
"text/plain; charset=utf-8"
,
"origin"
:
"https://booking.flyscoot.com"
,
"pragma"
:
"no-cache"
,
"sec-ch-ua"
:
"
\"
Not_A Brand
\"
;v=
\"
8
\"
,
\"
Chromium
\"
;v=
\"
120
\"
,
\"
Google Chrome
\"
;v=
\"
120
\"
"
,
"sec-ch-ua-mobile"
:
"?0"
,
"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"
,
"Origin"
:
"https://www.flyscoot.com"
,
"Sec-Fetch-Site"
:
"same-origin"
,
"Sec-Fetch-Mode"
:
"cors"
,
"Sec-Fetch-Dest"
:
"empty"
,
"Referer"
:
"https://www.flyscoot.com/en/"
,
"Accept-Language"
:
"en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,ru;q=0.6"
"sec-ch-ua-platform"
:
"
\"
macOS
\"
"
,
"sec-fetch-dest"
:
"empty"
,
"sec-fetch-mode"
:
"cors"
,
"sec-fetch-site"
:
"same-origin"
,
"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"
},
json
=
data
)
self
.
log
.
log
(
'REQU'
,
f
'JSURL: code:{response.status_code} cost:{(time.time() - t3):.3f}s'
)
# self.log.info(f'{response.json().keys()}')
...
...
@@ -160,7 +161,7 @@ class Reese84ByPass(object):
"sec-fetch-dest"
:
"empty"
,
"accept-language"
:
"en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,ru;q=0.6"
}
url
=
"https://
ibe
.api.flyscoot.com/v1/account/anonymous"
url
=
"https://
booking
.api.flyscoot.com/v1/account/anonymous"
response
=
self
.
_session
.
get
(
url
,
headers
=
headers
,
timeout
=
10
)
print
(
response
.
text
)
self
.
_token
=
response
.
json
()[
'data'
][
'accessToken'
]
...
...
@@ -271,13 +272,13 @@ class Reese84ByPass(object):
print
(
self
.
_get_cookie
())
if
__name__
==
'__main__'
:
# session.proxies = {
# 'http': "http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:9000",
# 'https': "http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:9000",
# }
r
=
Reese84ByPass
(
'https://www.flyscoot.com/'
,
'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:9000'
)
r
=
Reese84ByPass
(
'https://www.flyscoot.com/'
,
'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:9000'
)
r
=
Reese84ByPass
(
'https://www.flyscoot.com/'
,
'http://user-uni007-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
)
r
=
Reese84ByPass
(
'https://www.flyscoot.com/'
,
'http://127.0.0.1:8890'
)
# r = Reese84ByPass('https://www.flyscoot.com/', f'http://uni00001_custom_zone_US_sid_{random.randint(67336718, 67336728)}_time_5:q39CEBTs5A@us.foxyip.com:7778')
...
...
src/run.js
View file @
80010ded
...
...
@@ -1312,7 +1312,7 @@ const {
const dom = new JSDOM(
'\n' +
' <!DOCTYPE html> <html lang="en" en-sg IR> <head><script src="/
g-Then-And-meeting-beding-O-Scena-Quarre-allowt-
" async></script> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta charset="utf-8" /><script type="text/html" id="sf-tracking-consent-manager">\n' +
' <!DOCTYPE html> <html lang="en" en-sg IR> <head><script src="/
xildrong-in-I-confusing-freene-of-Duncannothin-b
" async></script> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta charset="utf-8" /><script type="text/html" id="sf-tracking-consent-manager">\n' +
'\t<div id="tracking-consent-dialog" style="display:none;" class="hidden"> \n' +
'</div>\n' +
'</script><script type="text/javascript" src="/WebResource.axd?d=DzHrpQl5URXarFHAtrmzFiVGCp9k3PJKAh3Au6tULwI3z2EKZIWdZjHIKorXmVWtqfboHFuCdj6oa1XUJAP5fA3f4Iqu4x90S3aDJ9UC6y8T1XJIHmjzt0iedHwMeb8hvKIBNUtZpwwmosLi2qggI96FCNOD3Bf3q9GkuZENu9ZjYmUuSvaKCV9uZxDDJ8q_0&t=637885997880000000">\n' +
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