| Server IP : 23.94.149.180 / Your IP : 216.73.216.147 Web Server : nginx/1.20.1 System : Linux deadrock 5.14.0-741.22.1.el9_9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 12 15:18:14 UTC 2026 x86_64 User : nginx ( 991) PHP Version : 8.6.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /files/www/hacklab/phpfwgen/ |
Upload File : |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN" "html.dtd">
<HTML>
<HEAD>
<TITLE>Interfaces</TITLE>
<?php
#############################################################################
#
# $Id: interfaces.php3,v 1.4 2000/04/11 23:30:35 delson Exp $
#
# Interfaces.
#
# (C) Del under the GPL.
#
#############################################################################
require ('config.inc');
require ('files.inc');
require ('javascript.inc');
$interfaces = read_interfaces();
?>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<TABLE WIDTH=250 BORDER=0 BGCOLOR="#EEEEEE" CELLSPACING=2 CELLPADDING=4>
<TR ALIGN=LEFT VALIGN=TOP>
<TD BGCOLOR=#339933><FONT SIZE=+1 COLOR=WHITE><B>Interfaces</B></FONT></TD>
<TD><B>Interface Name</B></TD>
</TR>
<TR>
<TD ROWSPAN=9>
<A HREF="javascript:showHelp('help-interfaces.html');"><IMG SRC="help.gif" ALT="Help" ALIGN=RIGHT BORDER=0></A>
The interface list is for reference purposes only. You cannot add or
delete interfaces here. To add or delete interfaces, insert or remove
network adapters / drivers from your machine, and use the Red Hat
"netcfg" program.
</TD>
</TR>
<TR>
<?php
#
# Print all of the interface definitions.
#
function print_interface ($interface) {
print "<TR VALIGN=MIDDLE ALIGN=CENTER><TD>$interface</TD></TR>\n";
}
if (is_array($interfaces)) {
reset($interfaces);
array_walk( $interfaces, 'print_interface' );
}
?>
</TABLE>
</BODY>
</HTML>