Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
projectdiscovery
GitHub Repository: projectdiscovery/nuclei
Path: blob/dev/pkg/js/generated/ts/pop3.ts
2070 views
1
2
3
/**
4
* IsPOP3 checks if a host is running a POP3 server.
5
* @example
6
* ```javascript
7
* const pop3 = require('nuclei/pop3');
8
* const isPOP3 = pop3.IsPOP3('acme.com', 110);
9
* log(toJSON(isPOP3));
10
* ```
11
*/
12
export function IsPOP3(host: string, port: number): IsPOP3Response | null {
13
return null;
14
}
15
16
17
18
/**
19
* IsPOP3Response is the response from the IsPOP3 function.
20
* this is returned by IsPOP3 function.
21
* @example
22
* ```javascript
23
* const pop3 = require('nuclei/pop3');
24
* const isPOP3 = pop3.IsPOP3('acme.com', 110);
25
* log(toJSON(isPOP3));
26
* ```
27
*/
28
export interface IsPOP3Response {
29
30
IsPOP3?: boolean,
31
32
Banner?: string,
33
}
34
35
36