Skip to content

Scanning Engine v2 - Module - FTP

Overview

Targeting

Schemas

The schema for the body object of all results generated with .task.module_name equal to ftp can be found here. The schema for results is available both in standalone and bundled form.

Examples

These are examples of the .body object for results with .task.module_name equal to ftp.

FreeBSD

This example was generated with the FreeBSD website.

{
  "anonymous": true,
  "user": "anonymous",
  "password": "anonymous@",
  "connected": true,
  "secure": false,
  "content": [
    {
      "type": "-",
      "name": "favicon.ico",
      "target": null,
      "sticky": false,
      "setuid": false,
      "setgid": false,
      "rights": {
        "user": "rw",
        "group": "r",
        "other": "r"
      },
      "acl": false,
      "owner": "ftp",
      "group": "ftp",
      "size": 5430,
      "date": "2023-12-06T00:00:00.000Z"
    },
    {
      "type": "-",
      "name": "index.html",
      "target": null,
      "sticky": false,
      "setuid": false,
      "setgid": false,
      "rights": {
        "user": "rw",
        "group": "r",
        "other": "r"
      },
      "acl": false,
      "owner": "ftp",
      "group": "ftp",
      "size": 669,
      "date": "2023-12-06T00:00:00.000Z"
    },
    {
      "type": "d",
      "name": "pub",
      "target": null,
      "sticky": false,
      "setuid": false,
      "setgid": false,
      "rights": {
        "user": "rwx",
        "group": "rx",
        "other": "rx"
      },
      "acl": false,
      "owner": "ftp",
      "group": "ftp",
      "size": 3,
      "date": "2023-12-06T00:00:00.000Z"
    },
    {
      "type": "d",
      "name": "FreeBSD",
      "target": null,
      "sticky": false,
      "setuid": false,
      "setgid": false,
      "rights": {
        "user": "rwx",
        "group": "rx",
        "other": "rx"
      },
      "acl": false,
      "owner": "ftp",
      "group": "ftp",
      "size": 13,
      "date": "2025-09-22T11:15:00.000Z"
    },
    {
      "type": "-",
      "name": "README.TXT",
      "target": null,
      "sticky": false,
      "setuid": false,
      "setgid": false,
      "rights": {
        "user": "rw",
        "group": "r",
        "other": "r"
      },
      "acl": false,
      "owner": "ftp",
      "group": "ftp",
      "size": 4259,
      "date": "2015-05-07T00:00:00.000Z"
    },
    {
      "type": "-",
      "name": "TIMESTAMP",
      "target": null,
      "sticky": false,
      "setuid": false,
      "setgid": false,
      "rights": {
        "user": "rw",
        "group": "r",
        "other": "r"
      },
      "acl": false,
      "owner": "ftp",
      "group": "ftp",
      "size": 35,
      "date": "2025-09-22T11:15:00.000Z"
    },
    {
      "type": "d",
      "name": "development",
      "target": null,
      "sticky": false,
      "setuid": false,
      "setgid": false,
      "rights": {
        "user": "rwx",
        "group": "rx",
        "other": "rx"
      },
      "acl": false,
      "owner": "ftp",
      "group": "ftp",
      "size": 10,
      "date": "2025-09-22T11:15:00.000Z"
    },
    {
      "type": "-",
      "name": "dir.sizes",
      "target": null,
      "sticky": false,
      "setuid": false,
      "setgid": false,
      "rights": {
        "user": "rw",
        "group": "r",
        "other": "r"
      },
      "acl": false,
      "owner": "ftp",
      "group": "ftp",
      "size": 3751,
      "date": "2025-09-22T10:00:00.000Z"
    },
    {
      "type": "d",
      "name": "doc",
      "target": null,
      "sticky": false,
      "setuid": false,
      "setgid": false,
      "rights": {
        "user": "rwx",
        "group": "rx",
        "other": "rx"
      },
      "acl": false,
      "owner": "ftp",
      "group": "ftp",
      "size": 28,
      "date": "2025-09-15T23:02:00.000Z"
    },
    {
      "type": "d",
      "name": "ports",
      "target": null,
      "sticky": false,
      "setuid": false,
      "setgid": false,
      "rights": {
        "user": "rwx",
        "group": "rx",
        "other": "rx"
      },
      "acl": false,
      "owner": "ftp",
      "group": "ftp",
      "size": 6,
      "date": "2023-12-06T00:00:00.000Z"
    },
    {
      "type": "d",
      "name": "releases",
      "target": null,
      "sticky": false,
      "setuid": false,
      "setgid": false,
      "rights": {
        "user": "rwx",
        "group": "rx",
        "other": "rx"
      },
      "acl": false,
      "owner": "ftp",
      "group": "ftp",
      "size": 14,
      "date": "2025-09-22T11:15:00.000Z"
    },
    {
      "type": "d",
      "name": "snapshots",
      "target": null,
      "sticky": false,
      "setuid": false,
      "setgid": false,
      "rights": {
        "user": "rwx",
        "group": "rx",
        "other": "rx"
      },
      "acl": false,
      "owner": "ftp",
      "group": "ftp",
      "size": 14,
      "date": "2025-04-22T17:52:00.000Z"
    }
  ]
}

Changelog

v1.1.0 (2025-09-22)

  • Updated to use the new targeting library (pkg/targeting) instead of the old external targeting library

v1.0.0 (2025-05-05)

  • Initial release of versioning for each module. All modules are being tagged with version number 1.0.0. Going forward:
  • Major version should be changed when there are changes that impact consumers or clients of the modules.
  • Minor version should be changed when there are additions which enrich or enhance the module but shouldn't affect consumers or clients.
  • Patch version should be changed when there are bugfixes.