QuackatronHQ / Gigarepo

Audit required: External control of file name or path PTC-W6004
Security
Minor
a month ago2 years old
External variable 'file1' used in file path
58
59
60def copy_file(file1, file2):
61    with open(file1, "rb") as f1:62        with open(file2, "wb") as f2:
63            f2.write(f1.read())