Commit Graph

48746 Commits (4a4c759a4b0c9bacc0e4bd05f18faf3b438d5269)

Author SHA1 Message Date
Erin Bleiweiss 64c86ef4de
Add support for working outside install directory 2018-09-27 13:05:23 -05:00
Wei Chen a2694555d0 Change typo 2018-09-27 12:45:17 -05:00
Wei Chen 974a727862 Update comment 2018-09-27 12:32:43 -05:00
Wei Chen 086e2b311b Update constants 2018-09-27 12:31:04 -05:00
Metasploit 7a00e64ac3
Weekly dependency update 2018-09-27 10:05:46 -07: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
Pyriphlegethon 342cfe4199 Refactor again 2018-09-27 12:38:05 +02:00
Pyriphlegethon 82b1f40925 Add cleanup code 2018-09-27 11:17:53 +02:00
Pyriphlegethon 2b86297138 Refactor 2018-09-27 11:16:54 +02:00
Pyriphlegethon f55483d17d Fix incorrect session_id extraction 2018-09-27 11:07:43 +02:00
Wei Chen 31e9b831d8 Change constant name 2018-09-26 21:42:00 -05:00
Wei Chen e34371c7d3 Add a newline 2018-09-26 21:19:49 -05:00
Wei Chen c0ddbba049 rm junk code 2018-09-26 21:19:16 -05:00
Wei Chen 9064fac1ff Fix code based on Will's feedback 2018-09-26 21:13:37 -05:00
Wei Chen 583874d370 Update use of reliability/side-effects/stability metadata 2018-09-26 18:54:08 -05:00
Erin Bleiweiss 0e2361d675
Use friendly error messages and also Open3.capture2e 2018-09-26 18:49:07 -05:00
William Vu bbfac2af1c Fix copypasta typo 2018-09-26 18:46:43 -05:00
William Vu 3bda794f00 Update upload_exec with chmod 2018-09-26 18:46:43 -05:00
William Vu 5444d7a1a5 Update chmod_x_file to chmod 2018-09-26 18:46:42 -05:00
Tim W 896dd13bbe && instead of and 2018-09-26 18:46:42 -05:00
Tim W 4adca52103 create chmod helper function 2018-09-26 18:46:42 -05:00
William Vu 81d020f810 Add a couple more Unix platforms
This is so we don't trigger the session compatibility warning. These
platforms have been worked on most recently.
2018-09-26 18:46:42 -05:00
William Vu a119465495 Tell the user when there's blank output 2018-09-26 18:46:42 -05:00
William Vu 6dd6e8abcb Change vprint to print because we test output
Fewer surprises this way when people don't set VERBOSE.
2018-09-26 18:46:42 -05:00
William Vu 42fab6266d Prefer vprint_line for better formatting 2018-09-26 18:46:42 -05:00
William Vu 40f19efe2c Don't use cmd.exe /c start so we can fetch output 2018-09-26 18:46:42 -05:00
William Vu dc1fddd31e Move chmod so Windows doesn't do it 2018-09-26 18:46:42 -05:00
William Vu d5f5ef103f Refactor everything and add command output 2018-09-26 18:46:42 -05:00
William Vu 410abdca80 Tweak TIMEOUT to match cmd_exec's default 2018-09-26 18:46:42 -05:00
William Vu 1df6c43b12 Add ARGS and TIMEOUT options to upload_exec
Credit to @bcoles for the initial patch.
2018-09-26 18:46:42 -05:00
William Vu 3edd17bc28
Land #10706, metasploit-payloads 1.3.51 2018-09-26 18:45:52 -05:00
Erin Bleiweiss 79c26bce08
Add a more comprehensive git check 2018-09-26 18:32:52 -05:00
Erin Bleiweiss 173f570812
Check for presence of git directory 2018-09-26 18:29:49 -05:00
Erin Bleiweiss 71cb3e8e94
Use OptionParser 2018-09-26 18:08:46 -05:00
Erin Bleiweiss f8984c4f9b
Rename function, change args from to 2018-09-26 17:55:43 -05:00
Wei Chen 04ff0931d7 Add metadata place holders for reliability/side-effects/stability 2018-09-26 17:42:54 -05:00
Erin Bleiweiss 0b48d2371d
Add error handling for non-git situations 2018-09-26 17:32:40 -05:00
William Vu 540955f488 Update metasploit-payloads to 1.3.51 2018-09-26 17:29:48 -05:00
Erin Bleiweiss b3053020d1
Update help docs 2018-09-26 17:23:46 -05:00
Erin Bleiweiss eeee289e2f
Add command to reload all files changed as per git diff 2018-09-26 17:16:46 -05:00
Pyriphlegethon 2d568f884e Add documentation for Navigate CMS Unauthenticated Remote Code Execution 2018-09-26 22:44:20 +02:00
Pyriphlegethon f882c3aec2 Add Navigate CMS Unauthenticated Remote Code Execution 2018-09-26 21:39:15 +02:00
OJ 736b60f63c
Update payloads to include the new Kiwi release 2018-09-26 14:26:31 +10:00
Metasploit dcb96c20a0
automatic module_metadata_base.json update 2018-09-25 16:06:15 -07:00
William Vu 0269110faf
Land #10696, autofilter_{ports,services} in cache 2018-09-25 17:12:54 -05:00
Jeffrey Martin 2db3279956
use symbols and match filter keys to code 2018-09-25 15:04:26 -05:00
Brent Cook 94988e26e0 add mutex on closes 2018-09-25 09:57:45 -05:00
Brent Cook 1a493c4508 Only send a close channel message once, avoid if Meterpreter told us
Don't send a close message for a nil channel ID, and if we do send a close
message, only do it once. I could have added a mutex somewher in _close(), but
because it's a class method, it's a little awkward and would require all of the
callers to instead have voluntary lock. As an alternative, I just made the
finalizer close the channel instead.

Fixes #10177
2018-09-25 02:30:38 -05:00