Ask Your Question
0

HTTP Router Gateway password encrypted or looks random [closed]

asked 2023-11-30 12:53:43 +0000

HyperSyntax gravatar image

updated 2023-11-30 15:27:03 +0000

grahamb gravatar image

So recently i wanted to test if i can capture my own packet that i send to the router. To see if i can see the password in clear text but it doesn't show up as clear text. It shows a different password. This is the following TCP stream that i think sent the gateway the password.

POST /LoginCheck HTTP/1.1
Host: 192.168.0.1
Connection: keep-alive
Content-Length: 34
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
Origin: http://192.168.0.1
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Referer: http://192.168.0.1/login.asp?0
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9

Username=admin&Password=YWRtaW4%3DHTTP/1.0 302 Redirect
Server: GoAhead-Webs
Date: Thu Nov 30 16:28:08 2023
Set-Cookie: ecos_pw=YWRtaW4=mji:language=en; path=/
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Location: http://192.168.0.1/index.asp

The password is the default admin

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by HyperSyntax
close date 2023-12-01 06:39:54.301736

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-11-30 14:24:45 +0000

Plasma gravatar image

updated 2023-11-30 14:32:01 +0000

The password is Base64 encoded, simply reverse the encoding and you will have the password.

https://www.base64decode.org/

admin Base64 encoded is YWRtaW4=

edit flag offensive delete link more

Comments

CyberChef is a good one to add to your tool list:
https://gchq.github.io/CyberChef/#rec...

Chuckc gravatar imageChuckc ( 2023-12-01 04:04:22 +0000 )edit

Thanks for the help.

HyperSyntax gravatar imageHyperSyntax ( 2023-12-01 06:39:23 +0000 )edit

Question Tools

Stats

Asked: 2023-11-30 12:53:43 +0000

Seen: 283 times

Last updated: Nov 30 '23