Cyberlium

Metasploit › Module 4 › Lesson 4

BeginnerModule 4Lesson 4/5

Search Lab

Chain search → info → use → back on one module — transcript only, $LAB not required yet.

15 min+40 XP3 quiz
Module progress4 of 5

Visual · msf_search_lab

Search lab chain. Original Cyberlium.

Opening

Ship the full read-only chain before Options Literacy adds RHOSTS.

Combine M4 lessons: search (filter of your choice) → info top result → use → info again → back → exit. Transcript proves catalog literacy. Still zero run and zero RHOSTS. Next: Quiz — Search and Info.

1. Lab chain

Document each command and prompt change. Module path must appear twice in info output.

Command guide

Try these commands — Lab chain

═══ TOOLS & WEBSITES ═══ Browse / read these (authorized learning only — stay in YOUR lab / program scope)

Platform filters — https://docs.rapid7.com/metasploit/using-metasploit/#search nmap integration — https://nmap.org/book/nse.html (lab recon literacy)

═══ INSTALL ═══

Linux (Debian/Ubuntu): Kali: preinstalled, or: sudo apt install metasploit-framework

Command — copy this

sudo apt install nmap

macOS: Prefer Kali/Linux VM — brew install metasploit (heavy)

Command — copy this

brew install nmap

Windows: Use Kali VM or WSL with metasploit-framework — not raw Windows host

Command — copy this

choco install nmap  # or download https://nmap.org/download.html

═══ LINUX / macOS ═══

Command — copy this

nmap -sV -p 22,80,443 "${LAB_HOST:-127.0.0.1}" 2>/dev/null | head -20 || echo 'Scan YOUR lab VM only'
msfconsole -q -x 'search type:exploit platform:linux name:ssh; exit' 2>/dev/null || true

Primary tools to practice this lesson: msfconsole, nmap. Reference sites: Platform filters (https://docs.rapid7.com/metasploit/using-metasploit/#search); nmap integration (https://nmap.org/book/nse.html). Run every command in the box — install first, then the usage lines — only on YOUR lab / program scope.

2. Verify

Grep transcript for `run`, `set RHOSTS`, `exploit` — must be absent.

3. Close

chmod 600. Quiz then Options Literacy.

4. What you ship: search→info→use→back transcript

Full chain logged. No run/RHOSTS. chmod 600.

5. What you record before the next lesson

Date. Transcript. Verified no run. File t14-m04-l04-search-lab.txt chmod 600.

6. Wrong vs right: stranger hosts vs YOUR lab VM

Worked failure — same MSF word, opposite target. Right never needs a café Wi-Fi or classmate laptop.

  • Wrong

    Add run at end 'to complete the lab.'

  • Right

    Read-only chain. Next: Quiz — Search and Info.

Mission: search lab chain

1) Execute search→info→use→info→back→exit. 2) Verify no run/RHOSTS. 3) chmod 600.

Stuck? Ask Cyberlium AI Mentor

This chain is the safe default habit before any $LAB run in later topics.

Knowledge Check

1

APPLY: Search lab ends with:

Multiple choice

Knowledge Check

2

APPLY: True or False: info should be run before use and after use.

True or False

Knowledge Check

3

APPLY: Transcript must lack:

Multiple choice

← Previous

Answer all 3 knowledge checks to continue. (0/3 answered)