Coder Social home page Coder Social logo

onionify's Introduction

onionify

Create and manage onion services and more in one CLI command

Example

Create a onion service for some port on your system.

# Try to guess the torrc file location and put site data in ~/.onionify_sites/<sitename>/
$ sudo python3 onionify.py add my_cool_site

# Specify torrc file and sites folder manually (in it, Tor will create a subfolder with the site name)
$ sudo python3 onionify.py add my_cool_site -c /some/path/to/torrc -d /etc/my_sites/

# Generate a auth key pair for onion client authentication
$ python onionify.py generate-auth-pair > instructions.txt

Example output:

# PUBLIC KEY: Put this in your <site_folder>/authorized_clients/<some_unique_name>.auth
descriptor:x25519:46XTPPAEZFORGAVMO2V6SRWGGCMA5P7RO354ZA47LFFMRCMHNM6A
# PRIVATE KEY: Put this in your ClientOnionAuthDir with extension .auth_private, which you should specify in your client torrc. If you are using Tor Browser, you don't need to do anything manually at all, your browser will just give you a prompt to type your private key in and an option to save it in the Data/onion-auth/ folder for later use.
<your hostname here without .onion>:descriptor:x25519:IUS2IISPKMV5UOUIJUFLUKQBGZBK4PGC36S73L2FYNCNM2RLYNPQ


# Use --help with every subcommand for even more help
$ sudo python3 onionify.py --help
$ sudo python3 onionify.py add --help

onionify's People

Contributors

nm17 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.