This is similar to Onion Share (https://onionshare.org/). The difference is the file have to stored in a remote location
where, the particular file is accessible via HTTP GET
request.
- Install latest
NodeJS
(https://nodejs.org/) - Download the latest build from https://github.com/rpgeeganage/web-pizza-file-share
- Download
TOR
from https://www.torproject.org/download/download-easy.html.en - Set up the Hidden service as mentioned in https://www.torproject.org/docs/tor-hidden-service.html.en or http://www.makeuseof.com/tag/create-hidden-service-tor-site-set-anonymous-website-server/
- Set the hidden service local server as
127.0.0.1:<port of the server component>
.
eg: 127.0.0.1:8483
- Execute the script
run.sh
- For Client app, excute
client.bat
- For Server app, excute
server.bat
- Client default Url :
http://localhost:9851
- Server default Url :
http://localhost:8483
The configueration file is located at config/config.json
Default config file :
{
"online_server_port" : "8483",
"client_port" : "9800",
"private_map_file_locket" : "../locket",
"tor" : {
"enabled" : false,
"port" : "9050"
}
}
"online_server_port" : "8483"
=> Server port
"client_port" : "9800"
=> Client port
"private_map_file_locket" : "../locket"
=> locket folder path
"enabled" : false
=> Change to True to use TOR for remote file download
"port" : "9050"
=> TOR SOCKS port
A single locker is create each time.
Sample locker file.
{
"pass_code":"61601b25d62f6be89f91ee76a2cf34d6",
"url_set":[
"http://filestorage.com/mysecret/my-secret-file-01.pdf",
"http://filestorage.com/mysecret/my-secret-file-02.pdf"
]
}
"pass_code" : "61601b25d62f6be89f91ee76a2cf34d6"
=> This is the code which used by the receiver
"url_set": [...]
=> URLs of the secret files