Commit Graph

47 Commits (9ae977ec807437a56c82fcbde4363e891e463099)

Author SHA1 Message Date
HD Moore d656e3185f Mark all libraries as defaulting to 8-bit strings 2012-06-29 00:18:28 -05:00
James Lee 65b92efe8c Fix an ancient syntax fail 2012-03-16 02:03:54 -06:00
James Lee a3db547c76 Justify TLVs to be a little easier to read 2012-03-16 01:50:26 -06:00
James Lee 6cfb3ff4fc Comment out extension TLV types
I suspect this is a load order issue where sometimes the extension's TLV
types are defined before hitting this and sometimes aren't.
Nevertheless, pretty printing a TLV is not worth breaking all the
payloads.
2012-03-13 14:08:58 -06:00
James Lee 58bc9346f4 Make inspecting meterpreter packets a little less painful
Not sure why I originally thought there was no way to access extensions'
constants before.  A simple `require` makes it all happy.
2012-03-13 01:55:57 -06:00
HD Moore cccbdf9fab This patch allows meterpreter to work with file paths and user names that are not of the US-ASCII character set.
git-svn-id: file:///home/svn/framework3/trunk@13200 4d416f70-5f16-0410-b530-b9f4589650da
2011-07-17 17:32:52 +00:00
HD Moore 3a4b5a02fb Force strings to be binary in Meterpreter requests, wrap server-side errors with a client-side wrapper
git-svn-id: file:///home/svn/framework3/trunk@12758 4d416f70-5f16-0410-b530-b9f4589650da
2011-05-28 05:55:51 +00:00
James Lee f8c2fa6b72 aesthetic
git-svn-id: file:///home/svn/framework3/trunk@11771 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-18 00:25:36 +00:00
James Lee d6b8ef4c16 don't show meta type for packets (since they don't have one)
git-svn-id: file:///home/svn/framework3/trunk@11768 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-17 20:04:46 +00:00
James Lee b7d1ccb304 add packet-type to meterpreter packets' inspect
git-svn-id: file:///home/svn/framework3/trunk@11767 4d416f70-5f16-0410-b530-b9f4589650da
2011-02-17 19:59:12 +00:00
Stephen Fewer e85b8adcf8 Add Ruby side meterpreter packet support for QWORD Tlv's.
git-svn-id: file:///home/svn/framework3/trunk@10318 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-14 23:23:15 +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
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 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
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
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 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 e3f68f2639 Another large number of warnings fixed by Yoann Guillot
git-svn-id: file:///home/svn/framework3/trunk@7248 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-25 17:18:23 +00:00
HD Moore 608ca7aae8 This patch removes some of the meterpreter compiler warnings and fixes migration over SSL
git-svn-id: file:///home/svn/framework3/trunk@6761 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-09 22:44:33 +00:00
natron 5069038ecd Fixes meterpreter's migrate function to work on DEP-enabled boxes (ticket 275). Patch by Stephen Fewer (harmonysecurity.com).
git-svn-id: file:///home/svn/framework3/trunk@6347 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-16 21:10:58 +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
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
Spoon M e6672398d3 the modify your argument and it will slowly grow bug :)
git-svn-id: file:///home/svn/incoming/trunk@2702 4d416f70-5f16-0410-b530-b9f4589650da
2005-07-10 06:32:13 +00:00
Spoon M 8f874a3ac2 Added get_tlv_values, hate it skape?
git-svn-id: file:///home/svn/incoming/trunk@2640 4d416f70-5f16-0410-b530-b9f4589650da
2005-06-14 04:04:20 +00:00
Matt Miller 6a967d0b74 times
git-svn-id: file:///home/svn/incoming/trunk@2582 4d416f70-5f16-0410-b530-b9f4589650da
2005-06-05 18:47:37 +00:00
Matt Miller aeb885372d worked on the socket api some more, tcp client connections working
git-svn-id: file:///home/svn/incoming/trunk@2437 4d416f70-5f16-0410-b530-b9f4589650da
2005-04-21 06:32:01 +00:00
Matt Miller c8bc15bd88 proof of concept meterpreter server instance migration
git-svn-id: file:///home/svn/incoming/trunk@2423 4d416f70-5f16-0410-b530-b9f4589650da
2005-04-18 08:29:30 +00:00
Matt Miller 18cd568415 thread stuff
git-svn-id: file:///home/svn/incoming/trunk@2381 4d416f70-5f16-0410-b530-b9f4589650da
2005-04-16 07:29:06 +00:00
Matt Miller 87f1d14bcc added process enumeration and closing
git-svn-id: file:///home/svn/incoming/trunk@2378 4d416f70-5f16-0410-b530-b9f4589650da
2005-04-15 07:03:33 +00:00
Matt Miller f4264ed7d5 moved registry/process around to be under sys, implemented process.memory and process attaching
git-svn-id: file:///home/svn/incoming/trunk@2377 4d416f70-5f16-0410-b530-b9f4589650da
2005-04-15 06:23:59 +00:00
Matt Miller ca42291606 refactored the pool interface to make the code more generic
git-svn-id: file:///home/svn/incoming/trunk@2375 4d416f70-5f16-0410-b530-b9f4589650da
2005-04-13 07:31:11 +00:00
Matt Miller f43c076313 added eof
git-svn-id: file:///home/svn/incoming/trunk@2373 4d416f70-5f16-0410-b530-b9f4589650da
2005-04-12 06:39:33 +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 7556674686 file i/o working
git-svn-id: file:///home/svn/incoming/trunk@2365 4d416f70-5f16-0410-b530-b9f4589650da
2005-04-11 04:56:24 +00:00
Matt Miller 1a9852d50e implemented Dir
git-svn-id: file:///home/svn/incoming/trunk@2362 4d416f70-5f16-0410-b530-b9f4589650da
2005-04-11 01:59:45 +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 7d313fc76c moved constants
git-svn-id: file:///home/svn/incoming/trunk@2353 4d416f70-5f16-0410-b530-b9f4589650da
2005-04-10 05:02:59 +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 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
Matt Miller 2cd83615c2 basic for meterp, doesn't do much yet
git-svn-id: file:///home/svn/incoming/trunk@2346 4d416f70-5f16-0410-b530-b9f4589650da
2005-04-10 01:17:19 +00:00
Matt Miller 1407b65ff5 updates to packet class and added packet parser
git-svn-id: file:///home/svn/incoming/trunk@2345 4d416f70-5f16-0410-b530-b9f4589650da
2005-04-10 00:39:39 +00:00
Matt Miller 50d92bcafa Packet update to the house
git-svn-id: file:///home/svn/incoming/trunk@2344 4d416f70-5f16-0410-b530-b9f4589650da
2005-04-09 21:44:01 +00:00
Matt Miller 21453ae15c packet serialization
git-svn-id: file:///home/svn/incoming/trunk@2343 4d416f70-5f16-0410-b530-b9f4589650da
2005-04-09 21:36:54 +00:00
Matt Miller 242dd3c7dd more leetness
git-svn-id: file:///home/svn/incoming/trunk@2342 4d416f70-5f16-0410-b530-b9f4589650da
2005-04-09 20:57:59 +00:00
Matt Miller c94c2c1fd1 base packet classes, not finished yet
git-svn-id: file:///home/svn/incoming/trunk@2341 4d416f70-5f16-0410-b530-b9f4589650da
2005-04-09 20:45:09 +00:00