# Scan profiles and watching a target

## Profiles

A profile is a named set of modules plus option overrides.

```sh
spiderfootplus profiles                 # list them
spiderfootplus profiles show web        # modules and options in one profile
spiderfootplus scan example.com -p quick
```

| Profile    | What it runs |
|------------|--------------|
| `quick`    | The main site only: DNS, mail records, web server, headers, TLS and technology. Well under a minute. |
| `standard` | The default when no profile is given: maps the external surface, including subdomains, common ports and exposure checks. |
| `web`      | Web applications: subdomains from certificates, then every site's headers, TLS, technology, well-known files, exposure checks and archived URLs. |
| `passive`  | Sends nothing to the target's own servers: certificate logs, public DNS, registration data and web archives. |
| `full`     | Every module and all 65,535 TCP ports. Slow and noisy; use only where you are authorised to test. |

Change one option for a single scan with `--set module.option=value`
(repeatable):

```sh
spiderfootplus scan example.com -p standard --set port_scan.ports=80,443,8080
```

Save your own profile, starting from a built-in one if you like:

```sh
spiderfootplus profiles save edge --from quick -m dns_resolve,http_probe,tech_detect,port_scan \
  --set port_scan.ports=80,443,8080 --about "web ports and stack"
spiderfootplus scan example.com -p edge
spiderfootplus profiles rm edge
```

Saved profiles live in `profiles.yaml` in the configuration folder that
`spiderfootplus profiles` prints (set `SPIDERFOOTPLUS_PROFILES` to use another file).
Unknown modules or options are rejected before the scan starts, with the
valid names listed.

## Watch

`spiderfootplus watch` scans a target again and prints only what changed since its
previous scan: hostnames, addresses, open ports, software, unsupported
versions, URLs, email addresses, and new or resolved findings. It compares
with the newest earlier scan that ran the same modules.

Keep it running in a terminal:

```sh
spiderfootplus watch example.com -p web --every 6h
```

Intervals: `30m`, `6h`, `1d`, `1h30m` (shortest `1m`, default `1d`). Ctrl+C
stops it.

Or let the operating system schedule it with `--once`, which runs one scan
and exits with code `0` when nothing changed and `3` when something did:

```sh
# cron, every day at 06:00
0 6 * * * cd /srv/recon && spiderfootplus watch example.com -p web --once
```

```powershell
# Windows Task Scheduler: action "spiderfootplus.exe", arguments:
watch example.com -p web --once --webhook https://hooks.example.com/abc
```

`--webhook URL` posts the changes as JSON. The `text` (and `content`) field
holds a readable message, so chat webhooks display it as-is; `changes`,
`findings_new` and `findings_resolved` carry the details.
