<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Ports Information</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
    <div class="top-row">
        <h1>Network Vulnerability Scanner</h1>
        <div class="menu">
            <ul>
                <li><a href="{{ url_for('index') }}">HOME</a></li>
                <li><a href="{{ url_for('ports') }}">PORTS INFORMATION</a></li>
                <li><a href="{{ url_for('services') }}">SERVICE</a></li>
                <li><a href="{{ url_for('about') }}">ABOUT</a></li>
            </ul>
        </div>
    </div>

    <div style="margin-top: 100px; padding: 40px;">
        <h2 style="font-size: 36px;">Top 50 Most Common Ports Information: </h2>
       <table border="1" cellpadding="10" cellspacing="0" style="width: 100%; border-collapse: collapse; background-color: rgba(0, 0, 0, 0.8); color: white; font-family: Consolas, monospace;">
            <thead style="background-color: rgba(0, 0, 0, 0.6); font-size: 28px;">
                <tr>
                    <th>Port Number</th>
                    <th>Transport Protocol</th>
                    <th>Description</th>
                    <th>Information</th>
                </tr>
            </thead>
            <tbody>
                <tr><td>20</td><td>TCP</td><td>FTP Data</td><td>Used for transferring data in FTP sessions.</td></tr>
                <tr><td>21</td><td>TCP</td><td>FTP Control</td><td>Controls FTP commands and authentication.</td></tr>
                <tr><td>22</td><td>TCP</td><td>SSH</td><td>Secure shell for remote logins and command execution.</td></tr>
                <tr><td>23</td><td>TCP</td><td>Telnet</td><td>Legacy remote login service, not encrypted.</td></tr>
                <tr><td>25</td><td>TCP</td><td>SMTP</td><td>Sends email between servers.</td></tr>
                <tr><td>53</td><td>UDP/TCP</td><td>DNS</td><td>Resolves domain names to IP addresses.</td></tr>
                <tr><td>67</td><td>UDP</td><td>DHCP Server</td><td>Assigns IP addresses to devices.</td></tr>
                <tr><td>68</td><td>UDP</td><td>DHCP Client</td><td>Receives IP addresses from DHCP server.</td></tr>
                <tr><td>69</td><td>UDP</td><td>TFTP</td><td>Simplified file transfer protocol.</td></tr>
                <tr><td>80</td><td>TCP</td><td>HTTP</td><td>Standard web traffic.</td></tr>
                <tr><td>110</td><td>TCP</td><td>POP3</td><td>Retrieves emails from mail servers.</td></tr>
                <tr><td>119</td><td>TCP</td><td>NNTP</td><td>Used for reading and posting Usenet articles.</td></tr>
                <tr><td>123</td><td>UDP</td><td>NTP</td><td>Time synchronization across devices.</td></tr>
                <tr><td>135</td><td>TCP</td><td>RPC</td><td>Remote Procedure Call for Windows services.</td></tr>
                <tr><td>137</td><td>UDP</td><td>NetBIOS Name Service</td><td>Name resolution in Windows networks.</td></tr>
                <tr><td>138</td><td>UDP</td><td>NetBIOS Datagram Service</td><td>Browser and messaging in NetBIOS.</td></tr>
                <tr><td>139</td><td>TCP</td><td>NetBIOS Session Service</td><td>File and printer sharing in Windows.</td></tr>
                <tr><td>143</td><td>TCP</td><td>IMAP</td><td>Access email on a mail server.</td></tr>
                <tr><td>161</td><td>UDP</td><td>SNMP</td><td>Network management monitoring.</td></tr>
                <tr><td>162</td><td>UDP</td><td>SNMP Trap</td><td>SNMP alert messages.</td></tr>
                <tr><td>179</td><td>TCP</td><td>BGP</td><td>Routing information between autonomous systems.</td></tr>
                <tr><td>194</td><td>TCP</td><td>IRC</td><td>Internet Relay Chat.</td></tr>
                <tr><td>443</td><td>TCP</td><td>HTTPS</td><td>Secure HTTP web traffic.</td></tr>
                <tr><td>445</td><td>TCP</td><td>SMB</td><td>Windows file and printer sharing.</td></tr>
                <tr><td>465</td><td>TCP</td><td>SMTPS</td><td>Secure SMTP for sending email.</td></tr>
                <tr><td>514</td><td>UDP</td><td>Syslog</td><td>System log message transport.</td></tr>
                <tr><td>515</td><td>TCP</td><td>LPD</td><td>Line Printer Daemon.</td></tr>
                <tr><td>587</td><td>TCP</td><td>SMTP Submission</td><td>Used to send email securely.</td></tr>
                <tr><td>631</td><td>TCP</td><td>IPP</td><td>Printing protocol.</td></tr>
                <tr><td>636</td><td>TCP</td><td>LDAPS</td><td>Secure LDAP.</td></tr>
                <tr><td>873</td><td>TCP</td><td>rsync</td><td>File synchronization tool.</td></tr>
                <tr><td>993</td><td>TCP</td><td>IMAPS</td><td>Secure IMAP for email retrieval.</td></tr>
                <tr><td>995</td><td>TCP</td><td>POP3S</td><td>Secure POP3 for email retrieval.</td></tr>
                <tr><td>1080</td><td>TCP</td><td>SOCKS Proxy</td><td>Internet proxy protocol.</td></tr>
                <tr><td>1433</td><td>TCP</td><td>MSSQL</td><td>Microsoft SQL Server.</td></tr>
                <tr><td>1521</td><td>TCP</td><td>Oracle DB</td><td>Oracle database service.</td></tr>
                <tr><td>1723</td><td>TCP</td><td>PPTP</td><td>VPN tunneling protocol.</td></tr>
                <tr><td>2049</td><td>TCP/UDP</td><td>NFS</td><td>Network File System.</td></tr>
                <tr><td>3306</td><td>TCP</td><td>MySQL</td><td>MySQL database service.</td></tr>
                <tr><td>3389</td><td>TCP</td><td>RDP</td><td>Remote Desktop Protocol.</td></tr>
                <tr><td>5432</td><td>TCP</td><td>PostgreSQL</td><td>PostgreSQL database service.</td></tr>
                <tr><td>5900</td><td>TCP</td><td>VNC</td><td>Virtual Network Computing for remote desktop.</td></tr>
                <tr><td>6000</td><td>TCP</td><td>X11</td><td>X Window System.</td></tr>
                <tr><td>8080</td><td>TCP</td><td>HTTP-alt</td><td>Alternative HTTP port.</td></tr>
                <tr><td>8443</td><td>TCP</td><td>HTTPS-alt</td><td>Alternative HTTPS port.</td></tr>
            </tbody>
        </table>
    </div>
</body>
</html>