This commit is contained in:
2023-02-24 21:52:32 +01:00
parent 6cb6b95743
commit 8ec3e78f84
5 changed files with 341 additions and 73 deletions

1
cps.py
View File

@@ -10,7 +10,6 @@ import csv
def readMaliciousFile():
# each item is like this: [malicious prompt, expected malicous response]
# import malicious.csv from the dir of this file
path = os.path.dirname(os.path.realpath(__file__)) + '/malicious.csv'
with open(path, 'r') as f:
reader = csv.reader(f)