James Lee
|
161ae211c4
|
add a capabilities hash to the meterpreter client for determining whether libs are available on the server. eventually there should be a way to request this from the server directly instead of inferring it from platform
git-svn-id: file:///home/svn/framework3/trunk@9561 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-06-18 23:15:48 +00:00 |
James Lee
|
6950cae916
|
more legible inspect for meterpreter packets
git-svn-id: file:///home/svn/framework3/trunk@9445 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-06-07 15:20:24 +00:00 |
HD Moore
|
87379e798a
|
Bump the timeout for hashdump, handle large DCs better, thanks Chris!
git-svn-id: file:///home/svn/framework3/trunk@9385 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-06-01 16:45:34 +00:00 |
James Lee
|
5b6b13e7e8
|
check for existence before using stuff
git-svn-id: file:///home/svn/framework3/trunk@9384 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-06-01 16:35:10 +00:00 |
James Lee
|
15cee53b41
|
move tab completion setup out of init_ui. fixes #1180
git-svn-id: file:///home/svn/framework3/trunk@9332 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-05-20 23:47:49 +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 |
Carlos Perez
|
abe2cb9919
|
cd can now change directory giving it a Windows ENV variable
git-svn-id: file:///home/svn/framework3/trunk@9237 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-05-07 02:05:26 +00:00 |
Joshua Drake
|
a953c47cfb
|
remove carriage returns
git-svn-id: file:///home/svn/framework3/trunk@9140 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-04-26 18:29:24 +00:00 |
Joshua Drake
|
df16eec4d7
|
revert r9038, see r9039, fixes #1531, fixes #531
git-svn-id: file:///home/svn/framework3/trunk@9040 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-04-07 23:42:04 +00:00 |
James Lee
|
a502c2647d
|
tell readline that the color escapes shouldn't be counted as part of the line length, thanks to Niklas Baumstark. fixes 1531, fixes 531
git-svn-id: file:///home/svn/framework3/trunk@9038 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-04-07 23:24:54 +00:00 |
HD Moore
|
c6c956ab46
|
Small patch to enable a new stager
git-svn-id: file:///home/svn/framework3/trunk@8984 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-04-03 05:21:15 +00:00 |
HD Moore
|
3e29a2fd2f
|
Adds bgrun, bglist, bgkill to run Meterpreter scripts in the background
git-svn-id: file:///home/svn/framework3/trunk@8917 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-03-25 15:54:43 +00:00 |
HD Moore
|
bb0db3cdf6
|
Closes command and meterpreter sessions in a much more consistent way
git-svn-id: file:///home/svn/framework3/trunk@8865 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-03-21 04:24:27 +00:00 |
Stephen Fewer
|
be93341cff
|
Commit the ruby side for the new screenshot/session stuff.
git-svn-id: file:///home/svn/framework3/trunk@8788 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-03-11 17:11:27 +00:00 |
Stephen Fewer
|
195d1ab4b8
|
Commit snojobs jpeg patch for espia with an x64 build and some minor changes on the ruby side (The 'screenshot' command is now 'screengrab' to avoid a future conflict with changes happening in stdapi).
git-svn-id: file:///home/svn/framework3/trunk@8726 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-03-05 15:50:24 +00:00 |
Stephen Fewer
|
a44358df67
|
Simple fix for #1013 and the migration permission error message.
git-svn-id: file:///home/svn/framework3/trunk@8714 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-03-04 19:31:36 +00:00 |
Joshua Drake
|
9148068acc
|
pass unlink_now flag to close for Tempfile instances
git-svn-id: file:///home/svn/framework3/trunk@8697 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-03-03 04:58:12 +00:00 |
HD Moore
|
4220c33675
|
Stuff meterpreter scripts into a dedicated object
git-svn-id: file:///home/svn/framework3/trunk@8603 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-02-23 17:59:35 +00:00 |
James Lee
|
455434a9f2
|
typo fix, thanks SubINacls for catching it
git-svn-id: file:///home/svn/framework3/trunk@8597 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-02-23 06:25:19 +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 |
Stephen Fewer
|
17de90a902
|
Modify the client core to use compression for the loading of extensions and migration for a speed boost.
git-svn-id: file:///home/svn/framework3/trunk@8517 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-02-16 15:01:06 +00:00 |
Stephen Fewer
|
4b4b2d62b1
|
Commit the Ruby side for channel/TLV compression.
git-svn-id: file:///home/svn/framework3/trunk@8516 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-02-16 14:58:23 +00:00 |
Stephen Fewer
|
6335fde3e1
|
Commit the Ruby side for the UDP socket pivoting. Change the TCP client channel so the respective StreamAbstraction is responsible for monitoring its own rsock.
git-svn-id: file:///home/svn/framework3/trunk@8431 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-02-09 16:45:46 +00:00 |
Stephen Fewer
|
e19633354b
|
Bug fix for a rare edge case with channels. When creating a Rex::Post::Meterpreter::Stream instance we should initialize_abstraction() before super() as we can get a scenario where dio_write_handler() is called with data to write to the rsock but rsock has not yet been initialized. This happens if the channel is registered (client.add_channel(self) in Channel.initialize) to a session and a 'core_channel_write' request comes in before we have called self.initialize_abstraction()
git-svn-id: file:///home/svn/framework3/trunk@8386 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-02-06 20:12:52 +00:00 |
Stephen Fewer
|
fd2469db24
|
Commit the Ruby end for TCP server channels, the modified TCP client channels and the support for pivoting a reverse_tcp meterpreter.
git-svn-id: file:///home/svn/framework3/trunk@8384 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-02-06 17:59:25 +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 |
HD Moore
|
7d88f394b4
|
Use the impersonated token to spawn the shell by default
git-svn-id: file:///home/svn/framework3/trunk@8326 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-01-29 17:35:30 +00:00 |
Stephen Fewer
|
47b08fa6ef
|
simple patch to get all privileges after a successful getsystem
git-svn-id: file:///home/svn/framework3/trunk@8321 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-01-29 11:04:24 +00:00 |
Stephen Fewer
|
77da632e61
|
update the ruby side.
git-svn-id: file:///home/svn/framework3/trunk@8319 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-01-29 01:13:28 +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 |
Stephen Fewer
|
b36fe815f3
|
Add in the ruby side for the priv extensions getsystem command.
git-svn-id: file:///home/svn/framework3/trunk@8296 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-01-28 13:55:19 +00:00 |
James Lee
|
cdaeb27933
|
spaces -> tabs
git-svn-id: file:///home/svn/framework3/trunk@8232 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-01-26 00:01:55 +00:00 |
Stephen Fewer
|
b7fb95b302
|
fix for ps bug on OSX
git-svn-id: file:///home/svn/framework3/trunk@8220 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-01-25 10:49:51 +00:00 |
Stephen Fewer
|
651fd5e834
|
fix for ps bug where the wrong arch was sometimes defaulted to if no arch was returned.
git-svn-id: file:///home/svn/framework3/trunk@8211 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-01-23 16:50:44 +00:00 |
James Lee
|
7e5ad7bfa3
|
log more info about script failures
git-svn-id: file:///home/svn/framework3/trunk@8205 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-01-22 23:09:41 +00:00 |
Stephen Fewer
|
7b34b46b68
|
Commit the ruby side for the meterpreter migration overhaul.
git-svn-id: file:///home/svn/framework3/trunk@8199 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-01-22 19:47:36 +00:00 |
Stephen Fewer
|
538d44aa8d
|
commit the changes on the ruby side for new ps command. We now get the process architecture and parent pid (when possible) of each process.
git-svn-id: file:///home/svn/framework3/trunk@8157 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-01-19 10:47:01 +00:00 |
HD Moore
|
6e45d1e32f
|
Sort by creation order vs pid
git-svn-id: file:///home/svn/framework3/trunk@8059 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-01-02 11:35:57 +00:00 |
HD Moore
|
1623b59a0c
|
Decrease indents to save screen space
git-svn-id: file:///home/svn/framework3/trunk@8058 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-01-02 11:28:43 +00:00 |
HD Moore
|
42b3a5774d
|
Adds the process username to the ps output (when possible).
git-svn-id: file:///home/svn/framework3/trunk@8056 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-01-02 03:41:21 +00:00 |
HD Moore
|
4d7aec7c2d
|
Fixes #745. This commit changes how token manipulation works, adds the steal_token, drop_token, and getprivs commands. Tested on NT 4.0, 2000 SP4, XP SP3, 2003 SP2, Vista, and Windows 7
git-svn-id: file:///home/svn/framework3/trunk@8055 4d416f70-5f16-0410-b530-b9f4589650da
|
2010-01-02 00:35:10 +00:00 |
HD Moore
|
98f83bbab1
|
Adds reg queryclass
git-svn-id: file:///home/svn/framework3/trunk@8046 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-12-31 15:52:30 +00:00 |
Joshua Drake
|
2283e029db
|
crossing fingers, big cr removal batch
git-svn-id: file:///home/svn/framework3/trunk@8038 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-12-30 22:24:22 +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 |
Stephen Fewer
|
4fb212b54e
|
Go back to using select instead of sleep for the waiters.
git-svn-id: file:///home/svn/framework3/trunk@7729 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-12-07 12:55:31 +00:00 |
HD Moore
|
1f5a0be9ca
|
Fixes #630 by correct the constant typo
git-svn-id: file:///home/svn/framework3/trunk@7726 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-12-06 14:51:15 +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 |
HD Moore
|
9b2d5fcd24
|
Fixes #605 by re-raising the correct exception class
git-svn-id: file:///home/svn/framework3/trunk@7701 4d416f70-5f16-0410-b530-b9f4589650da
|
2009-12-04 18:38:59 +00:00 |