Playing around with using | as the separator instead of commas. This would allow better regex lookup for the current storage in the db.
This commit is contained in:
@@ -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
|
# Write the targets to the database
|
||||||
for tar in targets:
|
for tar in targets:
|
||||||
tar.add(conn)
|
tar.add(conn)
|
||||||
|
|||||||
Reference in New Issue
Block a user