1
1
# pydictor
2
- [ ![ build] ( https://img.shields.io/badge/build-passing-brightgreen.svg )] ( https://www.github.com/landgrey/pydictor ) [ ![ Python 2.7|3.4] ( https://img.shields.io/badge/python-2.7|3.4-yellow.svg )] ( https://www.python.org/ ) ![ release] ( https://img.shields.io/badge/version-2.0.4 -orange.svg ) ![ License] ( https://img.shields.io/badge/license-GPLv3-red.svg )
2
+ [ ![ build] ( https://img.shields.io/badge/build-passing-brightgreen.svg )] ( https://www.github.com/landgrey/pydictor ) [ ![ Python 2.7|3.4] ( https://img.shields.io/badge/python-2.7|3.4-yellow.svg )] ( https://www.python.org/ ) ![ release] ( https://img.shields.io/badge/version-2.0.5 -orange.svg ) ![ License] ( https://img.shields.io/badge/license-GPLv3-red.svg )
3
3
4
4
** README.md [ 中文版] ( README_CN.md ) **
5
5
@@ -51,7 +51,7 @@ python pydictor.py
51
51
![ social engineering dictionary builder] ( /screenshots/sedb.png " sedb ")
52
52
53
53
## Quick to use:
54
- #### types of generate wordlist(14 types)and descriptions
54
+ #### types of generate wordlist(15 types)and descriptions
55
55
56
56
| wordlist type | number| description |
57
57
| :------------- | :---- | :--------------------------------------------------- |
@@ -60,7 +60,7 @@ python pydictor.py
60
60
| chunk | 3 | permutation and combination wordlist |
61
61
| conf | 4 | based on configuration file wordlist |
62
62
| sedb | 5 | social engineering wordlist |
63
- | idcard | 6 | id card last 6/8 char wordlist |
63
+ | idcard | 6 | id card last 4/ 6/8 char wordlist |
64
64
| extend | 7 | extend wordlist based on rules |
65
65
| scratch | 8 | wordlist based on web pages keywords |
66
66
| passcraper | 9 | wordlist against to web admin and users |
@@ -69,20 +69,21 @@ python pydictor.py
69
69
| counter | 12 | word frequency count wordlist |
70
70
| combiner | 13 | combine the input file generate wordlist |
71
71
| uniqbiner | 14 | combine and unique the input file generate wordlist |
72
+ | birthday | 15 | birthday keyword wordlist in specify datetime scope |
72
73
73
74
#### function and scope of support wordlist number
74
75
75
- | function | number (wordlist) | description |
76
- | :---------- | :--------------------------- | :-------------------------------------------------------- |
77
- | len | 1 2 3 4 5 6 7 9 10 11 12 14 | lenght scope |
78
- | head | 1 2 3 4 5 6 7 9 10 11 12 14 | add items prefix |
79
- | tail | 1 2 3 4 5 6 7 9 10 11 12 14 | add items suffix |
80
- | encode | 1 2 3 4 5 6 7 9 10 11 12 14 | encode the items |
81
- | occur | 3 4 5 7 9 10 11 12 14 | filter by occur times of letter、digital、special chars |
82
- | types | 3 4 5 7 9 10 11 12 14 | filter by types of letter、digital、special chars |
83
- | regex | 3 4 5 7 9 10 11 12 14 | filter by regex |
84
- | level | 5 7 9 | set the wordlist level |
85
- | leet | 5 7 9 | 1337 mode |
76
+ | function | number (wordlist) | description |
77
+ | :---------- | :------------------------------ | :-------------------------------------------------------- |
78
+ | len | 1 2 3 4 5 6 7 9 10 11 12 14 15 | lenght scope |
79
+ | head | 1 2 3 4 5 6 7 9 10 11 12 14 15 | add items prefix |
80
+ | tail | 1 2 3 4 5 6 7 9 10 11 12 14 15 | add items suffix |
81
+ | encode | 1 2 3 4 5 6 7 9 10 11 12 14 15 | encode the items |
82
+ | occur | 3 4 5 7 9 10 11 12 14 | filter by occur times of letter、digital、special chars |
83
+ | types | 3 4 5 7 9 10 11 12 14 | filter by types of letter、digital、special chars |
84
+ | regex | 3 4 5 7 9 10 11 12 14 | filter by regex |
85
+ | level | 5 7 9 | set the wordlist level |
86
+ | leet | 5 7 9 | 1337 mode |
86
87
87
88
88
89
## usage examples
@@ -133,23 +134,31 @@ python pydictor.py -extend /names.txt --leet 0 1 2 11 21 --level 1 --len 4 16 --
133
134
```
134
135
135
136
136
- #### 7: id card last 6/8 char wordlist
137
+ #### 7: id card last 4/ 6/8 char wordlist
137
138
138
139
```
139
140
pydictor.py -plug pid6 --types ">=0" ">=4" ">=0" --encode b64
140
141
```
141
142
142
143
** note** : default sex ='all', it decided by lib/data/data.py default_sex, and 'm' is Male, 'f' is Female
143
144
145
+
146
+ #### 7-2: birthday range wordlist
147
+ ```
148
+ pydictor.py -plug birthday 19750101 20001231 --len 6 8
149
+ ```
150
+
151
+
144
152
#### 8: using passcraper plugin crawl website generating password wordlist based on plain text found and extend rules
145
153
146
154
1 . the rules of passcraper plug and extend function are the same
147
155
2 . passcraper plug will generate two wordlist,preffix with SCRATCH is raw wordlist by website plain text,
148
156
and if you feel that there are a lot of unrelated words in the SCRATCH wordlist,
149
157
you can remove them, and then use the extend function to specify the new file to generate dictionary again.
150
- 3 . you can modify the funcfg/passcraper_blacklist.conf file,add or delete useless words that need to be filtered out,
158
+ 3 . or directed using scratch plug,then remove some useless words and use the extend function to generate dictionary again.
159
+ 4 . you can modify the funcfg/passcraper_blacklist.conf file,add or delete useless words that need to be filtered out,
151
160
and also can modify lib/data/data.py file passcraper_filter argument,change the filter regular expressions
152
- 4 . with same extend function,you can put your weak password in /wordlist/Web,new wordlist will contains them
161
+ 5 . with same extend function,you can put your weak password in /wordlist/Web,new wordlist will contains them
153
162
154
163
```
155
164
python pydictor.py -plug passcraper using default file scraper.sites as multi-input file
@@ -161,8 +170,9 @@ python pydictor.py -plug passcraper http://www.example.com
161
170
##### this function contains all of "-base" and "-char" capacities,and more precise control
162
171
163
172
```
164
- python pydictor.py --conf using default file funcfg/build.conf build the dictionary
165
- python pydictor.py --conf /my/other/awesome.conf using /my/other/awesome.conf build the dictionary
173
+ pydictor.py --conf "[1-9]{6,6}<none>" --output six.txt build wordlist
174
+ python pydictor.py --conf using default file funcfg/build.conf build the dictionary
175
+ python pydictor.py --conf /my/other/awesome.conf using /my/other/awesome.conf build the dictionary
166
176
```
167
177
168
178
** note** : parsing rules details as following,besides referred to build.conf file
@@ -208,7 +218,7 @@ python pydictor.py -tool shredder delete the currently specified output path(d
208
218
python pydictor.py -tool shredder base delete the files of it's prefix is "BASE" in currently specified output path
209
219
```
210
220
211
- prefix(case insensitive) range in 14 items: base,char,chunk,conf,sedb,idcard,extend,handler,uniqifer,counter,combiner,uniqbiner,scratch,passcraper
221
+ prefix(case insensitive) range in 15 items: base,char,chunk,conf,sedb,idcard,extend,handler,uniqifer,counter,combiner,uniqbiner,scratch,passcraper,birthday
212
222
213
223
besides,you can safe shred files or whole directory as following:
214
224
```
0 commit comments