1 parent 2ddf71c commit 8f67244Copy full SHA for 8f67244
1 file changed
mirrorscript-v2.py
@@ -154,7 +154,7 @@ def ping_s(hostname):
154
sys.exit(1)
155
156
print("[+] Getting mirror list ...")
157
- response = requests.get('https://http.kali.org/README.mirrorlist', headers=headers).text
+ response = requests.get('https://http.kali.org/README?mirrorlist', headers=headers).text
158
urls = re.findall(r'(?:href="http(?:s|))(.*)(?:/README")',response)[2:]
159
160
if verbose:
0 commit comments