mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Minor update
This commit is contained in:
@@ -31,6 +31,8 @@ class XMLRPCServer:
|
||||
|
||||
self.server = SimpleXMLRPCServer(addr=("", self.port), logRequests=False, allow_none=True, encoding=UNICODE_ENCODING)
|
||||
for _ in dir(self):
|
||||
if _.startswith("serve"):
|
||||
continue
|
||||
if not _.startswith('_') and isinstance(getattr(self, _), types.MethodType):
|
||||
self.server.register_function(getattr(self, _))
|
||||
logger.info("Registering RPC methods: %s" % str(self.server.system_listMethods()).strip("[]"))
|
||||
|
||||
Reference in New Issue
Block a user