您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

Oracle注入简单命令整理

2024/3/17 15:39:40发布23次查看
第一次碰到oracle,整理一些简单实用的。确定orcale识别--为注释符,不识别#length()为求字符串长度函数,非len()表dual: 系统表
第一次碰到oracle,整理一些简单实用的。
确定orcale
识别--为注释符,不识别#
length()为求字符串长度函数,非len()

dual: 系统表,只有一个选项

all_tables:
table_name 表名
owner 所有者,库名

all_tab_cols:
column_name 列名
data_type 数据类型
查看版本
select banner from sys.v_$version where rownum=1
查看ip以及主机名
select to_char(utl_inaddr.get_host_address) from dual--
select to_char(utl_inaddr.get_host_address) from dual--
查看用户
select username from all_users
查看角色
select role from session_roles
查看库
select owner from all_tables
查看表
select table_name from all_tables where owner=''
查看列
select column_name from all_tab_cols where table_name=''
其他
一下3个为不同级别,上例中因没有dba权限,故全用all来代替
dba, 数据库管理员
all, 全部用户
user, 当前用户
to_char() 转换为字符窜
blob 大对象,,属于lob,二进制数据,如照片等。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product