1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 14:15:26 +02:00

patator: add examples (#16072)

This commit is contained in:
Fazle Arefin 2025-03-31 11:26:34 +11:00 committed by GitHub
parent f0ad5ec7dd
commit 9ad7a23a36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,12 +5,20 @@
- Brute force ssh login with rate limit and timeout options (successful login will show login banner or something similar):
`patator ssh_login host={{ip_or_host}} user=FILE0 0={{path/to/users.txt}} password=FILE1 1={{path/to/passwords.txt}} --rate_limit={{seconds}} --timeout={{seconds}}`
`patator ssh_login host={{ip_or_host}} user=FILE0 password=FILE1 0={{path/to/users.txt}} 1={{path/to/passwords.txt}} --rate_limit={{seconds}} --timeout={{seconds}} -x ignore:mesg='Authentication failed.'`
- Brute force encrypted zip file:
`patator unzip_pass zipfile={{path/to/file.zip}} password=FILE0 0={{path/to/passwords.txt}} -x ignore:code!=0`
- Brute force http basic auth (payload file `userpass.txt` should be in the format `username:password`):
`patator http_fuzz url={{http://host:port}} auth_type=basic user_pass=COMBO00:COMBO01 0={{path/to/userpass.txt}} -x ignore:code=401`
- Brute force FTP/FTPS login:
`patator ftp_login host={{ip_or_host}} user=FILE0 password=FILE1 0={{path/to/users.txt}} 1={{path/to/passwords.txt}} tls={{0|1}} -x ignore:mesg='Login incorrect.' -x ignore,reset,retry:code=500`
- List all available modules:
`patator --help`