mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-25 02:32:58 -03:00
Merge branch 'master' of github.com:micahflee/onionshare
This commit is contained in:
commit
bf981499a5
3 changed files with 8 additions and 7 deletions
|
@ -2,13 +2,11 @@
|
|||
|
||||
A program to securely share a file of any size with someone, designed to be run in Tails. It works by starting a web server, making it accessible as a Tor hidden service, and making it require a password to access and download the file. It doesn't require setting up a server on the internet somewhere or using a third party filesharing service. It all just runs inside Tails and uses the Tor network.
|
||||
|
||||
![Screenshot](/screenshot.png)
|
||||
|
||||
## Quick Start
|
||||
|
||||
Boot to Tails, setting an administrator password. Clone this repository. Install the dependencies:
|
||||
|
||||
sudo apt-get install python-flask
|
||||
|
||||
Then run onionshare.py, and pass it a filename. It will look something like this:
|
||||
You need to run this script as root, so make sure you set an administrator password when you boot Tails. Run onionshare.py, and pass it a filename. It will look something like this:
|
||||
|
||||
amnesia@amnesia:~/Persistent/code/onionshare$ sudo ./onionshare.py ~/Persistent/file_to_send.gpg
|
||||
[sudo] password for amnesia:
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import os, sys, subprocess, time, hashlib
|
||||
import os, sys, subprocess, time, hashlib, inspect
|
||||
from random import randint
|
||||
|
||||
from functools import wraps
|
||||
|
||||
lib_path = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))+'/lib'
|
||||
sys.path.append(lib_path)
|
||||
|
||||
from flask import Flask, Markup, Response, request, make_response, send_from_directory
|
||||
app = Flask(__name__)
|
||||
|
||||
|
|
BIN
screenshot.png
Normal file
BIN
screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 124 KiB |
Loading…
Add table
Reference in a new issue