flat assembler
Message board for the users of flat assembler.
Index
> Windows > psskill.exe |
Author |
|
rugxulo 20 Oct 2009, 07:19
Vista (and presumably Win7) has TASKLIST and TASKKILL, so use those.
|
|||
20 Oct 2009, 07:19 |
|
semiono 20 Oct 2009, 14:15
tskill.exe is dependent of Terminal Services! Are you need it?
taskkill.exe is depend of wbem! Are you need it for me? WinXP/FAT32 is forever! ;- Last edited by semiono on 21 Oct 2009, 22:23; edited 3 times in total |
|||
20 Oct 2009, 14:15 |
|
r22 20 Oct 2009, 14:59
@semiono
Replace your MAIN proc with this Code: main: invoke GetCommandLine invoke CommandLineToArgv,eax,argsNum cmp dword[argsNum],1 push eax jbe .endit .nextprocess: push dword[eax+4] call AdjustMyToken stdcall findProcessID test eax,eax jz .endit invoke OpenProcess,PROCESS_TERMINATE,FALSE,eax push eax invoke TerminateProcess,eax,1 invoke CloseHandle jmp .nextprocess ;loop to find more than one with same name .endit: |
|||
20 Oct 2009, 14:59 |
|
semiono 20 Oct 2009, 20:14
Oh, sorry! I forget invoke ExitProcess,0
Now full work! Code: start: invoke GetCommandLine invoke CommandLineToArgv,eax,argsNum cmp dword[argsNum],1 push eax jbe @F ; jump_if_below_or_equal push dword[eax+4] call AdjustMyToken stdcall findProcessID test eax,eax jz @F ; r22 invoke OpenProcess,PROCESS_TERMINATE,FALSE,eax push eax invoke TerminateProcess,eax,1 invoke CloseHandle jmp start @@: ; invoke LocalFree invoke ExitProcess,0 ret @r22 thanks! |
|||
20 Oct 2009, 20:14 |
|
semiono 22 Oct 2009, 18:25
Somebody haven't a tool somelike dll2inc (fasm converter)?
Please, give me it? Somes api do not preset... Code: include '%fasm%\api\advapi32.inc' import kernel32,OpenProcess,'OpenProcess',\ect... Are You have src or bin of dll2inc ? Please! |
|||
22 Oct 2009, 18:25 |
|
windwakr 22 Oct 2009, 19:24
You asking where to find dll2inc? If so, just look at the first thing on here:
http://comrade.ownz.com/sources.html |
|||
22 Oct 2009, 19:24 |
|
semiono 22 Oct 2009, 22:11
windwakr, thanks!
Where is saved file will found? dll2inc library.dll > my.inc ? What is the switchers? dll2inc /a lib... - don't work! http://comrade.ownz.com/sources.html - good works! i see all! |
|||
22 Oct 2009, 22:11 |
|
windwakr 22 Oct 2009, 22:33
Ya, it looks like you would use "dll2inc library.dll > whatever.inc"
I don't know about the switches, you would have to ask comrade. |
|||
22 Oct 2009, 22:33 |
|
semiono 22 Oct 2009, 22:36
Well
|
|||
22 Oct 2009, 22:36 |
|
windwakr 22 Oct 2009, 23:52
Try sending him a PM
http://board.flatassembler.net/profile.php?mode=viewprofile&u=3 Although, it looks like he hasn't been very active lately, you may need to wait a while for a response. |
|||
22 Oct 2009, 23:52 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.