mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 17:25:28 +00:00
* allow specifying self-contained at requestlevel * fix IsSMTP js example * update smtp + fix examples * update smtp error message * add code reference in js protocol * update js docs * remove debug stmt
34 lines
673 B
TypeScript
Executable File
34 lines
673 B
TypeScript
Executable File
|
|
|
|
/**
|
|
* IsOracle checks if a host is running an Oracle server
|
|
* @example
|
|
* ```javascript
|
|
* const oracle = require('nuclei/oracle');
|
|
* const isOracle = oracle.IsOracle('acme.com', 1521);
|
|
* log(toJSON(isOracle));
|
|
* ```
|
|
*/
|
|
export function IsOracle(host: string, port: number): IsOracleResponse | null {
|
|
return null;
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* IsOracleResponse is the response from the IsOracle function.
|
|
* this is returned by IsOracle function.
|
|
* @example
|
|
* ```javascript
|
|
* const oracle = require('nuclei/oracle');
|
|
* const isOracle = oracle.IsOracle('acme.com', 1521);
|
|
* ```
|
|
*/
|
|
export interface IsOracleResponse {
|
|
|
|
IsOracle?: boolean,
|
|
|
|
Banner?: string,
|
|
}
|
|
|