mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-21 03:03:50 +00:00
Better naming
This commit is contained in:
parent
4d5bae7131
commit
e7576a3b11
10 changed files with 10 additions and 13 deletions
|
|
@ -41,12 +41,9 @@ class Connector:
|
|||
self.connector = None
|
||||
self.cursor = None
|
||||
|
||||
def setCursor(self):
|
||||
def initCursor(self):
|
||||
self.cursor = self.connector.cursor()
|
||||
|
||||
def getCursor(self):
|
||||
return self.cursor
|
||||
|
||||
def close(self):
|
||||
try:
|
||||
self.cursor.close()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue