Results 1 to 10 of 11

Thread: Tool request: NSAT (network security analysis tool)

Hybrid View

  1. #1
    Good friend of the forums williamc's Avatar
    Join Date
    Feb 2010
    Location
    Chico CA
    Posts
    285

    Default Tool request: NSAT (network security analysis tool)

    I've been using this tool for pentesting. It comes in handy for scanning X Windows, R Services, SNMP, and other uncommon services. It can be found here:
    http://nsat.sourceforge.net/

    It can be loaded with configuration files to target specific services. I've uploaded some .conf files that I use. This, along with gping would be nice additions! Thoughts?

  2. #2
    Member
    Join Date
    Feb 2007
    Posts
    229

    Default

    I can't seem to get it installed, i ran ./configure in the nsat dir, it went fine. However, make, or make install both produce this:

    compiling ADM smb scanner... In file included from ./client.c:73:
    ./ADMsmb.c: In function 'ADMsmb':
    ./ADMsmb.c:126: error: invalid lvalue in unary '&'
    make[2]: *** [client.o] Error 1
    make[2]: Leaving directory `/root/dl/nsat/src/smb'
    make[1]: *** [../smb-ns] Error 2
    make[1]: Leaving directory `/root/dl/nsat/src'
    make: *** [all] Error 2

    i checked line 126 of ADMsmb.c and this is what it is:

    if (recvfrom (socket_client, buffer2, sizeof (buffer2), 0, (struct sockaddr *) &sin_dst, &(int) longueur) != -1)

    is sin_dst the lvalue it speaks of?

  3. #3
    Good friend of the forums williamc's Avatar
    Join Date
    Feb 2010
    Location
    Chico CA
    Posts
    285

    Default

    I didn't have this issue when I installed it. I got a new laptop a few days ago so I'll try it again on Friday. I'll see if I can find a solution.

  4. #4
    Good friend of the forums williamc's Avatar
    Join Date
    Feb 2010
    Location
    Chico CA
    Posts
    285

    Default

    It worked under BT2, but I'm getting the same error as you in BT3. I used the ignore option to complete the make.

    *** Ok, we got the source recompiled and it installed. I can't upload it here as its larger than the maximum filesize for uploads. If you know where I can get it hosted, let me know.

    Williamc

  5. #5
    Member
    Join Date
    Feb 2007
    Posts
    229

    Default

    How did you get it compiled and installed?

  6. #6
    Good friend of the forums williamc's Avatar
    Join Date
    Feb 2010
    Location
    Chico CA
    Posts
    285

    Default

    We went through the code and fixed it. I have it hosted here:
    http://rapidshare.com/files/98757108...fixed.gtz.html

    Syntax:
    ./configure
    make
    make install

    Use the .conf files from my first post.

    nsat -C nsat_X.conf -n -f iplist.txt

    William

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •