Commit Graph

425 Commits (7dc14f59f473b800a10cf84e9118ef51d285042a)

Author SHA1 Message Date
Louis Sato 3ced5aece1
added default name for nexpose site cred 2017-01-25 10:30:30 -06:00
Jeffrey Martin eeba1e0bb2
first pass of upgrading nexpose gem to latest 2017-01-25 10:16:48 -06:00
Brent Cook f69b4a330e handle Ruby 2.4 Fixnum/Bignum -> Integer deprecations 2017-01-22 10:20:03 -06:00
William Vu ac28c70dab Add database check to WMAP plugin 2016-12-31 17:39:46 -06:00
Dennis Herrmann 8c99a1a00d Refactor "et"-Hashmap in nessus.rb 2016-12-13 22:36:03 +01:00
Dennis Herrmann ce202cb9b2 Fix issue #7434 - nessus_db_scan_workspace: wrong number of arguments 2016-12-10 11:38:30 +01:00
David Maloney 4285e4ce15
fix nexpose plugin to handle exception on scan
launching a nexpose scan from the plugin no longer results
in a stack trace, it instead displays the nexpose error

MS-289
2016-10-31 13:54:05 -05:00
Tiago Sintra a75e5480a1 Update nessus.rb - Fix issues reported on #7391
Fixes various functions which invoked scan_export_status and were not processing the result correctly.
The function now returns an array (from JSON.parse) instead of a string.
Also it takes in consideration the "loading" stage of the export procedure.
2016-10-04 01:03:38 +02:00
David Maloney 30d5b22914
Land #7093 , nessus_scan_workspace
lands sjcaldwell's pr for the nessus_scan_workspace
command
2016-09-30 15:15:57 -05:00
SJCaldwell 7144d2c96a Put missing nessus_scanner_list command back where it's supposed to be.
Must have deleted the line by accident somehow.
2016-09-26 05:26:43 -04:00
yasulib 8743f01130 Fix #7267, Fix Wrong IDs on openvas plugin 2016-09-10 09:37:49 +09:00
Pearce Barry bd71df55c3
Merge branch 'nessus-bridge-gem' of git://github.com/kost/metasploit-framework into kost-nessus-bridge-gem
Also fix minor merge conflict.
2016-08-30 17:25:46 -05:00
dmohanty-r7 0c618cccef Use openvas-omp gem for crud operations
MS-1718
2016-08-19 15:14:32 -05:00
dmohanty-r7 4478136065 Unvendor openvas-omp gem
MS-1718
2016-08-19 15:14:32 -05:00
Vlatko Kosturjak 46e4ee4c5b Start using gem instead of obsolete library/tool
Rationale is following:
nessus-cli is obsolete
nessus is using json rest api instead of xmlrpc
xmlrpc name is therefore obsolete

Solution: with minimal changes start using nessus_rest gem.
2016-08-14 17:57:33 +02:00
David Maloney eb73a6914d
replace old rex::ui::text::table refs
everywhere we called the class we have now rewritten it
to use the new namespace

MS-1875
2016-08-10 13:30:09 -05:00
David Maloney 3f530f1896
remove rex::ui::text:table
remove the class from msf, and update the rex-text
gem to pull the code in under the new version at Rex::Text::Table
modify all requires appropriately

MS-1875
2016-08-10 13:24:25 -05:00
SJCaldwell e060eaca4a
Updated print status output 2016-07-11 22:03:35 -04:00
SJCaldwell 79f220d5cf
Adds command nessus_db_scan_workspace that allows user to choose
which workspace will be scanned.
2016-07-11 21:20:12 -04:00
Josh Hale ffa340500f Tweek migration - Check rights to process before migrate 2016-07-10 19:05:59 -05:00
HD Moore 7f6237582e Remove idle from usage, will implement in the future if needed 2016-05-15 12:32:05 -05:00
HD Moore 8e2c59c852 Disable webcam by default, webcam_stop can crash sessions 2016-05-15 11:49:22 -05:00
HD Moore 00a253ca60 Whitespace cleanup 2016-05-15 01:35:05 -05:00
HD Moore 05dbee7a94 Do not save empty keystrokes 2016-05-15 00:52:26 -05:00
HD Moore da714e37b8 Skip stale sessions 2016-05-15 00:41:48 -05:00
HD Moore a6bf624b31 Fun plugin to monitor keys/screens/webcams of active sessions 2016-05-15 00:24:58 -05:00
wchen-r7 98f89ca23a
Land #6794, Fixed yard doc errors 2016-04-21 13:16:45 -05:00
thao doan 5e36a3128c Fix #5197, Fixed yard doc errors
Fix #5197 Fixed issues that caused errors during yard doc generation
2016-04-21 13:06:00 -05:00
Brent Cook 57ab974737 File.exists? must die 2016-04-21 00:47:07 -04:00
Brent Cook 0edc7fb2c5 whitespace fixes 2016-03-15 22:08:25 -05:00
Brent Cook c8ad1b6017 use the framework version in nessus plugin 2016-03-15 22:08:04 -05:00
William Vu c6d55dd78d
Land #6517, search for Nessus plugin 2016-03-13 23:36:42 -05:00
RageLtMan 2b24e8363e Fix nessus_family_list
The list must be iterated from the families key, or it will raise
a type error.
2016-02-13 15:36:04 -05:00
RageLtMan 95da031429 Remove vestigial conditional - thx Egypt 2016-02-13 14:45:25 -05:00
RageLtMan ae38403bc2 Remove empty print_status() lines
Per Egypt's request and with Void-in's blessing, empty calls to
print_status() are now removed.
2016-02-04 02:36:19 -05:00
William Vu b28444777f Add *args to #respond_to?
Technically include_all = false, but *args is lazy mode.
2016-02-02 14:36:51 -06:00
nixawk 48f72357b5 failed to unload event_tester / exit msfconsole 2016-02-02 19:56:02 +08:00
RageLtMan 2a71d32eec Fix cmd_nessus_server_properties help text
cmd_nessus_server_properties help text was incorrect and referred
to nessus_server_feed. Fix the help text to correctly reflect
command name.

