Add files via upload
This commit is contained in:
parent
39cc4a1b1b
commit
3eb43f636f
1 changed files with 68 additions and 14 deletions
|
@ -1,33 +1,87 @@
|
|||
# encoding: utf-8
|
||||
|
||||
## Copyright © 2020 Чечкенёв Андрей
|
||||
##
|
||||
## This program is free software: you can redistribute it and/or modify
|
||||
## it under the terms of the GNU General Public License as published by
|
||||
## the Free Software Foundation, either version 2 of the License, or
|
||||
## (at your option) any later version.
|
||||
##
|
||||
## This program is distributed in the hope that it will be useful,
|
||||
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
## GNU General Public License for more details.
|
||||
##
|
||||
## You should have received a copy of the GNU General Public License
|
||||
## along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
print("")
|
||||
print("****** PASSWORD DICTIONARY GENERATOR *******")
|
||||
print("*** by AndreyCh (DarkCat09/CodePicker13) ***")
|
||||
print("")
|
||||
|
||||
targets_personal_data = [
|
||||
"",
|
||||
input("Target's name: "), input("Target's last name: "), input("Target's nickname: "), input("Target's birthday, DDMMYYYY: "),
|
||||
input("Spouse's name: "), input("Spouse's last name: "), input("Spouse's nickname: "), input("Spouse's birthday, DDMMYYYY: "),
|
||||
input("Child's name: "), input("Child's last name: "), input("Child's nickname: "), input("Child's birthday, DDMMYYYY: "),
|
||||
input("Pet's name: "), input("Pet's last name: "), "", input("Pet's birthday, DDMMYYYY: "),
|
||||
input("First target's phone number, +X 9YYYYYYYYY: "), input("Second target's phone number, +X 9YYYYYYYYY: "), input("Date of password setting, MMYYYY: ")
|
||||
target_personal_data = [
|
||||
{
|
||||
"name": input("Target's name: "),
|
||||
"lastname": input("Target's last name: "),
|
||||
"nickname": input("Target's nickname: "),
|
||||
"birth": input("Target's birthday, DDMMYYYY: ")
|
||||
},
|
||||
{
|
||||
"name": input("Spouse's name: "),
|
||||
"lastname": input("Spouse's last name: "),
|
||||
"nickname": input("Spouse's nickname: "),
|
||||
"birth": input("Spouse's birthday, DDMMYYYY: ")
|
||||
},
|
||||
{
|
||||
"name": input("Child's name: "),
|
||||
"lastname": input("Child's last name: "),
|
||||
"nickname": input("Child's nickname: "),
|
||||
"birth": input("Child's birthday, DDMMYYYY: ")
|
||||
},
|
||||
{
|
||||
"name": input("Pet's name: "),
|
||||
"lastname": input("Pet's last name: "),
|
||||
"birth": input("Pet's birthday, DDMMYYYY: ")
|
||||
},
|
||||
input("First target's phone number, +X 9YYYYYYYYY: "),
|
||||
input("Second target's phone number, +X 9YYYYYYYYY: "),
|
||||
input("Date of password setting, MMYYYY: ")
|
||||
]
|
||||
print("")
|
||||
|
||||
join_signs = ["", "_", "-"]
|
||||
dicdata = [
|
||||
"",
|
||||
target_personal_data[0]["name"], target_personal_data[0]["lastname"], target_personal_data[0]["nickname"],
|
||||
target_personal_data[0]["birth"][0:2], target_personal_data[0]["birth"][2:4], target_personal_data[0]["birth"][4:8],
|
||||
target_personal_data[1]["name"], target_personal_data[1]["lastname"], target_personal_data[1]["nickname"],
|
||||
target_personal_data[1]["birth"][0:2], target_personal_data[1]["birth"][2:4], target_personal_data[1]["birth"][4:8],
|
||||
target_personal_data[2]["name"], target_personal_data[2]["lastname"], target_personal_data[2]["nickname"],
|
||||
target_personal_data[2]["birth"][0:2], target_personal_data[2]["birth"][2:4], target_personal_data[2]["birth"][4:8],
|
||||
target_personal_data[3]["name"], target_personal_data[3]["lastname"],
|
||||
target_personal_data[3]["birth"][0:2], target_personal_data[3]["birth"][2:4], target_personal_data[3]["birth"][4:8],
|
||||
target_personal_data[4][3:], target_personal_data[4][1:2] + target_personal_data[4][3:],
|
||||
target_personal_data[5][3:], target_personal_data[5][1:2] + target_personal_data[5][3:]
|
||||
]
|
||||
dicfile = open("dictionary.txt", "wt", encoding="utf-8")
|
||||
|
||||
for i in range(19):
|
||||
for j in range(19):
|
||||
if not ((targets_personal_data[i] + targets_personal_data[j]) == ""):
|
||||
dicfile.write(targets_personal_data[i] + targets_personal_data[j] + "\n")
|
||||
dicfile.write(targets_personal_data[i].upper() + targets_personal_data[j] + "\n")
|
||||
dicfile.write(targets_personal_data[i] + targets_personal_data[j].upper() + "\n")
|
||||
dicfile.write(targets_personal_data[i].upper() + targets_personal_data[j].upper() + "\n")
|
||||
if not ((dicdata[i] + dicdata[j]) == ""):
|
||||
for jsign in join_signs:
|
||||
dicfile.write(dicdata[i].capitalize() + jsign + dicdata[j].capitalize() + "\n")
|
||||
dicfile.write(dicdata[i].capitalize() + jsign + dicdata[j].lower() + "\n")
|
||||
dicfile.write(dicdata[i].capitalize() + jsign + dicdata[j].upper() + "\n")
|
||||
dicfile.write(dicdata[i].lower() + jsign + dicdata[j].capitalize() + "\n")
|
||||
dicfile.write(dicdata[i].upper() + jsign + dicdata[j].capitalize() + "\n")
|
||||
dicfile.write(dicdata[i].lower() + jsign + dicdata[j].lower() + "\n")
|
||||
dicfile.write(dicdata[i].upper() + jsign + dicdata[j].lower() + "\n")
|
||||
dicfile.write(dicdata[i].lower() + jsign + dicdata[j].upper() + "\n")
|
||||
dicfile.write(dicdata[i].upper() + jsign + dicdata[j].upper() + "\n")
|
||||
|
||||
#code
|
||||
#writing password: MonthYear (Russia += МесяцГод += (VtczwUjl=МесяцГод_Латиницей))
|
||||
|
||||
dicfile.close()
|
||||
|
||||
print("")
|
||||
input("Press ENTER to exit")
|
||||
|
|
Loading…
Reference in a new issue