landgrey / pydictor Goto Github PK
View Code? Open in Web Editor NEWA powerful and useful hacker dictionary builder for a brute-force attack
Home Page: https://github.com/LandGrey/pydictor
License: GNU General Public License v3.0
A powerful and useful hacker dictionary builder for a brute-force attack
Home Page: https://github.com/LandGrey/pydictor
License: GNU General Public License v3.0
python pydictor.py -b d --regex "^0.*" -o out.txt
This is the pattern that i'm generating but i don't understand how to use the charactersets.
pydictor.py --head abc --len 8 8 -char ?d?d?l?d?d?l?d?d - o output.txt
When i press enter, i get this result abc?d?d?l?d?d?l?d?d
in wordlist instead of actual digits and letters.
output.txt
abc???l????
abc???l???d
abc???l????
abc???l???d
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ll
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ll
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ld
abc???l????
执行 python3 pydictor.py -tool handler raw.txt --regex .*?\d+
命令时得不到正确的结果,就pr一个: https://github.com/LandGrey/pydictor/pull/20
。因为开发环境问题,.gitignore要做修改,还是直接提issue
这里https://github.com/LandGrey/pydictor/blob/master/lib/parse/command.py#L122
解析regex参数,因为带有nargs=1,所以args.regex是list类型,它被赋值给了pyoptions.filter_regex。
pyoptions.filter_regex传给了regex_filter函数:https://github.com/LandGrey/pydictor/blob/master/lib/fun/filter.py#L245
。该函数的regex参数需要str类型,不是list类型
For example i use this command.
pydictor.py --head John -char 0123456789abcdef -- len 1 1
Works great but what if i have mode head words?
I want to use John, Mike, Jane etc more words on the head? How can i make this?
pydictor.py --head John --head Mike --head Jane -char 0123456789abcdef -- len 1 1 Not working
I have a text file and there are names on it and all i need, use these words on the head!
Thanks
建议增加个**企业用户字典比如:zhangwei/zwei/zWei/zhangW/wei.zhang/w.zhang这样的灵活组合方法
Hi there,
I tried creating a dictionary with 13 characters and it returned that it should be <= 11, so I changed it to 20.
Then the count_switcher was set to 100M, so I changed it to 1,000,000,000,000,000,000,000,000. It is creating the file, but the file has been stuck at 510MB and not increasing.
What am I missing?
Thanks and kind regards,
SiZiGee
regex function
Usage : --regex [regex]
Example: --types "^z.*?g$"
这里的--types应该是--regex
以及请问,
types function
Usage : --types [letters_types_range] [digital_types_range] [special_types_range]
Example: --types "<=8" "<=4" "=0"
如果想要所有大写+小写字母+所有数字+无特殊符号,这里的letters_types_range应该怎么写?
pydictor SEDB>>show
len : minlen: [no-limited] maxlen: [no-limited]
head : [none]
tail : [none]
encode : [none]
occur : letter: [ <=99 ] digital: [ <=99 ] special: [ <=99 ]
types : letter: [ >=0 ] digital: [ >=0 ] special: [ >=0 ]
repeat : letter: [ >=0 ] digital: [ >=0 ] special: [ >=0 ]
level : [3]
leet : [none]
regex : [.*?]
cname :liwei
ename :zwell
sname :lw Lwei
birth :19880916
usedpwd :liwei123456. liwei@19880916 lw19880916_123
phone :18852006666
uphone :15500998080
hphone :76500100 61599000 01061599000
email :[email protected] [email protected] [email protected] [email protected]
postcode :663321 962210
nickname :zlili
idcard :152726198809160571
jobnum :20051230 100563
otherdate :19591004 19621012 19870906 19880208
usedchar :tiger gof gamesthrones 176003 m0n5ter ppdog
pydictor SEDB>>run
single rule
unsupported operand type(s) for +: 'generator' and 'generator'
社公字典生成时报错,什么问题?
I lost my discord account and my email was linked to the same password i was hoping you would be able to create a bot that would try every possible login and get me in?
I am trying to build a wordlist but it throws error at the start.
C:\pydictor-master>python pydictor.py --len 12 12 --head 2031 -base dc
_ _ _
_ __ _ _ __| (_) ___| |_ ___ _ __
| '_ \| | | |/ _` | |/ __| __/ _ \| '__|
| |_) | |_| | (_| | | (__| || (_) | |
| .__/ \__, |\__,_|_|\___|\__\___/|_|
|_| |___/ 2.1.5.2#dev
[!] Build items more than pyoptions.count_switcher: 100000000000
[!] Modify /lib/data/data.py count_switcher to adjust it
My desktop is Turkish Language; Masaüstü. Why doesn't work the program?
https://hizliresim.com/skCRdH
I'm trying to build a dictionary with a config file that builds for wpa2 keys. It doesn't seem to work when over a certain amount of characters. It acts like it's generating the list but the file is just empty. I'm trying to build this:
python pydictor.py --conf '[a-z]{6,6}[0-9]{4,4}[a-z]{6,6}'
it just spits out a conf_xxxxxx.txt file with nothing in it. I've edited my data.py to allow for more than the default combinations.
My create wordlist start (head) oba. characters is totally 16 (letters, numbers and special symbols) Program needs to choose 5 out of 16 characters for combination. According to my calculation, this combination may be correctly listed in 4,368 different ways. Your program has more than 1 million results for this character length. Also, even though I make the character min length 5 max 5 the result is wrong. This error isn't just in these characters. What I want to say is that there is a combination error in the program. I would be glad if you fix it.
Calculator= https://hizliresim.com/aYUJmU
Program Combination= https://hizliresim.com/h8VjlO
just like this
1d5ghlbz
How do you download?
Your tool/software has been inventoried on Rawsec's CyberSecurity Inventory.
An inventory of tools and resources about CyberSecurity. This inventory aims to help people to find everything related to CyberSecurity.
More details about features here.
Note: the inventory is a FLOSS (Free, Libre and Open-Source Software) project.
Mainly because this is giving visibility to your tool, more and more people are using the Rawsec's CyberSecurity Inventory, this helps them find what they need.
The badge shows to your community that your are inventoried. This also shows you care about your project and want it growing, that your tool is not an abandonware.
Feel free to claim your badge here: http://inventory.rawsec.ml/features.html#badges, it looks like that , but there are several styles available.
That's all, this message is just to notify you if you care.
Hi!
Do you have plans to translate the Readme? Would be great!
Hi,
I'm trying to build dictionary with --conf as option. Dictionary should contain "-" character.
I tried following:
sometext[-]{0,1}>, sometext[-]{0,1}, sometext["-"]{0,1}, sometext['-']{0,1}
But none of this works. Is it possible to use "-" in this context?
Besides, the tool is exactly what I was needed. Good job!
BR
Slepun
HELLO could you find my account password? I FORGOT , https://www.kogama.com/profile/7529345/
I also tried change value "pyoptions.filter_regex" in pydictor\lib\fun\filter.py:245
to r'[(A-z)]*\d{1}[(A-z)]*'
and it doesnt worked.
This regex filter all values what have only one number from others. Command which i use python pydictor.py -base dLc -o /test.txt --len 3 3 --regex r'[(A-z)]*\d{1}[(A-z)]*'
I also tried do filter with additional file
main.py
import re
file = open("test-passed.txt", "a")
with open('test.txt') as f:
for line in f:
resultNum = re.search(r'[(A-z)]*\d{1}[(A-z)]*', line)
resultNoNum = re.search(r'[(A-z)]{5}', line)
if not resultNum is None:
if len(resultNum.group(0)) == 5:
file.write(line)
if not resultNoNum is None:
if len(resultNoNum.group(0)) == 5:
file.write(line)
file.close()
And it works fine
I'm trying to achieve the following:
python pydictor/pydictor.py --len 4 8 --output dictionary -char abcdefg123 --types "" "<=2" "==0" --occur "<=1" "<=2" "==0"
Which means producing combinations of those unique letters and at most 2 of the specified numbers (which could be repeated)
Also tried switching them around, just in case i was making a mistake, like this:
python pydictor/pydictor.py --len 4 8 --output dictionary -char abcdefg123 --occur "" "<=2" "==0" --types "<=1" "<=2" "==0"
But nope, both generate the same huge dictionary with repeated letters. They're not filtering at all.
UnicodeDecodeError: 'gbk' codec can't decode byte 0xbd in position 2157: illegal
multibyte sequence
Hello! When I run the uniqifer tool with the --repeat function using Python3, like this:
python3 pydictor.py -tool uniqifer ~/rockyou_clean.txt --repeat "<=3" ">=3" "==0" -o ~/uniq.txt
Then an error occurs:
[-] Exception as following:
Traceback (most recent call last):
File "/home/mial/bin/pydictor/lib/fun/decorator.py", line 22, in magic
item = filterforfun(item)
File "/home/mial/bin/pydictor/lib/fun/filter.py", line 243, in filterforfun
item = repeat_filter(item, letter_repeat=pyoptions.letter_repeat, digital_repeat=pyoptions.digital_repeat,
File "/home/mial/bin/pydictor/lib/fun/filter.py", line 151, in repeat_filter
key = r.keys()[0]
TypeError: 'dict_keys' object is not subscriptable
None
But if I run the same command with Python2, then everything works fine:
python2 pydictor.py -tool uniqifer ~/rockyou_clean.txt --repeat "<=3" ">=3" "==0" -o ~/uniq.txt
Add an option for how many times a letters/numbers can repeat itself consecutively
ie. --repeat "<=3" "==0" "==0"
AAA12345
How can I add special characters to passwords (not only `dLc')?
how can i fix that problem
Can pydictor find and remove non-UTF-8 characters?
Is there a function like occur and types, that for exemple delete lines below 6 characters?
我在win10上使用2.0.5版本的-tool工具的时候(其他平台没试过),总会报UnicodeDecodeError,看了代码发现打开文件没有指定编码,open是依赖平台的默认编码,我指定utf-8后就没有这个问题了,建议加一下
e.g. --tail -example
After using this argument, following error will be shown:
pydictor: error: argument --tail: expected one argument
It looks like -example
has been recongnized as a option, but it should be the vaule.
Hello,
I looked through the document and could not find any parameter to pass so that the program stops after creating that many passwords. Is there any parameter like that? Could you add this functionality if not?
Thanks.
python pydictor.py -chunk abc ABC 666 . _ @ "'" --head a --tail 123 --encode md5
返回
D:\OkMyTools\pydictor\pydictor>python pydictor.py -chunk abc ABC 666 . _ @ "'" --head a --tail 123 --encode md5
_ _ _
_ __ _ _ __| (_) ___| |_ ___ _ __
| '_ \| | | |/ _` | |/ __| __/ _ \| '__|
| |_) | |_| | (_| | | (__| || (_) | |
| .__/ \__, |\__,_|_|\___|\__\___/|_|
|_| |___/ 2.0.3#dev
Traceback (most recent call last):
File "pydictor.py", line 91, in <module>
get_chunk_dic(pyoptions.args_chunk)
File "D:\OkMyTools\pydictor\pydictor\core\CHUNK.py", line 34, in get_chunk_dic
special_types=pyoptions.special_types,
File "D:\OkMyTools\pydictor\pydictor\lib\fun\filter.py", line 206, in filterforfun
item = headtail_filter(item, head=head, tail=tail)
File "D:\OkMyTools\pydictor\pydictor\lib\fun\filter.py", line 26, in headtail_filter
return head + item + tail
TypeError: cannot concatenate 'str' and 'tuple' objects
Python 2.7
windows10 x64,家庭中文版,版本1607
since im a bit noob, i think im doing something wrong. i opened the code, pressed f5, and tried the sedb. >>pydictor.py --sedb and tells me pydctor is not defined?, how im supposed to open the code? i mean i edit with idle->f5 and wrote pydictor.py --sedb, i tried just --sedb and also doesnt let me get in, please help!
I executed this command:
python pydictor.py -b dL -o "~/passwords.txt" --len 12 12 --repeat "<=3" "<=3" "<=0"
(to long)
base_file:
000000000000
000000000001
000000000002
000000000003
000000000004
000000000005
000000000006
...
Isn't the 0 just supposed to appear up to 3 times in a row?
Hello in all CIS countries the date format is indicated as "day of the month year". At the moment, the generation of the date is "year month day." It is necessary to add the first option is very important.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.