Thanks @void-in
2016-02-01 01:49:58 -05:00
RageLtMan 4992c5c3c5 Nessus plugin - add search to relevant commands
Utilize the SearchTerm param in Rex' Tables to filter scrolling
outputs.
Clean up argument parsing (implement one of the MSF standards).
Update help commands to reflect changes

Testing: basic functional tests only so far
2016-01-31 22:13:54 -05:00
Lluis Mora 1782e988d4 Fix mispelling in nessus plugin help 2015-12-22 13:42:49 +01:00
Brent Cook c301c7c7b0 use wav with sounds plugin for windows / linux compat 2015-12-08 16:20:44 -06:00
wchen-r7 ecfcdbe875 rm extra "excellent" 2015-11-25 23:49:44 -06:00
wchen-r7 d44224142e Update audio files 2015-11-25 23:41:18 -06:00
wchen-r7 776455d10a Add another sound and event
Add sound: "We've got a shell"
Add event on_session_fail
2015-11-25 22:46:51 -06:00
wchen-r7 fa32f43ee4 Muts says "Try harder!" or "Excellent" for the sounds plugin
With the sounds plugin, muts will say "excellent!" when a session
is received. If a session is terminated (either exited or lost),
muts will say "try harder!"
2015-11-25 18:06:58 -06:00
William Vu 77fae28cd4 Add -q option to msfd to disable banner 2015-10-07 01:57:58 -05:00
Spencer McIntyre 35ca8ad328 Add doc changes from proofreading 2015-10-01 20:49:13 -04:00
Spencer McIntyre fe4fdb1e48 Add YARD documentation to the requests plugin 2015-10-01 20:38:39 -04:00
Spencer McIntyre 0313f0b0cf Check for a nil header value 2015-06-02 18:31:48 -04:00
Joshua Smith fa9a222d97 changes type handling to be fully automatic 2015-05-29 13:50:45 -04:00
Joshua Smith b236187e3f restores proper -u usage 2015-05-29 13:50:45 -04:00
Joshua Smith 7d896ba5d2 removes a proxy vestige 2015-05-29 13:50:44 -04:00
Joshua Smith f1e48b9334 genericizes http request plugin 2015-05-29 13:50:44 -04:00
Joshua Smith cefec81dbd move plugins/http to plugins/request 2015-05-29 13:50:44 -04:00
Spencer McIntyre 2e8e350608 Rename the http_requests plugin and command to httpr 2015-05-29 13:50:44 -04:00
Spencer McIntyre 59f40d73e3 Rename the requests plugin to http_requests 2015-05-29 13:50:44 -04:00
Spencer McIntyre 2070934758 Improve output file handling and expand_path 2015-05-29 13:50:44 -04:00
Spencer McIntyre 72650d72b1 Use an authorization header and fix uri.path 2015-05-29 13:50:44 -04:00
Spencer McIntyre 50b2ae477f Add a plugin for making curl-like http requests 2015-05-29 13:50:43 -04:00
Brent Cook 9549d572cc
Land #5280, update to Ruby on Rails 4.0
This upgrades a number of other gems as a side-effect.
2015-05-12 16:48:49 -05:00
wchen-r7 7b5da6f266
Land #5241, sqlmap parsing fixes 2015-05-07 14:21:20 -05:00
wchen-r7 eb84c8b89c Fix NilClass bugs 2015-05-07 14:20:25 -05:00
darkbushido 26e7fe15f9
Merge branch 'upstream' into staging/rails-4.0
Conflicts:
	Gemfile.lock
