Skip to content

oracle database not working #5911

@Imran-imtiaz48

Description

@Imran-imtiaz48

Bug Description

When attempting to establish a direct connection to an Oracle database using the following command:

python sqlmap.py -d "oracle://test:test@xxxxxx:1521/db" -f --banner --dbs --users

I encounter the following error:

[13:55:47] [CRITICAL] SQLAlchemy connection issue ('DatabaseError: (cx_Oracle.DatabaseError) ORA-12505: TNS:listener does not currently know of SID given in connect descriptor')

Environment Information

  • sqlmap version: 1.8.8.1
  • Installation method: Downloaded ZIP archive
  • Operating system: Windows 11
  • Python version: 3.9.0
  • SQLAlchemy version: 2.0.32
  • cx_Oracle version: 8.3.0

Target Database Details

  • DBMS: Oracle 19.10

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions