HD Moore
|
9f2ac9ae9f
|
Gracefully handle a failed socket write due to disconnect
git-svn-id: file:///home/svn/framework3/trunk@12626 4d416f70-5f16-0410-b530-b9f4589650da
|
2011-05-16 02:00:47 +00:00 |
HD Moore
|
a12d9f8dbf
|
This patch adds detailed thread tracking across the metasploit framework, along with a new console command (threads) to manage these. This level of tracking is required to accurately monitor background tasks, assist with debugging, and kill orphaned threads.
git-svn-id: file:///home/svn/framework3/trunk@11003 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-11-12 06:19:49 +00:00 |
HD Moore
|
fba2cb6d2d
|
Remove the response wait for close calls triggered by the finalizer, should help in a few corner cases that currently result in a timeout or hang.
git-svn-id: file:///home/svn/framework3/trunk@10876 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-11-03 03:03:29 +00:00 |
HD Moore
|
9d99bf1039
|
Store the original error code in the RequestError object as well, use this code to determine whether to raise a connect error or not
git-svn-id: file:///home/svn/framework3/trunk@10759 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-10-20 01:05:50 +00:00 |
Joshua Drake
|
e408d5a155
|
add windows error messages for windows meterpreter sessions, minor cleanups
git-svn-id: file:///home/svn/framework3/trunk@10605 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-10-08 19:36:34 +00:00 |
HD Moore
|
41183d3395
|
Bump the packet queue timeout as well (10 minutes), which should handle even the worst lag
git-svn-id: file:///home/svn/framework3/trunk@10598 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-10-08 05:00:03 +00:00 |
HD Moore
|
cdc97316b5
|
Automatically close dead sessions (finally), also, automatically mark meterpreter sessions as dead when writes start to trigger exceptions
git-svn-id: file:///home/svn/framework3/trunk@10475 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-09-25 03:57:30 +00:00 |
HD Moore
|
dfa7fb7d0b
|
Move away from Kernel.select in exchange for IO.select, solves some issues with windows compatibility
git-svn-id: file:///home/svn/framework3/trunk@9330 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-05-20 20:42:17 +00:00 |
James Lee
|
c0494dcbc0
|
compat fix for 1.8.6, there are probably many more bugs like this
git-svn-id: file:///home/svn/framework3/trunk@9281 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-05-11 07:37:57 +00:00 |
James Lee
|
4ad6c24a95
|
look for dead sesions with a reaper thread instead of on other session events, add Session#alive accessor for all session types; still need to figure out when a shell session is dead and set it accordingly. Add a reason argument to on_session_close to distinguish between killed sessions and dead sessions
git-svn-id: file:///home/svn/framework3/trunk@8596 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-02-23 05:59:30 +00:00 |
HD Moore
|
42b331b47f
|
Fix #790. Initialize the client state to be alive, tweak a few things on the meterpreter side
git-svn-id: file:///home/svn/framework3/trunk@8327 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-01-29 18:52:44 +00:00 |
James Lee
|
c396129d41
|
add a liveness test to meterpreter, fixes 698
git-svn-id: file:///home/svn/framework3/trunk@8314 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-01-28 23:53:15 +00:00 |
HD Moore
|
e731426666
|
Fixes #662. The socket pivoting is still not perfect, but this goes a long way
git-svn-id: file:///home/svn/framework3/trunk@7792 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-12-10 05:40:26 +00:00 |
HD Moore
|
54c10c0c3d
|
Fixes #623 and fixes #622, implements a number of changes to the core channel dispatch code, sets timeouts on unmatched responses, and handles tcp relay writes with a threaded/timeout wrapper to avoid delays.
git-svn-id: file:///home/svn/framework3/trunk@7753 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-12-08 18:32:26 +00:00 |
HD Moore
|
2c92856612
|
Fixes #604. This fixes a long-standing race condition with meterpreter channels that received data as soon as they were open (TCP).
git-svn-id: file:///home/svn/framework3/trunk@7708 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-12-04 21:08:34 +00:00 |
Stephen Fewer
|
a544d71f4e
|
A few small changes to the ruby side of meterpreters packet dispatcher stuff. Allow for blocking a request indefinatly and add in a new command 'wait' to stdapi.sys.process.
git-svn-id: file:///home/svn/framework3/trunk@7697 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-12-04 17:32:56 +00:00 |
HD Moore
|
f78482d3f5
|
Indicate lack of support for ruby 1.9.0, indicate experimental support for ruby 1.9.1
git-svn-id: file:///home/svn/framework3/trunk@6661 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-06-14 21:30:56 +00:00 |
Ramon de C Valle
|
f124597a56
|
Code cleanups
git-svn-id: file:///home/svn/framework3/trunk@5773 4d416f70-5f16-0410-b530-b9f4589650da
|
2008-10-19 21:03:39 +00:00 |
Matt Miller
|
9018329f1a
|
added cleanup to meterp
git-svn-id: file:///home/svn/framework3/trunk@3908 4d416f70-5f16-0410-b530-b9f4589650da
|
2006-09-17 23:12:46 +00:00 |
Matt Miller
|
902136a85e
|
fixing up a few things
git-svn-id: file:///home/svn/framework3/trunk@3898 4d416f70-5f16-0410-b530-b9f4589650da
|
2006-09-16 07:21:41 +00:00 |
Spoon M
|
190922400e
|
fixed up some exception issues in standalone meterp. Should eventually stop catching ::Exception since its too vague
git-svn-id: file:///home/svn/framework3/trunk@3842 4d416f70-5f16-0410-b530-b9f4589650da
|
2006-08-24 22:54:06 +00:00 |
Spoon M
|
06e9f91b28
|
Make it so you can require meterpreter without having to require rex.rb, steps towards a standalone meterp
git-svn-id: file:///home/svn/framework3/trunk@3835 4d416f70-5f16-0410-b530-b9f4589650da
|
2006-08-21 21:35:03 +00:00 |
HD Moore
|
88658064df
|
/usr/bin/ruby vs /usr/bin/env ruby
git-svn-id: file:///home/svn/incoming/trunk@3242 4d416f70-5f16-0410-b530-b9f4589650da
|
2005-12-17 06:46:23 +00:00 |
Matt Miller
|
95f8210853
|
major doc update
git-svn-id: file:///home/svn/incoming/trunk@3029 4d416f70-5f16-0410-b530-b9f4589650da
|
2005-11-15 05:22:13 +00:00 |
Matt Miller
|
360260ee90
|
added migrate ui
git-svn-id: file:///home/svn/incoming/trunk@2820 4d416f70-5f16-0410-b530-b9f4589650da
|
2005-07-23 05:13:27 +00:00 |
Matt Miller
|
632a97823f
|
moved some code around for interactive channels, still not functional yet, boohoo
git-svn-id: file:///home/svn/incoming/trunk@2797 4d416f70-5f16-0410-b530-b9f4589650da
|
2005-07-19 04:21:15 +00:00 |
Matt Miller
|
45b1e69210
|
fixed up meterp, use is working
git-svn-id: file:///home/svn/incoming/trunk@2792 4d416f70-5f16-0410-b530-b9f4589650da
|
2005-07-18 05:59:27 +00:00 |
Spoon M
|
7bbae355d6
|
mass require moving of /lib
git-svn-id: file:///home/svn/incoming/trunk@2690 4d416f70-5f16-0410-b530-b9f4589650da
|
2005-07-09 21:18:49 +00:00 |
Spoon M
|
7112b9d4ab
|
New timeout support for longer timeouts
git-svn-id: file:///home/svn/incoming/trunk@2671 4d416f70-5f16-0410-b530-b9f4589650da
|
2005-07-08 00:28:52 +00:00 |
Matt Miller
|
10e7a56753
|
damn stupid bug shit god namespace blah
git-svn-id: file:///home/svn/incoming/trunk@2657 4d416f70-5f16-0410-b530-b9f4589650da
|
2005-06-21 01:48:20 +00:00 |
Matt Miller
|
6c1a8e51e5
|
improving channel support, File is now backed against a File Pool instance rather than directly against a channel
git-svn-id: file:///home/svn/incoming/trunk@2371 4d416f70-5f16-0410-b530-b9f4589650da
|
2005-04-12 05:37:11 +00:00 |
Matt Miller
|
df75ef23fc
|
this is all to my baby mommas out there
git-svn-id: file:///home/svn/incoming/trunk@2357 4d416f70-5f16-0410-b530-b9f4589650da
|
2005-04-10 16:21:53 +00:00 |
Matt Miller
|
f87d6a533e
|
removed prints
git-svn-id: file:///home/svn/incoming/trunk@2352 4d416f70-5f16-0410-b530-b9f4589650da
|
2005-04-10 04:53:53 +00:00 |
Matt Miller
|
6232b9c220
|
server side extension loading works
git-svn-id: file:///home/svn/incoming/trunk@2351 4d416f70-5f16-0410-b530-b9f4589650da
|
2005-04-10 04:35:15 +00:00 |
Matt Miller
|
ea539dc65c
|
client core use/load_library command implement but not completely tested
git-svn-id: file:///home/svn/incoming/trunk@2348 4d416f70-5f16-0410-b530-b9f4589650da
|
2005-04-10 04:13:08 +00:00 |
Matt Miller
|
1ec88318fd
|
packet dispatching/waiting (untested)
git-svn-id: file:///home/svn/incoming/trunk@2347 4d416f70-5f16-0410-b530-b9f4589650da
|
2005-04-10 02:05:43 +00:00 |