How to use -L option?

087

To use the -L option in the Hydra command, you need to specify a file that contains a list of usernames. Each username should be on a separate line in the file. Here’s the general syntax for using the -L option:

hydra -L usernames.txt -P passwords.txt <service>://<target>

Example

If you have a file named usernames.txt with the following content:

user1
user2
agent

And you want to crack the SSH password for these users on a local machine (127.0.0.1) using a password list passwords.txt, the command would look like this:

hydra -L usernames.txt -P passwords.txt ssh://127.0.0.1

This command will attempt to log in to the SSH service at 127.0.0.1 using each username from usernames.txt and each password from passwords.txt.

0 Comments

no data
Be the first to share your comment!