killchain-compendium/enumeration/network_scanners/file_downloader.py

8 lines
187 B
Python
Raw Normal View History

2021-08-23 01:13:54 +02:00
#!/usr/bin/env python
import requests
url = "https://download.sysinternals.com/files/PSTools.zip"
r = requests.get(url, allow_redirects=True)
open("PSTools.zip", 'wb').write(r.content)