Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support update cookies according to the responses #281

Open
wants to merge 460 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
460 commits
Select commit Hold shift + click to select a range
a96a58e
Fixed bug loading Output plugins
urbanadventurer Dec 2, 2017
6a6e273
Fixed bug in XML output
urbanadventurer Dec 2, 2017
2fc394e
Change url_* target modification globals to opts
bcoles Dec 2, 2017
98a2874
Merge branch '0.5.0-dev' of https://github.com/urbanadventurer/WhatWe…
bcoles Dec 2, 2017
4bac05e
Change max_threads global to opt
bcoles Dec 2, 2017
b5b0d2d
remove NO_THREADS global
bcoles Dec 2, 2017
8409e19
Add test_usage
bcoles Dec 2, 2017
03ea15d
Rename unit tests to integration test
bcoles Dec 2, 2017
d7c9920
Moved certainty_to_words into OutputHelper module. Mixed into Output …
urbanadventurer Dec 2, 2017
6c73fdb
Merge branch '0.5.0-dev' of https://github.com/urbanadventurer/WhatWe…
urbanadventurer Dec 2, 2017
5681387
Created WhatWeb::Parser to parse results yielded from WhatWeb::Scan. …
urbanadventurer Dec 2, 2017
0a86276
mv lib/parser.rb lib/whatweb/parser.rb
bcoles Dec 2, 2017
a2da462
Style update
bcoles Dec 2, 2017
33cc210
Fix typo
bcoles Dec 2, 2017
7ef5e3e
Use root_dir rather than LOAD_PATH
bcoles Dec 2, 2017
ced5d8b
Fix typo
bcoles Dec 2, 2017
e5126de
Remove +plugins-disabled short hand
bcoles Dec 2, 2017
b55d542
Tidy load_plugins
bcoles Dec 2, 2017
847826a
Move dependencies requirements to lib
bcoles Dec 2, 2017
595642e
Move word_wrap method to OutputHelper module
bcoles Dec 2, 2017
525df36
Add plugins to WhatWeb::Scan keyword arguments
bcoles Dec 2, 2017
7ae57c3
in-line eval custom and grep plugins
bcoles Dec 2, 2017
d5b3100
Add Safedog plugin
bcoles Dec 3, 2017
6a9a4cb
Update synology-diskstation plugin
bcoles Dec 3, 2017
57067ab
Fixed bug. Now calling word_wrap and certainty_to_words from OutputHe…
urbanadventurer Dec 3, 2017
63db48c
Check all calls to exit. Added comment.
urbanadventurer Dec 3, 2017
f612f33
Removed Tempfile dependency
urbanadventurer Dec 3, 2017
19c22ee
Changed output names to logging
urbanadventurer Dec 3, 2017
a902a52
Change Output to Logging in WhatWeb:Parser
urbanadventurer Dec 3, 2017
059d7b1
Move PluginSupport class into plugin_support.rb
urbanadventurer Dec 3, 2017
533349b
Decouple scanner from plugins. Note that plugins can launch their own…
urbanadventurer Dec 3, 2017
7ff88d1
Moved PluginChoice class to plugin_support.rb
urbanadventurer Dec 3, 2017
643cbe5
Removed instantiated WhatWeb::Parser and made methods self.
urbanadventurer Dec 3, 2017
6d432fe
Tidy up comments related to moving code out of Scan
urbanadventurer Dec 3, 2017
310bfc7
Setup redirection (no max limit yet)
urbanadventurer Dec 3, 2017
3fe1a85
Implemented redirection.
urbanadventurer Dec 4, 2017
b18954c
Renamed Parser.parse_results to Parser.log_results
urbanadventurer Dec 4, 2017
cf16009
Add Plugin.shutdown_all convenience method
bcoles Dec 4, 2017
5a53c44
Fix JSON logging
bcoles Dec 4, 2017
f730af2
Fix (UTF-8 regexp with ASCII-8BIT string) error with @body.force_enco…
urbanadventurer Dec 4, 2017
a44971d
Return results from WhatWeb::Parse.parse
bcoles Dec 4, 2017
74ba8b0
Raise rather than quit
bcoles Dec 4, 2017
13048f4
Replace MAX_REDIRECTS global with local variable
bcoles Dec 4, 2017
b47f5ca
Move redirection code into WhatWeb::Redirect.new(target, scanner, max…
urbanadventurer Dec 5, 2017
b5323a4
Remove Iconv, which was deprecated in ruby 1.9.3, from lib/target.rb
urbanadventurer Dec 5, 2017
08a93a3
Refactored UTF-8 conversion in Target
urbanadventurer Dec 5, 2017
0711f36
Move redirect.rb into lib/whatweb/
urbanadventurer Dec 5, 2017
3f88ad9
Renamed OutputHelper to Helper
urbanadventurer Dec 8, 2017
bb30eeb
move convert_to_ut8f to Helper Module
urbanadventurer Dec 8, 2017
13023cd
Changed convert_to_ut8f to convert_to_utf8
urbanadventurer Dec 8, 2017
fc34571
Update JSON, ELasticSearch, and MongoDB logging to use Helper utf8 me…
urbanadventurer Dec 8, 2017
4d37716
Update Parser with keyword arguments. parse(target: nil, result: nil,…
urbanadventurer Dec 8, 2017
3a75bed
Update Parser.run_plugins with keyword arguments. Add scanner to run_…
urbanadventurer Dec 8, 2017
7974e8c
Add scanner to ScanContext. Add keyword parameters to ScanContext.new…
urbanadventurer Dec 8, 2017
1f60dea
Add @scanner to ScanContext
urbanadventurer Dec 8, 2017
6a494c6
Removed unnecessary variables line from ScanContext causing aggressiv…
urbanadventurer Dec 8, 2017
02632a6
Removed unnecessary r = [] from ScanContext
urbanadventurer Dec 8, 2017
7b707c4
Add keywords to WhatWeb::Redirect
urbanadventurer Dec 8, 2017
66e1145
whitespace
urbanadventurer Dec 8, 2017
ee7edec
Move banner to keep with at 80 characters
urbanadventurer Dec 8, 2017
8203ce8
Revert keyword parameters for mandatory paramaters
urbanadventurer Dec 8, 2017
4454ec7
Fixed bug in aggressive Apache-Tomcat plugin. Using randstr method now.
urbanadventurer Dec 8, 2017
d40413e
Bug fix for Zend plugin. Changed http_options from string to hash
urbanadventurer Dec 8, 2017
2ec2ad8
Use argument keywords for WhatWeb::Scan.new
bcoles Dec 8, 2017
fb43b5d
Relative require libs
bcoles Dec 8, 2017
2033bba
Add WhatWeb::Scan unit tests
bcoles Dec 8, 2017
026a1ce
Allow targets as string or array of strings
bcoles Dec 8, 2017
ab0ba59
rubocop --auto-correct lib/whatweb/
bcoles Dec 8, 2017
5ab429e
Initialize @website
bcoles Dec 8, 2017
7e3df6b
Added underscore to unused variables in SMF plugin
urbanadventurer Dec 8, 2017
9fb1bfb
Return Hash from WhatWeb::Parser.parse
bcoles Dec 8, 2017
300399a
Update ViewVC plugin
bcoles Dec 8, 2017
ecee6fd
Rename Plugin.inspect to Plugin.pretty_print
bcoles Dec 8, 2017
636fffb
Fix make_target_list URL parsing
bcoles Dec 9, 2017
8526c96
Remove Ruby 1.9 - Ruby 1.x is EOL and no longer supported
andrericardo Feb 10, 2018
e41378e
Fix issue in test_scan where country is not the first result in array
andrericardo Feb 10, 2018
6497bdb
Run rake all in Travis
andrericardo Feb 10, 2018
f0cf13c
Update output.rb
imfht Feb 11, 2018
b57d6cc
Merge pull request #242 from fiht/master
bcoles Feb 11, 2018
16b73ca
Merge pull request #241 from andrericardo/ruby-info
bcoles Feb 11, 2018
50b1054
Merge remote-tracking branch 'upstream/0.5.0-dev' into Issue-238
andrericardo Feb 11, 2018
7777291
bugfix in detecting typo3 version
Phylu Mar 10, 2018
0b8b6ca
bugfix: make typo3 detection even more forgiving
Phylu Mar 10, 2018
5caee9b
feat: detect jquery when version appears in filepath
Phylu Mar 10, 2018
8dfd664
feat: detect jquery when version appears in filepath
Phylu Mar 10, 2018
46742c9
Revert "feat: detect jquery when version appears in filepath"
Phylu Mar 10, 2018
28b19c9
Merge pull request #247 from Phylu/feat/jquery-version-path
urbanadventurer Mar 19, 2018
f3948d4
Merge pull request #246 from Phylu/master
urbanadventurer Mar 19, 2018
242ffe5
Merge pull request #240 from andrericardo/Issue-238
urbanadventurer May 13, 2018
a6cdfa8
Fixed crash upon redirection to an invalid URI.
urbanadventurer Jun 8, 2018
e2a8540
Merge branch 'master' into 0.5.0-dev
urbanadventurer Jun 8, 2018
dd8ca95
Merging master branch commit f0cf13c174809e80ae6c47a2be0c0c08a720ef30
urbanadventurer Jun 8, 2018
1ba2536
Merge branch '0.5.0-dev' of https://github.com/urbanadventurer/WhatWe…
urbanadventurer Jun 8, 2018
b417c64
Update man page
urbanadventurer Jun 8, 2018
233f9b4
Whitespace
urbanadventurer Jun 8, 2018
4e01a58
Fix #253 - Output for elasticsearch v6+
urbanadventurer Jun 8, 2018
bf028cb
Fix #253 - Output for elasticsearch v6+
urbanadventurer Jun 8, 2018
878c87b
Removed instruction to install json gem manually
urbanadventurer Jun 8, 2018
610ece5
Fix #244 by adding require 'openssl' for Ruby 2.4 and 2.5 support.
urbanadventurer Jun 8, 2018
14946ed
Fix #244 by adding require 'openssl' for Ruby 2.4 and 2.5 support.
urbanadventurer Jun 8, 2018
665c354
Updated CHANGELOG
urbanadventurer Jun 9, 2018
10e185a
Added test_deprecated_plugin_format
urbanadventurer Jun 9, 2018
41b6d69
Add debugging gem pry to :test group in Gemfile
urbanadventurer Jun 9, 2018
171e45c
Added pry gem to whatweb for debugging.
urbanadventurer Jun 9, 2018
0be0137
Add test plugin for deprecated plugin format
urbanadventurer Jun 9, 2018
7fa3e5d
Improve error handling in PluginSupport.load_plugins.
urbanadventurer Jun 9, 2018
ce75e1f
Raise Thread errors when WWDEBUG is true
urbanadventurer Jun 17, 2018
d016829
Add test_inform_user_deprecated_plugin to tests. Using open3 to parse…
urbanadventurer Jun 17, 2018
840d3f4
Remove test_deprecated_plugin_format
urbanadventurer Jun 17, 2018
107ab96
Added test_idn_domains to test IDN domains
urbanadventurer Jun 17, 2018
78d345a
Removed gggooglescan. The Google scraper is unmaintained and no longe…
urbanadventurer Jun 17, 2018
9b5f088
Resolve rake warnings in lib/target.rb.
urbanadventurer Jun 17, 2018
d25945c
Resolve rake warnings in lib/extend-http.rb.
urbanadventurer Jun 17, 2018
e7fa0a6
Fixed bug in Basic Auth credentials parsing
rmaksimov Jul 2, 2018
bd2f715
Ported BASIC_AUTH parsing fix from @rmaksimov.
urbanadventurer Jul 5, 2018
a59845f
Merge pull request #259 from rmaksimov/basic-auth-fix
urbanadventurer Jul 5, 2018
ed7b945
adds Odoo plugin
naglis Jun 27, 2018
e142cc6
Merge pull request #262 from naglis/add-odoo
urbanadventurer Sep 6, 2018
3531d16
Updated Django plugin. Thanks @zr000
Nov 9, 2018
22f6122
Added new WordPress versions to detect, up to 5.0.2
ajgon Jan 9, 2019
579845e
Added author to wordpress plugin update
ajgon Jan 17, 2019
44fde61
added logo
urbanadventurer Feb 20, 2019
1420e9f
Merge pull request #273 from ajgon/feat/wordpress
urbanadventurer Feb 24, 2019
4184db2
Fix #271 #257 #274 #277. Bug caused whatweb to exit with no output. T…
Jun 8, 2019
755aa01
Fix #271 #257 #274 #277. Bug caused whatweb to exit with no output. T…
Jun 8, 2019
7d8e972
Updated CHANGELOG
Jun 8, 2019
490f725
Bump Typo3 plugin to v0.4. Give Janosch Maier @Phylu credit.
Jun 9, 2019
0a1c702
Version bump jquery plugin to 0.5. Give Janosch Maier @Phylu credit.
Jun 9, 2019
056a2f1
updated plugins in CHANGELOG
Jun 9, 2019
da93843
Gave rmaksimov credit for HTTP Basic Auth bug fix
Jun 9, 2019
e66fb94
Updated README with names
Jun 9, 2019
02dae7f
adds Odoo plugin
naglis Jun 27, 2018
4abb862
Add odoo plugin and Naglis Jonaitis (@naglis) to CHANGELOG and README
Jun 9, 2019
276d50e
Convert odoo plugin to new format
Jun 9, 2019
b7bbc04
Added new WordPress versions to detect, up to 5.0.2
ajgon Jan 9, 2019
18fc7b7
Merge wordpress plugin
ajgon Jan 17, 2019
84af99b
Credit @ajgon (Igor Rzegocki) in README and CHANGELOG
Jun 9, 2019
2bc2feb
Added festos plugin. Not sure why it wasn't included
Jun 9, 2019
4c723c8
Merge branch '0.5.0-dev'
Jun 9, 2019
b086a8b
Version bump in README and CHANGELOG
Jun 9, 2019
af38d89
Changed version from 0.5.0-dev to 0.5.0
Jun 9, 2019
2128134
Add GPLv2 license shield to README
Jun 9, 2019
96e6a0e
Removed hunter addon because it relies on the deprecated script gggoo…
Jun 9, 2019
147cfb1
Added WhatWeb icons
Jun 9, 2019
a5cfaaf
use require_relative in lib/whatweb.rb to fix bug when loading from a…
Jun 9, 2019
d16ca07
Fix bug with loading plugins. Load plugins from either the plugins/ f…
Jun 9, 2019
c7ca3b6
Add rb-readline to Gemfile. Needed by Gem pry on some systems
Jun 9, 2019
9fa42cd
Updated required gem detection. Added development Gem group with pry …
Jun 9, 2019
15cd4c8
Update Simplified matches and fixed warning: character class has dupl…
Jun 9, 2019
cda9469
Fix warning: character class has duplicated range
Jun 9, 2019
0c01b09
Fix warning: character class has duplicated range
Jun 9, 2019
b410930
warning: Dir.exists? is a deprecated name, use Dir.exist? instead
Jun 9, 2019
d0e4944
warning: shadowing outer local variable - thisgem
Jun 9, 2019
af2f679
Clean up rescues and fix warning: assigned but unused variable - err
Jun 9, 2019
95ae89b
Fix warning: character class has duplicated range
Jun 9, 2019
9b0cc21
Fix warning: character class has duplicated range
Jun 9, 2019
c16232b
Fix warning: character class has duplicated range
Jun 9, 2019
e470925
Fix warning: character class has duplicated range
Jun 9, 2019
770cbcc
Fix warning: character class has duplicated range
Jun 9, 2019
ee0edbf
Fix warning: character class has duplicated range
Jun 9, 2019
bebb9d5
Fixed false positves for model regex. Fix warning: character class ha…
Jun 9, 2019
6f47327
Fix warning: character class has duplicated range
Jun 9, 2019
4205a48
Fix warning: character class has duplicated range
Jun 9, 2019
8a0e64a
Fix warning: character class has duplicated range
Jun 9, 2019
3c736e2
Fix warning: character class has duplicated range
Jun 9, 2019
3e7bb3e
Fix warning: character class has duplicated range
Jun 9, 2019
8cac3ad
Fix false negative matches and fix warning: character class has dupli…
Jun 9, 2019
5d9b69b
Fix warning: character class has duplicated range
Jun 9, 2019
a02e98d
Fix warning: character class has duplicated range
Jun 9, 2019
8671286
Removed the OPTIONAL DEPENDENCIES output suggesting mongo and rcharde…
Jun 9, 2019
ecf2b16
Removed checks for JSON gem in JSON logging usage. JSON is checked fo…
Jun 9, 2019
559d0b6
Changed mongo logging error message
Jun 9, 2019
c84a4c8
Update CHANGELOG
Jun 9, 2019
8b5a9da
Add icons to CHANGELOG
Jun 9, 2019
08a6ea7
Update README to match version 0.5.0
Jun 9, 2019
e4e4742
More README
Jun 9, 2019
0dd7c9c
Updated all links to morningstarsecurity.com to use https
Jun 9, 2019
b75ff4a
Update all copyright notices to Copyright 2009 to 2019 Andrew Horton …
Jun 10, 2019
89eacd1
Reduced the size of the short usage help.
Jun 10, 2019
d31ea6e
Put spacing into EXAMPLE USAGE
Jun 10, 2019
ab52da7
Updated CHANGELOG
Jun 10, 2019
dbc1a11
Updated CHANGELOG again
Jun 10, 2019
6b6a1ad
Added plugin-development/plugin-tutorials.txt
Jun 10, 2019
96d6dd5
Updated the plugin-tutorials.txt description.
Jun 10, 2019
0d4f383
Updated comments to show version changes and authors
Jun 10, 2019
dd9c2a6
Updated the IpToCountry database
Jun 10, 2019
3e2e62f
Updated the Alex top lists
Jun 10, 2019
bc56fc2
Removed the Fortune 100 companies list from 2010
Jun 10, 2019
869b44e
Fixed website field. Removed "Homepage:"
Jun 10, 2019
623166d
Fixed website field. Removed "Homepage:"
Jun 10, 2019
942eea4
Fixed website field. Removed "Homepage:"
Jun 10, 2019
60bb54e
Fixed website field. Removed "Homepage:"
Jun 10, 2019
c5a9df4
Fixed website field. Removed "Homepage:"
Jun 10, 2019
76ce6d7
Added website field
Jun 10, 2019
3fb9389
Added website field
Jun 10, 2019
7387826
Added website field
Jun 10, 2019
5ed438e
Added website field
Jun 10, 2019
9cf62dd
Added website field.
Jun 10, 2019
3d4e59f
Added website field.
Jun 10, 2019
ac8b3ac
Added website field.
Jun 10, 2019
e79380f
Added website field.
Jun 10, 2019
10b1e48
Added website field.
Jun 10, 2019
be35833
Added website field.
Jun 10, 2019
60a8679
Added website field.
Jun 10, 2019
80d2552
Added website field.
Jun 10, 2019
d0948b6
Changed plugin list behaviour to show Plugin Names and Websites inste…
Jun 10, 2019
b1f2762
Removed some commented code
Jun 10, 2019
64edff8
Updated CHANGELOG
Jun 10, 2019
4e97769
Skip Easter Egg plugin in plugin listing
Jun 10, 2019
ce84699
Skip Easter Egg plugin in plugin-info output
Jun 10, 2019
a67f31e
Added website field
Jun 10, 2019
2da57f5
Added website field
Jun 10, 2019
16a465a
Added website field
Jun 10, 2019
427e080
Added website field
Jun 10, 2019
235da91
Added website field
Jun 10, 2019
4f0f954
Added website field
Jun 10, 2019
4e7be02
Added website field
Jun 10, 2019
d83e9c3
Added website field
Jun 10, 2019
b865d04
Added website field
Jun 10, 2019
72c5ad6
Added website field
Jun 10, 2019
e4b9309
Fix issue #268 in meta-refresh-plugin
Jun 10, 2019
8b04abc
Fix #268 in get_redirection_target. Thanks @bcoles
Jun 10, 2019
65a557a
Cleaned up the decode_html_entities function
Jun 10, 2019
68698b0
Update README.md
urbanadventurer Jun 11, 2019
5db4e90
Update README.md
urbanadventurer Jun 11, 2019
b9a3291
Add gem checking to convert-plugin-authors.rb
Jun 12, 2019
348f6f4
Add editor checking to convert-plugin-authors.rb
Jun 12, 2019
51fc151
Added Melvil Guillaume (@mguillau42) to README
Jun 12, 2019
8c9cf4b
Add brackets
Jun 12, 2019
80ca6f7
Add Usage message to convert-plugin-authors
Jun 12, 2019
3bec112
Rename convert-plugin-authors.rb -> migrate-plugins-to-v0.5.rb
Jun 12, 2019
27048da
Check plugin path exists
Jun 12, 2019
bea99d0
Use abort instead of puts and exit
Jun 12, 2019
2dd1feb
Warn user plugin file is modified
Jun 12, 2019
ffd93ec
Update error if plugin already converted
Jun 12, 2019
16c0f32
Backup plugin before converting
Jun 12, 2019
ff41897
Expand Usage and colorize more output
Jun 12, 2019
9b04dd7
improve prompt
Jun 12, 2019
6ddbe17
Update Usage
Jun 12, 2019
3e3f80a
Add output about saving file
Jun 12, 2019
7e1efc9
Updated CHANGELOG
Jun 12, 2019
2953146
Rename unused variables in Version Class
Jun 14, 2019
9a0bc2c
Rename unused variable
Jun 14, 2019
ce02e95
let's fix some spelling typos
paralax Jun 21, 2019
23bd6cf
fix a comment typo in two spots, no code changes
paralax Jun 21, 2019
7885799
Merge pull request #279 from paralax/patch-1
urbanadventurer Jun 23, 2019
19c5705
Support --update-cookies
gsfish Sep 24, 2019
bad713e
Support --update-cookies
gsfish Sep 24, 2019
12b241d
Simplify cookie updating
gsfish Sep 24, 2019
27a90d4
Remove puts
gsfish Sep 24, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change Output to Logging in WhatWeb:Parser
  • Loading branch information
urbanadventurer committed Dec 3, 2017
commit a902a522096fb34dfc77d0d66b168dc6b4142443
10 changes: 5 additions & 5 deletions lib/whatweb/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@

module WhatWeb
class Parser
def parse_results(target, result, output_list, use_custom_grep_plugin)
def parse_results(target, result, logging_list, use_custom_grep_plugin)
# results
output_list.each do |output|
logging_list.each do |log|
begin
# Hide output if Grep plugin did not match
# Hide log if Grep plugin did not match
if use_custom_grep_plugin
if result.map { |plugin_name, _plugin_result| plugin_name }.include? 'Grep'
output.out(target, target.status, result)
log.out(target, target.status, result)
end
else
output.out(target, target.status, result)
log.out(target, target.status, result)
end
rescue => err
error("ERROR Logging failed: #{target} - #{err}")
Expand Down