William Vu
53ea7e577f
Add sanitized new XML format
2019-06-07 00:07:50 -05:00
William Vu
10dccfcedb
Remove warning
...
<context> provides service info now:
<context>TCP:443 ([redacted]), SHA256[=][redacted], Serial[=][redacted]</context>
2019-06-06 23:45:07 -05:00
William Vu
40eeae541b
Fix style
2019-06-06 23:38:41 -05:00
Jeffrey Martin
f646a973a7
Update retina imports to better handle parsing
2019-06-06 19:13:06 -05:00
Brent Cook
621d404a27
fix tests, handle stdin properly
2019-05-31 15:02:59 -05:00
Brent Cook
d988fe6e5c
handle invalid payloads more clearly
...
Currently, if you have an error in a payload module (e.g. you have a syntax
error in a module), the error is not noticed early enough in the generation process by the parameter validator, leading to a mysterious message like so:
```
Error: undefined method `platform' for nil:NilClass
```
This change cleans up some of the error handling, checks to see if the payload
module can be instantiated, and gives a more useful error output for the
different cases. This also tweaks some of the literal string outputs to match
other exception strings from payload_generator.
2019-05-31 14:32:49 -05:00
Brent Cook
73c8e803fe
Land #11892 , Fix parse IPv6 address in reverse_http
2019-05-31 12:41:36 -05:00
ssyy201506
ecda8d864a
Fix incorrect parsing of IPv6 uri.
2019-05-28 16:41:34 +09:00
Matt Robinson
26eebb9620
Fix multi handler reverse_http to not care so much about the workspace.
2019-05-25 16:25:06 -04:00
William Vu
9d0cf0661c
Land #11857 , cmd/unix/reverse_bash_udp payload
2019-05-24 02:19:44 -05:00
William Vu
e9aba85c9d
Land #11877 , analyze command nil fix
2019-05-23 14:30:15 -05:00
Brent Cook
0559fda9db
Land #11873 , allow calling methods across related modules
2019-05-23 13:56:27 -05:00
Jeffrey Martin
d1895b3db9
restore analyze on framework object
2019-05-23 11:49:43 -05:00
Brent Cook
bc5aa2ea3d
Merge remote-tracking branch 'upstream/master' into land-11871
2019-05-23 11:35:20 -05:00
William Vu
c9813cf379
Fix comments
2019-05-23 10:39:11 -05:00
Jacob Robles
1fe981b8e2
Land #11843 , Update MSB references
2019-05-23 08:07:46 -05:00
Jacob Robles
5d2cd40010
Update MSB reference
...
Previous MSB references were redirecting to docs.microsoft.com
2019-05-23 07:00:23 -05:00
William Vu
7eb279e079
Use human_name in reverse_udp handler
2019-05-22 20:25:37 -05:00
William Vu
b5622b160e
Fix typo
2019-05-22 19:59:08 -05:00
William Vu
0febc730fa
Clarify comment
2019-05-22 19:49:24 -05:00
William Vu
3e84f57544
Clarify comment
2019-05-22 18:34:02 -05:00
William Vu
690b15afc5
Check CheckCode
2019-05-22 17:40:39 -05:00
William Vu
c7ba2ade65
Convert to mixin
2019-05-22 17:27:11 -05:00
asoto-r7
865f214a85
Remove workspace dependency for creating and locating payloads
2019-05-22 13:32:00 -05:00
William Vu
3ffd6363f3
Add comment
2019-05-21 14:34:27 -05:00
William Vu
bb5ce078f3
Fix style
2019-05-21 01:23:26 -05:00
Thom Morgan
7325ea669f
Update pipe_auditor.rb
2019-05-20 14:35:32 -04:00
Thom Morgan
4d9ae525c2
Update lib/msf/core/exploit/smb/client/pipe_auditor.rb
...
Co-Authored-By: bcoles <bcoles@gmail.com >
2019-05-20 13:58:22 -04:00
NoodleOfDeath
f656638f94
smb client now preprends named pipes with missing backslash during check named pipes enumeration
2019-05-20 13:47:18 -04:00
William Vu
a57923ee64
Improve logic
2019-05-16 13:25:00 -05:00
Jeffrey Martin
53dc118d28
Land #11819 , Implement module use by previous search index
2019-05-14 10:39:03 -05:00
William Vu
6ea1e7aed2
Handle TypeError in case of nil
2019-05-13 17:32:54 -05:00
William Vu
249d3551ae
Be good in other places
2019-05-13 17:15:31 -05:00
Brent Cook
745645d7ca
make encoded payloads a little less special-case
...
Just operate on the raw_payload buffer so we always have the same thing to look
at in the end of generation.
2019-05-07 13:48:24 -05:00
Brent Cook
ad8188ff51
throw exception on actual payload size violation, not formatted output size
2019-05-07 13:12:58 -05:00
Brent Cook
def3112dde
Land #11786 , Fix issues with DP RPC commands
2019-05-01 13:20:56 -05:00
Matthew Kienow
fbf7668889
Fix delete vuln
...
Convert fetched Mdm::Vuln::ActiveRecord_Associations_CollectionProxy to
an Array as the code only expects to process an Mdm::Vuln or Array.
2019-04-26 14:44:37 -04:00
Matthew Kienow
a393e3f71f
Fix finding a service to return
...
Convert fetched Mdm::Service::ActiveRecord_Associations_CollectionProxy
to an Array as the code only expects to process an Mdm::Service or
Array.
2019-04-26 14:40:49 -04:00
Matthew Kienow
8173fd5d8a
Update opts usage to match the method comment
...
Conditions assignment is to the singular hosts.address, so the plural
addresses doesn't make sense.
2019-04-26 14:34:40 -04:00
Matthew Kienow
7a0681f816
Fix incorrect method comments and examples
2019-04-26 14:30:28 -04:00
Shelby Pace
a97cee4c91
add ternary expression to set options
2019-04-25 15:36:09 -05:00
Jacob Robles
39aae367a5
Land #11765 , Update NUUO mixin, move code to Rex
2019-04-25 09:35:47 -05:00
Brent Cook
98146fe419
Land #11771 , Force UTF-8 for more module metadata fields
2019-04-24 20:23:51 -05:00
Jacob Robles
f3a820b475
Remove protocol option
...
Only tcp is supported for the mixin.
2019-04-24 14:24:30 -05:00
Adam Cammack
40c083b894
Force UTF-8 for more module fields
2019-04-24 09:30:38 -05:00
Jacob Robles
acf7e58e8e
Nuuo mixin handle connection errors
2019-04-24 07:00:53 -05:00
William Vu
9420b04dd9
Support generic payloads
2019-04-23 15:14:14 -05:00
William Vu
e12b19a507
Enhance compatible_payloads to use module cache
2019-04-23 13:57:39 -05:00
Jacob Robles
aba88243d7
Add nuuo resposne string
2019-04-23 10:47:40 -05:00
Jacob Robles
d4728c9bc7
Call correct function
2019-04-22 10:16:05 -05:00