-
Notifications
You must be signed in to change notification settings - Fork 42
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
Updated this for ya! #5
Open
FashyGainz
wants to merge
15
commits into
shirosaidev:master
Choose a base branch
from
FashyGainz:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on Sep 6, 2024
-
1. New Argument (--nmapdatadir): Users can specify their own NSE script directory using this argument. If they don't, the script will look for it in default directories. 2. Directory Check: If the user provides a directory that doesn’t exist, the script will notify them and exit. 3. Dynamic NSE Script Path Detection: If no custom path is given, the script will try to locate it using common paths (/usr/local/share/nmap/scripts, /usr/share/nmap/scripts). 4. Error Handling for Missing Directories: If the script cannot find the NSE script directory, it will exit with an error message.
Configuration menu - View commit details
-
Copy full SHA for 48744c4 - Browse repository at this point
Copy the full SHA 48744c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for afd3bdc - Browse repository at this point
Copy the full SHA afd3bdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3064d0 - Browse repository at this point
Copy the full SHA c3064d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44a9695 - Browse repository at this point
Copy the full SHA 44a9695View commit details
Commits on Sep 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1e36470 - Browse repository at this point
Copy the full SHA 1e36470View commit details -
Function erroring out because it assumes nfsls4 exists which is risky af. The condition if len(nfsls) > 4 ensures that nfsls[4] exists before attempting to access it. This prevents the IndexError from being raised when nfsls has fewer elements.
Configuration menu - View commit details
-
Copy full SHA for 9b867bb - Browse repository at this point
Copy the full SHA 9b867bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56baca0 - Browse repository at this point
Copy the full SHA 56baca0View commit details
Commits on Sep 10, 2024
-
moved the get_host_ranges method into the sniffer class, ensuring that it can be accessed using self.get_host_ranges() as expected
Configuration menu - View commit details
-
Copy full SHA for 5fe9a34 - Browse repository at this point
Copy the full SHA 5fe9a34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 459dada - Browse repository at this point
Copy the full SHA 459dadaView commit details -
Configuration menu - View commit details
-
Copy full SHA for d09ffe4 - Browse repository at this point
Copy the full SHA d09ffe4View commit details -
expand_cidr Method: This method takes a CIDR notation (like 10.185.80.0/24) and expands it into individual IP addresses using the ipaddress module. It handles errors if an invalid CIDR is provided. Modified sniff_hosts: When CIDR notation is detected in the hosts string, it expands the range using the expand_cidr method. This generates a list of individual IP addresses that can be scanned.
Configuration menu - View commit details
-
Copy full SHA for 5d44791 - Browse repository at this point
Copy the full SHA 5d44791View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b833e2 - Browse repository at this point
Copy the full SHA 0b833e2View commit details -
self.nm.all_hosts(): This method returns a list of all hosts that Nmap scanned and returned results for. If the target host (host) is not in this list, it means Nmap couldn't get any information for that host. Logging: A warning is logged when Nmap does not return results for a host, which could help in debugging why a particular host was skipped. Graceful Return: If the host is not in the scan results, the method returns the host and the empty open_ports dictionary, skipping further processing.
Configuration menu - View commit details
-
Copy full SHA for ae9ddc9 - Browse repository at this point
Copy the full SHA ae9ddc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02f9809 - Browse repository at this point
Copy the full SHA 02f9809View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cef1cf - Browse repository at this point
Copy the full SHA 0cef1cfView commit details
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.