summaryrefslogtreecommitdiff
path: root/createDB.py
diff options
context:
space:
mode:
Diffstat (limited to 'createDB.py')
-rw-r--r--createDB.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/createDB.py b/createDB.py
index 6ff7f76..c72620f 100644
--- a/createDB.py
+++ b/createDB.py
@@ -19,6 +19,7 @@ cur = con.cursor()
path = "bizarreries-du-langage-c"
+"""
for _ in range(1000):
hashIP = blake3(f'127.0.0.{randrange(2, 256)}'.encode()).hexdigest()
cur.execute("INSERT OR IGNORE INTO likes VALUES (?, ?, unixepoch(), 0)", [hashIP, path])
@@ -31,5 +32,6 @@ for i in range(2, 256):
if blake3(f'127.0.0.{i}'.encode()).hexdigest() == "d329429a1928ac4f31fe07b0c87bcbd129d70e191c85516a180fa4101f5eaae8":
print(f"i == {i} => {blake3(('127.0.0.' + str(i)).encode()).hexdigest()}")
+"""
con.close()