1
1
mirror of https://github.com/r4sas/PBinCLI synced 2025-01-18 18:50:10 +00:00
PBinCLI/README.md

42 lines
932 B
Markdown
Raw Normal View History

2017-02-18 21:00:40 +03:00
PBinCLI
2017-02-18 21:27:24 +03:00
=====
2017-02-18 21:00:40 +03:00
PrivateBin CLI (in development)
2017-02-18 21:27:24 +03:00
2017-02-18 21:30:56 +03:00
Installing
2017-02-18 21:27:24 +03:00
-----
2017-02-18 21:30:56 +03:00
```bash
2017-02-19 23:27:37 +03:00
$ virtualenv --python=python2.7 venv
2017-02-18 21:30:56 +03:00
$ . venv/bin/activate
$ pip install -r requirements.txt
```
2017-02-19 23:27:37 +03:00
2017-02-21 05:09:38 +03:00
Usage
2017-02-19 23:27:37 +03:00
-----
2017-03-02 13:09:52 +03:00
Edit variables `server`, `proxies` and `useproxy` in `pbincli/settings.py` to your values.
2017-02-21 05:12:13 +03:00
Run inside `venv` command:
2017-02-21 05:09:38 +03:00
$ python pbincli.py send -c "Hello!"
It will send string `Hello!` to PrivateBin.
To send file use `--file` or `-f` with filename. Example:
$ python pbincli.py send -c "My document" -f info.pdf
To retrieve paste from server, use `get` command with paste info.
2017-02-21 05:12:13 +03:00
2017-02-21 05:09:38 +03:00
It must be formated like `pasteID#passphrase`. Example:
$ python pbincli.py get 49eeb1326cfa9491#vfeortoVWaYeJlviDdhxQBtj5e0I2kArpynrtu/tnGs=
More info you can find by typing
$ python pbincli.py {send,get} -h
2017-03-02 14:23:05 +03:00
License
-------
This project is licensed under the DWTFYWWI license, which can be found in the file
LICENSE in the root of the project source code.