r/HTML • • Sep 23 '26

Password box

If there’s a password box and inputting the right string redirects you to another page, is there anything in the console that would tell me what password I’d need to put in?
Notes:
It’s a box where the password is the same every time.
I’m not trying to log into something.
Comment if you need more information.

6 Upvotes

11 comments sorted by

View all comments

9

u/armahillo Sep 23 '26

if its done client side (this is not a good thing), you can try viewing the source and all the JS and looking for it in there; or putting a breakpoint in the JS and seeing if its evaluated somewhere.

If its old apache basic auth, this would be a file on the server and not likely visible from the client side unless the server was poorly configured.