Skip to content
Security
Command

/portscan

Port scanning with fast discovery and detailed service enumeration

From plugin
fsociety
2263 skills7 agents63 commands
> /plugin marketplace add ogrodev/fsociety
> /plugin install fsociety@ogrodev-fsociety

Command definition

portscan.md
description: Port scanning with fast discovery and detailed service enumeration
allowed-tools: ToolSearch, Bash, Read, Write
argument-hint: <target-ip-or-domain>

> **Storage Policy**: ALL output files MUST be saved in the project directory. NEVER write to `/tmp/` or any system temporary directory.

Port Scan

Target: `$ARGUMENTS`

Execute a two-phase port scan using Hexstrike MCP tools.

Step 1: Load Tools

Use ToolSearch to load:

  • `rustscan_fast_scan` — ultra-fast port discovery
  • `nmap_advanced_scan` — detailed service/version/script scanning

Step 2: Fast Discovery

Run `rustscan_fast_scan` against the target with a high batch size for speed. This identifies all open ports quickly.

Step 3: Detailed Enumeration

Take the open ports discovered by RustScan and run `nmap_advanced_scan` against only those ports with:

  • Service version detection (`-sV`)
  • Default NSE scripts (`-sC`)
  • OS detection if possible (`-O`)
  • Appropriate timing template (T3 for remote targets behind WAF, T4 for direct targets)

Step 4: Results

Present findings as a table: | Port | Service | Version | Notes | |------|---------|---------|-------|

Save detailed results to `portscan-{target}.md` in the project directory.

Flag any interesting findings: unusual ports, outdated versions, services with known CVEs.

@ogrodev
Ships withfsociety

Multi-plugin marketplace for Claude Code offensive security plugins

2225 skills7 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
22
Star history of ogrodev/fsociety on GitHub, a chart by star-history.com

Other commands on fsociety.

apiscan

apiscan

Command

API security audit — REST, GraphQL, JWT analysis, parameter discovery

@ogrodev@ogrodevInstall Command

More commands from other plugins.

deslop-reborn

deslop-reborn

Command

One iteration of the IronClaw Reborn de-slop loop — take ONE Reborn crate, fan out parallel review sub-agents (thermo-nuclear…

@nearai@nearaiInstall Command
audit

audit

Command

Audit a file, directory, or whole repo for insecure default configuration: fallback secrets, default credentials, fail-open…

@trailofbits@trailofbitsInstall Command
arsenal

arsenal

Command

Show which external bug-bounty tools are installed on this machine and print install hints for the missing ones. Curated from…

@awarexone@awarexoneInstall Command