Closed inveteck closed 4 years ago
Thanks, I needed a fix for this :)
Buddy, I just tested your changed code, there is a problem with that. Even if I select N or n (for direct exit.) it's proceeding to ask for discovered ASN and continues to save IP ranges.
ask = input(colored("\n\nDo you want to scan for IP ranges from discovered ASN? (Y or N)\n", 'green')) # Prompt for IP ranges prompt1 = ask.lower()
if prompt1 == "y" or prompt1 == "yes": # If-elif for saving IP ranges functionality.
elif prompt1 == "n" or prompt1 == "no":
this should work perfectly
original script accepts only Y or N for prompt1. y or n or yes or no, breaks the program