mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-03 15:01:13 +00:00
Merge 5a638ec756 into 3e7d064cc9
This commit is contained in:
commit
c92afa79a9
1 changed files with 2 additions and 1 deletions
|
|
@ -266,7 +266,8 @@
|
|||
NOTE: current physical DB but not usable for enumeration
|
||||
<current_db query="SELECT SYS.DATABASE_NAME FROM DUAL"/>
|
||||
-->
|
||||
<current_db query="SELECT USER FROM DUAL"/>
|
||||
<!-- ORA_DATABASE_NAME works for any user in Oracle 12c+; fallback to USER for older versions -->
|
||||
<current_db query="SELECT ORA_DATABASE_NAME FROM DUAL" query2="SELECT USER FROM DUAL"/>
|
||||
<!--
|
||||
NOTE: in Oracle to check if the session user is DBA you can use:
|
||||
SELECT USERENV('ISDBA') FROM DUAL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue