Skip to content
KitploitKITPLOIT
उपकरणब्लॉग
जमा करें
उपकरणब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

··फ़ीड·संपर्क·गोपनीयता·© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
wordlist.rb — वर्डलिस्ट उत्पन्न करने और उनके साथ काम करने के लिए एक Ruby लाइब्रेरी और CLI। | Kitploit
उपकरण/GitHubGitHub/postmodern/wordlist.rb
पासवर्ड हमलेफज़िंगपेनिट्रेशन टेस्टिंगउपयोगिताएँ और फ्रेमवर्क
GitHubpostmodern/wordlist.rb

wordlist.rb

वर्डलिस्ट उत्पन्न करने और उनके साथ काम करने के लिए एक Ruby लाइब्रेरी और CLI।

रिपॉजिटरी देखें
4837 महीने पहलेKitploit द्वारा समीक्षित

सबसे लोकप्रिय

सभी देखें →

हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।

सभी उपकरण खोजें

हमारे उपकरणों का संग्रह ब्राउज़ करें

सभी उपकरण देखें →
साझा करें

Wordlist

CI Code Climate Gem Version

  • स्रोत
  • मुद्दे
  • प्रलेखन

विवरण

Wordlist एक Ruby लाइब्रेरी और CLI है जो wordlists को कुशलतापूर्वक पढ़ने, संयोजित करने, परिवर्तित करने और बनाने के लिए है।

विशेषताएँ

  • .txt wordlists, तथा .gz, .bz2, .xz, .zip, और .7z संपीड़ित wordlists पढ़ने का समर्थन करता है।
  • मनमाने पाठ से wordlists बनाने का समर्थन करता है। साथ ही .gz, .bz2, .xz, .zip, और .7z संपीड़न का भी समर्थन करता है।
  • पाठ को शब्दों में विश्लेषित करने के लिए एक उन्नत लेक्सर प्रदान करता है।
    • अंकों, विशेष वर्णों, पूर्ण संख्याओं और परिवर्णी शब्दों (acronyms) को पार्स/छोड़ सकता है।
    • केस, एपॉस्ट्रॉफी और परिवर्णी शब्दों को सामान्यीकृत कर सकता है।
  • कई wordlists को एक साथ संयोजित करने के लिए wordlist संचालन का समर्थन करता है।
  • चलते-चलते (on the fly) wordlist के शब्दों को संशोधित या परिवर्तित करने का समर्थन करता है।
  • साथ ही एक wordlist कमांड भी प्रदान करता है।
  • काफ़ी तेज़

उदाहरण

पढ़ना

पढ़ने के लिए एक wordlist खोलें:

root@kitploit:~
wordlist = Wordlist.open("passwords.txt")

पढ़ने के लिए एक संपीड़ित wordlist खोलें:

root@kitploit:~
wordlist = Wordlist.open("rockyou.txt.gz")

एक wordlist के माध्यम से गणना करें:

root@kitploit:~
wordlist.each do |word|
  puts word
end

शाब्दिक शब्दों की एक इन-मेमोरी सूची बनाएँ:

root@kitploit:~
words = Wordlist::Words["foo", "bar", "baz"]

सूची संचालन

दो wordlists को एक साथ जोड़ें:

root@kitploit:~
(wordlist1 + wordlist2).each do |word|
  puts word
end

दो wordlists का संघ (union) बनाएँ:

root@kitploit:~
(wordlist1 | wordlist2).each do |word|
  puts word
end

एक wordlist को दूसरे में से घटाएँ:

root@kitploit:~
(wordlist1 - wordlist2).each do |word|
  puts word
end

wordlist1 के प्रत्येक शब्द को wordlist2 के शब्दों के साथ संयोजित करें:

root@kitploit:~
(wordlist1 * wordlist2).each do |word|
  puts word
end

wordlist को स्वयं के साथ कई बार संयोजित करें:

root@kitploit:~
(wordslist ** 3).each do |word|
  puts word
end

कई wordlists से डुप्लिकेट शब्दों को फ़िल्टर करें:

root@kitploit:~
(wordlist1 + wordlist2 + wordlist3).uniq.each do |word|
  puts word
end

स्ट्रिंग हेरफेर

एक wordlist के प्रत्येक शब्द को lowercase में बदलें:

root@kitploit:~
wordlist.downcase.each do |word|
  puts word
end

एक wordlist के प्रत्येक शब्द को UPPERCASE में बदलें:

root@kitploit:~
wordlist.upcase.each do |word|
  puts word
end

एक wordlist के प्रत्येक शब्द को Capitalize करें:

root@kitploit:~
wordlist.capitalize.each do |word|
  puts word
end

एक wordlist के प्रत्येक शब्द पर String#tr चलाएँ:

root@kitploit:~
wordlist.tr('_','-').each do |word|
  puts word
end

एक wordlist के प्रत्येक शब्द पर String#sub चलाएँ:

root@kitploit:~
wordlist.sub("fish","phish").each do |word|
  puts word
end

एक wordlist के प्रत्येक शब्द पर String#gsub चलाएँ:

root@kitploit:~
wordlist.gsub(/\d+/,"").each do |word|
  puts word
end

एक wordlist के प्रत्येक शब्द का हर संभव परिवर्तन करता है:

root@kitploit:~
wordlist.mutate(/[oae]/, {'o' => '0', 'a' => '@', 'e' => '3'}).each do |word|
  puts word
end
# dog
# d0g
# firefox
# fir3fox
# firef0x
# fir3f0x
# ...

एक wordlist के प्रत्येक शब्द की हर संभव केस भिन्नता पर गणना करता है:

root@kitploit:~
wordlist.mutate_case.each do |word|
  puts word
end
# cat
# Cat
# cAt
# caT
# CAt
# CaT
# cAT
# CAT
# ...

Wordlist बनाना

root@kitploit:~
Wordlist::Builder.open('path/to/file.txt.gz') do |builder|
  # ...
end

व्यक्तिगत शब्द जोड़ें:

root@kitploit:~
builder.add(word)

शब्दों की एक Array जोड़ना:

root@kitploit:~
builder.append(words)

पाठ पार्स करना:

root@kitploit:~
builder.parse(text)

किसी फ़ाइल की सामग्री पार्स करना:

root@kitploit:~
builder.parse_file(path)

आवश्यकताएँ

  • ruby >= 3.0.0
  • zcat/gzip (.gz wordlists पढ़ने/लिखने के लिए)
  • bzcat/bzip2 (.bz2 wordlists पढ़ने/लिखने के लिए)
  • xzcat/xz (.xz wordlists पढ़ने/लिखने के लिए)
  • unzip/zip (.zip wordlists पढ़ने/लिखने के लिए)
  • 7za (.7z wordlists पढ़ने/लिखने के लिए)

स्थापना

root@kitploit:~
$ gem install wordlist

gemspec

root@kitploit:~
gem.add_dependency 'wordlist', '~> 1.0'

Gemfile

root@kitploit:~
gem 'wordlist', '~> 1.0'

Synopsis

root@kitploit:~
usage: wordlist { [options] WORDLIST ... | --build WORDLIST [FILE ...] }

Wordlist Reading Options:
    -f {txt|gzip|bz2|xz|zip|7zip},   Sets the desired wordlist format
        --format
        --exec COMMAND               Runs the command with each word from the wordlist.
                                     The string "{}" will be replaced with each word.

Wordlist Operations:
    -U, --union WORDLIST             Unions the wordlist with the other WORDLIST
    -I, --intersect WORDLIST         Intersects the wordlist with the other WORDLIST
    -S, --subtract WORDLIST          Subtracts the words from the WORDLIST
    -p, --product WORDLIST           Combines every word with the other words from WORDLIST
    -P, --power NUM                  Combines every word with the other words from WORDLIST
    -u, --unique                     Filters out duplicate words

Wordlist Modifiers:
    -C, --capitalize                 Capitalize each word
        --uppercase, --upcase        Converts each word to UPPERCASE
        --lowercase, --downcase      Converts each word to lowercase
    -t, --tr CHARS:REPLACE           Translates the characters of each word
    -s, --sub PATTERN:SUB            Replaces PATTERN with SUB in each word
    -g, --gsub PATTERN:SUB           Replaces all PATTERNs with SUB in each word
    -m, --mutate PATTERN:SUB         Performs every possible substitution on each word
    -M, --mutate-case                Switches the case of each letter in each word

Wordlist Building Options:
    -b, --build WORDLIST             Builds a wordlist
    -a, --[no-]append                Appends to the new wordlist instead of overwriting it
    -L, --lang LANG                  The language to expect
        --stop-words WORDS...        Ignores the stop words
        --ignore-words WORDS...      Ignore the words
        --[no-]digits                Allow digits in the middle of words
        --special-chars CHARS        Allows the given special characters inside of words
        --[no-]numbers               Parses whole numbers in addition to words
        --[no-]acronyms              Parses acronyms in addition to words
        --[no-]normalize-case        Converts all words to lowercase
        --[no-]normalize-apostrophes Removes "'s" from words
        --[no-]normalize-acronyms    Removes the dots from acronyms

General Options:
    -V, --version                    Print the version
    -h, --help                       Print the help output

Examples:
    wordlist rockyou.txt.gz
    wordlist passwords_short.txt passwords_long.txt
    wordlist sport_teams.txt -p beers.txt -p digits.txt
    cat *.txt | wordlist --build custom.txt

एक wordlist पढ़ना:

root@kitploit:~
$ wordlist rockyou.txt.gz

कई wordlists पढ़ना:

root@kitploit:~
$ wordlist sport_teams.txt beers.txt

एक wordlist के प्रत्येक शब्द को दूसरे के साथ संयोजित करना:

root@kitploit:~
$ wordlist sport_teams.txt -p beers.txt -p all_four_digits.txt
coors0000
coors0001
coors0002
coors0003
...

एक wordlist के प्रत्येक शब्द को स्वयं के साथ N बार संयोजित करना:

root@kitploit:~
$ wordlist words.txt -P 3

एक wordlist के प्रत्येक शब्द को परिवर्तित करना:

root@kitploit:~
$ wordlist passwords.txt -m o:0 -m e:3 -m a:@
dog
d0g
firefox
fir3fox
firef0x
fir3f0x
...

wordlist के प्रत्येक शब्द पर एक कमांड निष्पादित करना:

root@kitploit:~
$ wordlist directories.txt --exec "curl -X POST -F 'user=joe&password={}' -o /dev/null -w '%{http_code} {}' https://$TARGET/login"

.txt फ़ाइलों की एक निर्देशिका से wordlist बनाना:

root@kitploit:~
$ wordlist --build wordlist.txt dir/*.txt

STDIN से wordlist बनाना:

root@kitploit:~
$ cat *.txt | wordlist --build wordlist.txt

Benchmarks

root@kitploit:~
                                               user     system      total        real
Wordlist::Builder#parse_text (size=5.4M)   1.943605   0.003809   1.947414 (  1.955960)
Wordlist::File#each (N=1000)               0.000544   0.000000   0.000544 (  0.000559)
Wordlist::File#concat (N=1000)             0.001143   0.000000   0.001143 (  0.001153)
Wordlist::File#subtract (N=1000)           0.001360   0.000000   0.001360 (  0.001375)
Wordlist::File#product (N=1000)            0.536518   0.005959   0.542477 (  0.545536)
Wordlist::File#power (N=1000)              0.000015   0.000001   0.000016 (  0.000014)
Wordlist::File#intersect (N=1000)          0.001389   0.000000   0.001389 (  0.001407)
Wordlist::File#union (N=1000)              0.001310   0.000000   0.001310 (  0.001317)
Wordlist::File#uniq (N=1000)               0.000941   0.000000   0.000941 (  0.000948)
Wordlist::File#tr (N=1000)                 0.000725   0.000000   0.000725 (  0.000736)
Wordlist::File#sub (N=1000)                0.000863   0.000000   0.000863 (  0.000870)
Wordlist::File#gsub (N=1000)               0.001240   0.000000   0.001240 (  0.001249)
Wordlist::File#capittalize (N=1000)        0.000821   0.000000   0.000821 (  0.000828)
Wordlist::File#upcase (N=1000)             0.000760   0.000000   0.000760 (  0.000769)
Wordlist::File#downcase (N=1000)           0.000544   0.000001   0.000545 (  0.000545)
Wordlist::File#mutate (N=1000)             0.004656   0.000000   0.004656 (  0.004692)
Wordlist::File#mutate_case (N=1000)       24.178521   0.000000  24.178521 ( 24.294962)

लाइसेंस

Copyright (c) 2009-2023 Hal Brodigan

विवरण के लिए {file:LICENSE.txt} देखें।

टूल डाउनलोड करें