I am coding a nasl_script which requests for a webpage and then tries to gain the IP-address information. The returned page is like :: ================================================ <div align=right><font color=#000000><b><font size=2 face=Arial>IP Address </font></b></font></div> </td> <td width=78% height=25><font size=2 face=Arial> 192.168.2.1 </font></td> <td width=22% height=25> <div align=right><font color=#000000><b><font face=Arial size=2>Subnet Mask </font></b></font></div> </td> <td width=78% height=25><font size=2 face=Arial> 255.255.255.0 </font></td> =============================================== As you see , [0-9]+.[0-9]+.[0-9]+.[0-9]+ wont work here as it comes many times on the page ! (there are other ip-addresses too...) Could anyone tell me how to tackle the problem of extracting the exact IP address in this case(multiple lines are confusing me). I am not that good with Posix ( and PCRE aint supported ....) Or any other script which does like this ? Suprisingly, I dont see anyone doing [[:space:]] kinda things ... !! I would appreciate any help :-) skill 2 die 4 (AT) phreaker (dot) net _______________________________________________ Plugins-writers mailing list Plugins-writers@private http://mail.nessus.org/mailman/listinfo/plugins-writers
This archive was generated by hypermail 2b30 : Fri Mar 19 2004 - 10:17:13 PST