Skip to content

Commit 8f67244

Browse files
committed
Update mirrorscript-v2.py
Update Mirror List URL
1 parent 2ddf71c commit 8f67244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mirrorscript-v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def ping_s(hostname):
154154
sys.exit(1)
155155

156156
print("[+] Getting mirror list ...")
157-
response = requests.get('https://http.kali.org/README.mirrorlist', headers=headers).text
157+
response = requests.get('https://http.kali.org/README?mirrorlist', headers=headers).text
158158
urls = re.findall(r'(?:href="http(?:s|))(.*)(?:/README")',response)[2:]
159159

160160
if verbose:

0 commit comments

Comments
 (0)