Pastego Scrape/Parse Pastebin using GO and grammar expression (PEG).
$ go get -u github.com/edoz90/pastego
Also ReadHackertarget: Tools And Network Intelligence To Help Organizations With Attack Surface Discovery
Search keywords are case sensitive
pastego -s "password,keygen,PASSWORD"
You can use boolean operators to reduce false positive
pastego -s "quake && ~earthquake, password && ~(php || sudo || Linux || '<body>')"
This command will search for bins with quake
but not earthquake
words and for bins with password
but not php
, sudo
, Linux
, <body>
words.
usage: pastego [<flags>]
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
-s, --search="pass" Strings to search, i.e: "password,ssh"
-o, --output="results" Folder to save the bins
-i, --insensitive Search for case-insensitive strings
Supported expression/operators:
`&&` - and
`||` - or
`~` - not
`'string with space'`
`(myexpression && 'with operators')`
q
, ctrl+c
: quit pastego
k
, ↑
: show previous bin
j
, ↓
: show next bin
n
: jump forward by 15 bins
p
: jump backward by 15 bins
N
: move to the next block of findings (in alphabet order)
P
: move to the previous block of findings (in alphabet order)
d
: delete file from file system
HOME
: go to top
go get -u "github.com/PuerkitoBio/goquery"
go get -u "gopkg.in/alecthomas/kingpin.v2"
go get -u "github.com/jroimartin/gocui"
To create the code from PEG use pigeon:
go get -u github.com/mna/pigeon
ROADTools is a powerful framework designed for exploring and interacting with Microsoft Azure Active Directory…
Microsoft 365 Groups (also known as M365 Groups or Unified Groups) are at the heart…
SeamlessPass is a specialized tool designed to leverage on-premises Active Directory Kerberos tickets to obtain…
PPLBlade is a powerful Protected Process Dumper designed to capture memory from target processes, hide…
HikPwn: Comprehensive Guide to Scanning Hikvision Devices for Vulnerabilities If you’re searching for an efficient…
What Are Bash Comments? Comments in Bash scripts, are notes in your code that the…