Last active
October 17, 2019 09:21
-
-
Save ethicalhack3r/0629b4693118488058c5df47476e7de9 to your computer and use it in GitHub Desktop.
Revisions
-
ethicalhack3r revised this gist
Oct 17, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ filename = ARGV[0] def check_wordpress( website ) WPScan::Browser.instance( disable_tls_checks: true ) WPScan::Target.new( website ).wordpress?(:mixed) end -
ethicalhack3r created this gist
Oct 17, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ #!/usr/bin/env ruby require 'wpscan' require 'uri' filename = ARGV[0] def check_wordpress( website ) WPScan::Browser.instance(user_agent: I18n.t('website_checker.user_agent'), disable_tls_checks: true) WPScan::Target.new( website ).wordpress?(:mixed) end File.foreach( filename ).with_index do |website, line_num| website = website.chomp! is_wordpress = check_wordpress( website ) puts "#{line_num} #{website} #{is_wordpress}" end