From 120567dcd42d42af69a6bffc2c709cd531c0fcef Mon Sep 17 00:00:00 2001 From: rain Date: Wed, 24 May 2023 13:43:46 -0500 Subject: [PATCH] Playing around with using | as the separator instead of commas. This would allow better regex lookup for the current storage in the db. --- parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.py b/parser.py index 7aa510b..ef9b833 100755 --- a/parser.py +++ b/parser.py @@ -106,7 +106,7 @@ def main(): - targets.append(target(os, hostname, address, ', '.join(ports))) + targets.append(target(os, hostname, address, '|'+'|'.join(ports)+'|')) # Write the targets to the database for tar in targets: tar.add(conn)