First version
This commit is contained in:
1000
1-1000.txt
Normal file
1000
1-1000.txt
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,2 +1,10 @@
|
|||||||
# PSecuritySuite
|
# PSecuritySuite
|
||||||
|
|
||||||
|
Perfect for dark web accounts, passwords, obfuscating private LLM prompts, and more! :)
|
||||||
|
|
||||||
|
`prompt_destroyer.py`: Run this once, copy the random sentence, and re-edit a prompt with this random text to hide your original prompt.
|
||||||
|
|
||||||
|
`darkweb_register.py`: Run this to get a random username and password. Store it somewhere safe. Try putting it into a txt file, zipping it, and then encrypting with PCS (.p7c_enc). Or use KeePassXC.
|
||||||
|
|
||||||
|
The 1-1000.txt comes from <https://gist.github.com/deekayen/4148741#file-1-1000-txt>, thank the author :)
|
||||||
|
|
||||||
|
|||||||
40
darkweb_register.py
Normal file
40
darkweb_register.py
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
import random
|
||||||
|
import secrets
|
||||||
|
import string
|
||||||
|
|
||||||
|
# CONFIG
|
||||||
|
|
||||||
|
# You can replace the 1-1000.txt with ur own file, but specify the length here:
|
||||||
|
textfile_length = 1000
|
||||||
|
|
||||||
|
# Username random keyword number constraints
|
||||||
|
keyword_min = 2
|
||||||
|
keyword_max = 4
|
||||||
|
|
||||||
|
# Username random number constraints
|
||||||
|
random_int_min = 1
|
||||||
|
random_int_max = 99999
|
||||||
|
|
||||||
|
# Password length constraints
|
||||||
|
password_length_min = 20
|
||||||
|
password_length_max = 40
|
||||||
|
|
||||||
|
def random_word(target_index):
|
||||||
|
with open('1-1000.txt', 'r', encoding='utf-8') as file:
|
||||||
|
for current_index, line in enumerate(file, 1):
|
||||||
|
if current_index == target_index:
|
||||||
|
return line.strip()
|
||||||
|
|
||||||
|
def generate_random_string():
|
||||||
|
characters = string.ascii_letters + string.digits + string.punctuation
|
||||||
|
length = random.randint(password_length_min, password_length_max)
|
||||||
|
random_str = ''.join(secrets.choice(characters) for _ in range(length))
|
||||||
|
return random_str
|
||||||
|
|
||||||
|
|
||||||
|
buffer = ""
|
||||||
|
for i in range(random.randint(keyword_min, keyword_max)):
|
||||||
|
buffer += random_word(random.randint(1, textfile_length)) + "_"
|
||||||
|
|
||||||
|
print(f"{buffer.strip("_")}{random.randint(random_int_min, random_int_max)}") # dis is ur username
|
||||||
|
print(generate_random_string()) # then dis is ur pass
|
||||||
13
prompt_destroyer.py
Normal file
13
prompt_destroyer.py
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
import random
|
||||||
|
|
||||||
|
def random_word(target_index):
|
||||||
|
with open('1-1000.txt', 'r', encoding='utf-8') as file:
|
||||||
|
for current_index, line in enumerate(file, 1):
|
||||||
|
if current_index == target_index:
|
||||||
|
return line.strip()
|
||||||
|
|
||||||
|
buffer = ""
|
||||||
|
for i in range(random.randint(10, 20)):
|
||||||
|
buffer += random_word(random.randint(1, 1000)) + " "
|
||||||
|
|
||||||
|
print(buffer.strip())
|
||||||
Reference in New Issue
Block a user