Skip to content

Not able to stop nmap process that is started with sudo #78

Description

@JacobHonore

If you call nmapprocess.stop() on a sudo started process it will throw the following exception:
OSError: [Errno 1] Operation not permitted

Should maybe use something like os.system("sudo kill -15 {0}".format(self.__nmap_proc.pid)) in process.py stop method.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions