Nmap in subbrute#28
Open
jahrek wants to merge 2 commits into
Open
Conversation
added 2 commits
September 24, 2015 17:04
OMantere
reviewed
Jan 8, 2017
OMantere
left a comment
There was a problem hiding this comment.
You're creating a new nmap subprocess for each host... You can also create a list of hosts and batch them into one call...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello ;-)
Thank you for sharing your software. It really helping me in my work ;-)
But the main problem for me was to automate process of using subbrute with nmap. Of course I can make some little scripts and It can help. But I thought that maybe I will go further and maybe I can scan found domains with nmap in subbrute ;-)
How it works?
For enable nmap, use
--nmapoption. This option, will scan found domain with default parameters"--top-ports 420". If you want to change nmap arguments, use:--nmap-args=""to put your own type of scan.My changes scan ip of server only once, so you wont make any necessary traffic. It works with json too.
By the way, I repaired bug in json mode. If you had list of servers it was writing only last domain, casue file write mode was "w". I changed it to "a".
This is my first code written in python. So git blame me a lot;-)