Saturday, March 19, 2011

Die railgun/model.rb!

A super trivial update...

rex/post/meterpreter/extensions/stdapi/railgun/model.rb contained about 5 different classes, linked only by the commonality that they were part of the Railgun API. Well, I just hacked it into smaller pieces! This should make finding files easier. I feel more organised already and I am celebrating by writing unit tests :-)

rex/post/meterpreter/extensions/stdapi/railgun/ now contains...

api_constants.rb
buffer_item.rb
buffer_item.rb.ut.rb
dll_function.rb
dll_helper.rb
dll_helper.rb.ut.rb
dll.rb
multi_caller.rb
multicall.rb
railgun.rb
tlv.rb
util.rb
win_const_manager.rb

My remaining gripe is that multicall.rb is the file for MultiCaller. I would rename it, but I don't yet have a handle on its usage outside of the checked-in framework. Does anyone use it?

Stay Froody!
chao-mu@blog:~$ logout

5 comments:

  1. I doubt anyone uses it directly. The new updates are looking awesome. Can't wait till I get to play with some of them

    ReplyDelete
  2. Please let me when I can begin doing test.

    Thanks,

    humble-desser

    ReplyDelete
  3. Since this update, I get this error when running an exploit.


    msf exploit(ms08_067_netapi) > exploit

    [*] Started reverse handler on x.x.x.x:4444
    [*] Automatically detecting the target...
    [*] Fingerprint: Windows 2003 - Service Pack 2 - lang:Unknown
    [*] We could not detect the language pack, defaulting to English
    [*] Selected Target: Windows 2003 SP2 English (NX)
    [*] Attempting to trigger the vulnerability...
    [*] Sending stage (749056 bytes) to x.x.x.x
    [*] Meterpreter session 1 opened (x.x.x.x:4444 -> x.x.x.x:2418)
    [-] Error running command use: MissingSourceFile no such file to load -- rex/post/meterpreter/extensions/stdapi/railgun/dll_helper

    ReplyDelete
  4. There was an accidental partial submission. Try updating.

    ReplyDelete