An open API service indexing awesome lists of open source software.

https://github.com/iavael/torcat

netcat for onion router
https://github.com/iavael/torcat

netcat tor tor-network

Last synced: 10 months ago
JSON representation

netcat for onion router

Awesome Lists containing this project

README

          

Netcat for onion router
=======================

Netcat-like tool for tor network

Features
--------
* Autodetect SOCKS port by control socket in client mode
* Creates ephemeral hidden service in listen mode

Requirements
------------
* Tor daemon with control socket enabled (tcp/unix)

Usage
-----

```
# Create ephemeral hidden service and wait for incoming connections
$ torcat -v -l 9999
(stderr) iwwcfmu5ncqwnncw.onion
(stderr) [Waiting]
```

```
# Connect to hidden service, send "Hello world!" and close connection
$ torcat -v iwwcfmu5ncqwnncw.onion 9999
(stderr) [Connected]
(stdin) Hello world!
^C
```

Notes
-----
* Set cookie in environment variable TORCAT_COOKIE if tor daemon requires authentication