ssongk
ssongk
ssongk
전체 방문자
오늘
어제

공지사항

  • resources
  • 분류 전체보기 (626)
    • CTF (24)
    • background (79)
      • fuzzing (5)
      • linux (29)
      • linux kernel (15)
      • windows (2)
      • web assembly (1)
      • embedded (0)
      • web (13)
      • crypto (9)
      • mobile (1)
      • AI (1)
      • etc.. (3)
    • write-up(pwn) (171)
      • dreamhack (102)
      • pwn.college (4)
      • pwnable.xyz (51)
      • pwnable.tw (3)
      • pwnable.kr (5)
      • G04T (6)
    • write-up(rev) (32)
      • dreamhack (24)
      • reversing.kr (8)
    • write-up(web) (195)
      • dreamhack (63)
      • LOS (40)
      • webhacking.kr (69)
      • websec.fr (3)
      • wargame.kr (6)
      • webgoat (1)
      • G04T (7)
      • suninatas (6)
    • write-up(crypto) (19)
      • dreamhack (16)
      • G04T (1)
      • suninatas (2)
    • write-up(forensic) (53)
      • dreamhack (5)
      • ctf-d (47)
      • suninatas (1)
    • write-up(misc) (13)
      • dreamhack (12)
      • suninatas (1)
    • development (31)
      • Linux (14)
      • Java (13)
      • Python (1)
      • C (2)
      • TroubleShooting (1)
    • 자격증 (8)
    • 이산수학 (1)
    • 정보보안 (0)
hELLO · Designed By 정상우.
ssongk

ssongk

[Lord of SQLInjection] poltergeist write-up
write-up(web)/LOS

[Lord of SQLInjection] poltergeist write-up

2022. 11. 10. 17:26

문제 화면 및 소스 코드입니다.

플래그는 다른 테이블에 있습니다.

 

mysql에서 information_schema은 없지만 대신 sqlite_master가 있습니다.

sqlite_maste의 name에 테이블 네임이 저장되어 있습니다.

테이블 이름을 알아냈습니다.

 

해당 테이블을 조회하는 플래그 값이 나왔습니다.

 

끝!


레퍼런스

https://training-1.tistory.com/148

 

SQLite에서 information_schema

rootme-.org에는 SQLite로 된 문제가 종종 있다.(심지어 postgreSQL도 있다.) SQLite에는 information_schema가 없다.그대신 SQLite에는 sqlite_master라는게 있다. 테이블 명과 컬럼 명을 빼낼 때 아래와 같이 하면 된

training-1.tistory.com

 

'write-up(web) > LOS' 카테고리의 다른 글

[Lord of SQLInjection] banshee write-up  (0) 2022.11.10
[Lord of SQLInjection] manticore write-up  (0) 2022.11.10
[Lord of SQLInjection] chupacabra write-up  (0) 2022.11.09
[Lord of SQLInjection] cyclops write-up  (0) 2022.11.09
[Lord of SQLInjection] godzilla write-up  (0) 2022.11.07
    'write-up(web)/LOS' 카테고리의 다른 글
    • [Lord of SQLInjection] banshee write-up
    • [Lord of SQLInjection] manticore write-up
    • [Lord of SQLInjection] chupacabra write-up
    • [Lord of SQLInjection] cyclops write-up
    ssongk
    ssongk
    벌레 사냥꾼이 되고 싶어요

    티스토리툴바