William Vu
7c79bbd998
Land #10389 , PTY support for Meterpreter "shell"
2018-09-14 11:16:41 -05:00
Kent 'picat' Gruber
c71078a381
use max instead of sort_by { |p| p.size }.last
...
`sort_by { |p| p.size }.last` is less readable compared to just using the `max` method
I believe this does basicall the exact same thing, ontop of being much faster in my micro benchmark.
The old method was, something like, 8 times slower.
2018-09-14 11:19:16 -04:00
Kent 'picat' Gruber
2dcfdcbdc4
remove redundant hash merge
...
https://github.com/JuanitoFatas/fast-ruby#hashmerge-vs-hash-code
2018-09-14 11:04:39 -04:00
Kent 'picat' Gruber
ed338bbeec
use tr instead of gsub
...
https://github.com/rails/rails/pull/17257
https://github.com/JuanitoFatas/fast-ruby#stringgsub-vs-stringtr-code
2018-09-14 10:51:51 -04:00
Shelby Pace
d2f587894b
Initial metadata setup
2018-09-14 09:37:23 -05:00
h00die
900ea620c7
msftidy
2018-09-13 21:28:49 -04:00
h00die
6cef61ddbc
finish srsexec add docs
2018-09-13 21:20:09 -04:00
William Vu
4a759fd048
Refactor cmd_shell and add cmd_shell_{help,tabs}
2018-09-13 19:44:24 -05:00
asoto-r7
4cf344dd83
WIP: Initial CVE-2018-8440 / ALPC-TaskSched-LPE
2018-09-13 18:00:20 -05:00
William Vu
cfbd259e80
Merge remote-tracking branch 'upstream/master' into pr/10389
2018-09-13 16:08:07 -05:00
William Vu
8c81250aea
Land #10639 , self.prompt initialization fix
2018-09-13 15:57:40 -05:00
Adam Cammack
7c6c621a8f
Remember to assign `self.prompt` in shell.rb
...
Not everything updates the prompt all the time, make them feel welcome.
2018-09-13 15:51:07 -05:00
h00die
2f53e370c9
srsexec working properly
2018-09-13 16:37:25 -04:00
William Vu
a9e52bc9be
Land #10637 , exploit.rb autofilter doc fixes
2018-09-13 14:24:36 -05:00
Matthew Kienow
c2230f98d5
Warn user about inactive sessions without DB
2018-09-13 15:13:41 -04:00
Matthew Kienow
6a6d92abc1
Check DB is active before querying sessions
2018-09-13 15:06:53 -04:00
William Vu
b3e9856851
Revert doc changes to exploit.rb autofilter
...
I think the changes might have been accidental.
3cf4329335
2018-09-13 13:27:52 -05:00
Erin Bleiweiss
6abb355111
Undo metadata change for teradata_odbc_sql.py
2018-09-13 13:10:07 -05:00
Erin Bleiweiss
e3178faa9a
Add metadata for teradata_odbc_sql.py
2018-09-13 13:09:01 -05:00
h00die
4a2f2107e5
move gather to escalate
2018-09-13 14:07:50 -04:00
h00die
4bb16f96a7
debugging srsexec
2018-09-13 14:07:50 -04:00
h00die
1af1895ac8
first attempt at srsexec
2018-09-13 14:07:50 -04:00
h00die
8025a49c44
Land #10633 fix for solaris pidof for more versions
2018-09-13 13:10:28 -04:00
Metasploit
395ce8a2fe
Weekly dependency update
2018-09-13 10:05:05 -07:00
Adam Cammack
175dec7ade
Print help when `repeat` is run with no commands
2018-09-13 11:27:05 -05:00
Adam Cammack
04cc7843a4
Typo fixes
2018-09-13 11:19:13 -05:00
Metasploit
fe7a832aa8
automatic module_metadata_base.json update
2018-09-13 08:30:53 -07:00
h00die
8cb1453d87
Land #10634 fix a bug in is_root? on sol/lin
2018-09-13 11:21:50 -04:00
bwatters-r7
2fbbf88ea9
Land #10560 , ms17_010_eternalblue: use SMBDomain value when provided
...
instead of ignoring it
Merge branch 'land-10560' into upstream-master
2018-09-13 10:08:54 -05:00
Brendan Coles
53a326c743
Cleanup is_root? method for Linux::Priv / Solaris::Priv
2018-09-13 08:54:31 +00:00
Brendan Coles
bba818a323
Fix Msf::Post::Solaris::System pidof method
2018-09-13 08:29:56 +00:00
Brendan Coles
a8c459db18
Update description with correct patched release
2018-09-13 08:22:13 +00:00
William Vu
68a51da27b
Land #10477 , console prompt fixes and refactor
2018-09-12 18:00:48 -05:00
William Vu
200b4bb2ec
Land #10631 , warning message fix for #10619
2018-09-12 17:35:17 -05:00
OJ
84e87b10af
Update warning message when loading mimikatz on new OSes
2018-09-13 08:31:08 +10:00
William Vu
b70960bddb
Land #10619 , mimikatz/kiwi warning per OS version
2018-09-12 17:11:11 -05:00
Metasploit
58a074d020
automatic module_metadata_base.json update
2018-09-12 09:08:59 -07:00
Shelby Pace
5b81ebd81b
Land #10589 , multidrop support for word xml docs
2018-09-12 11:00:11 -05:00
Tim W
5c65f23847
add chmod tab completion
2018-09-12 19:04:51 +08:00
Brendan Coles
0db1c34c40
Add check for Solaris system patches
2018-09-12 07:36:54 +00:00
Jacob Robles
d0e67c5b60
Add SMB2 support to smb_enumshares
2018-09-11 19:05:26 -05:00
Adam Cammack
d017f420bf
Fix missing exception capture
2018-09-11 17:58:41 -05:00
Adam Cammack
a8f766cfd5
Update heartbleed description to mention `repeat`
2018-09-11 17:41:06 -05:00
OJ
e2c6748759
Replace 'and' with '&&'
2018-09-12 08:27:27 +10:00
Adam Cammack
8fa71ade44
Add `repeat` command to loop msfconsole commands
2018-09-11 17:25:33 -05:00
Adam Cammack
de0f0a97fb
Add mode to Shell#run_single to re-raise errors
2018-09-11 17:23:56 -05:00
Adam Cammack
da25391426
Relocate option parsing error handling up a level
2018-09-11 17:22:05 -05:00
Adam Cammack
74ae89ac96
Minor fixups for `grep`
...
Use Shellwords to join words that have been shellsplit and will be
shellsplit again, and correctly reference a missing command name.
2018-09-11 17:20:34 -05:00
Brendan Coles
edbe4988d2
Land #10621 , Update Msf::Post::Solaris::System has_gcc? method
...
Updated the Msf::Post::Solaris::System has_gcc? method to also check the
default path for gcc on Solaris: /usr/sfw/bin/gcc
2018-09-11 09:47:37 +00:00
Brendan Coles
e75b5592f7
Add ForceExploit option
2018-09-11 09:23:50 +00:00