Sudomy is a subdomain enumeration tool to collect subdomains and analyzing domains performing automated reconnaissance (recon) for bug hunting / pentesting
This pull request fixes a SyntaxWarning in exec_resolver.py by adding a raw string prefix (r) to the regex pattern for IP addresses. This change ensures that the backslashes in the regex are interpreted correctly, preventing any warnings or errors.
Changes made:
Updated the ip_regex variable to use a raw string: ip_regex = r"^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])$"
These changes have been tested locally and the script runs without errors or warnings.
This pull request fixes a SyntaxWarning in
exec_resolver.py
by adding a raw string prefix (r
) to the regex pattern for IP addresses. This change ensures that the backslashes in the regex are interpreted correctly, preventing any warnings or errors.Changes made:
ip_regex
variable to use a raw string:ip_regex = r"^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])$"
These changes have been tested locally and the script runs without errors or warnings.