Author: Mark
Date: Sun May 22 06:18:48 2005
New Revision: 171
Modified:
branches/3.0/opsb.c
branches/3.0/opsb.h
branches/3.0/opsb_help.c
branches/3.0/proxy.c
Log:
move lookup help text to core in preparation for the command to be here
Modified: branches/3.0/opsb.c
==============================================================================
--- branches/3.0/opsb.c (original)
+++ branches/3.0/opsb.c Sun May 22 06:18:48 2005
@@ -335,7 +335,7 @@
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)
{
Modified: branches/3.0/opsb.h
==============================================================================
--- branches/3.0/opsb.h (original)
+++ branches/3.0/opsb.h Sun May 22 06:18:48 2005
@@ -133,7 +133,6 @@
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_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[];
Modified: branches/3.0/opsb_help.c
==============================================================================
--- branches/3.0/opsb_help.c (original)
+++ branches/3.0/opsb_help.c Sun May 22 06:18:48 2005
@@ -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",
"",
Modified: branches/3.0/proxy.c
==============================================================================
--- branches/3.0/proxy.c (original)
+++ branches/3.0/proxy.c Sun May 22 06:18:48 2005
@@ -276,9 +276,6 @@
lnode_create_append(scandata->connections, ci);
pn = list_next(opsb.ports, pn);
}
-
-
-
}
int http_send (int fd, void *data) {
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.