Metsrv not working because of paramater passed to init
aloneuhaus opened this issue · 0 comments
aloneuhaus commented
I have a little problem. As documented, the parameter which is passed to the init function of metsrv dll is actually not a socket but a pointer to the metserv configuration. However, when i build metsrv dll and use it instead of the original one, all the meterpreter stagers (and the win tester also) pass to the init a SOCKET, which causes the hosting process to carsh because of access violation - the code of metsrv tries to access fields of the configuration, but it ia actually a socket handle. What am i doing wrong? Do i need to use a different stager? Thank you!