?
Solved

ASM Process Killer

Posted on 2004-08-13
3
Medium Priority
?
347 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 240 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The Summer 2017 Scholarship Winners have been announced!
The top devops trends for 2017 are focused on improved deployment frequency, decreased lead time for change and decreased MTTR.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

764 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