diff --git a/src/main/resources/lessons/pathtraversal/js/path_traversal.js b/src/main/resources/lessons/pathtraversal/js/path_traversal.js index 0c2b341b8..955e7fe7b 100644 --- a/src/main/resources/lessons/pathtraversal/js/path_traversal.js +++ b/src/main/resources/lessons/pathtraversal/js/path_traversal.js @@ -70,9 +70,3 @@ webgoat.customjs.profileZipSlip = function () { formData.append("password", $("#passwordZipSlip").val()); return formData; } - -webgoat.customjs.profileZipSlipRetrieval = function () { - $.get("PathTraversal/zip-slip", function (result, status) { - document.getElementById("previewZipSlip").src = "data:image/png;base64," + result; - }); -}