old-21 (250)
Last updated
Was this helpful?
Last updated
Was this helpful?
첫 화면이다.
id에 admin
, pw에 ' or '1
을 입력하면 Result가 아래와 같이 나타난다.
id에 admin
, pw에 ' or '0
을 입력하면 Result가 아래와 같이 나타난다.
pw 값이 참과 거짓일 때 나타나는 값이 다른 것으로 추측하였다.
이를 이용해 파이썬 코드를 짜면 아래와 같다.
실행 결과, pw는 there_is_no_rest_for_the_white_angel
이다.
id에 admin
, pw에 there_is_no_rest_for_the_white_angel
를 넣고 제출 버튼을 누르면 문제가 풀린다.