killchain-compendium/enumeration/network_scanners/file_downloader.py

8 lines
187 B
Python
Executable File

#!/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)