Skip to content
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.

Should the SQLMap API server be killed when the main process exits? #2

Open
smoyer64 opened this issue Feb 5, 2020 · 0 comments
Open

Comments

@smoyer64
Copy link
Contributor

smoyer64 commented Feb 5, 2020

This could be accomplished by the following code and would only be executed if the developer forgot to call the cancelFunc() when they were done with the server. Is there a case where someone might want the API server running after the SQLMap REST proxy?

	srv.SysProcAttr = &syscall.SysProcAttr{
		Pdeathsig: syscall.SIGKILL,
	}

Place this code on the line after srv is created by the exec.Command(...) function.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant