C:\>sqlplus dbsnmp/dbsnmp
SQL*Plus: Release 10.1.0.4.0 - Production on Thu Apr 8 19:20:27 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.4.0
- Production With the Partitioning, OLAP and Data Mining options
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.1.0.4.0
- Prod PL/SQL Release 10.1.0.4.0 - Production
CORE 10.1.0.4.0 Production
TNS for 32-bit Windows: Version 10.1.0.4.0
- Production NLSRTL Version 10.1.0.4.0 - Production
SQL> -- 無法從數(shù)據(jù)詞典刪除數(shù)據(jù)(正常)
SQL> delete from sys.registry$;
delete from sys.registry$
*
ERROR at line 1:
ORA-01031: insufficient privileges
SQL> -- 創(chuàng)建特制的自定義視圖
SQL> create or replace view e as select [...censored...];
View created.
SQL> -- 通過視圖丟棄數(shù)據(jù)!!! ==> 安全漏洞 !!!
SQL> delete from e;
17 rows deleted.