Skip to content

Commit

Permalink
Update generator_dictionary.py
Browse files Browse the repository at this point in the history
  • Loading branch information
R̭̮̗̯̳̯̜̳̱̰̮͍̯̯̲̝̥̔ͯ͆̆͌̈͌̽͒̿ͯͤ͂̚ͅͅė̥̜̗͉̦̰͈̺̟̻̦̔ͬͧ̍ͣ̉̚d̦̦̯̩̠̗͔̜̼̬̏ͫ̌̓́ͦ̆̋̅ͯ̌͆͂͑̊̑̄̊T̖̱͕̬̬͈̹̏̆ͮ̽́ͫ̎oor authored Jan 9, 2017
1 parent 4acf03d commit 2f5b9fa
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions modules/mcs/generator_dictionary.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def init():
init.Despcription ="Generator of Dictionaries."
init.CodeName ="msc/gn.words"
init.DateCreation ="07/07/2015"
init.LastModification ="23/12/2016"
init.LastModification ="09/01/2017"
init.References =None
init.License =KTF_LINCENSE
init.var ={}
Expand Down Expand Up @@ -56,12 +56,9 @@ def main(run):
chars_spe = ['.', '-', '_', '/', '@']
permitidos = []
permitidos += char_null
if init.var['charset'] == "chars_num":
permitidos += chars_num
if init.var['charset'] == "chars_may":
permitidos += chars_may
if init.var['charset'] == "chars_min":
permitidos += chars_min
if init.var['charset'] == "chars_num":permitidos += chars_num
if init.var['charset'] == "chars_may":permitidos += chars_may
if init.var['charset'] == "chars_min":permitidos += chars_min
if init.var['charset'] == "chars_mix":
permitidos +=chars_min
permitidos +=chars_num
Expand Down Expand Up @@ -107,7 +104,7 @@ def aumentarCadena(cadena1):
procent=int(Maxima)/10
counter=0
porcent=0
printk.inf("Creating file... "+status_cmd("echo >"+init.var['output']))
SYSTEM.Command_exe("Creating file... ","echo >"+init.var['output'], std=False)
printk.inf("Generating... ["+str(Maxima)+"] Words to Generate "+str(porcent)+"% Complete")
fichero = open(init.var['output'], 'w')
bucle = True
Expand Down

0 comments on commit 2f5b9fa

Please sign in to comment.