1
0

Also output download links for Amazon S3 servers.

This commit is contained in:
2018-01-12 00:31:39 +01:00
parent cf04ba53df
commit 4917b87741
3 changed files with 12 additions and 3 deletions
+4 -1
View File
@@ -61,11 +61,14 @@ tv = args.targetversion[0]
fw_id = args.fwid[0]
req_xml = fc.do_request(fc.curef, fv, tv, fw_id)
print(fc.pretty_xml(req_xml))
fileid, fileurl, slaves, encslaves = fc.parse_request(req_xml)
fileid, fileurl, slaves, encslaves, s3_fileurl, s3_slaves = fc.parse_request(req_xml)
for s in slaves:
print("http://{}{}".format(s, fileurl))
for s in s3_slaves:
print("http://{}{}".format(s, s3_fileurl))
if fc.mode == fc.MODE.FULL:
header = fc.do_encrypt_header(random.choice(encslaves), fileurl)
headname = "header_{}.bin".format(tv)