mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 08:52:20 +01:00
Minor update
This commit is contained in:
parent
df0f08bc6a
commit
c040323821
1 changed files with 2 additions and 0 deletions
|
|
@ -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("[]"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue