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
b2d83497
Commit
b2d83497
authored
Aug 14, 2023
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
5868b740
Pipeline
#457
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
reese84_bypass.py
src/reese84_bypass.py
+5
-3
No files found.
src/reese84_bypass.py
View file @
b2d83497
...
...
@@ -9,10 +9,12 @@ from loguru import logger
req_level
=
logger
.
level
(
'REQU'
,
no
=
100
,
color
=
'<fg 34>'
)
js_level
=
logger
.
level
(
'VMJS'
,
no
=
100
,
color
=
'<fg 185>'
)
work_dir
=
'/
data/log/lcc-y
4/'
work_dir
=
'/
home/opt/lcc-reese8
4/'
if
platform
.
platform
()
.
startswith
(
'mac'
):
work_dir
=
'/Users/wang/Documents/company/lcc-reese84/'
log_dir
=
'/data/log/lcc-y4/'
if
platform
.
platform
()
.
startswith
(
'mac'
):
log_dir
=
'/Users/wang/Documents/company/lcc-reese84/'
class
Reese84ByPass
(
object
):
__session
=
tls_client
.
Session
(
'chrome_112'
)
...
...
@@ -24,7 +26,7 @@ class Reese84ByPass(object):
'http'
:
proxy
,
'https'
:
proxy
,
}
Path
(
work
_dir
)
.
joinpath
(
thread_name
)
.
mkdir
(
exist_ok
=
True
,
parents
=
True
)
Path
(
log
_dir
)
.
joinpath
(
thread_name
)
.
mkdir
(
exist_ok
=
True
,
parents
=
True
)
self
.
log
=
logger
.
bind
(
module_name
=
thread_name
)
self
.
log
.
info
(
f
'proxy:{proxy} target:{target}'
)
...
...
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