https://github.com/update692/torping
Periodically poll regular or onion site via Tor.
https://github.com/update692/torping
cli console onion poll site tor windows
Last synced: about 2 months ago
JSON representation
Periodically poll regular or onion site via Tor.
- Host: GitHub
- URL: https://github.com/update692/torping
- Owner: update692
- Created: 2023-09-29T09:09:21.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-28T11:41:58.000Z (over 2 years ago)
- Last Synced: 2023-10-29T09:29:20.362Z (over 2 years ago)
- Topics: cli, console, onion, poll, site, tor, windows
- Language: C#
- Homepage:
- Size: 773 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# torping
Periodically poll regular or onion site via Tor.
## Help output
```
torping 1.0.0.0
ERROR(S):
Required option 'i, socks5-ip' is missing.
Required option 'p, socks5-port' is missing.
Required option 'u, url' is missing.
-i, --socks5-ip Required. Tor proxy IP address.
-p, --socks5-port Required. Tor proxy Port.
-u, --url Required. Site URL.
-t, --timeout (Default: 30) Connection timeout (sec).
-n, --interval (Default: 15) Ping interval (sec).
-r, --retry (Default: 5) On error retry interval (sec).
-a, --user-agent (Default: Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0
Safari/537.36) User agent.
--help Display this help screen.
--version Display version information.
```
## Example output
```
Connection timeout=30s, Ping interval=60s, Retry interval=5s, User agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
127.0.0.1:9050 -> http://eixoaclv7qvnmu5rolbdwba65xpdiditdoyp6edsre3fitad777jr3ad.onion/
29.09.2023 18:53:43 | SUCCESS | 200 OK | Length: 33459 | Time: 738
29.09.2023 18:54:46 | ERROR | 502 ConnectionRefused | Length: 0 | Time: 31
29.09.2023 18:54:53 | ERROR | 502 ConnectionRefused | Length: 0 | Time: 51
29.09.2023 18:55:00 | ERROR | 502 ConnectionRefused | Length: 0 | Time: 30
29.09.2023 18:55:35 | ERROR | A task was canceled. (Probably timeout)
29.09.2023 18:55:42 | SUCCESS | 200 OK | Length: 33459 | Time: 506
29.09.2023 18:56:44 | SUCCESS | 200 OK | Length: 33459 | Time: 120
29.09.2023 18:57:47 | SUCCESS | 200 OK | Length: 33459 | Time: 315
Interval...
```