> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/de/reconnaissance/network-manual-scan.md).

# Manuelles Netzwerkscanning

{% hint style="info" %}
Dieses Dokument beschreibt manuelle Techniken zum Netzwerkscannen ohne automatisierte Werkzeuge wie Nmap. Sie lernen, einfache und effektive Befehle zu verwenden (wie `/dev/tcp`, `ping`, `netcat`, usw.), um aktive Hosts zu identifizieren, offene Ports zu prüfen und Dienste in einem Netzwerk zu diagnostizieren. Ideal, um die Grundlagen der Netzwerkdiagnose zu verstehen und Ihre Analysen an Ihre Bedürfnisse anzupassen.
{% endhint %}

## Spezifischer Port (HTTP - Port 80)

```bash
echo '' > /dev/tcp/192.168.1.1/80 && echo "[+] HTTP Offen" || echo "[-] HTTP Geschlossen"
```

## Mehrere Ports (SSH, HTTP, HTTPS)

Ein einfacher Befehl zum Testen einer Portliste:

```bash
for port in 22 80 443; do
  echo '' > /dev/tcp/192.168.1.1/$port && echo "[+] Port $port Offen" || echo "[-] Port $port Geschlossen"
done
```

## IP-Liste und einzelner Port

Um zu prüfen, ob ein bestimmter Port (zum Beispiel 22) auf mehreren IPs offen ist:

```bash
for ip in 192.168.1.1 192.168.1.2 192.168.1.3; do
  echo '' > /dev/tcp/$ip/22 && echo "[+] SSH offen auf $ip" || echo "[-] SSH geschlossen auf $ip"
done
```

## Schleife zum Scannen eines Portbereichs

Um die Ports eines Computers in einem bestimmten Bereich zu scannen:

```bash
for port in {20..30}; do
  echo '' > /dev/tcp/192.168.1.1/$port && echo "[+] Port $port Offen" || echo "[-] Port $port Geschlossen"
done
```

## Dienst auf mehreren IPs und Ports

Um eine Reihe von IPs und mehrere Ports zu testen:

```bash
for ip in 192.168.1.1 192.168.1.2; do
  for port in 80 443 8080; do
    echo '' > /dev/tcp/$ip/$port && echo "[+] $ip:$port Offen" || echo "[-] $ip:$port Geschlossen"
  done
done
```

## Fortgeschrittenes Skript zur Netzwerkdiagnose

Erstellen Sie ein kleines Skript, um Ports auf einem Ziel zu scannen und die Ergebnisse in einer Datei zu speichern:

```bash
#!/bin/bash

target="192.168.1.1"
output="scan_results.txt"

echo "Scanne $target..." > $output
for port in {1..1024}; do
  if echo '' > /dev/tcp/$target/$port 2>/dev/null; then
    echo "[+] Port $port Offen" | tee -a $output
  sonst
    echo "[-] Port $port Geschlossen" >> $output
  fi
done
echo "Scan abgeschlossen. Ergebnisse in $output gespeichert."
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/de/reconnaissance/network-manual-scan.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
