old-15 -- JavaScript (Autoredirect)

URL: https://webhacking.kr/challenge/js-2/arrow-up-right

old-15-1.png

Seems like JavaScript is restricting access, we could disable JS in browser or just curl:

 curl 'https://webhacking.kr/challenge/js-2/' -b 'PHPSESSID=3052403292'
<html>
<head>
<title>Challenge 15</title>
</head>
<body>
<script>
  alert("Access_Denied");
  location.href='/';
  document.write("<a href=?getFlag>[Get Flag]</a>");
</script>
</body>

Add ?getFlag and pwned.

Last updated