jm33-m0 / emp3r0r

Linux/Windows post-exploitation framework made by linux user
https://infosec.exchange/@jm33
MIT License
1.24k stars 235 forks source link

在执行gen_agent的过程中无法退出 #254

Closed heheda123123 closed 9 months ago

heheda123123 commented 10 months ago

Describe the bug

如图,执行gen_agent之后不想继续生成了,想退出,但是按C-c并不能终止gen_agent的执行

To Reproduce

Expected behavior

结束gen_agent

Screenshots

image

Your environment

默认环境

CC

C2 Transport

Agent

OS

CPU architecture

Additional context

jm33-m0 commented 9 months ago

This design is to prevent unintended interruption. But as you experienced, there should be a way to exit the process and go back to command prompt. I will add Ctrl+c as a keybinding to interrupt gen_agent in future releases.

jm33-m0 commented 9 months ago

https://github.com/jm33-m0/emp3r0r/commit/a9f36743fcc4c2c8e5085f9318c335280eb361fd

Please test this commit and report anything that you think needs to be worked on.