lib/wmap/utils/wp_detect.rb
# Wordpress detection checkpoint - xml-rpc
Wordpress detection checkpoint - xml-rpc
Wordpress detection checkpoint - xml - rpc
def wp_rpc?(url)
  		site=url_2_site(url)
  		rpc_url=site + "xmlrpc.php"
      k=Wmap::UrlChecker.new
      if k.response_code(rpc_url) == 405 
        k=nil
        return true
      end
  		return false
  	rescue => ee
  		puts "Exception on method #{__method__} for url #{url}: #{ee}" if @verbose
  		return false
    end
def wp_rpc? ( url ) site = url_2_site ( url ) rpc_url = site + "xmlrpc.php" k = Wmap :: UrlChecker . new if k . response_code ( rpc_url ) == 405 k = nil return true end return false rescue => ee puts "Exception on method #{__method__} for url #{url}: #{ee}" if @verbose return false end
Wordpress detection checkpoint - xml-rpc
Wordpress detection checkpoint - xml - rpc
#puts "res code", k.response_code(rpc_url) # method not allowed
url
<not_specific>