0x0 pastebin utility
Go to file
James Tomasino e0d57531e6 updated readme with info from manpage 2018-08-15 00:00:46 -04:00
LICENSE added readme and licens 2018-08-14 23:28:59 -04:00
Makefile added makefile, help, and command completion 2018-08-14 23:42:09 -04:00
README.md updated readme with info from manpage 2018-08-15 00:00:46 -04:00
pb added ls results to tab completion 2018-08-14 23:57:16 -04:00
pb.1 fixed quotes 2018-08-14 23:52:50 -04:00
pb.d added makefile, help, and command completion 2018-08-14 23:42:09 -04:00

README.md

pb calver status license

pb is a helper utility for using 0x0 pastebin services

pb provides an easy-to-use interface for uploading images or piping output to a 0x0 pastebin service. While it comes pre-configured with a specific pastebin, the service endpoint can be overridden.

Usage

pb scores.txt
       Upload 'scores.txt' to the pastebin

echo 'Secret info' | pb
       Upload piped output to the pastebin

find . -type f -name '*.js' -print | pb -f
       Upload a list of files to the pastebin individually pb -s http://0x0.st scores.txt
       Upload a file to a different pastebin endpoint

Options

  -h                        Show help
  -v                        Show current version number
  -f                        Explicitly interpret stdin as filename
  -s server_address         Use alternative pastebin server address

Install

sudo make install

Note: On systems without admin access the binary can be run directly from the git repo, but will lack man support and command completion.

Uninstall

sudo make uninstall

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GPL3