Coder Social home page Coder Social logo

sharenow's Introduction

sharenow

Securely share small files in CLI.

Installation

apt-get update
apt-get install curl openssl python
sudo curl -o /usr/local/bin/sharenow https://raw.githubusercontent.com/CodeOtter/sharenow/master/sharenow && sudo chmod 755 /usr/local/bin/sharenow

Usage

To share a file or folder:

sharenow <filename>

The file/directory will be archived, then encrypted via OpenSSL. You will be asked to enter a password for the encryption. The encrypted output will be in Base64 and posted to HasteBin. The token for that location will be outputted to your terminal. Copy and paste it to the recipients.

The recipients then type:

sharenow -d <token>

This will fetch the HasteBin contents and ask you for a password to decrypt them. It's best for you and your recipients to agree to a password ahead of time so your recipients do not ask you for the password over the internet. Once decrypted, the contents will be decompressed and unarchived at your current working directory.

One-Time Pad: Maximium Security

For maximum security, confer with your recipients ahead of time (preferably offline and away from mobile phones) to agree to possess a copy of a shared book. You then generate passwords from this book at random, keeping track of where the password can be found in the book. For example, if you select a passage "Idaho shook his head" from the May 1983 second printing of God Emperor of Dune, that passage can be found on page 336, starting with the 16th word and ending with the 19th word. When you give the token to your recipients, you would do so as this:

gathlmpotn 336 16 19

Or

gathlmpotn 336 16 3

This way, the password is never sent over the internet. Sharenow uses the -salt flag with OpenSSL reduce your expose to dictionary attacks.

sharenow's People

Contributors

codeotter avatar codeotterbot avatar

Watchers

James Cloos avatar  avatar  avatar

sharenow's Issues

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.