2018-08-16 02:48:51 +02:00
|
|
|
.TH PB 1 "15 August 2018" "v2018.08.14"
|
2018-08-15 05:42:09 +02:00
|
|
|
.SH NAME
|
|
|
|
pb \- a helper utility for using 0x0 pastebin services
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B pb [options] (filename)
|
|
|
|
.P
|
|
|
|
.SH DESRIPTION
|
|
|
|
.B 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.
|
|
|
|
.SH USAGE
|
|
|
|
.TP
|
|
|
|
.B pb scores.txt
|
2018-08-15 05:52:50 +02:00
|
|
|
Upload 'scores.txt' to the pastebin
|
2018-08-15 05:42:09 +02:00
|
|
|
.TP
|
2018-08-15 05:52:50 +02:00
|
|
|
.B echo 'Secret info' | pb
|
2018-08-15 05:42:09 +02:00
|
|
|
Upload piped output to the pastebin
|
|
|
|
.TP
|
2018-08-15 05:52:50 +02:00
|
|
|
.B find . -type f -name '*.js' -print | pb -f
|
2018-08-15 05:42:09 +02:00
|
|
|
Upload a list of files to the pastebin individually
|
|
|
|
.B pb -s http://0x0.st scores.txt
|
|
|
|
Upload a file to a different pastebin endpoint
|
|
|
|
.SH DEPENDENCIES
|
|
|
|
None.
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
|
|
|
.B -f
|
|
|
|
Explicitly interpret stdin as filename or names
|
|
|
|
.TP
|
|
|
|
.B -s <server_address>
|
|
|
|
Use alternative pastebin server address
|
|
|
|
.TP
|
2018-08-16 02:48:51 +02:00
|
|
|
.B -c
|
|
|
|
Pretty color output
|
|
|
|
.TP
|
2018-08-15 05:42:09 +02:00
|
|
|
.B -v
|
|
|
|
Display current version information.
|
|
|
|
.TP
|
|
|
|
.B -h
|
|
|
|
Show the help.
|
|
|
|
.SH BUGS
|
|
|
|
None known.
|
|
|
|
.SH AUTHOR
|
|
|
|
James Tomasino <tomasino (at) lavabit (dot) com>
|