OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
SV: Comprehensive firewall test using Nmap?

From: Carl-Johan Bostorp (Carl-Johan.Bostorphps.se)
Date: Thu Aug 21 2008 - 04:02:40 CDT


Hi,

Using simple scripting would be a good way to get things done quickly. E.g.

#!/bin/bash

srcport=$1
end=$2

while [ $srcport -le $end ]; do
   nmap -g $srcport -oA blabla-$srcport etc
   $srcport = `expr $srcport + 1`
done

/CJ

> -----Ursprungligt meddelande-----
> Från: listbouncesecurityfocus.com
> [mailto:listbouncesecurityfocus.com] För Alexander Sandström Krantz A
> Skickat: den 21 augusti 2008 09:00
> Till: pen-testsecurityfocus.com
> Ämne: Comprehensive firewall test using Nmap?
>
> Is it possible to automatically alter the source port when using Nmap
> to test a firewall? It would be very nice if it was possible to provide
> a port range instead of one single source port, even though I realise
> that such as scan would take a long time to execute. Anyone knows of
> any patches for Nmap that allows a source port range to be provided?
>
> If not, do you have any other suggestion on what application to use to
> perform a more comprehensive firewall test?
>
> Thanks,
> Alexander
>
> -----------------------------------------------------------------------
> -
> This list is sponsored by: Cenzic
>
> Top 5 Common Mistakes in
> Securing Web Applications
> Get 45 Min Video and PPT Slides
>
> www.cenzic.com/landing/securityfocus/hackinar
> -----------------------------------------------------------------------
> -

------------------------------------------------------------------------
This list is sponsored by: Cenzic

Top 5 Common Mistakes in
Securing Web Applications
Get 45 Min Video and PPT Slides

www.cenzic.com/landing/securityfocus/hackinar
------------------------------------------------------------------------