-
-
Notifications
You must be signed in to change notification settings - Fork 92
SSH and SFTP
Simone Margaritelli edited this page Oct 25, 2023
·
1 revision
SSH/SFTP password and private key authentication.
Name | Description |
---|---|
--ssh-auth-mode <SSH_AUTH_MODE> |
Authentication strategy [default: password ] [possible values: key , password ] |
--ssh-key-passphrase <SSH_KEY_PASSPHRASE> |
Optional private key passphrase for key based authentication. |
SSH password based authentication:
legba ssh \
--username admin \
--password wordlists/passwords.txt \
--target localhost:22
SSH key based authentication, testing keys inside /some/path:
legba ssh \
--username admin \
--password '@/some/path/*' \
--ssh-auth-mode key \
--target localhost:22
SFTP password based authentication:
legba sftp \
--username admin \
--password wordlists/passwords.txt \
--target localhost:22
SFTP ley based authentication, testing keys inside /some/path:
legba sftp \
--username admin \
--password '@/some/path/*' \
--ssh-auth-mode key \
--target localhost:22
- Installation and Building
- Usage & Main Options
- REST API
- Recipes
- Plugins
- AMQP (ActiveMQ, RabbitMQ, Qpid, JORAM and Solace)
- DNS
- FTP
- HTTP
- IMAP
- Kerberos
- LDAP
- MongoDB
- MQTT
- Microsoft SQL
- MySQL
- Oracle
- Port Scanner
- PostgreSQL
- POP3
- RDP
- Redis
- Samba
- ScyllaDB / Cassandra
- SSH / SFTP
- SMTP
- SOCKS5
- STOMP (ActiveMQ, RabbitMQ, HornetQ and OpenMQ)
- Telnet
- VNC
- Custom Binary