Skip to content

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.

Create generate_password.py

Abdul Wahab Junaidd4c308172fc4
diff --git a/Python Tools/Secrets/generate_password.py b/Python Tools/Secrets/generate_password.py
new file mode 100644
index 0000000..4634068
--- /dev/null
+++ b/Python Tools/Secrets/generate_password.py
@@ -0,0 +1,7 @@
+from secrets import choice
+from string import ascii_letters, ascii_uppercase, digits
+
+characters = ascii_letters + ascii_uppercase + digits
+length = 16
+random_password= ''.join(choice(characters) for character in range(length))
+print("The password generated is:", random_password)