Skip to content

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

@JacobHonore

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions