Englisch
gscan bot ursprünglich grundlegende Scanunterstützung für das Projekt Gosam. Später wurde es unabhängig und wurde zu einem Scan-Tool ähnlich wie nmap . Derzeit wird hart daran gearbeitet, es zu stärken und zu verbessern. Das Projekt freut sich auf die Beteiligung anderer Entwickler. Gerne können Sie auch das Release-Paket herunterladen, um es zu testen, uns beim Testen zu helfen und uns Probleme zu melden.
Die dem System und der Architektur entsprechende ausführbare Datei gscan wird aus dem Release-Paket heruntergeladen.
$ gscan help
Gscan
____ ______ ____ _____ ____
/ ___/ ___// ___\__ /
/ /_/ >___ \ ___ / __ | |
___ /____ >___ >____ /___| /
/_____/ / / / /
https://github.com/LanXuage/gosam/gscan
A Scanner.
Usage:
gscan [flags]
gscan [command]
Available Commands:
arp ARP Scanner
completion Generate the autocompletion script for the specified shell
help Help about any command
icmp ICMP Scanner
port PORT Scanner
Flags:
-A, --arp with arp scan
-D, --debug set debug log level
-F, --file string file to output(unrealized)
-H, --help help for this command
-I, --icmp with icmp scan
-O, --output string normal, json or xml(unrealized) (default "normal")
-T, --timeout int global timeout(ms) (default 6500)
-V, --version version for gscan
Use "gscan [command] --help" for more information about a command.
Detaillierte Befehlsfunktionen finden Sie hier.
$ gscan arp -a
192.168.50.179 00:15:5d:fa:d7:e7 Microsoft Corporation
192.168.48.1 00:15:5d:ab:10:3a Microsoft Corporation
Cost: 6.514218807s$ gscan arp -h 192.168.50.179
192.168.50.179 00:15:5d:fa:d7:e7 Microsoft Corporation
Cost: 6.500702247sHinweis: Der Standard-Timeout beträgt 6500 Millisekunden und kann mit
-Tin Millisekunden angegeben werden.
$ gscan icmp -h 192.168.1.1/24
IP Status
192.168.1.1 Alive
Cost: 4.009240208s$ gscan icmp -h 192.168.1.1 -h 192.168.2.2
IP Status
192.168.1.1 Alive
192.168.2.2 Alive
Cost: 4.002214791s
$ gscan port -h 192.168.48.1 -p 0-65535
IP PORT TYPE STATE
192.168.48.1 135(epmap) tcp open
192.168.48.1 5091 tcp open
192.168.48.1 7680(pando-pub) tcp open
192.168.48.1 5040 tcp open
192.168.48.1 5357(wsdapi) tcp open
192.168.48.1 2179(vmrdp) tcp open
192.168.48.1 10808 tcp open
192.168.48.1 10809(nbd) tcp open
Cost: 6.00483283s$ gscan port -h 192.168.48.1 -p 0-65535 -A
IP MAC VENDOR PORT TYPE STATE
192.168.48.1 00:15:5d:ab:10:3a Microsoft Corporation 2179(vmrdp) tcp open
192.168.48.1 00:15:5d:ab:10:3a Microsoft Corporation 135(epmap) tcp open
192.168.48.1 00:15:5d:ab:10:3a Microsoft Corporation 5091 tcp open
192.168.48.1 00:15:5d:ab:10:3a Microsoft Corporation 5357(wsdapi) tcp open
192.168.48.1 00:15:5d:ab:10:3a Microsoft Corporation 5040 tcp open
192.168.48.1 00:15:5d:ab:10:3a Microsoft Corporation 10809(nbd) tcp open
192.168.48.1 00:15:5d:ab:10:3a Microsoft Corporation 7680(pando-pub) tcp open
192.168.48.1 00:15:5d:ab:10:3a Microsoft Corporation 10808 tcp open
Cost: 9.013501996s$ gscan port -h 192.168.48.1 -p 0-65535 -Af
IP MAC VENDOR PORT TYPE STATE
192.168.48.1 00:15:5d:ab:10:3a Microsoft Corporation 10808 tcp open
192.168.48.1 00:15:5d:ab:10:3a Microsoft Corporation 7680(pando-pub) tcp open
192.168.48.1 00:15:5d:ab:10:3a Microsoft Corporation 2179(vmrdp) tcp open
192.168.48.1 00:15:5d:ab:10:3a Microsoft Corporation 5040 tcp open
192.168.48.1 00:15:5d:ab:10:3a Microsoft Corporation 10809(nbd) tcp open
192.168.48.1 00:15:5d:ab:10:3a Microsoft Corporation 135(epmap) tcp open
192.168.48.1 00:15:5d:ab:10:3a Microsoft Corporation 5357(wsdapi) tcp open
Cost: 9.01656839sHinweis:
gscanverwendet die vongopacketsimulierte vollständige Verbindung. Daher sollte bei Verwendung des Parameters-fdie lokale Firewall aktiviert sein, um zu verhindern, dass das lokale System automatischrstVerbindung herstellt, wodurch der vollständige Verbindungsscan fehlschlägt.
apt install dockerbrew install libpcap-dev golang gitgit clone https://github.com/LanXuage/gscan.gitmake linux Nach Abschluss der Kompilierung werden statische ausführbare linux Dateien verschiedener Architekturen im bin -Verzeichnis unter dem Projektverzeichnis generiert.
Referenz hier