jm33-m0 / emp3r0r

Linux/Windows post-exploitation framework made by linux user

Home Page:https://infosec.exchange/@jm33

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

heheda123123 opened this issue · comments

commented

Describe the bug

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

To Reproduce

Expected behavior

结束gen_agent

Screenshots

image

Your environment

默认环境

CC

C2 Transport

  • Direct connection
  • CDN proxy
  • Shadowsocks
  • Shadowsocks + KCP
  • TOR
  • Other proxies
  • None of the above (Please specify blow)

Agent

OS

  • Linux
  • Windows

CPU architecture

  • amd64
  • 386
  • arm
  • arm64
  • mips
  • mips64
  • riscv64

Additional context

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.

a9f3674

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