WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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