Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

direct connection to oracle database not working #5767

Open
rpethana opened this issue Aug 23, 2024 · 1 comment
Open

direct connection to oracle database not working #5767

rpethana opened this issue Aug 23, 2024 · 1 comment
Assignees

Comments

@rpethana
Copy link

Describe the bug
when trying to use direct connection with oracle database with this syntax, python sqlmap.py -d "oracle://test:test@xxxxxx:1521/db" -f --banner --dbs --users
getting this 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')

Running environment:

  • sqlmap version [e.g. 1.7.2.12#dev] 1.8.8.1
  • Installation method [e.g. pip], zip download from sqlmap
  • Operating system: [e.g. Microsoft Windows 11], windows 11
  • Python version [e.g. 3.11.2]: 3.9.0

Target details:

  • DBMS : oracle 19.10
    sqlmap version: 1.8.8.1
    sqlalchemy version: 2.0.32
    cx-oracle version: 8.3.0

is there any workaround ?

stamparm added a commit that referenced this issue Aug 25, 2024
@stamparm
Copy link
Member

try with the latest revision. not sure that it will work, but try and report what's happening (along with provided options/switches)

@stamparm stamparm self-assigned this Aug 25, 2024
pull bot pushed a commit to googlesky/sqlmap that referenced this issue Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants