Pastego is a scrape/Parse Pastebin using GO and grammar expression (PEG).
Installation
$ go get -u github.com/notdodo/pastego
Usage
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:
–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’)`
Keybindings
q
, ctrl+c
: quit pastego
k
, ↑
: show previous binj
, ↓
: show next binn
: jump forward by 15 binsp
: jump backward by 15 binsN
: 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 systemHOME
: go to top
Requirements
go get -u "github.com/PuerkitoBio/goquery"
go get -u "gopkg.in/alecthomas/kingpin.v2"
go get -u "github.com/jroimartin/gocui"
go get -u github.com/mna/pigeon
Disclaimer
You need a PRO account to use this: pastebin will block/blacklist your IP.
shadow-rs is a Windows kernel rootkit written in Rust, demonstrating advanced techniques for kernel manipulation…
Extract and execute a PE embedded within a PNG file using an LNK file. The…
Embark on the journey of becoming a certified Red Team professional with our definitive guide.…
This repository contains proof of concept exploits for CVE-2024-5836 and CVE-2024-6778, which are vulnerabilities within…
This took me like 4 days (+2 days for an update), but I got it…
MaLDAPtive is a framework for LDAP SearchFilter parsing, obfuscation, deobfuscation and detection. Its foundation is…