cli-ish / PasteTor

A simple tor hidden page where anybody can share text content.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PasteTor

A simple Paste Tor service with a small management overlay written in golang + a redis database for high performance needs. Allows quick setup for your own hidden service.

Features

Add a note and send it to whoever should watch this note. Totally secure over Tor!

Add a note

View your or shared stored note under a static link, can be viewed as raw note without ui. If there is content which should not be allowed there is a report option which makes it possible to manage content for the admin.

View a note

Manage the reported notes and whitelisted notes as admin in the /management/ section.

Manage reported notes

Whitelisted reported can not be reported again until they are removed from this list.

Manage allowed notes

Requirements

Docker + Docker-Compose

Around 200mb space for the docker images. After building the huge buster image can be removed.

Todo:

  • Add a option to encrypt content client-side
    • Default no-script behavior if js is not allowed.
    • Small js code to encrypt client-side and send the data to the server (base64)
    • Small key generator to ensure safe key length for encryption.
    • How should the reporting be handled? should the report send the key to the admin or how should he decide to keep it or delete it?

Setup

sudo bash rebuild.sh

Edit your user.list and replace teh default passwords and users with your own username/password. Ensure that its secure enough (length + charset).

Start

docker-compose up -d
# Wait 10 seconds and get your hostname:
sudo cat data/tor/hidden_service/hostname

About

A simple tor hidden page where anybody can share text content.


Languages

Language:Go 80.2%Language:SCSS 19.1%Language:Shell 0.7%