1. 문제
2. 풀이
<a id="hackme" style="position:relative;left:0;top:0"
onclick="this.style.left=parseInt(this.style.left,10)+1+'px';if(this.style.left=='1600px')
this.href='?go='+this.style.left" onmouseover="this.innerHTML='yOu'"
onmouseout="this.innerHTML='O'">O</a>
- left 가 1600px 이면 어디론가 href 시켜준다.
- 맞춰주면 해결될듯?
- 마우스로 클릭하면 저기 left=parseInt(this.style.left,10)+1+'px' 코드에서 1px 만큼 움직임
- 그럼 + 1599로 하고 1번 클릭하면 바로 해결될것 같다.
- F5 눌러주고 초기화 한 다음에
- 1600 만큼 움직이도록 하고 클릭해보면
- 해결된다.
'Wargame > Webhacking.kr' 카테고리의 다른 글
[Webhacking.kr] old-39 (0) | 2025.02.05 |
---|---|
[Webhacking.kr] old-15 (0) | 2025.02.02 |
[Webhacking.kr] old-03 (0) | 2025.02.01 |
[Webhacking.kr] old-24 (0) | 2024.12.01 |
[Webhacking.kr] old-26 (0) | 2024.11.30 |