Add other scripts
This commit is contained in:
parent
0fdf5bad16
commit
1e1111159e
3 changed files with 36 additions and 0 deletions
24
scripts/2021/tor2wcli
Executable file
24
scripts/2021/tor2wcli
Executable file
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
|
||||
while true; do
|
||||
SOCK_PORT=$1
|
||||
/usr/bin/tor \
|
||||
--UseEntryGuards 0 \
|
||||
--SocksPort "127.0.0.1:$SOCK_PORT IsolateDestPort IsolateDestAddr IsolateClientAddr" \
|
||||
--DataDirectory /tmp/tor$SOCK_PORT &
|
||||
|
||||
sleep 5
|
||||
|
||||
/usr/local/bin/measlat \
|
||||
-t tor \
|
||||
-q $SOCK_PORT \
|
||||
-h 212.47.237.96 \
|
||||
-p 443 \
|
||||
-c 135000 \
|
||||
-i 40 \
|
||||
-s 172 \
|
||||
-m tor2w
|
||||
|
||||
kill $!
|
||||
done
|
||||
|
6
scripts/2021/tor2wcli@.service
Normal file
6
scripts/2021/tor2wcli@.service
Normal file
|
@ -0,0 +1,6 @@
|
|||
[Unit]
|
||||
Description=tor2wcli
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/tor2wcli %i
|
||||
WorkingDirectory=/root/tor2wcli/
|
6
scripts/2021/tor2wserv.service
Normal file
6
scripts/2021/tor2wserv.service
Normal file
|
@ -0,0 +1,6 @@
|
|||
[Unit]
|
||||
Description=tor2wserv
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/torecho -s 172 -p 443
|
||||
|
Loading…
Reference in a new issue