Commit Graph

373 Commits

Author SHA1 Message Date
urbanadventurer ea597dc157 Only pass local_port if it's set 2020-08-06 21:31:12 +10:00
urbanadventurer baf8e90ee9 remove debugging output 2020-08-06 21:30:49 +10:00
urbanadventurer 8f65416137 move setting local_host and local_port after creating ExtendedHTTP object in Target.open_url 2020-08-05 23:56:32 +10:00
urbanadventurer 7cba3f4b28 raise better error 2020-08-05 23:52:19 +10:00
urbanadventurer dadf943d2b move @local_host and @local_port into connect 2020-08-05 23:44:03 +10:00
urbanadventurer 70234d71d9 Changed initialize arguments 2020-08-05 23:34:27 +10:00
urbanadventurer 4b9cf0fd7c More debugging, set variables to nil 2020-08-05 23:16:49 +10:00
urbanadventurer ca6916e0f4 Adding debugging output 2020-08-05 22:39:43 +10:00
urbanadventurer 1747900011 Updated CHA
update changelog and enable debugging
2020-08-04 23:30:04 +10:00
urbanadventurer aa3e5ce4b4 Add requirement for socket library 2020-08-04 22:41:47 +10:00
Andrew Horton 73520a77f6 Merge pull request #303 from audibleblink/feature/iface
adds ability to specify bind address
2020-08-04 22:10:36 +10:00
urbanadventurer b968f5ba6e Version bump to 0.5.2 2020-06-09 23:20:51 +04:00
Lars Kulseng 72e92c080f Set the default mongodb log level to FATAL 2020-05-05 17:31:59 +02:00
audiblelblink c7172b7cf6 adds ability to specify bind address 2020-04-29 18:26:23 -04:00
Weidsom Nascimento b4ff844ff3 Fix some warnings of "URI.escape is obsolete"
Simple fix
2020-02-25 18:16:33 -03:00
urbanadventurer 628a4b85af Fix #289 - removed empty array at end of JSON output 2020-01-22 07:33:56 +11:00
urbanadventurer 694eda18c4 Update Copyright strings to 2020 2020-01-22 07:12:48 +11:00
urbanadventurer a696f86151 Fix #288. When target lists are empty it now outputs an error() message and returns instead of using raise(). 2020-01-22 07:05:22 +11:00
urbanadventurer 4fcd2b18f5 Version bump to 0.5.1 2019-11-20 01:59:33 +11:00
urbanadventurer 12c8630dc0 Rename unused variable 2019-06-15 03:40:57 +10:00
urbanadventurer 96b3863469 Rename unused variables in Version Class 2019-06-15 03:40:07 +10:00
urbanadventurer a271d9b4ee Cleaned up the decode_html_entities function 2019-06-10 21:45:51 +10:00
urbanadventurer 62ebc57cc2 Fix #268 in get_redirection_target. Thanks @bcoles 2019-06-10 21:19:42 +10:00
urbanadventurer e7aa62acf3 Skip Easter Egg plugin in plugin-info output 2019-06-10 12:06:53 +10:00
urbanadventurer ac29a4066d Skip Easter Egg plugin in plugin listing 2019-06-10 12:05:29 +10:00
urbanadventurer e883187e7b Removed some commented code 2019-06-10 12:01:05 +10:00
urbanadventurer 2cb1e6d4c5 Changed plugin list behaviour to show Plugin Names and Websites instead of a truncated description. 2019-06-10 11:59:05 +10:00
urbanadventurer 2ea39d07da Update all copyright notices to Copyright 2009 to 2019 Andrew Horton and Brendan Coles 2019-06-10 10:00:56 +10:00
urbanadventurer 3a6c7a8ae0 Clean up rescues and fix warning: assigned but unused variable - err 2019-06-10 06:11:06 +10:00
urbanadventurer 13086e21ba warning: shadowing outer local variable - thisgem 2019-06-10 06:06:20 +10:00
urbanadventurer 8f0684c5b5 warning: Dir.exists? is a deprecated name, use Dir.exist? instead 2019-06-10 06:04:02 +10:00
urbanadventurer e85eaad7db Updated required gem detection. Added development Gem group with pry and rb-readline. 2019-06-10 05:11:35 +10:00
urbanadventurer b57e003458 Fix bug with loading plugins. Load plugins from either the plugins/ folder relative to the WhatWeb file, or from /usr/share/whatweb/ 2019-06-10 04:23:58 +10:00
urbanadventurer 4b83a3a8f3 use require_relative in lib/whatweb.rb to fix bug when loading from a different CWD 2019-06-10 03:04:07 +10:00
urbanadventurer faa407c3bf Changed version from 0.5.0-dev to 0.5.0 2019-06-10 00:15:22 +10:00
urbanadventurer b63bf39061 Fix #271 #257 #274 #277. Bug caused whatweb to exit with no output. Thanks @mguillau42 for tracking down this race condition. 2019-06-09 07:37:58 +10:00
urbanadventurer 1c6f3133ab Resolve rake warnings in lib/extend-http.rb.
Commented out an unused variable and changed indentation.
2018-06-17 23:29:50 +10:00
urbanadventurer da4a460f6b Resolve rake warnings in lib/target.rb.
Changed rescue => to rescue, and commented out the variable no_redirects=true, which is never used
2018-06-17 23:24:06 +10:00
urbanadventurer 2192909f7d Improve error handling in PluginSupport.load_plugins.
Detects deprecated plugin loading and gives an appropriate message.
Displays filename of plugin within error message.
Raises on error if WWDEBUG is true for all errors during plugin loading.
Fixed typo when interrupt is received.
2018-06-10 02:40:20 +10:00
urbanadventurer 68e5187b5d Added pry gem to whatweb for debugging. 2018-06-10 02:34:53 +10:00
urbanadventurer ee0038f65c Fix #244 by adding require 'openssl' for Ruby 2.4 and 2.5 support. 2018-06-09 05:34:56 +10:00
urbanadventurer 1e7fcf152a Fix #253 - Output for elasticsearch v6+
req.add_field('Content-Type', 'application/json')
2018-06-09 02:03:22 +10:00
urbanadventurer 1fcf4e8f21 Merge branch '0.5.0-dev' of https://github.com/urbanadventurer/WhatWeb into 0.5.0-dev 2018-06-09 01:36:48 +10:00
urbanadventurer 906191d763 Merging master branch commit f0cf13c174
Add semi-colon to SQL INSERT statement
2018-06-09 01:32:55 +10:00
urbanadventurer 5467e789c8 Fixed crash upon redirection to an invalid URI.
Removed code in get_redirection_target to downcase an HTTP URI prefix as it is unnecessary and URI.join downcases it anyway.
2018-06-09 00:46:53 +10:00
Brendan Coles 88d974206b Fix make_target_list URL parsing 2017-12-09 23:05:14 +00:00
Brendan Coles ceb3acfd8f Rename Plugin.inspect to Plugin.pretty_print 2017-12-08 22:25:03 +00:00
Brendan Coles 1b6204b14a Return Hash from WhatWeb::Parser.parse 2017-12-08 20:50:44 +00:00
Brendan Coles 2b6a5a17b8 Initialize @website 2017-12-08 20:13:19 +00:00
Brendan Coles 7e4ecf9c0a rubocop --auto-correct lib/whatweb/ 2017-12-08 20:12:53 +00:00