Pydictor
Pydictor is one of those tools that both novices and pro can appreciate. It is a dictionary building tool that is great to have in your arsenal when dealing with password strength tests. The tool offers a plethora of features which can be used to create that perfect dictionary for pretty much any kind of testing situation. A powerful and useful hacker dictionary builder for a brute-force attackInstallation
git clone https://github.com/LandGrey/pydictor
cd pydictor
chmod +x pydictor.py
python pydictor.py
Run and Build
Numeric DictionaryWe are beginning by exploring the option to create a numeric or as described by the tool, digital, dictionary. Let’s start by keeping it simple, only 5 characters long and limited to 0 – 5. We will be using the “-base” option to accomplish this. A powerful and useful hacker dictionary builder
The output is saved by default but in this case, we will be saving it to “dict.txt”. The storage location will always appear after each execution. The “cat” command is used to view the output in the terminal.
python pydictor.py -base d --len 3 4 -o Atul-dictionary.txt
Alphabet Dictionary
We will be making a dictionary which only holds lower case alphabets, the length of the words will remain to 5 characters. A powerful and useful hacker dictionary
python pydictor.py -base L --len 4 5
Upper Case Alphabet Dictionary
We will now generate a dictionary with all the same metrics as earlier
with the exception of changing the base option to upper case alphabets.
python pydictor.py --len 5 5 -base c
Numeric Coupled With Upper Case Alphabet
The base options in Pydictor can be used in conjunction with each other,
in this instance, we will be coupling numeric (d) and upper case
alphabets (c). Let’s see what kind of output we get. A powerful and useful hacker dictionary pydicor
python pydictor.py --len 5 5 -base dc
python pydictor.py --len 5 5 -base dc
Numeral Coupled With Lower Case Alphabet
Let’s see what we get when we couple numerals with lower case alphabets.
python pydictor.py --len 5 5 -base dL
Adding Static Head
We will now be adding a static head to all the words, note that the head
is in addition to the 5 character length that is set. In this instance,
we will be adding “Atul” as a static head in front of all the numerals.
A powerful and useful hacker dictionary pydicor brute force attack
python pydictor.py --len 5 5 --head Atul -base d
Adding Static Tail
We will now be adding a static tail to all the words, note that as mentioned in the instance above, the tail is in addition to the 5 character length that is set. In this instance, we will be adding “KumarAtulJaiswal” as a static tail at the end of all the numerals. dictionary attack
python pydictor.py --len 5 5 --tail KumarAtulJaiswal -base d
Encoding
Pydictor has an encode function that we can use to encode the words in the dictionary.
It gives us the option to choose from popular encoding algorithms such as Base64, DES, AES, MD5, SHA256, etc. In this instance, we will be using Base64 as our algorithm of choice to encode numerals.
In the interest of thoroughness, we will first generate the numerals without encoding and then with encoding. A powerful and useful hacker dictionary pydicor attack with dictionary wordlist
python pydictor.py --len 5 5 –base d
Now we see what the Base64 encoded output looks like
python pydictor.py --len 5 5 -base d --encode b64
Multiple Character Group Permutation
We’ll take Pydictor’s permutation prowess one step further by using the “-chunk” option.
This time we will be giving it multiple groups of characters which it will take and churn out as many permutations as possible. It begins in a subtle way by just manipulating one word and then gradually moves on to the others. Notice the progression in the screenshot below.
python pydictor.py -chunk abc ABC 666 . _ @ "'"
Social Engineering Dictionary
Pydictor comes with an inbuilt social engineering dictionary builder
that lets testers input information from profiling an individual to get a
custom-tailored dictionary. We run the “help desk” within the social
engineering dictionary builder option to see the various defaults it has
to offer.
python pydictor.py --sedb
Customizing the Social Engineering Dictionary
“show option” is used within the social engineering dictionary builder
to set the various vectors from profiling a target to generate a
target-specific dictionary. In this instance, we will only be inputting
the name, birth date, and email and phone number. The vectors are set
using the “set” command.
The leet function can selectively substitute numerals or special characters in the place of alphabets to illustrate; leet turns to L331. We will be using the leet function in conjunction with the occur option and extend function.
This is a more complex task that we have made from Pydictor than our earlier instances, let’s see what our output looks like.
python pydictor.py -extend /names.txt --leet 0 1 2 11 21 --len 4 16 --occur "<=10" ">0" "<=2"
Disclaimer
This was written for educational purpose and pentest only.The author will not be responsible for any damage ..!
The author of this tool is not responsible for any misuse of the information.
You will not misuse the information to gain unauthorized access.
This information shall only be used to expand knowledge and not for causing malicious or damaging attacks. Performing any hacks without written permission is illegal ..!
All video’s and tutorials are for informational and educational purposes only. We believe that ethical hacking, information security and cyber security should be familiar subjects to anyone using digital information and computers. We believe that it is impossible to defend yourself from hackers without knowing how hacking is done. The tutorials and videos provided on www.hackingtruth.in is only for those who are interested to learn about Ethical Hacking, Security, Penetration Testing and malware analysis. Hacking tutorials is against misuse of the information and we strongly suggest against it. Please regard the word hacking as ethical hacking or penetration testing every time this word is used.
All tutorials and videos have been made using our own routers, servers, websites and other resources, they do not contain any illegal activity. We do not promote, encourage, support or excite any illegal activity or hacking without written permission in general. We want to raise security awareness and inform our readers on how to prevent themselves from being a victim of hackers. If you plan to use the information for illegal purposes, please leave this website now. We cannot be held responsible for any misuse of the given information.
- Hacking Truth by Kumar Atul Jaiswal