mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Hmmm... Let me guess. Update for an Issue #287
This commit is contained in:
parent
921000bd87
commit
e381158058
3 changed files with 26 additions and 13 deletions
|
|
@ -59,7 +59,7 @@ def xmlRpcServe():
|
|||
server = XMLRPCServer(cmdLineOptions.xmlRpcPort or XMLRPC_SERVER_PORT)
|
||||
def emit(self, record):
|
||||
message = stdoutencode(FORMATTER.format(record))
|
||||
sys.stdout.write("%s\n" % message)
|
||||
sys.stdout.write("%s" % message)
|
||||
LOGGER_HANDLER.emit = types.MethodType(emit, LOGGER_HANDLER, type(LOGGER_HANDLER))
|
||||
sys.stdout = StringIO.StringIO()
|
||||
sys.stderr = StringIO.StringIO()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue