github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

sophsec / wordlist

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 7
    • 5
  • Source
  • Commits
  • Network (5)
  • Issues (0)
  • Downloads (1)
  • Wiki (2)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (1)
    • 0.1.0
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

A Ruby library for generating and working with wordlists. — Read more

  cancel

http://wordlist.rubyforge.org/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Update the copyright years. 
postmodern (author)
Mon Feb 01 16:08:48 -0800 2010
commit  c80c90a74a9a237535513db44ab4168d373be30a
tree    2f65c65e8219f586cbfec02a00333f6a1ad244e8
parent  6a18aef70e3051a0d5dec24f348b3c622fc4e3a2
wordlist /
name age
history
message
file .gitignore Mon Feb 01 16:07:54 -0800 2010 Added .yardoc to the .gitignore file. [postmodern]
file History.md Mon Feb 01 15:12:42 -0800 2010 Use markdown formatting in the README and Histo... [postmodern]
file Manifest.txt Mon Feb 01 15:12:42 -0800 2010 Use markdown formatting in the README and Histo... [postmodern]
file README.md Loading commit data...
file Rakefile
directory bin/
directory lib/
directory scripts/
directory spec/
README.md

Wordlist

  • http://wordlist.rubyforge.org/
  • http://github.com/sophsec/wordlist/
  • Postmodern (postmodern.mod3 at gmail.com)

DESCRIPTION:

A Ruby library for generating and working with word-lists. Wordlist allows one to efficiently generate unique word-lists from arbitrary text or other sources, such as website content. Wordlist can also quickly enumerate through words within an existing word-list, applying multiple mutation rules to each word in the list.

FEATURES:

  • Uses a bucket system of CRC32 hashes for efficient filtering of duplicate words.
  • Can build wordlists containing multi-word phrases.
  • Can build wordlists containing phrases containing a minimum and maximum number of words.
  • Supports adding mutation rules to a word-list, which are applied to words as the list is enumerated.
  • Supports building word-lists from arbitrary text.
  • Supports custom word-list builders:
    • Wordlist::Builders::Website: Build word-lists from website content.
  • Supports custom word-list formats:
    • Wordlist::FlatFile: Enumerates through the words in a flat-file word-list.

EXAMPLES:

Build a word-list from arbitrary text:

Wordlist::Builder.build('list.txt') do |builder|
  builder.parse(some_text)
end

Build a word-list from another file:

Wordlist::Builder.build('list.txt') do |builder|
  builder.parse_file('some/file.txt')
end

Build a word-list of phrases containing at most three words, from the arbitrary text:

Wordlist::Builder.build('list.txt', :max_words => 3) do |builder|
  builder.parse(some_text)
end

Build a word-list from content off a website:

require 'wordlist/builders/website'

Wordlist::Builders::Website.build(
  'list.txt',
  :host => 'www.example.com'
)

Enumerate through each word in a flat-file word-list:

list = Wordlist::FlatFile.new('list.txt')
list.each_word do |word|
  puts word
end

Enumerate through each unique word in a flat-file word-list:

list.each_unique do |word|
  puts word
end

Define mutation rules, and enumerate through each unique mutation of each unique word in the word-list:

list.mutate 'o', '0'
list.mutate '@', 0x41
list.mutate(/[hax]/i) { |match| match.swapcase }

list.each_mutation do |word|
  puts word
end

REQUIREMENTS:

  • spidr >= 0.1.9

INSTALL:

$ sudo gem install wordlist

LICENSE:

Wordlist - A Ruby library for generating and working with word-lists.

Copyright (c) 2009-2010 Hal Brodigan (postmodern.mod3 at gmail.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server