From: Henry N. <hen...@ar...> - 2010-08-06 00:22:05
|
On 05.08.2010 21:00, Mike Mestnik wrote: > On 8/5/2010 2:27 PM, Henry Nestler wrote: >> On 05.08.2010 17:36, Mike Mestnik wrote: >>> I finally got this working, using... >>> # echo -ne 'CoLinuxDriver\0tap0801co\0\0' | hexdump -ve '4/1 "&i1 %3u," >>> "\\\n"' >>> System::Call "*(&i1 67,&i1 111,&i1 76,&i1 105,\ >>> &i1 110,&i1 117,&i1 120,&i1 68,\ >>> &i1 114,&i1 105,&i1 118,&i1 101,\ >>> &i1 114,&i1 0,&i1 116,&i1 97,\ >>> &i1 112,&i1 48,&i1 56,&i1 48,\ >>> &i1 49,&i1 99,&i1 111,&i1 0,\ >>> &i1 0) i .R1" >>> System::Call 'advapi32::CreateServiceA(i r4, t r2, t R7, i >>> ${SERVICE_ALL_ACCESS}, \ >>> i R4, i R5, i 0, t R6, n, >>> n, i $R1, $R2, $R3) i.r6' >> Hui, what an interesting hack :)) Alternatively you can change the depends with command line tool "sc": sc config "Cooperative Linux" depend= "CoLinuxDriver/tap0801co" -- Henry N. |