MCPcopy Create free account
hub / github.com/Mebus/cupp / download_http

Function download_http

cupp.py:706–712  ·  view source on GitHub ↗
(url, targetfile)

Source from the content-addressed store, hash-verified

704
705
706def download_http(url, targetfile):
707 print("[+] Downloading " + targetfile + " from " + url + " ... ")
708 webFile = urllib.request.urlopen(url)
709 localFile = open(targetfile, "wb")
710 localFile.write(webFile.read())
711 webFile.close()
712 localFile.close()
713
714
715def alectodb_download():

Callers 2

alectodb_downloadFunction · 0.85
download_wordlist_httpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected