Browse Source

fixed xml-rpc test

psy 10 months ago
parent
commit
96ca128edb
1 changed files with 1 additions and 4 deletions
  1. 1 4
      core/main.py

+ 1 - 4
core/main.py

@@ -2345,11 +2345,8 @@ class UFONet(object):
                             rpc_pingback_url = rpc_host + "/xmlrpc.php"
                             rpc_vulnerable = False
         except: # something wrong discovering XML-RPC Pingback
-            if not self.options.testall:
-                rpc_pingback_url = str(rpc_host.path) + "/xmlrpc.php"
-            else:
-                rpc_pingback_url = str(rpc_host) + "/xmlrpc.php"
             rpc_vulnerable = False
+            rpc_pingback_url = False
         return rpc_vulnerable, rpc_pingback_url
 
     def testing_offline(self):