lib/wmap/utils/wp_detect.rb
# Wordpress detection checkpoint - wp-login
Wordpress detection checkpoint - wp-login
Wordpress detection checkpoint - wp - login
def wp_login?(url)
  		site=url_2_site(url)
  		login_url=site + "wp-login.php"
      k=Wmap::UrlChecker.new
      if k.response_code(login_url) == 200
        k=nil
        doc=open_page(login_url)
        links=doc.css('link')
        if links.to_s =~ /login.min.css/i
          return true
        else
          return false
        end
      end
  		return false
  	rescue => ee
  		puts "Exception on method #{__method__} for url #{url}: #{ee}" if @verbose
  		return false
    end
def wp_login? ( url ) site = url_2_site ( url ) login_url = site + "wp-login.php" k = Wmap :: UrlChecker . new if k . response_code ( login_url ) == 200 k = nil doc = open_page ( login_url ) links = doc . css ( 'link' ) if links . to_s =~ / login.min.css /i return true else return false end end return false rescue => ee puts "Exception on method #{__method__} for url #{url}: #{ee}" if @verbose return false end
Wordpress detection checkpoint - wp-login
Wordpress detection checkpoint - wp - login
url
<not_specific>