Jump to content
alexalghisi

How to brute force you router password

Recommended Posts

Posted

This will give you a quick run down on how to brute force your router if it uses HTTP BASIC AUTH

using THC-HYDRA

If you receive a popup window when you try to access your router, then this method should work for you.

routerscreen_basicauth.gif

hydra -l {username} -P {password list path} -s {port} {IP Address} http-get /

My command looks like:

hydra -l admin -P password.lst -s 80 192.168.1.2 http-get /

Command break down:

hydra --> the hydra program

-l --> (lower case “L” not to be confused with a upper case i) single username to target. Use uppercase -L to specify a username list

-P --> provide path to password lis. -p to try a single password ie “passw0rd”

-s --> port to target your router may run on a different port such as 8080

{IP Address} hopefully this is clear

http-get --> service to brute force

“/” --> this specifies the page to target if this is left out the command will not run. “/” just indicates the root do not include the ”

You will get an output line with username and password if you are successful.

This attack is only as good as your dictionary.

  • Upvote 1
Posted

Am folosit si eu aceasta "hydra" in acelasi scop. In concluzie, functioneaza, dar e nevoie sa stii numele de utilizator (sa zicem: admin) si sa ai un dictionar care sa contina parola. Altfel, prin brute force la toate combinatiile dureaza enorm de mult. Mai lent decat la spargerea unei parole wpa, deoarece acolo atacul se face la nivel local asupra fisierului, aici trebuie sa astepti la fiecare pas raspunsul de la router.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...