Nmap Development mailing list archives
Fwd: shortport function
From: Diman Todorov <diman.todorov () chello at>
Date: Thu, 12 Jul 2007 12:54:29 +0200
I am not sure why this email didn't make it onto nmap-dev so i am resending it. Begin forwarded message:
From: Diman Todorov <diman.todorov () univie ac at> Date: 12. Juli 2007 12:52:03 GMT+02:00 To: Nmap Dev <nmap-dev () insecure org> Subject: Re: shortport function On 12.07.2007, at 10:21, Ferdy Riphagen wrote:Hi all, I have a problem with the parsing of the shortport.* function It doesn't pare code like this right I'll think. portrule = shortport.portnumber(69, "udp", {"open", "open|filtered"} I can use a table for the port, but not for the state and service. Can someone verify this? Possible there must be a check for _state is "string", " table" or "nil" --Ferdy--yes, this is true. The shortport.portnumber doesn't take a table for the port state, only a string. I commited a fix for that to the soc07 svn (svn://diman () svn insecure org/nmap-exp/soc07/). The only parameter which doesn't take a table now is the protocol. I will leave it that way until someone comes up with a scenario in which you don't care if the open port is a tcp or udp port ;) cheers, Diman
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- shortport function Ferdy Riphagen (Jul 12)
- Re: shortport function Eddie Bell (Jul 12)
- Re: shortport function Diman Todorov (Jul 12)
- <Possible follow-ups>
- Fwd: shortport function Diman Todorov (Jul 12)
- Re: Fwd: shortport function Ferdy Riphagen (Jul 12)
- Re: shortport function Eddie Bell (Jul 12)
