Injector failed with -1 calling injector_inject: The target process unexpectedly stopped by signal 17.
step 1
step 2
Thank you, does this happen consistently?
Thank you, does this happen consistently?
As long as the exit is executed, it will happen every time.
uname -a
Linux kali 6.11.2-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.11.2-1kali1 (2024-10-15) x86_64 GNU/Linux
What "exit"?
What "exit"?
The exit I mentioned refers to a command. In the meterpreter session of metasploit, we can execute shell commands to obtain the interactive terminal of the target system, so that we can execute any command on the target system like a normal user. If you want to exit this interactive terminal, you need to execute the exit command. After execution, you will return to the meterpreter session. At this time, the control of the victim machine will not be lost. However, after using pyinjecter to inject malicious files, we can control the target machine normally and obtain the meterpreter session. We can also execute shell commands to enter the interactive terminal. However, when I execute the exit command to exit the interactive terminal, I directly lose the connection of the entire session. Under normal circumstances, it is necessary to fall back to the meterpreter session and the connection status will not be lost.
At the same time, pyinjector also reported an error, as shown below:
Maybe the signal generated by the exit command should be handled by the controlled target program. Maybe it shouldn't be you. There is nothing wrong with your program.