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
Wei Chen
427080ad5c
Land #10692 , Add rspec test for cmd_set_tabs
2018-09-25 01:24:16 -05:00
Green-m
b5df80d64b
Add require readline to fix uninit issue.
2018-09-25 14:07:54 +08:00
Green-m
dfb6f1f554
Fix undefined method `session` issue, thx wchen-r7
2018-09-25 11:53:24 +08:00
Metasploit
2eb675ea95
automatic module_metadata_base.json update
2018-09-24 20:26:20 -07:00
Brent Cook
f08cb18afd
Land #10594 , Fix hashdump and user enumeration on new macOS versions
2018-09-24 22:18:24 -05:00
Brent Cook
3e61a98f25
use non-system users for hashdump
2018-09-24 22:17:58 -05:00
Brent Cook
c89d8f8fb7
fix user enumeration methods, be more robust
2018-09-24 22:17:32 -05:00
Brent Cook
1607c2b890
Land #10428 , Update Windows MySQL UDF files, add docs
2018-09-24 21:11:52 -05:00
Matthew Kienow
ab443831a9
Add RSpec for Msf::RPC::JSON::Dispatcher
2018-09-24 17:27:06 -04:00
Matthew Kienow
ea888eaa7c
Add method comments for raise
2018-09-24 17:22:25 -04:00
Jeffrey Martin
cb2f4ae419
Add filter_ports and filter_services to cache
...
When caching metadata about module include `filters` when available.
2018-09-24 14:11:52 -05:00
Metasploit
6712627a85
automatic module_metadata_base.json update
2018-09-24 09:21:59 -07:00
Adam Cammack
ffeb5b3b10
Land #10695 , Add docs for Apple iOS WebKit DoS
2018-09-24 11:12:29 -05:00
Tim W
888ec9430c
fix typo
2018-09-24 17:37:59 +08:00
Tim W
738665e56f
Add documentation for #10652
2018-09-24 17:11:24 +08:00
Metasploit
6188d33545
automatic module_metadata_base.json update
2018-09-23 11:02:58 -07:00
h00die
b486708b02
Land #10663 extremeparr solaris LPE
2018-09-23 13:53:18 -04:00