Commit Graph

1686 Commits

Author SHA1 Message Date
Brent Cook daf22bbde6 apply similar change to service enumeration 2019-02-14 12:13:36 -06:00
Brent Cook 5b213f36d5 fix #11395, use db.hosts.each
Prefer iterating over hosts over the older method in the database.
2019-02-13 18:04:50 -06:00
Brent Cook 930d1fb78a Land #11351, many new John the Ripper module improvements 2019-02-13 03:05:14 -06:00
Brent Cook 4a4717c3db Land #10937, remove server/client from module cache 2019-02-12 21:28:14 -06:00
Brent Cook 0e838da56b Land #11333, Add initial scaffolding for external evasion module tools 2019-02-06 22:51:42 -06:00
h00die cb3f91af0c add bsdi to creds help and what the hashes start with 2019-02-04 17:02:50 -05:00
h00die 748e1468b3 creds upgrade and apply_pot 2019-02-03 10:17:25 -05:00
h00die c5bfee1df7 add jtr to creds command 2019-02-01 20:25:03 -05:00
Jeffrey Martin 35ec947c17 remove is_server/is_client and app search term 2019-01-31 12:14:25 -06:00
William Vu 70cc03b707 Land #11329, sessions -k range fix 2019-01-30 11:26:47 -06:00
Spencer McIntyre a1b5fcc6d5 Support to_handler for evasion modules 2019-01-29 11:06:08 -05:00
Nash van Gool 4059a5f0c7 Changed range array building to correctly parse ranges using - or ..
Fixes #11328
2019-01-29 14:13:10 +01:00
Brent Cook 61d677d9e0 Land #11327, disable MSF5 development branch banner 2019-01-29 05:24:43 -06:00
Brent Cook 1b9c7ef6ff disable MSF5 development branch banner 2019-01-29 05:19:56 -06:00
Spencer McIntyre 607bbe90e3 Add tab completion for evasion module options 2019-01-28 13:22:51 -05:00
William Vu 442ce7317f Commit missed Rex::Quickfile line 2019-01-22 10:40:09 -06:00
William Vu e488cf4a37 Prefer Tempfile over Rex::Quickfile for info -d
Rex::Quickfile undefines Tempfile's finalizer, preventing cleanup.
2019-01-17 13:58:03 -06:00
James Barnett a2548fe92d Only lookup db connections by name
Matching on all attributes was causing issues when the connection
criteria would change for a db service at a host that already existed.
It would find the existing connection and load that outdated connection
and fail to connect.

The new functionality will save a new, valid connection with a randomly
generated name, unless the -n flag is specified to overwrite an existing
connection.
2019-01-08 15:21:14 -06:00
Green-m 12a948dde5 Move down cmd_rerun to fix rspec issue. 2018-12-24 11:30:02 +08:00
Green-m 06de47ce68 Enhance the command auto-complete in aux. 2018-12-21 18:03:57 +08:00
Brent Cook 43842ad41d Land #11082, Update show plugins to show all available plugins as well 2018-12-10 10:20:51 -06:00
Garvit Dewan 42c5a7d245 Update show plugins to show all available plugins as well as the loaded ones.
Fixes #11051
2018-12-08 01:19:44 +05:30
James Barnett e36e27d91a Port is optional for HTTP data services 2018-12-05 16:05:09 -06:00
James Barnett 1e57f025d9 Update db_connect help 2018-12-05 14:52:26 -06:00
James Barnett d41f48853a Use to_s when printing credential private 2018-12-03 16:46:30 -06:00
William Vu 6d317baada Coerce DisablePayloadHandler into a Boolean string
Due to discrepancies in how command dispatchers receive datastore
options, especially after a "save" of the console, Boolean values are
stored as strings.

This is a quick fix for DisablePayloadHandler specifically, since it was
driving me insane.
2018-11-19 13:18:15 -06:00
Brendan Coles 277ed375d6 Ensure peer_msg falls back on an empty string
Co-Authored-By: wvu-r7 <wvu-r7@users.noreply.github.com>
2018-11-16 03:30:52 -06:00
William Vu eb90fc74a1 Fix extraneous whitespace in check output
Death to the peer gods.
2018-11-16 02:59:36 -06:00
Brendan Coles e231fd0623 next if onlyup 2018-11-10 16:21:06 +00:00
Brent Cook 12857a1d93 Land #10784, Add 'evasion' to search help 2018-10-10 13:02:45 -05:00
Wei Chen b103ea256d Fix #10785, incorrect implementation of "show evasion" command
Fix #10785
2018-10-10 10:20:12 -05:00
Auxilus a6797f101d Add 'evasion' to search help 2018-10-10 20:15:47 +05:30
Wei Chen c6dddaa481 Support automatic payload choice 2018-10-06 20:28:41 -05:00
Wei Chen c7efd57144 Sync up with master 2018-10-06 08:27:01 -05:00
Brent Cook 4363bd830b Land #10755, 50, it's a magic number (sorry 2) 2018-10-05 15:04:20 -05:00
William Vu 938139d23c Add vi and more for hysterical raisins 2018-10-05 14:21:44 -05:00
William Vu 25147c49e8 Bump fallback pager in log command to tail -n 50
24 is never enough. Unless you're Jack Bauer.

(The 24 comes from the VT100. :)
2018-10-05 14:05:54 -05:00
Green-m 3ec71ed549 Fix issue that not interact with session. 2018-10-05 17:30:38 +08:00
Brent Cook b3dca6081d Land #10720, better handle errors with multi-host exploits 2018-10-02 05:28:57 -05:00
Brent Cook 304acd42f0 minor comment tweaks 2018-10-02 05:23:13 -05:00
Green-m 90b98a193c Refactor the rhosts for exploit modules. 2018-09-30 16:08:49 +08:00
jgor 5dcb6ab321 fix typo in route command examples 2018-09-28 16:53:12 -05:00
William Vu 0686c76cd5 Restore help on empty args for reload_lib 2018-09-27 23:21:43 -05:00
William Vu 11538bcd4f Remove pathspec due to vague errors
"error: Could not access '*.rb'" is printed when not a repo. We fall
back on reload_file's checks, once again. :(
2018-09-27 22:12:56 -05:00
William Vu ab56ac6655 Refactor and clean up reload_lib -a and others 2018-09-27 22:11:22 -05:00
Erin Bleiweiss 3ca95933a1 Update help text. 2018-09-27 13:13:25 -05:00
Erin Bleiweiss 64c86ef4de Add support for working outside install directory 2018-09-27 13:05:23 -05:00
Erin Bleiweiss 7ba73ef658 Check for valid files in git command 2018-09-27 12:01:04 -05:00
Erin Bleiweiss c5c1706636 Acutally, get rid of git? check 2018-09-27 11:14:01 -05:00
Erin Bleiweiss 7f9b9be78b Allow git? to return true 2018-09-27 11:12:10 -05:00