sync up libopm with blitzed version to fix a problem with socks 5 scanning
This commit is contained in:
parent
28f39dbc0e
commit
2fa8321951
5 changed files with 9 additions and 3 deletions
|
@ -1,5 +1,8 @@
|
||||||
Open Proxy Scanning Bot Module for NeoStats Changelog.
|
Open Proxy Scanning Bot Module for NeoStats Changelog.
|
||||||
==============================================================================
|
==============================================================================
|
||||||
|
* Version 2.1 * 24/01/2004 * Fish (F)
|
||||||
|
- Sync up libopm with blitzed version to fix a Socks 5 bug (F)
|
||||||
|
|
||||||
* Version 2.0 * 29/12/2003 * Fish (F) and Mark (M)
|
* Version 2.0 * 29/12/2003 * Fish (F) and Mark (M)
|
||||||
- Fixed incorrect parameters to printf style functions (M)
|
- Fixed incorrect parameters to printf style functions (M)
|
||||||
- Use more appropriate defines for buffer sizes since MAXHOST differs between IRCds (M)
|
- Use more appropriate defines for buffer sizes since MAXHOST differs between IRCds (M)
|
||||||
|
|
2
configure
vendored
2
configure
vendored
|
@ -1265,7 +1265,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||||
ac_config_headers="$ac_config_headers modconfig.h"
|
ac_config_headers="$ac_config_headers modconfig.h"
|
||||||
|
|
||||||
PACKAGE=OPSB
|
PACKAGE=OPSB
|
||||||
VERSION=2.0
|
VERSION=2.1
|
||||||
DIRINST=~/NeoStats/
|
DIRINST=~/NeoStats/
|
||||||
|
|
||||||
CFLAGS="$CFLAGS -O2 -Wall"
|
CFLAGS="$CFLAGS -O2 -Wall"
|
||||||
|
|
|
@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
|
||||||
AC_INIT(opsb.c)
|
AC_INIT(opsb.c)
|
||||||
AC_CONFIG_HEADER(modconfig.h)
|
AC_CONFIG_HEADER(modconfig.h)
|
||||||
PACKAGE=OPSB
|
PACKAGE=OPSB
|
||||||
VERSION=2.0
|
VERSION=2.1
|
||||||
DIRINST=~/NeoStats/
|
DIRINST=~/NeoStats/
|
||||||
AC_PREFIX_DEFAULT(~/NeoStats/)
|
AC_PREFIX_DEFAULT(~/NeoStats/)
|
||||||
CFLAGS="$CFLAGS -O2 -Wall"
|
CFLAGS="$CFLAGS -O2 -Wall"
|
||||||
|
|
|
@ -146,6 +146,9 @@ int libopm_proxy_socks5_write(OPM_T *scanner, OPM_SCAN_T *scan, OPM_CONNECTION_T
|
||||||
scan_ip = (char *) libopm_config(scanner->config, OPM_CONFIG_SCAN_IP);
|
scan_ip = (char *) libopm_config(scanner->config, OPM_CONFIG_SCAN_IP);
|
||||||
scan_port = *(int *) libopm_config(scanner->config, OPM_CONFIG_SCAN_PORT);
|
scan_port = *(int *) libopm_config(scanner->config, OPM_CONFIG_SCAN_PORT);
|
||||||
|
|
||||||
|
if (inet_aton(scan_ip, &addr) == 0)
|
||||||
|
; /* handle error */
|
||||||
|
|
||||||
laddr = htonl(addr.s_addr);
|
laddr = htonl(addr.s_addr);
|
||||||
|
|
||||||
/* Form authentication string */
|
/* Form authentication string */
|
||||||
|
|
2
opsb.c
2
opsb.c
|
@ -64,7 +64,7 @@ int online;
|
||||||
ModuleInfo __module_info = {
|
ModuleInfo __module_info = {
|
||||||
"OPSB",
|
"OPSB",
|
||||||
"An Open Proxy Scanning Bot",
|
"An Open Proxy Scanning Bot",
|
||||||
"2.0",
|
"2.1",
|
||||||
__DATE__,
|
__DATE__,
|
||||||
__TIME__
|
__TIME__
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue