\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage{geometry}
\geometry{a4paper, margin=2pt, landscape}
\usepackage{makecell}
\usepackage{array}
\usepackage{multirow}
\title{Infrastructure Scan Results}
\author{Generated by scans2any}
\date{\today}

\begin{document}
\maketitle

\begin{longtable}{lll}
\caption{Host Information} \\
\toprule
\makecell[l]{192.168.56.10} & \makecell[l]{kingslanding.sevenkingdoms.local} & \makecell[l]{windows} \\
\midrule
\endfirsthead
\caption[]{Host Information} \\
\toprule
\makecell[l]{192.168.56.10} & \makecell[l]{kingslanding.sevenkingdoms.local} & \makecell[l]{windows} \\
\midrule
\endhead
\midrule
\multicolumn{3}{r}{Continued on next page} \\
\midrule
\endfoot
\bottomrule
\endlastfoot
\makecell[l]{53/tcp} & \makecell[l]{domain} & \makecell[l]{Simple DNS Plus} \\
\makecell[l]{80/tcp} & \makecell[l]{http} & \makecell[l]{Microsoft IIS httpd/10.0} \\
\makecell[l]{88/tcp} & \makecell[l]{kerberos-sec} & \makecell[l]{Microsoft Windows Kerberos} \\
\makecell[l]{135/tcp} & \makecell[l]{msrpc} & \makecell[l]{Microsoft Windows RPC} \\
\makecell[l]{139/tcp} & \makecell[l]{netbios-ssn} & \makecell[l]{Microsoft Windows netbios-ssn} \\
\makecell[l]{389/tcp} & \makecell[l]{ldap} & \makecell[l]{Microsoft Windows Active Directory LDAP} \\
\makecell[l]{445/tcp} & \makecell[l]{microsoft-ds} & \makecell[l]{} \\
\makecell[l]{464/tcp} & \makecell[l]{kpasswd5} & \makecell[l]{} \\
\makecell[l]{593/tcp} & \makecell[l]{ncacn\_http} & \makecell[l]{Microsoft Windows RPC over HTTP/1.0} \\
\makecell[l]{636/tcp} & \makecell[l]{ldap} & \makecell[l]{Microsoft Windows Active Directory LDAP} \\
\makecell[l]{3268/tcp} & \makecell[l]{ldap} & \makecell[l]{Microsoft Windows Active Directory LDAP} \\
\makecell[l]{3269/tcp} & \makecell[l]{ldap} & \makecell[l]{Microsoft Windows Active Directory LDAP} \\
\makecell[l]{3389/tcp} & \makecell[l]{ms-wbt-server} & \makecell[l]{Microsoft Terminal Services} \\
\makecell[l]{5985/tcp} & \makecell[l]{http} & \makecell[l]{Microsoft HTTPAPI httpd/2.0} \\
\makecell[l]{5986/tcp} & \makecell[l]{http} & \makecell[l]{Microsoft HTTPAPI httpd/2.0} \\
\end{longtable}


\begin{longtable}{lll}
\caption{Host Information} \\
\toprule
\makecell[l]{192.168.56.11} & \makecell[l]{winterfell.north.sevenkingdoms.local} & \makecell[l]{windows} \\
\midrule
\endfirsthead
\caption[]{Host Information} \\
\toprule
\makecell[l]{192.168.56.11} & \makecell[l]{winterfell.north.sevenkingdoms.local} & \makecell[l]{windows} \\
\midrule
\endhead
\midrule
\multicolumn{3}{r}{Continued on next page} \\
\midrule
\endfoot
\bottomrule
\endlastfoot
\makecell[l]{53/tcp} & \makecell[l]{domain} & \makecell[l]{Simple DNS Plus} \\
\makecell[l]{88/tcp} & \makecell[l]{kerberos-sec} & \makecell[l]{Microsoft Windows Kerberos} \\
\makecell[l]{135/tcp} & \makecell[l]{msrpc} & \makecell[l]{Microsoft Windows RPC} \\
\makecell[l]{139/tcp} & \makecell[l]{netbios-ssn} & \makecell[l]{Microsoft Windows netbios-ssn} \\
\makecell[l]{389/tcp} & \makecell[l]{ldap} & \makecell[l]{Microsoft Windows Active Directory LDAP} \\
\makecell[l]{445/tcp} & \makecell[l]{microsoft-ds} & \makecell[l]{} \\
\makecell[l]{464/tcp} & \makecell[l]{kpasswd5} & \makecell[l]{} \\
\makecell[l]{593/tcp} & \makecell[l]{ncacn\_http} & \makecell[l]{Microsoft Windows RPC over HTTP/1.0} \\
\makecell[l]{636/tcp} & \makecell[l]{ldap} & \makecell[l]{Microsoft Windows Active Directory LDAP} \\
\makecell[l]{3268/tcp} & \makecell[l]{ldap} & \makecell[l]{Microsoft Windows Active Directory LDAP} \\
\makecell[l]{3269/tcp} & \makecell[l]{ldap} & \makecell[l]{Microsoft Windows Active Directory LDAP} \\
\makecell[l]{3389/tcp} & \makecell[l]{ms-wbt-server} & \makecell[l]{Microsoft Terminal Services} \\
\makecell[l]{5985/tcp} & \makecell[l]{http} & \makecell[l]{Microsoft HTTPAPI httpd/2.0} \\
\makecell[l]{5986/tcp} & \makecell[l]{http} & \makecell[l]{Microsoft HTTPAPI httpd/2.0} \\
\end{longtable}


\begin{longtable}{lll}
\caption{Host Information} \\
\toprule
\makecell[l]{192.168.56.22} & \makecell[l]{castelblack.north.sevenkingdoms.local} & \makecell[l]{windows} \\
\midrule
\endfirsthead
\caption[]{Host Information} \\
\toprule
\makecell[l]{192.168.56.22} & \makecell[l]{castelblack.north.sevenkingdoms.local} & \makecell[l]{windows} \\
\midrule
\endhead
\midrule
\multicolumn{3}{r}{Continued on next page} \\
\midrule
\endfoot
\bottomrule
\endlastfoot
\makecell[l]{80/tcp} & \makecell[l]{http} & \makecell[l]{Microsoft IIS httpd/10.0} \\
\makecell[l]{135/tcp} & \makecell[l]{msrpc} & \makecell[l]{Microsoft Windows RPC} \\
\makecell[l]{139/tcp} & \makecell[l]{netbios-ssn} & \makecell[l]{Microsoft Windows netbios-ssn} \\
\makecell[l]{445/tcp} & \makecell[l]{microsoft-ds} & \makecell[l]{} \\
\makecell[l]{1433/tcp} & \makecell[l]{ms-sql-s} & \makecell[l]{Microsoft SQL Server 2019/15.00.2000.00; RTM} \\
\makecell[l]{3389/tcp} & \makecell[l]{ms-wbt-server} & \makecell[l]{Microsoft Terminal Services} \\
\makecell[l]{5985/tcp} & \makecell[l]{http} & \makecell[l]{Microsoft HTTPAPI httpd/2.0} \\
\makecell[l]{5986/tcp} & \makecell[l]{http} & \makecell[l]{Microsoft HTTPAPI httpd/2.0} \\
\end{longtable}

\end{document}
