[Sguil-cvs] sguil/web hostlookup.php,1.4,1.5
Status: Beta
Brought to you by:
bamm
From: Michael B. <mb...@us...> - 2004-04-06 10:51:12
|
Update of /cvsroot/sguil/sguil/web In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16705 Modified Files: hostlookup.php Log Message: Increased the length of text fields used for ip/dns lookup Index: hostlookup.php =================================================================== RCS file: /cvsroot/sguil/sguil/web/hostlookup.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** hostlookup.php 3 Apr 2004 16:34:16 -0000 1.4 --- hostlookup.php 6 Apr 2004 10:38:24 -0000 1.5 *************** *** 33,42 **** <table cellpadding="0" cellspacing="3" border="0" width="100%"> <tr> ! <td> Src IP: </td><td><input type="text" name="src_ip" size="20" value="<?php print($_REQUEST['src_ip']); ?>"></td> </tr> <tr> ! <td> Src Name: </td><td><input type="text" name="src_name" size="20" value="<?php if (preg_match("/^[\d\.]+$/", $_REQUEST['src_ip'])) { $hostname = gethostbyaddr($_REQUEST['src_ip']); --- 33,42 ---- <table cellpadding="0" cellspacing="3" border="0" width="100%"> <tr> ! <td> Src IP: </td><td align="right"><input type="text" name="src_ip" size="40" value="<?php print($_REQUEST['src_ip']); ?>"></td> </tr> <tr> ! <td> Src Name: </td><td align="right"><input type="text" name="src_name" size="40" value="<?php if (preg_match("/^[\d\.]+$/", $_REQUEST['src_ip'])) { $hostname = gethostbyaddr($_REQUEST['src_ip']); *************** *** 49,58 **** </tr> <tr> ! <td> Dst IP: </td><td><input type="text" name="dst_ip" size="20" value="<?php print($_REQUEST['dst_ip']); ?>"></td> </tr> <tr> ! <td> Dst Name: </td><td><input type="text" name="dst_name" size="20" value="<?php if (preg_match("/^[\d\.]+$/", $_REQUEST['dst_ip'])) { $hostname = gethostbyaddr($_REQUEST['dst_ip']); --- 49,58 ---- </tr> <tr> ! <td> Dst IP: </td><td align="right"><input type="text" name="dst_ip" size="40" value="<?php print($_REQUEST['dst_ip']); ?>"></td> </tr> <tr> ! <td> Dst Name: </td><td align="right"><input type="text" name="dst_name" size="40" value="<?php if (preg_match("/^[\d\.]+$/", $_REQUEST['dst_ip'])) { $hostname = gethostbyaddr($_REQUEST['dst_ip']); |