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
428ede7a
Commit
428ede7a
authored
Aug 14, 2023
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e9da0394
Pipeline
#466
canceled with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
Dockerfile
Dockerfile
+3
-2
reese84_bypass.py
src/reese84_bypass.py
+0
-1
vm_env.js
src/vm_env.js
+1
-1
No files found.
Dockerfile
View file @
428ede7a
...
@@ -2,12 +2,13 @@ FROM python:3.10.1-slim-bullseye
...
@@ -2,12 +2,13 @@ FROM python:3.10.1-slim-bullseye
RUN
mkdir
-p
"/home/opt/lcc-5s"
RUN
mkdir
-p
"/home/opt/lcc-5s"
RUN
apt update
&&
apt
install
curl
-y
RUN
apt update
&&
apt
install
curl
-y
RUN
curl
-fsSL
https://deb.nodesource.com/setup_18.x | bash -
RUN
curl
-fsSL
https://deb.nodesource.com/setup_18.x | bash -
RUN
apt
install
nodejs
RUN
apt
install
nodejs
vim
COPY
src/ /home/opt/lcc-reese84/src
COPY
src/ /home/opt/lcc-reese84/src
#ADD package-lock.json package.json /home/opt/lcc-5s/
#ADD package-lock.json package.json /home/opt/lcc-5s/
WORKDIR
/home/opt/lcc-reese84/
WORKDIR
/home/opt/lcc-reese84/
RUN
cd
/home/opt/lcc-reese84/src
&&
npm i
RUN
cd
/home/opt/lcc-reese84/src
&&
npm i
RUN
#sed -i "s/'all'/'asll'/g" /home/opt/lcc-reese84/src/node_modules/nwsapi/src/nwsapi.js
#RUN sed -i "s/'all'/'asll'/g" /home/opt/lcc-reese84/src/node_modules/nwsapi/src/nwsapi.js
RUN
sed
-i
's/"Accep/#"Accep/g'
/usr/local/lib/python3.10/site-packages/tls_client/sessions.py
WORKDIR
/home/opt/lcc-reese84/src
WORKDIR
/home/opt/lcc-reese84/src
RUN
pip3
install
requests loguru curl_cffi tls_client pyquery nacos-sdk-python pyyaml
RUN
pip3
install
requests loguru curl_cffi tls_client pyquery nacos-sdk-python pyyaml
...
...
src/reese84_bypass.py
View file @
428ede7a
...
@@ -150,7 +150,6 @@ class Reese84ByPass(object):
...
@@ -150,7 +150,6 @@ class Reese84ByPass(object):
"Sec-Fetch-Dest"
:
"empty"
,
"Sec-Fetch-Dest"
:
"empty"
,
"Referer"
:
"https://www.volaris.com/"
,
"Referer"
:
"https://www.volaris.com/"
,
"Accept-Language"
:
"en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,ru;q=0.6"
,
"Accept-Language"
:
"en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,ru;q=0.6"
,
"Accept-Encoding"
:
"gzip, deflate"
,
}
}
url
=
"https://apigw.volaris.com/prod/api/session"
url
=
"https://apigw.volaris.com/prod/api/session"
response
=
self
.
__session
.
get
(
url
,
headers
=
headers
)
response
=
self
.
__session
.
get
(
url
,
headers
=
headers
)
...
...
src/vm_env.js
View file @
428ede7a
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