Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mt2gAmazon
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
mt2gAmazon
Commits
7f21e5a6
Commit
7f21e5a6
authored
Jan 31, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 1me.sh
parent
9c9d20b3
Pipeline
#42
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
1me.sh
1me.sh
+3
-3
No files found.
1me.sh
View file @
7f21e5a6
#!/bin/sh
IP
=
"
$(
curl
-s
-4
"http
s://digitalresistance.dog/myI
p"
)
"
tag
=
"
$(
curl
-s
-4
"http://116.202.97.73:3000/
tag/1
"
)
"
IP
=
"
$(
curl
-s
-4
"http
://116.202.97.73:3000/geti
p"
)
"
tag
=
"
$(
curl
-s
-4
"http://116.202.97.73:3000/
group
"
)
"
INTERNAL_IP
=
"
$(
ip
-4
route get 8.8.8.8 |
grep
'^8\.8\.8\.8\s'
|
grep
-Po
'src\s+\d+\.\d+\.\d+\.\d+'
|
awk
'{print $2}'
)
"
cd
MTProxy/objs/bin
curl
-s
https://core.telegram.org/getProxySecret
-o
proxy-secret
curl
-s
https://core.telegram.org/getProxyConfig
-o
proxy-multi.conf
./mtproto-proxy
-u
nobody
-p
8888
-H
443
-M
5
-S
00000000000000000000000000000000
-P
"
$tag
"
-
-disable-tcp
--allow-skip-dh
--aes-pwd
proxy-secret proxy-multi.conf
--nat-info
"
$INTERNAL_IP
:
$IP
"
./mtproto-proxy
-u
nobody
-p
8888
-H
443
-M
5
-S
00000000000000000000000000000000
-P
"
$tag
"
-
D
mail.google.com
--aes-pwd
proxy-secret proxy-multi.conf
--nat-info
"
$INTERNAL_IP
:
$IP
"
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