Solved

ASM Process Killer

Posted on 2004-08-13
3
341 Views
Last Modified: 2008-02-26
hello i need a code or full code Killing Procces For Example

when i build the code and run it
it will kill hello.exe  

cuz i need the code to make it killer process program
i need the code without menu like file and and ..
thx

Note : i don't need the code that writing with C or C++ Programming Language cuz im learning it and i have done one

i need the code that wrting with Assembly Programming Language

Big Thanks :)
0
Comment
Question by:hanagoku
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
aneim earned 60 total points
ID: 11857565
Hi HanaGoku,

this code snipet just close the Windows Calculator and exit. Its look by the WindowTitle.
Firts Get the windowhandle with FindWindow and them Send a close command.


Hope it Helps.
I used MASM to do this app.

------------------------------------- BEGIN SNIPET
; #########################################################################
      .386
      .model flat, stdcall
      option casemap :none   ; case sensitive
; #########################################################################

      include \masm32\include\windows.inc
      include \masm32\include\user32.inc
      include \masm32\include\kernel32.inc

      includelib \masm32\lib\user32.lib
      includelib \masm32\lib\kernel32.lib

; #########################################################################
    .data

WindowTitle db "Calculator",0
    .code

start:
        invoke FindWindowA, 0, ADDR WindowTitle
        invoke SendMessageTimeout, EAX, WM_CLOSE, 0, 0, SMTO_ABORTIFHUNG or SMTO_NORMAL, 5000, 0
        invoke ExitProcess,0

; #########################################################################

end start
------------------------------------- END SNIPET
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There is a lot to be said for protecting yourself and your accounts with 2 factor authentication.  I found to my own chagrin, that there is a big downside as well.
This article outlines some of the reasons why an email message gets flagged as spam on a recipient's end.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question