1
mirror of https://github.com/rapid7/metasploit-payloads synced 2024-12-21 05:35:54 +01:00
Commit Graph

1672 Commits

Author SHA1 Message Date
Spencer McIntyre
683179f4a2 Pymet fix previous transport index logic 2015-07-14 14:32:57 -04:00
Spencer McIntyre
76e649ef5e Pymet fix the order in which transports are added 2015-07-14 14:26:27 -04:00
Metasploit
5700d04431 Bump to 1.0.8 2015-07-11 23:15:19 -07:00
Brent Cook
8732204833
Land #7, fix posix transport switching/deleting 2015-07-12 00:29:06 -05:00
OJ
36274f2697
Land #8 : Stop reading on error during socket flush 2015-07-12 13:43:30 +10:00
OJ
a0c7262624 Remove invalid SAFE_FREE call 2015-07-12 13:21:20 +10:00
Brent Cook
8de19e788a We don't have to log an error if it's expected.
There is a close log message right below anyway.
2015-07-10 07:11:53 -05:00
Brent Cook
28425e7a99 On socket flush, stop reading on error
We are currently inconsistently handling errors in recv() when flushing data from a TCP socket. In one case, we handle the graceful close, but not the error case. In the other, we handle exactly the opposite.

Both of these loops may spin indefinitely depending on the recv value from the remote server. In one, if the TCP connection is abruptly closed in stageless meterpreter or on a transport switch, the flush function may loop. In the other, if the remote server does a socket shutdown, but not a close, we will also loop.
2015-07-10 07:04:57 -05:00
OJ
d16e5276c5 Use temp storage for URL parsing
This removes the issue where URLs were truncated during parsing,
resulting in them not working later on when transports are changed.
2015-07-10 14:57:23 +10:00
Metasploit
2c86c26ff2 Bump to 1.0.7 2015-07-09 21:15:38 -07:00
Brent Cook
819f6a3455
Land #5, add WinInet fallback when WinHTTP cannot work against certain proxies 2015-07-09 23:00:16 -05:00
Spencer McIntyre
92ed457a4d Pymet fix send uuid logic for Python 3.x 2015-07-06 11:20:34 -04:00
OJ
15ca2a90fb
Land #2 : cleanup record_mic, free correct heap 2015-07-04 15:04:47 +10:00
OJ
863138d803 Avoid fallback when SSL cert verification is on
This is to avoid unintended MITM when Meterpreter is configured in
paranoid mode.
2015-07-04 14:45:49 +10:00
OJ
18a814d3a0 Refactor wininet/winhttp code to reduce code duplication 2015-07-03 20:46:18 +10:00
OJ
09c4d8b137 Initial WinINET fallback implementation 2015-07-03 18:55:14 +10:00
Spencer McIntyre
2c26bbd38f Pymet fix packet polling interval 2015-07-02 11:51:53 -04:00
Spencer McIntyre
5e7ec516e6 Pymet fix reverse_tcp transport for IPv6 addresses 2015-07-02 08:33:11 -04:00
Spencer McIntyre
368cb94bee Pymet fix transport next and prev for one transport 2015-07-02 08:23:02 -04:00
Brent Cook
dc2779380a
Land #3, fix bytes/bytesRead confusion 2015-07-01 22:26:41 -05:00
OJ
0186ccad0d
Land #4 : update minSDK version to 10, compat check 2015-07-02 13:20:04 +10:00
Brent Cook
2d00913542 update minSDK version to 10, update compat check for Android 2.3.3 2015-07-01 21:57:46 -05:00
Spencer McIntyre
62ba1610d1 Pymet fixes for Python 3.x 2015-07-01 14:32:12 -04:00
Spencer McIntyre
b4d44bd079 Pymet transport stabilty and correction 2015-07-01 11:12:30 -04:00
OJ
bc6b2d98be Fix STUPID mistake in config string handling 2015-07-01 17:11:46 +10:00
Metasploit
5f8e8d2281 Bump to 1.0.6 2015-06-30 21:48:19 -07:00
Brent Cook
3a0427bcbc cleanup record_mic handler, use the right heap for freeing
When reallocating the record buffer, we need to pass the correct heap pointer
or this will crash.

This also simplifies error handling and switches audio.h to use Windows EOL
characters.
2015-06-30 21:36:36 -05:00
Brent Cook
eb46847663
Land #1, bits and bobs 2015-06-30 20:54:52 -05:00
Metasploit
b64c680b34 Bump to 1.0.5 2015-06-30 16:28:43 -07:00
OJ
bb4615b29c Add appropriate encoding for reading strings from the config block 2015-07-01 08:17:01 +10:00
Spencer McIntyre
aa5076ae6f Pymet support for core_transport_remove 2015-06-30 15:46:33 -04:00
Spencer McIntyre
b55f1247a9 Pymet fix bind and tcp socket cleanup logic 2015-06-30 15:25:23 -04:00
Spencer McIntyre
7f0d4fa1ce Pymet support for core_transport_sleep 2015-06-29 18:34:35 -04:00
Spencer McIntyre
2047958c1c Pymet transport changing improvements 2015-06-29 14:00:07 -04:00
OJ
397ae397f7 Few tweaks to readme files, updated gitignore 2015-06-29 11:55:20 +10:00
Brent Cook
42b143f92b
Merged java 2015-06-28 13:30:03 -05:00
Brent Cook
c7e1c385c8
Merged c 2015-06-28 13:29:59 -05:00
Brent Cook
03215edaf9 Land #45, add transport resiliency, sleep and UUIDs to java/android payloads 2015-06-28 13:24:09 -05:00
Brent Cook
e5e27c4d4d enable output for http and https 2015-06-28 13:17:56 -05:00
Brent Cook
1ec155f435 Land #47, advance java API checks to require 1.4 minimum 2015-06-28 12:33:39 -05:00
Brent Cook
91f10aa760 Land #175, fix clipboard file size confusion 2015-06-28 12:21:16 -05:00
Brent Cook
ec15eb873e Land #174, fix URI switch crash with stageless meterpreter 2015-06-28 12:19:45 -05:00
Spencer McIntyre
1ff059a461 Pymet cleaner transport switching with responses 2015-06-28 13:16:00 -04:00
Spencer McIntyre
0b64d22704 Pymet support for changing transports 2015-06-27 20:57:45 -04:00
OJ
c8de66fd31 Remove extra htonq call 2015-06-27 21:44:41 +10:00
OJ
86eb62832d Fix silly mistake with type casts 2015-06-27 21:37:05 +10:00
OJ
c2f141679e Fix up URI switching for stageless
This prevents horrible crashes when migrating from a stageless HTTP/S session.
2015-06-27 21:19:04 +10:00
OJ
08551a0e8f Remove old java versions, update readme 2015-06-27 14:46:26 +10:00
OJ
34db0d71bb Merge branch 'upstream/master' into transport-refactor 2015-06-27 12:01:16 +10:00
OJ
3e551a8b9d Land #46 : update android API to level 10 2015-06-27 11:45:54 +10:00