INNER CODE UNIT · Python
cgiBul
demining/CryptoDeepTools · 24ShellShockAttack/main.py:38
def cgiBul():
try:
print(Colors.y + "e.g ==>http://target.com\n(Dont add / symbol at the end of the url!)")
url = input("TARGET URL\t:")
bb = url + "/cgi-bin/"
c = requests.get(bb)
istek = c.status_code
print(istek)
if (istek == 200) or (istek == 403) or (istek == 301) or (istek == 302):
print(Colors.y + "Status Code\t:" + str(istek))
print(Colors.y + "Vuln Url\t:" + bb)
else:
print(Colors.r, "Not Vuln..!!!")
except:
print(Colors.r, "Invalid URL Try AGAIN..!")
sleep(3)