2015-05-05 11:00:38 -05:00
void-in 6a286fd514 Single quotes a per ruby style 2015-05-02 15:18:25 +05:00
void_in e5847f0ddc Return only json type from lib as per wchen-7 suggestion 2015-05-02 15:11:59 +05:00
Brent Cook 97d671d156 allow overriding the default timeout for a session 2015-05-01 15:04:55 -05:00
darkbushido 0b608e139a
Merge branch 'upstream' into staging/rails-4.0 2015-05-01 11:26:24 -05:00
wchen-r7 89d026c900 Fix merge conflict 2015-04-30 12:33:45 -05:00
Matt Buck 3f797e4393 Reinstate some to_s coercions that were mistakenly dropped 2015-04-30 11:13:48 -05:00
Matt Buck 8163c3cdda Merge branch 'master' into staging/rails-4.0
Conflicts:
	Gemfile.lock
	plugins/nessus.rb
2015-04-28 15:33:46 -05:00
Matt Buck 6a4d63ca4f Drop explicit IPAddr to String coercion
MSP-12611
2015-04-27 10:48:13 -05:00
William Vu 655e819838 Fix indentation 2015-04-24 11:03:31 -05:00
root fae338d0ae Take out irrelevant file plugin/sqlmap.rb 2015-04-24 12:09:49 +05:00
root 62cb0c8749 Take out irrelevant files (nessus) 2015-04-24 12:06:04 +05:00
root 028f5e119d sqlmap plugin update to fix connection errors 2015-04-24 12:00:50 +05:00
root 624adbaaca Consistent downcase comparison 2015-04-23 12:07:59 +05:00
root 19beafe009 scan_export_status patch for issue 5217 2015-04-23 12:04:02 +05:00
root 93dc809e74 Correct the quotes 2015-04-22 11:06:59 +05:00
root 40107577a0 Case insensitive plugin unload 2015-04-22 11:04:46 +05:00
Matt Buck 5e2d6c27c3
Merge branch 'master' into staging/rails-4.0
Conflicts:
	Gemfile.lock
	db/schema.rb
	lib/msf/core/db_manager/session.rb
	metasploit-framework-db.gemspec
2015-04-06 11:27:00 -05:00
root 4ba761986f Correct YARD doc comments 2015-04-02 16:14:25 +05:00
sekritskwurl d1c6db5e4e Update nessus.rb
updated as per wchen-r7's comment's, Thank you wchen-r7!
2015-03-27 19:44:11 -04:00
sekritskwurl bb929d416d Update nessus.rb
Add support for imported nessus scan results to be imported with nessus_db_import.
2015-03-27 14:32:01 -04:00
Matt Buck c26dfa263d
Ensure IP addresses are explicitly converted to strings
MSP-12113
2015-03-24 16:26:00 -05:00
Samuel Huckins 08df0bfaca
Land #4858, RPC client true/truthy fix
* Misc ruby cleanup and fixing the issue that caused MSP-12235, rolling back the
full rollback of PR 4823
2015-03-09 11:35:57 -05:00
sinn3r 9e5231f951 More explicit and better readability
thanks Sam!
2015-03-09 00:16:56 -05:00
William Vu c3e91c263f Fix NoMethodError in plugins/nessus.rb
Triggered by @port.length in nessus_login from YAML.
2015-03-07 17:56:12 -06:00
sinn3r 5f8c14c958 Fix check for TrueClass, plus other small changes 2015-02-28 14:11:15 -06:00
sinn3r 6f4259f2de Revert #4859, temporary solution for unbreaking client
This reverts commit 7ab86be72a, reversing
changes made to 49ae173057.
2015-02-28 14:07:26 -06:00
sinn3r ac81318e7a Revert #4823, changes for ruby style guide
This reverts commit 885469ca52, reversing
changes made to fd73445d9b.

Please see: #4823 for why.
2015-02-27 17:28:00 -06:00
Joshua Smith 4c093985db remove svn vestiges 2015-02-22 15:40:58 -06:00
Joshua Smith 251c284458 modernizes some of the rpc code 2015-02-22 15:37:55 -06:00
sinn3r 6b99103cec
Land #4690 - Update Nessus plugin to support the latest REST API
Resolves #4447
2015-02-13 12:46:01 -06:00
sinn3r bbf5fa881d Fix help again 2015-02-13 12:06:56 -06:00
sinn3r c78c40df78 Extra nessus_login in help 2015-02-13 12:00:54 -06:00
sinn3r 56454674f2 Fix nessus_help
Columns are arrays
2015-02-13 11:55:46 -06:00
sinn3r b55fd0572d Use print_status 2015-02-13 11:51:32 -06:00
sinn3r 9a56e5c4f9 Extra space 2015-02-13 11:40:49 -06:00
sinn3r 2f5fad4806 Share plugin name 2015-02-13 11:38:36 -06:00
root 199dca75a6 Implement db_import and finalize plugin 2015-02-12 13:32:49 +05:00