zerobin install instructions
#############################
WHAT IS ZEROBIN: the encrypted paste bin
HOW DOES IT WORK? (exerpt from http://sebsauvage.net/wiki/doku.php?id=php:zerobin)
When pasting a text into ZeroBin:
*You paste your text in the browser and click the “Send” button.
*A random 256 bits key is generated in the browser.
*Data is compressed and encrypted with AES using specialized javascript libraries.
*Encrypted data is sent to server and stored.
*The browser displays the final URL with the key.
*The key is never transmitted to the server, which therefore cannot decrypt data.
When opening a ZeroBin URL:
*The browser requests encrypted data from the server
*The decryption key is in the anchor part of the URL (#…) which is never sent to server.
*Data is decrypted in the browser using the key and displayed.
2 different versions that look different and install and run differently
I say one is older then the other – but then I say I like the older one, but in reality I think they are both the same age they are just different forks of each other, they both look completely different. Best way to find out which one you like is to try em both. I like the old version 0.19 better then 0.3.
old (better looking in my opinion) version 0.19
###############################################
LINKS: http://sebsauvage.net/wiki/doku.php?id=php:zerobin
GITHUB (WHERE I GOT IT): https://github.com/sebsauvage/ZeroBin
GITHUB HTTPS CLONE LINK: https://github.com/sebsauvage/ZeroBin.git
The above clone link is for git program so that it can download the contents of that website (which is the program zerobin)
This one works with apache better
First make sure you have the latest python and php install
apt-get install php5
apt-get install python3
apt-get install git
We need git so that we can download this program (other wise you can get the zip from the github link and unzip it)
then extract the following into your /var/www/ folder so that you have a
/var/www/zerobin
cd /var/www
git clone https://github.com/sebsauvage/ZeroBin.git
mv ZeroBin zerobin
NOTE: of course you can rename it to something other then zerobin like foxtrot and then access the zerobin with www.yourwebserver.con/foxtrot
Then go to www.yourwebserver.com/zerobin
This will launch and close automatically with zerobin
The other way to install this (newer version) (version 0.3)
############################################################
LINKS: https://0bin.readthedocs.org/en/latest/en/easy_install.html
This one is its own program so it doesnt work with apache and they will battle over ports
apt-get install python3
apt-get install php5
apt-get install python3-pip
pip install zerobin
to make it run on boot:
vi /etc/rc.local
add somewhere before the “exit 0” the following line:
sudo zerobin –host 0.0.0.0 –port 7776 –compressed-static &
where 7776 is the port that you want this to run on
http://www.server.com:7776 to access it
Dont worry about a turn of zerobin script
I just set one up at https://cryptob.in using SSL.