Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve nmap #26

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Improve nmap #26

wants to merge 5 commits into from

Conversation

guanana
Copy link

@guanana guanana commented Dec 13, 2020

Great job you're being doing 👍
I've modified a bit the code to use python 3 nmap library. I've been using it and I thought that maybe other people could use this.

I'm planning to work a bit more on the code in the future :)

Since I couldn't find a Contributors file (or how to contribute) I hope this is fine

  Add networks path
netbox-scanner.py:
  Add dir_config option
  Read networks file
networks.txt:
  Move to expected location and added some examples
nmap.py:
  Use of nmap library to simplify nmap scan
requirements.txt:
  Update requirements.txt with nmap library and update other libraries to latest compatible version
@guanana guanana marked this pull request as draft December 14, 2020 03:41
@guanana
Copy link
Author

guanana commented Dec 14, 2020

Pending to check compatibility with new way of dealing with tags (not related to the change but related with functionality in new netbox)

… wasn't working, don't know if it was dependant on old Netbox version)

nmap.py: Add extra function to improve DNS resolution since nmap is not always consistent
@guanana guanana marked this pull request as ready for review December 15, 2020 01:28
@danielo515
Copy link

Will this be accepted? Looks nice

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

Successfully merging this pull request may close these issues.

None yet

2 participants