contrib

command
v0.0.0-...-625b817 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

README

contrib

Some files here could be helpful for you to find a usecase for tor-dam.

echo_send.py and echo_recv.py

These two Python programs can be seen as a reference echo client/server implementation for working over SOCKS5. With these, you can use some onion address and port created and opened by tor-dam.

$ tor-dam -p "6969:6969" -d ./echo-dam
$ sleep 1
$ hostname="$(cat ./echo-dam/hs/hostname)"
$ ./echo_recv.py -l 127.0.0.1 -p 6969 &
$ ./echo_send.py -a "$hostname" -p 6969 -t "$torsocksport"

N.B. You can find $torsocksport using netstat(8) or whatever similar too.

gource.go

This is a Golang implementation of a Redis pubsub client, and was used to create network.gif that can be seen in this directory. The internal format used for publishing is:

%s|%s|%s|%s

which translates to:

timestamp|onion_address|modification_type|onion_address
$ redishost="127.0.0.1:35918" # You can find this in netstat
$ go run gource.go -r "$redishost" | gource --log-format custom -

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL