Post

Webhacking.kr - web20

web20

<script>
function ck(){
  if(lv5frm.id.value=="") { lv5frm.id.focus(); return; }
  if(lv5frm.cmt.value=="") { lv5frm.cmt.focus(); return; }
  if(lv5frm.captcha.value=="") { lv5frm.captcha.focus(); return; }
  if(lv5frm.captcha.value!=lv5frm.captcha_.value) { lv5frm.captcha.focus(); return; }
  lv5frm.submit();
}
</script>

Solution

1
2
id, comment, captcha를 2초안에 입력해야하며 captcha는 정확한 값을 입력해줘야 함.
따라서 아래와 같이 코드를 짜서 console창에 입력해주면 성공.
1
2
3
4
lv5frm.id.value='a';
lv5frm.cmt.value='b';
lv5frm.captcha.value=lv5frm.captcha_.value;
lv5frm.submit();
This post is licensed under CC BY 4.0 by the author.