Pastego - Scrape/Parse Pastebin Using Become In Addition To Facial Expression Grammer (Peg)


Scrape/Parse Pastebin using GO as well as grammer human face (PEG).

Installation
$ become instruct -u github.com/edoz90/pastego

Usage
Search keywords are example sensitive
pastego -s "password,keygen,PASSWORD"
You tin purpose boolean operators to cut down simulated positive
pastego -s "quake &&  earthquake, password &&  (php || sudo || Linux || '')"
This ascendancy volition search for bins amongst quake simply non earthquake words as well as for bins amongst password simply non php, sudo, Linux, words.
usage: pastego []  Flags:       --help              Show context-sensitive assist (also endeavor --help-long as well as --help-man).   -s, --search="pass"     Strings to search, i.e: "password,ssh"   -o, --output="results"  Folder to salve the bins   -i, --insensitive       Search for case-insensitive strings
Supported expression/operators:
`&&` - as well as  `||` - or  ` ` - non  `'string amongst space'`  `(myexpression && 'with operators')`

Keybindings
q, ctrl+c: quit pastego
k, : present previous bin
j, : present adjacent bin
n: boundary forrad past times fifteen bins
p: boundary backward past times fifteen bins
N: deed to the adjacent block of findings (in alphabet order)
P: deed to the previous block of findings (in alphabet order)
d: delete file from file system
HOME: become to top

Requirements

goquery
go instruct -u "github.com/PuerkitoBio/goquery"

kingpin
go instruct -u "gopkg.in/alecthomas/kingpin.v2"

gocui
go instruct -u "github.com/jroimartin/gocui"
To exercise the code from PEG purpose pigeon:
go instruct -u github.com/mna/pigeon

Disclaimer
You require a PRO describe of piece of employment organisation human relationship to purpose this: pastebin volition block/blacklist your IP.
pastebin PRO

Or....
  • increase the fourth dimension betwixt each request
  • create a script to restart your router when pastebin warns you

In progress...
Add flag to pass/read a listing of proxies to avoid IP ban/throttle for gratis users