Displaying 2 results from an estimated 2 matches for "pe_header".
Did you mean:
pd_header
2007 Jun 04
3
Rpcclient adddriver Samba 3.0.25
Hello,
I'm trying to use rpcclient to add a driver to a Samba 3.0.25 running on
Gentoo. When I run the script below, rpcclient prints out the same message
as if "--help" was submitted as the only switch.
#!/bin/bash -x
RPC="/usr/local/samba/bin/rpcclient"
ARCH='Windows NT R4000'
#ARCH='Windows NT x86'
DRIVER='HP LaserJet 4Si/4Si MX
2010 Sep 20
1
Dynamic forking in Win32
...pi.hProcess, 0);
exit(1);
}
/* patch the base addr in the PE header of the EXE that we
* load ourselves.
*/
PE_ExtHeader *peXH =
(PE_ExtHeader *)((DWORD)exe->mzH->offsetToPE +
sizeof(PE_Header) + (DWORD)ptrLoc);
peXH->imageBase = (DWORD)v;
if (WriteProcessMemory(pi.hProcess, v, ptrLoc, imageSize, NULL)) {
printf("New EXE image injected into process.\n");
ctx.ContextFlags = CONTEXT_FULL;
//ctx.Eip = (D...