Skip to content

pastebin searcher (1 version in bash 1 other in go)

Notifications You must be signed in to change notification settings

mmpx12/pastesearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pastesearch

Search on pastebin based on psdmp.ws api

Usage:

usage:

   -s, --search [QUERY]         General search on pastebin
   -S, --searchv2 [QUERY]       Same as -s but with api v2
   -m, --mail  [EMAIL]          Search for emails 
   -d, --domain [DOMAIN]        Search specific domain
   -o, --save   [directory]     Save paste into directory
   -p, --prefix [prefix]        prefix when save paste
   -b, --browser                Open paste in browser (if result < 20)

   // only for go
   -f, --fast                   Use goroutine (Faster but can triggering captcha)
  • If paste exist it will be print in blue in the output.
  • If paste was deleted or expired it will be print in red and will not be saved or open in browser.
  • If pastebin is not reachable cause of captcha, it will be print in purple

img

GO version

Build:

For Linux:

make 
sudo make install
# or
sudo make all

For Termux:

make
make termux-install
# or
make termux-all

clean:

for linux:

sudo make clean

for termux

make termux-clean

bash

Install

sudo rm -f /usr/bin/pastesearch
sudo cp pastesearch.sh /usr/bin/pastesearch
sudo chmod +x !$