Add other scripts

This commit is contained in:
Quentin 2021-01-27 09:12:36 +01:00
parent 0fdf5bad16
commit 1e1111159e
3 changed files with 36 additions and 0 deletions

24
scripts/2021/tor2wcli Executable file
View 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

View file

@ -0,0 +1,6 @@
[Unit]
Description=tor2wcli
[Service]
ExecStart=/usr/local/bin/tor2wcli %i
WorkingDirectory=/root/tor2wcli/

View file

@ -0,0 +1,6 @@
[Unit]
Description=tor2wserv
[Service]
ExecStart=/usr/local/bin/torecho -s 172 -p 443