-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmutano.py
113 lines (101 loc) · 4.59 KB
/
mutano.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
#!/usr/bin/env python3
#################################
# Mutano #
# by: Outs1d3r-NET #
# From: Desec Security Training #
#################################
## [+] ---> Libraries
import re
import sys
import os
import string
import datetime
from unicodedata import normalize
## [+] ---> Usage
if len(sys.argv) != 3:
print('''
_
( \ ..-----..__
\.". _.--"` [ " " ```"-._
`. `"-..-"" ` " " " . ; ; `-"""-.,__/|/_
`"-.;..-""`|" `. ". ; " ` " `" `,
\ " . " . " ; .` . " 1 |
"." . "- . \ .` .` . .\ `Y
"-." . ]. " , " /"`""";:"
/Y ".] "-._ / " _.-"
\ "\_ ; (`"."." ."/
" )` / `." .-"."
"\ \)." .-"--"
`. `,_"` Mutano v1.0
`.__) by: Outs1d3r-NET
''')
print("-"*80)
print("\n[+] Usage:",sys.argv[0],"Simple-WORDLIST-input.txt Complex-WORDLIST-output.txt\n")
print("-"*80)
sys.exit(0)
## [+] ---> Logic
dic = {'aioO':'@100','aeioOs':'43100$','aeiou':'AEIOU','IilLsS':'1111$$'}
wordlist = open(str(sys.argv[2]), 'w')
wordtimes = datetime.datetime.now().strftime('%d/%m/%Y %Hh:%Mm:%Ss')
data = datetime.datetime.now()
def makeoutput (word):
for n in range(1001):
wordlist.write(word+str(n)+'\n')
wordlist.write(word+'@'+str(n)+'\n')
def animalTransform (line):
for i in dic:
wordlist.write(line.translate(str.maketrans(i,dic[i]))+'\n')
makeoutput(line.translate(str.maketrans(i,dic[i])))
wordlist.write(line.translate(str.maketrans(i,dic[i]))+str(data.year)+'\n')
wordlist.write(line.translate(str.maketrans(i,dic[i]))+'@'+str(data.year)+'\n')
wordlist.write(line.translate(str.maketrans(i,dic[i])).upper()+'\n')
makeoutput(line.translate(str.maketrans(i,dic[i])).upper())
wordlist.write(line.translate(str.maketrans(i,dic[i])).upper()+str(data.year)+'\n')
wordlist.write(line.translate(str.maketrans(i,dic[i])).upper()+'@'+str(data.year)+'\n')
wordlist.write(line.translate(str.maketrans(i,dic[i])).lower()+'\n')
makeoutput(line.translate(str.maketrans(i,dic[i])).lower())
wordlist.write(line.translate(str.maketrans(i,dic[i])).lower()+str(data.year)+'\n')
wordlist.write(line.translate(str.maketrans(i,dic[i])).lower()+'@'+str(data.year)+'\n')
wordlist.write(line.translate(str.maketrans(i,dic[i])).capitalize()+'\n')
makeoutput(line.translate(str.maketrans(i,dic[i])).capitalize())
wordlist.write(line.translate(str.maketrans(i,dic[i])).capitalize()+str(data.year)+'\n')
wordlist.write(line.translate(str.maketrans(i,dic[i])).capitalize()+'@'+str(data.year)+'\n')
wordlist.write(line.translate(str.maketrans(i,dic[i])).title()+'\n')
makeoutput(line.translate(str.maketrans(i,dic[i])).title())
wordlist.write(line.translate(str.maketrans(i,dic[i])).title()+str(data.year)+'\n')
wordlist.write(line.translate(str.maketrans(i,dic[i])).title()+'@'+str(data.year)+'\n')
wordlist.write(line.translate(str.maketrans(i,dic[i])).swapcase()+'\n')
makeoutput(line.translate(str.maketrans(i,dic[i])).swapcase())
wordlist.write(line.translate(str.maketrans(i,dic[i])).swapcase()+str(data.year)+'\n')
wordlist.write(line.translate(str.maketrans(i,dic[i])).swapcase()+'@'+str(data.year)+'\n')
def main():
with open(sys.argv[1]) as file:
for table in file:
l = table.rstrip('\n')
animalTransform(l)
wordlist.close()
with open(str(sys.argv[2]), 'r') as fp:
clines = len(fp.readlines())
print('''
<\ _
|\ _/{
|\ _- -_
/{ / `\ _- - -_
_~ = ( @ \ - - -_
_- - ~-_ \( =\ \ - -_
_~ - ~_ | 1 :\ \ _-~-_ - -_
_- - ~ |V: \ \ _-~ ~-_- -_
_-~ - / | : \ \ ~-_- -_
_-~ - _.._ { | : _-`` ~- _-_
_-~ -__..--~ ~-_ { : \:}
=~__.--~~ ~-_\ : /
\ : /__
//`Y"-- |
<+ \ Mutano v1.0
\ VV by: Outs1d3r-NET
''')
print("#"*80)
print("[+] Wordlist has been created in:",str(os.path.realpath(sys.argv[2])),"\n[+] Date:",wordtimes,"\n[+] Lines:",str(clines))
print("#"*80)
if __name__ == '__main__':
main()