Skip to content
This repository was archived by the owner on Feb 6, 2020. It is now read-only.
This repository was 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

Description

@smoyer64

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions