move lookup help text to core in preparation for the command to be here
This commit is contained in:
parent
3298930bbd
commit
3e8c91a8c6
4 changed files with 1 additions and 23 deletions
2
opsb.c
2
opsb.c
|
@ -335,7 +335,7 @@ int ModSynch (void)
|
|||
irc_chanalert (opsb_bot, "Open Proxy Scanning bot has started (Concurrent Scans: %d Sockets %d)", opsb.socks, opsb.socks *7);
|
||||
}
|
||||
return NS_SUCCESS;
|
||||
};
|
||||
}
|
||||
|
||||
static int unconf(void)
|
||||
{
|
||||
|
|
2
opsb.h
2
opsb.h
|
@ -133,7 +133,6 @@ int load_ports();
|
|||
void save_ports();
|
||||
|
||||
/* help text */
|
||||
extern const char *opsb_help_lookup[];
|
||||
extern const char *opsb_about[];
|
||||
extern const char *opsb_help_check[];
|
||||
extern const char *opsb_help_status[];
|
||||
|
@ -141,7 +140,6 @@ extern const char *opsb_help_remove[];
|
|||
extern const char *opsb_help_ports[];
|
||||
|
||||
extern const char opsb_help_status_oneline[];
|
||||
extern const char opsb_help_lookup_oneline[];
|
||||
extern const char opsb_help_remove_oneline[];
|
||||
extern const char opsb_help_check_oneline[];
|
||||
extern const char opsb_help_ports_oneline[];
|
||||
|
|
17
opsb_help.c
17
opsb_help.c
|
@ -24,28 +24,11 @@
|
|||
#include "neostats.h"
|
||||
|
||||
const char opsb_help_status_oneline[] = "View opsb state information";
|
||||
const char opsb_help_lookup_oneline[] = "Lookup DNS record";
|
||||
const char opsb_help_remove_oneline[] = "Remove an akill set by opsb";
|
||||
const char opsb_help_check_oneline[] = "Scan a selected user";
|
||||
const char opsb_help_ports_oneline[] = "Allows you to customize the ports scanned";
|
||||
const char opsb_help_set_oneline[] = "Change opsb configuration options";
|
||||
|
||||
const char *opsb_help_lookup[] = {
|
||||
"Syntax: \2LOOKUP <ip|hostname> [type]\2",
|
||||
"",
|
||||
"Lookup DNS records for an ip address or hostname.",
|
||||
"The default lookup is the ip address for a hostname",
|
||||
"or the hostname for an ip address.",
|
||||
"",
|
||||
"Options for type are:",
|
||||
" txt - text records",
|
||||
" rp - responsible person for this record",
|
||||
" ns - name servers for this record",
|
||||
" soa - SOA for this record",
|
||||
"",
|
||||
NULL
|
||||
};
|
||||
|
||||
const char *opsb_about[] = {
|
||||
"\2Open Proxy Scanning Bot Information\2",
|
||||
"",
|
||||
|
|
3
proxy.c
3
proxy.c
|
@ -276,9 +276,6 @@ void start_proxy_scan(scaninfo *scandata)
|
|||
lnode_create_append(scandata->connections, ci);
|
||||
pn = list_next(opsb.ports, pn);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
int http_send (int fd, void *data) {
|
||||
|
|
Reference in a new issue