Adding DLL and function definitions to Railgun

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 documentation found at http://www.rubydoc.info/search/github/rapid7/metasploit-framework?q=Railgun can be helpful in giving you a quick idea about different Windows constants that can be used while adding function definitions.

Get Metasploit Penetration Testing Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.