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

Method send

lib/core/subprocessng.py:93–107  ·  view source on GitHub ↗
(self, input)

Source from the content-addressed store, hash-verified

91
92 if IS_WIN:
93 def send(self, input):
94 if not self.stdin:
95 return None
96
97 try:
98 x = msvcrt.get_osfhandle(self.stdin.fileno())
99 (_, written) = WriteFile(x, input)
100 except ValueError:
101 return self._close('stdin')
102 except Exception as ex:
103 if getattr(ex, "args", None) and ex.args[0] in (109, errno.ESHUTDOWN):
104 return self._close('stdin')
105 raise
106
107 return written
108
109 def _recv(self, which, maxsize):
110 conn, maxsize = self.get_conn_maxsize(which, maxsize)

Callers 5

send_recvMethod · 0.95
_start_transactionMethod · 0.80
_check_localhostMethod · 0.80
getPageMethod · 0.80
send_allFunction · 0.80

Calls 4

_closeMethod · 0.95
filenoMethod · 0.80
selectMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected