
Pastenumは、テキストダンプ列挙ツールです。
Pastenum は、テキストダンプ列挙ツールです。公開サイトに投稿されたデータダンプや dox を発見・列挙するために設計されています。
現在、github.com、gist.github.com、pastebin.com、pastee.org、pastie.org のサイトを検索します。
Pastenum は、2011年にリリースされた nullthreat のオリジナル pastenum2 を gem として書き直したものです。
Ruby 1.9.* をインストール
RubyGems をインストール
gem install pastenum
** 注: gemfile 内の nokogiri は、ネイティブの libxslt と libxml2 のインストールが必要です。
(~)$ 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
** 注: レポートの iframe を生成する場合、"report.html" ファイルの読み込みに時間がかかることがあります。**
Gist と Github のコード検索で 'shadowbq' を検索し、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 - Corelan Team 制作 著者: Nullthreat
http://redmine.corelan.be/projects/corelan-pastenum
irc.freenode.net #corelan