June 2012
Intermediate to advanced
268 pages
6h 8m
English
In the previous recipe, we focused on calling Windows API DLLs through Railgun. In this recipe, we will focus on adding our own DLL and function definitions to Railgun. In order to do this, we should have an understanding of Windows DLLs. The Railgun manual can be helpful in giving you a quick idea about different Windows constants that can be used while adding function definitions.
Adding a new DLL definition to Railgun is an easy task. Suppose you want to add a DLL that ships with Windows but it is not present in your Railgun, then you can create a DLL definition under pentest/exploits/framework3/lib/rex/post/meterpreter/extensions/stdapi/railgun/def and name it as def_dllname.rb.
Read now
Unlock full access