
Pastenum est un outil d'énumération de dumps de texte.
Pastenum est un outil d'énumération de dumps de texte. Il est conçu pour aider à trouver et énumérer les dumps de données et les doxs publiés sur des sites publics.
Il recherche actuellement sur les sites github.com, gist.github.com, pastebin.com, pastee.org et pastie.org.
Pastenum est une réécriture en gem du pastenum2 original de nullthreat, publié en 2011.
Installez Ruby 1.9.*
Installez RubyGems
gem install pastenum
** Remarque : nokogiri dans le gemfile nécessite que les bibliothèques natives libxslt et libxml2 soient installées
(~)$ pastenum -h
Usage: pastenum [OPTIONS] "search string"
Sources::
--[no-]pastebin
Search Pastebin.com (Gscraper)
Default: true
--[no-]gist
Search Gist.github.com
Default: true
--[no-]github
Search github.com
Default: true
--[no-]pastie
Search pastie.org (Gscraper)
Default: true
--[no-]pastee
Search pastee.org (Gscraper)
Default: true
Report Output:: (Default output to STDOUT)
-H, --html-report Create an html iframed (report.html)
-J, --json-report Create a JSON file (report.json)
Options::
-r, --[no-]raw use 'raw' urls instead if available
Default: false
-m, --maxpages= maximum number of search results pages to iterate through
Default: 2
-x, --tos Acknowledge Google INC. 'Terms of Service'
-V, --[no-]ssl-verify Verify SSL certificates
Default: true
-v, --verbose Run verbosely
-h, --help Display this screen
** Remarque : si vous générez un rapport iframe, le chargement du fichier "report.html" peut prendre un certain temps.**
Recherche de code Gist et Github pour 'shadowbq' en ignorant la vérification du certificat SSL
(~)$ pastenum -x --no-pastebin --no-pastie --no-pastee --no-ssl-verify "shadowbq"
https://gist.github.com/shadowbq/325430
https://gist.github.com/shadowbq/4556950
https://gist.github.com/shadowbq/2718948
https://github.com/shadowbq/matrix.dot.files/blob/8241fc219a3b4601c6c4b1a487441cf31e90916b/docs/README.vim-colors
https://github.com/shadowbq/easy-bin/blob/6237442a25777e17a869b5131f0f4f38ca62def1/easy-bin.gemspec
https://github.com/shadowbq/pastenum/blob/f1d955652a9fd2f7928d7ae84093aea4fc105f85/pastenum.gemspec
https://github.com/shadowbq/matrix.dot.files/blob/8241fc219a3b4601c6c4b1a487441cf31e90916b/home/.matrix/vim/.gitmodules
https://github.com/shadowbq/matrix.dot.files/blob/4d1519387fb7bfc1e1134c179fe372f232e30cba/home/.gitconfig
https://github.com/shadowbq/pastenum/blob/79f620a98f5d6fbb49c805e25b4206fa70429929/README.md
https://github.com/fabrizioc1/WiFu/blob/d37853fd538319317bb4e4f5d16b3255501b76d1/Gemfile
https://github.com/shadowbq/matrix.dot.files/blob/8241fc219a3b4601c6c4b1a487441cf31e90916b/home/.ssh/config
https://github.com/shadowbq/snorby_suite/blob/a5bfc872c6bc8c2691adf3041fa821dadbec233b/snorby_suite.gemspec
https://github.com/shadowbq/rothparty/blob/22a5e8847592cdc158439faef925ca2a07bb0e4d/rothparty.gemspec
Pastenum - Une production de l'équipe Corelan Écrit par : Nullthreat
http://redmine.corelan.be/projects/corelan-pastenum
irc.freenode.net #corelan