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
Brent Cook
5225952e51
Land #44 , add extra root checks
2015-06-26 18:18:12 -05:00
Brent Cook
d48beb4782
simplify package checks, add test for _su as well
2015-06-26 18:09:23 -05:00
Spencer McIntyre
d9f9fc7bc6
Pymet support for creating and listing transports
2015-06-26 16:52:55 -04:00
Brent Cook
d1eb125688
update to android API level 10
2015-06-26 14:57:52 -05:00
Spencer McIntyre
68db19d3d4
Refactor the pymet to use transport objects
2015-06-26 14:56:31 -04:00
Spencer McIntyre
43c63a1639
Add pymet support for core_enumextcmd
2015-06-26 11:32:51 -04:00