Oct 6, 2019 08:27 AM
(This post was last modified: Oct 6, 2019 11:03 AM by Dusk42.)
Hey everyone!
Recently I moved into a new apartment and one night my neighbour knocked on my door asking for my wifi password. Being the idiot that I am I gave it to him, but now I regret it and want to change it. However I can't access my router because the default password has been changed and possibly the username as well. I'm renting the place and the router was already setup when I got here. I need to change this password. It's been driving me insane and I've tried lots of things to make it work.
So I decided to pull the http request and got some code from the router with which it checks if the password is correct. I can't find a way to use this to my advantage however.
The router doesn't use the usual browser login request but has it's own fields setup for input so I don't know if I could make a brute force attack. My knowledge of hacking is minimal. Could someone please help me out?
Here's the function with which the router checks for the password validity I managed to find
function LoginClick(loginUsername, loginPassword, hiddenUsername, hiddenPassword)
{
var usernameStr;
var passwordStr;
if (null == loginUsername || 0 == loginUsername.value.length)
{
alert ("Please input a username");
key_flag = 0;
return false;
}
if (null == loginPassword || 0 == loginPassword.value.length)
{
alert ("Please input a password");
key_flag = 0;
return false;
}
usernameStr = passwordMD5(loginUsername.value);
passwordStr = passwordMD5(loginPassword.value);
hiddenUsername.value = usernameStr;
hiddenPassword.value = passwordStr;
loginPassword.value = "Ha2S+eOKqmzA6nrlmTeh7w==";
return true;
}
This second to last line seems interesting as it has a proper value but it seems to be encrypted. The passwordMD5 function connects to a function called "calcMD5" which I guess encrypts the entered username and password before checking them?
If there is a way for me to get into this router that would be great. I'm worried that I'm at risk of being hacked myself because I gave away the wifi password. Please help!
EDIT : The router is a ZTE ZXV10 W300
EDIT 2 : I just tried factory resetting it.... The router doesn't want to factory reset. It resets but all settings seemingly stay the same. I really need to hack into it. Apparently this router has something called a rom-0 vulnerability? How can I make use of that?
Recently I moved into a new apartment and one night my neighbour knocked on my door asking for my wifi password. Being the idiot that I am I gave it to him, but now I regret it and want to change it. However I can't access my router because the default password has been changed and possibly the username as well. I'm renting the place and the router was already setup when I got here. I need to change this password. It's been driving me insane and I've tried lots of things to make it work.
So I decided to pull the http request and got some code from the router with which it checks if the password is correct. I can't find a way to use this to my advantage however.
The router doesn't use the usual browser login request but has it's own fields setup for input so I don't know if I could make a brute force attack. My knowledge of hacking is minimal. Could someone please help me out?
Here's the function with which the router checks for the password validity I managed to find
function LoginClick(loginUsername, loginPassword, hiddenUsername, hiddenPassword)
{
var usernameStr;
var passwordStr;
if (null == loginUsername || 0 == loginUsername.value.length)
{
alert ("Please input a username");
key_flag = 0;
return false;
}
if (null == loginPassword || 0 == loginPassword.value.length)
{
alert ("Please input a password");
key_flag = 0;
return false;
}
usernameStr = passwordMD5(loginUsername.value);
passwordStr = passwordMD5(loginPassword.value);
hiddenUsername.value = usernameStr;
hiddenPassword.value = passwordStr;
loginPassword.value = "Ha2S+eOKqmzA6nrlmTeh7w==";
return true;
}
This second to last line seems interesting as it has a proper value but it seems to be encrypted. The passwordMD5 function connects to a function called "calcMD5" which I guess encrypts the entered username and password before checking them?
If there is a way for me to get into this router that would be great. I'm worried that I'm at risk of being hacked myself because I gave away the wifi password. Please help!
EDIT : The router is a ZTE ZXV10 W300
EDIT 2 : I just tried factory resetting it.... The router doesn't want to factory reset. It resets but all settings seemingly stay the same. I really need to hack into it. Apparently this router has something called a rom-0 vulnerability? How can I make use of that?

