
뭔 타임리밋도 있고 프로그래밍도 하지말란다.
함부로 해선 안되는걸까? 소스를 읽도록 해보자
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | <html> <head> <title>Challenge 20</title> <style type= "text/css" > body { background:black; color:white; font-size:10pt; } input { background:silver; color:black; font-size:9pt; } </style> </head> <body> <center><font size=2> time limit : 2</font></center> <form name=lv5frm method=post> <table border=0> <tr><td>nickname</td><td><input type=text name=id size=10 maxlength=10></td></tr> <tr><td>comment</td><td><input type=text name=cmt size=50 maxlength=50></td></tr> <tr><td>code</td><td><input type=text name=hack><input type=button name=attackme value= "phtleynvtp" style=border:0;background=lightgreen onmouseover= this .style.font=size=30 onmouseout= this .style.font=size=15></td></tr> <tr><td><input type=button value= "Submit" onclick=ck()></td><td><input type=reset></td></tr> </table> <script> function ck() { if (lv5frm.id.value== "" ) { lv5frm.id.focus(); return ; } if (lv5frm.cmt.value== "" ) { lv5frm.cmt.focus(); return ; } if (lv5frm.hack.value== "" ) { lv5frm.hack.focus(); return ; } if (lv5frm.hack.value!=lv5frm.attackme.value) { lv5frm.hack.focus(); return ; } lv5frm.submit(); } </script> <br> do not programming!<br> this is javascript challenge </body> </html> |
서브밋을 누르면 ck가 돌아간다.
얼추 읽어보니 빈값이면 안되게 폼을 처리하고 있는데, 왜 프로그래밍하지 말라는줄 알겠다.
여튼 보면
서브밋을 누르고 나면 시간이 2초간 주어지는데 2초만에 한번 더 인증을 하면 된다.
다음과 같이 콘솔에다 쳐놓고 그냥 클릭하다 보면 된다...
1 2 3 4 | lv5frm.id.value= "1" ; lv5frm.cmt.value= "2" ; lv5frm.hack.value=lv5frm.attackme.value; lv5frm.submit(); |