Skip to content

Commit

Permalink
Update Scansubdomain.py
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
SiJiDo committed Oct 10, 2022
1 parent 5801753 commit e6d0dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scan/lib/Scansubdomain.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def tool_domaininfo(task, target_id, conn, cursor):
ip_count = cursor.execute(sql,('nothing','nothing',target_id,))
subdomain_result = cursor.fetchall()

sql = "DELETE FROM Subdomain where subdomain_ip='nothing' AND subdomain_info='nothing"
sql = "DELETE FROM Subdomain where subdomain_ip='nothing' AND subdomain_info='nothing'"
cursor.execute(sql)
conn.commit()
return
Expand Down

0 comments on commit e6d0dfb

Please sign in to comment.