mirror of
https://github.com/carlospolop/hacktricks.git
synced 2023-12-14 19:12:55 +01:00
commit
650cee2e50
1 changed files with 10 additions and 0 deletions
|
@ -26,6 +26,16 @@
|
|||
|
||||
## Enumeration
|
||||
|
||||
### Nmap SSH scripts
|
||||
|
||||
```bash
|
||||
nmap -p22 <ip> -sC # Send default nmap scripts for SSH
|
||||
nmap -p22 <ip> -sV # Retrieve version
|
||||
nmap -p22 <ip> --script ssh2-enum-algos # Retrieve supported algorythms
|
||||
nmap -p22 <ip> --script ssh-hostkey --script-args ssh_hostkey=full # Retrieve weak keys
|
||||
nmap -p22 <ip> --script ssh-auth-methods --script-args="ssh.user=root" # Check authentication methods
|
||||
```
|
||||
|
||||
### Banner Grabbing
|
||||
|
||||
```bash
|
||||
|
|
Loading…
Reference in a new issue