From f833dfb60053a8efba0a8101e8071cd1fb523fe0 Mon Sep 17 00:00:00 2001 From: Hubbl3 Date: Tue, 14 Apr 2020 21:01:17 -0500 Subject: [PATCH] Fix for PS2 function name issue #169 --- setup/setup_database.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/setup_database.py b/setup/setup_database.py index ff1d1caef..945303752 100755 --- a/setup/setup_database.py +++ b/setup/setup_database.py @@ -188,8 +188,8 @@ "Invoke_Mimikatz" text )''') -rand1 = ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(5)) -rand2 = ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(5)) +rand1 = random.choice(string.ascii_uppercase) + ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(4)) +rand2 = random.choice(string.ascii_uppercase) + ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(4)) c.execute("INSERT INTO functions VALUES(?,?)", (rand1, rand2)) # commit the changes and close everything off