MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / execute

Method execute

plugins/dbms/cache/connector.py:62–73  ·  view source on GitHub ↗
(self, query)

Source from the content-addressed store, hash-verified

60 return None
61
62 def execute(self, query):
63 retVal = False
64
65 try:
66 self.cursor.execute(query)
67 retVal = True
68 except Exception as ex:
69 logger.log(logging.WARN if conf.dbmsHandler else logging.DEBUG, "(remote) '%s'" % getSafeExString(ex))
70
71 self.connector.commit()
72
73 return retVal
74
75 def select(self, query):
76 self.execute(query)

Callers 1

selectMethod · 0.95

Calls 2

getSafeExStringFunction · 0.90
commitMethod · 0.80

Tested by

no test coverage detected