Update of /cvsroot/javanetsim/IceScan
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv21036
Modified Files:
csubtarget.h icediscover.h iceparams.h
Log Message:
Index: iceparams.h
===================================================================
RCS file: /cvsroot/javanetsim/IceScan/iceparams.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** iceparams.h 16 Dec 2006 17:29:16 -0000 1.13
--- iceparams.h 16 Dec 2006 21:05:28 -0000 1.14
***************
*** 125,129 ****
const int ranges_cnt = 2;
! int ranges[ranges_cnt][2] = { {20, 25}, {130, 140} };
//int ranges[ranges_cnt][2] = { {1, 1024}, {3388, 3390} };
--- 125,129 ----
const int ranges_cnt = 2;
! int ranges[ranges_cnt][2] = { {20, 25}, {134, 135} };
//int ranges[ranges_cnt][2] = { {1, 1024}, {3388, 3390} };
Index: icediscover.h
===================================================================
RCS file: /cvsroot/javanetsim/IceScan/icediscover.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** icediscover.h 16 Dec 2006 20:44:18 -0000 1.24
--- icediscover.h 16 Dec 2006 21:05:28 -0000 1.25
***************
*** 9,13 ****
#include "iceoutput.h"
! #define ACK_PING_STANDART_PORT 80
#define ARP_PING_STANDART_PORT 138
#define ATTEMPTS 5
--- 9,18 ----
#include "iceoutput.h"
! #ifndef WIN32
! #define ACK_PING_STANDART_PORT 80
! #else
! #define ACK_PING_STANDART_PORT 135
! #endif
!
#define ARP_PING_STANDART_PORT 138
#define ATTEMPTS 5
Index: csubtarget.h
===================================================================
RCS file: /cvsroot/javanetsim/IceScan/csubtarget.h,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** csubtarget.h 16 Dec 2006 20:44:18 -0000 1.36
--- csubtarget.h 16 Dec 2006 21:05:28 -0000 1.37
***************
*** 365,371 ****
if(par->verbose > 0)
! *out << "Starting TCP " << scan_type << " scan against " << hostname.c_str() << "...\n";
! #ifdef __CYGWIN__
if(par->forceuid){
#else
--- 365,371 ----
if(par->verbose > 0)
! *out << "Starting TCP " << scan_type << " scan against " << hostname.c_str() << "...\n";
! #if (__CYGWIN__ || WIN32) //UGLY!!!
if(par->forceuid){
#else
***************
*** 386,390 ****
domain = (int) SOCK_RAW;
! len == make_sockname(saddress, hostname.c_str(), 0, domain);
if(gethostname(local_hostname, 80)) exit(-1);
--- 386,390 ----
domain = (int) SOCK_RAW;
! len = make_sockname(saddress, hostname.c_str(), 0, domain);
if(gethostname(local_hostname, 80)) exit(-1);
|