mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
Introducing 'new style classes' (idea from Pull request #284)
This commit is contained in:
@@ -12,7 +12,7 @@ import socket
|
||||
import threading
|
||||
import time
|
||||
|
||||
class DNSQuery:
|
||||
class DNSQuery(object):
|
||||
"""
|
||||
Used for making fake DNS resolution responses based on received
|
||||
raw request
|
||||
@@ -58,7 +58,7 @@ class DNSQuery:
|
||||
|
||||
return retVal
|
||||
|
||||
class DNSServer:
|
||||
class DNSServer(object):
|
||||
def __init__(self):
|
||||
self._requests = []
|
||||
self._lock = threading.Lock()
|
||||
|
||||
Reference in New Issue
Block a user