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

Function hashDBWrite

lib/core/common.py:5058–5065  ·  view source on GitHub ↗

Helper function for writing session data to HashDB

(key, value, serialize=False)

Source from the content-addressed store, hash-verified

5056 return value
5057
5058def hashDBWrite(key, value, serialize=False):
5059 """
5060 Helper function for writing session data to HashDB
5061 """
5062
5063 if conf.hashDB:
5064 _ = '|'.join((str(_) if not isinstance(_, six.string_types) else _) for _ in (conf.hostname, conf.path.strip('/') if conf.path is not None else conf.port, key, HASHDB_MILESTONE_VALUE))
5065 conf.hashDB.write(_, value, serialize)
5066
5067def hashDBRetrieve(key, unserialize=False, checkConf=False):
5068 """

Callers 15

_finalizeFunction · 0.90
tableExistsFunction · 0.90
columnExistsFunction · 0.90
_saveToHashDBFunction · 0.90
checkWafFunction · 0.90
checkNullConnectionFunction · 0.90
_goBooleanProxyFunction · 0.90
directFunction · 0.90
setDbmsFunction · 0.90
setOsFunction · 0.90
xpCmdshellInitMethod · 0.90
_oneShotUnionUseFunction · 0.90

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…