def METHOD_NAME(filtername: str = "none", template: str = "default") -> str:
    """Build an agent shell script (returned as  a string)."""
    return AGENT_TEMPLATE % {
        "filter": FILTERS[filtername],
        "scan": nmapopt.build_nmap_commandline(template=template),
        "scan6": nmapopt.build_nmap_commandline(template=template) + " -6",
    }