Skip to content

Commit 750a32c

Browse files
authored
Add files via upload
1 parent c192a10 commit 750a32c

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

dinopass_simple_password.py

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import requests
2+
from random import randrange
3+
4+
#This script generates simple passwords using DinoPass.
5+
6+
num_inp = input("How many passwords would you like to generate? ")
7+
8+
try:
9+
pw_count = int(num_inp)
10+
except:
11+
print("Error, please enter a number")
12+
exit(1)
13+
14+
for i in range(0, pw_count):
15+
r = requests.get(f"https://www.dinopass.com/password/simple?_={randrange(9999999999999999999)}")
16+
print(r.text)

dinopass_strong_password.py

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import requests
2+
from random import randrange
3+
4+
#This script generates passwords using DinoPass.
5+
6+
num_inp = input("How many passwords would you like to generate? ")
7+
8+
try:
9+
pw_count = int(num_inp)
10+
except:
11+
print("Error, please enter a number")
12+
exit(1)
13+
14+
for i in range(0, pw_count):
15+
r = requests.get(f"https://www.dinopass.com/password/strong?_={randrange(9999999999999999999)}")
16+
print(r.text)

0 commit comments

Comments
 (0)