Skip to content

Latest commit

 

History

History
53 lines (29 loc) · 1.54 KB

.kill.md

File metadata and controls

53 lines (29 loc) · 1.54 KB
description
Description of the '.kill' command in HyperDbg.

.kill (terminate the process)

Command

.kill

Syntax

.kill

Description

Terminates the currently active process (the previously started process using the '.start' or the '.attach' commands).

Parameters

None

Examples

Imagine we want to terminate a previously started program using the '.start' command.

0: kHyperDbg> .kill

IOCTL

The IOCTL description is the same as the '.start' command, but instead of Action, you should send DEBUGGER_ATTACH_DETACH_USER_MODE_PROCESS_ACTION_KILL_PROCESS.

Remarks

This command will continue the debuggee for some time (in Debugger Mode). This means that you lose the current context (registers & memory) after executing this command.

Requirements

None

Related

.start (start a new process)

.restart (restart the process)

.attach (attach to a process)

.detach (detach from the process)

.switch (show the list and switch between active debugging threads)