This Repository is a collection of different ethical hacking tools and malware's for penetration testing and research purpose written in python, ruby, rust, c++, go and c.
JavaScript algorithmsartificial-intelligencebugbountycryptographycyber-threat-intelligencecybersecurity-projectsethical-hackinghacking-toolsmalwarenessusnetwork-monitoringnetwork-securitynmapportscannerpythonpythonprojectsthreat-intelligencevirus-scanning
Create passgen.py
Abdul Wahab Junaid6281497720b3
diff --git a/Random Tools/Generates a custom passwords/passgen.py b/Random Tools/Generates a custom passwords/passgen.pynew file mode 100644index 0000000..0834bb4--- /dev/null+++ b/Random Tools/Generates a custom passwords/passgen.py@@ -0,0 +1,74 @@+import random+import sys+from math import log++if sys.version_info < (3, 0):+ input = raw_input++# Just some colors and shit+white = '\033[1;97m'+green = '\033[1;32m'+red = '\033[1;31m'+yellow = '\033[1;33m'+end = '\033[1;m'+info = '\033[1;33m[!]\033[1;m'+que = '\033[1;34m[?]\033[1;m'+bad = '\033[1;31m[-]\033[1;m'+good = '\033[1;32m[+]\033[1;m'+run = '\033[1;97m[~]\033[1;m'++print ('''%s __ __+ ▒█▀▀█ █▀▀█ █▀▀ █▀▀ ▒█▀▀█ █▀▀ █▀▀▄ Ⓣⓔⓒⓗⓝⓘⓒⓐⓛ Ⓜⓤⓙⓔⓔⓑ+ ▒█▄▄█ █▄▄█ ▀▀█ ▀▀█ ▒█░▄▄ █▀▀ █░░█+ ▒█░░░ ▀░░▀ ▀▀▀ ▀▀▀ ▒█▄▄█ ▀▀▀ ▀░░▀ %s\n''' % (red, end))++print ('''%s+▒█▀▄▀█ █░░█ ░░▀ █▀▀ █▀▀ █▀▀▄+▒█▒█▒█ █░░█ ░░█ █▀▀ █▀▀ █▀▀▄+ █░░▒█ ░▀▀▀ █▄█ ▀▀▀ ▀▀▀ ▀▀▀░ %s \n''' % (green, end))++name = input('%s Name of a RANDOM person: ' % que).lower()+choice = input('%s Obsfucate the name? [Y/n] ' % que).lower()+if choice == 'n':+ obsfucate = False+else:+ obsfucate = True++first = ['had', 'throws', 'buys', 'bites', 'blows', 'hates', 'likes', 'bangs', 'tarzan', 'has', 'boils', 'wants', 'roasts', 'fly', 'eats', 'licks', 'sucks', 'rides', 'kills', 'screws', 'destroys', 'cuts']++second = ['your', 'our', 'racist', 'hairy', 'many', 'green', 'giant', 'all', 'three', 'five', 'hundred', 'ugly', 'my', 'black', 'nice', 'small', 'horny', 'little', 'ten', 'loverboy', 'wwe', 'password', 'super']++third = ['hammers', 'apples', 'monkeys', 'babies', 'kids', 'hands', 'horses', 'trees','stones', 'cats', 'asses', 'computers', 'mangoes', 'dildos', 'poles', 'dogs', 'pussies', 'aliens', 'hackers', 'brother',]++seperators = ['-', '.', '*', '+', '~', '_', '/', '\\', '@']++generated_passwords = []++def generate(name):+ wordlist = []+ wordlist.append(random.choice(first))+ wordlist.append(random.choice(second))+ wordlist.append(random.choice(third))+ seperator = random.choice(seperators)+ name = name.title()+ if obsfucate:+ name = name.replace('a', '4').replace('h', '3').replace('e', '3').replace('i', '!').replace('l', '1').replace('t', '7').replace('s', '$').replace('o', '0')+ password = name + seperator + seperator.join(wordlist)+ generated_passwords.append(password)+ print (' %s|%s %-35s%s|%s %-20s%s|%s' % (green, end, password, green, end, (log(82)/log(2)) * len(password), green, end))++def initiate():+ print ('')+ print (' %s+------------------------------------+---------------------+%s' % (green, end))+ print (' %s| Passwords | Entropy |%s' % (green, end))+ print (' %s+------------------------------------+---------------------+%s' % (green, end))+ for y in range(0, 10):+ generate(name)+ print (' %s+--------------------------+-------------------------------+%s' % (green, end))+ choice = input('\n%s Generate more passwords? [y/N] ' % que).lower()+ if choice == 'y':+ initiate()+ else:+ quit()++initiate()