diff --git a/index.php b/index.php index 4649eac..dbda925 100644 --- a/index.php +++ b/index.php @@ -9,9 +9,7 @@ -query("SELECT os,hostname,address,ports FROM targets"); foreach($targets as $tar) { diff --git a/parser.py b/parser.py index 4cc966c..5dcab42 100644 --- a/parser.py +++ b/parser.py @@ -53,6 +53,7 @@ def main(): add_item(conn, "windows", "localhost", 1, "80,69,8080") # Close the database connection + conn.commit() conn.close() if __name__ == '__main__':