mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2026-02-06 10:33:08 +08:00
This commit is contained in:
29
pkg/protocols/javascript/testcases/oracle-auth-test.yaml
Normal file
29
pkg/protocols/javascript/testcases/oracle-auth-test.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
id: oracle-auth-test
|
||||
|
||||
info:
|
||||
name: Oracle - Authentication Test
|
||||
author: pdteam
|
||||
severity: info
|
||||
tags: js,oracle,network,auth
|
||||
|
||||
javascript:
|
||||
- pre-condition: |
|
||||
isPortOpen(Host,Port);
|
||||
code: |
|
||||
let o = require('nuclei/oracle');
|
||||
let c = o.OracleClient();
|
||||
c.Connect(Host, Port, ServiceName, User, Pass);
|
||||
|
||||
args:
|
||||
ServiceName: "XE"
|
||||
Host: "{{Host}}"
|
||||
Port: "1521"
|
||||
User: "system"
|
||||
Pass: "{{passwords}}"
|
||||
payloads:
|
||||
passwords:
|
||||
- mysecret
|
||||
matchers:
|
||||
- type: dsl
|
||||
dsl:
|
||||
- "response == true"
|
||||
Reference in New Issue
Block a user