forked from MarseyWorld/MarseyWorld
remove random.seed on all sites by devrama (potential exploit)
parent
7e40111582
commit
57841f00cf
|
@ -879,7 +879,9 @@ def torture_queen(string, key):
|
||||||
if string[-5:] == ', and':
|
if string[-5:] == ', and':
|
||||||
string = string[:-5]
|
string = string[:-5]
|
||||||
|
|
||||||
random.seed(key)
|
if SITE == 'devrama.net':
|
||||||
|
random.seed(key)
|
||||||
|
|
||||||
if random.random() < PHRASE_CHANCE:
|
if random.random() < PHRASE_CHANCE:
|
||||||
girl_phrase = random.choice(GIRL_PHRASES)
|
girl_phrase = random.choice(GIRL_PHRASES)
|
||||||
string = girl_phrase.replace("$", string)
|
string = girl_phrase.replace("$", string)
|
||||||
|
|
Loading…
Reference in New Issue