Skip to content
Snippets Groups Projects
Commit 3815e25f authored by Gioacchino Vino's avatar Gioacchino Vino
Browse files

Reviewed scan python code

parent bde08e0f
No related branches found
No related tags found
1 merge request!108Updated Python scan code
......@@ -98,6 +98,7 @@ class Target:
def __del__(self):
self.delete()
self.port_list.delete()
def delete(self):
res = self.client.delete_target(self.id)
......@@ -176,6 +177,7 @@ class Task:
def __del__(self):
self.delete()
self.target.delete()
def update_status(self):
tasks_info = self.client.get_tasks(filter_string = self.id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment