Chinaunix首页 | 论坛 | 博客
  • 博客访问: 237948
  • 博文数量: 59
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 592
  • 用 户 组: 普通用户
  • 注册时间: 2014-04-01 12:51
个人简介

你们都是我的客户,所以,我对你们是透明的

文章分类

全部博文(59)

文章存档

2016年(29)

2015年(30)

分类: Oracle

2016-01-19 22:46:55

Last login: Tue Jan 19 20:19:08 2016 from 192.168.56.1

1、copy  10g 中的sbbdpt.o和ssbbded.o 到 /oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/lib
   copy  10g 中的bbedus.msb 到 /oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/mesg

[root@a ~]# su - oracle
[oracle@a ~]$ cd $ORACLE_HOME/rdbms/lib
[oracle@a lib]$ pwd
/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/lib
[oracle@a lib]$ ll sb*
-rw-r--r-- 1 root root 3976 Apr 20  2010 sbbdpt.o
[oracle@a lib]$ ll ssb*
-rw-r--r-- 1 root root 3306 Apr 20  2010 ssbbded.o
[oracle@a lib]$ cd ../mesg
[oracle@a mesg]$ ll bbed*
-rw-r--r-- 1 root root 8704 Apr 20  2010 bbedus.msb


2、/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/lib目录下 执行make -f ins_rdbms.mk $ORACLE_HOME/rdbms/lin/bbed

[oracle@a lib]$ make -f ins_rdbms.mk $ORACLE_HOME/rdbms/lib/bbed
Linking BBED utility (bbed)
rm -f /oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/bbed
gcc -o /oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/bbed -m64 -z noexecstack -L/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/ -L/oracle/app/oracle/product/11.2.0/dbhome_1/lib/ -L/oracle/app/oracle/product/11.2.0/dbhome_1/lib/stubs/  /oracle/app/oracle/product/11.2.0/dbhome_1/lib/s0main.o /oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/ssbbded.o /oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/sbbdpt.o `cat /oracle/app/oracle/product/11.2.0/dbhome_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -ldbtools11 -lclntsh  `cat /oracle/app/oracle/product/11.2.0/dbhome_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /oracle/app/oracle/product/11.2.0/dbhome_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnnz11 -lzt11 -lztkg11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11 -lmm -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `cat /oracle/app/oracle/product/11.2.0/dbhome_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /oracle/app/oracle/product/11.2.0/dbhome_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11   -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11 -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11   `cat /oracle/app/oracle/product/11.2.0/dbhome_1/lib/sysliblist` -Wl,-rpath,/oracle/app/oracle/product/11.2.0/dbhome_1/lib -lm    `cat /oracle/app/oracle/product/11.2.0/dbhome_1/lib/sysliblist` -ldl -lm   -L/oracle/app/oracle/product/11.2.0/dbhome_1/lib

密码是blockedit

[oracle@a lib]$ ./bbed
Password:
BBED: Release 2.0.0.0.0 - Limited Production on Tue Jan 19 22:29:35 2016
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
************* !!! For Oracle Internal Use only !!! ***************
BBED> set filename '/proc/2782/fd/262'
        FILENAME        /proc/2782/fd/262
BBED> set blocksize 8192
        BLOCKSIZE       8192
BBED> p kcvfh.kcvfhrfn
ub4 kcvfhrfn                                @368      0x00000001

BBED> set filename '/oracle/app/oracle/oradata/orcl/temp01.dbf'
        FILENAME        /oracle/app/oracle/oradata/orcl/temp01.dbf
BBED> p kcvfh.kcvfhrfn
ub4 kcvfhrfn                                @368      0x00000001
BBED>

[oracle@a fd]$ ls -rtl
total 0
lrwx------ 1 oracle oinstall 64 Jan 19 22:11 9 -> /oracle/app/oracle/product/11.2.0/dbhome_1/dbs/hc_orcl.dat
lr-x------ 1 oracle oinstall 64 Jan 19 22:11 8 -> /dev/zero
lr-x------ 1 oracle oinstall 64 Jan 19 22:11 7 -> /proc/2782/fd
lr-x------ 1 oracle oinstall 64 Jan 19 22:11 6 -> /oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/mesg/oraus.msb
lr-x------ 1 oracle oinstall 64 Jan 19 22:11 5 -> /dev/null
lr-x------ 1 oracle oinstall 64 Jan 19 22:11 4 -> /dev/null
lr-x------ 1 oracle oinstall 64 Jan 19 22:11 3 -> /dev/null
lrwx------ 1 oracle oinstall 64 Jan 19 22:11 262 -> /oracle/app/oracle/oradata/orcl/temp01.dbf
lrwx------ 1 oracle oinstall 64 Jan 19 22:11 261 -> /oracle/app/oracle/oradata/orcl/users01.dbf
lrwx------ 1 oracle oinstall 64 Jan 19 22:11 260 -> /oracle/app/oracle/oradata/orcl/undotbs01.dbf
lrwx------ 1 oracle oinstall 64 Jan 19 22:11 259 -> /oracle/app/oracle/oradata/orcl/sysaux01.dbf
lrwx------ 1 oracle oinstall 64 Jan 19 22:11 258 -> /oracle/app/oracle/oradata/orcl/system01.dbf
lrwx------ 1 oracle oinstall 64 Jan 19 22:11 257 -> /oracle/app/oracle/oradata/orcl/control02.ctl
lrwx------ 1 oracle oinstall 64 Jan 19 22:11 256 -> /oracle/app/oracle/oradata/orcl/control01.ctl
l-wx------ 1 oracle oinstall 64 Jan 19 22:11 2 -> /dev/null
lrwx------ 1 oracle oinstall 64 Jan 19 22:11 12 -> socket:[16321]
lr-x------ 1 oracle oinstall 64 Jan 19 22:11 11 -> /oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/mesg/oraus.msb
lrwx------ 1 oracle oinstall 64 Jan 19 22:11 10 -> /oracle/app/oracle/product/11.2.0/dbhome_1/dbs/lkORCL
l-wx------ 1 oracle oinstall 64 Jan 19 22:11 1 -> /dev/null
lr-x------ 1 oracle oinstall 64 Jan 19 22:11 0 -> /dev/null
[oracle@a fd]$ pwd
/proc/2782/fd
[oracle@a fd]$
(部分参考《数据安全警示录》(盖国强))
阅读(1219) | 评论(0) | 转发(0) |
0

上一篇:日常搬砖

下一篇:datefile(2)

给主人留下些什么吧!~~