Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

MySQL Remote Connection

Im trying to figure out if this error means that you can only log in with a specific ip: [yes/no]?

ERROR 1045 (28000): Access denied for user 'user'@'ip_address' (using password: YES)
(Sep 22, 2014 09:44 AM)kambrik Wrote:  Im trying to figure out if this error means that you can only log in with a specific ip: [yes/no]?

ERROR 1045 (28000): Access denied for user 'user'@'ip_address' (using password: YES)

You might want to spend some time on this page:

http://dev.mysql.com/doc/refman/5.0/en/a...enied.html
(Sep 22, 2014 09:48 AM)ShadowCloud Wrote:  You might want to spend some time on this page:

http://dev.mysql.com/doc/refman/5.0/en/a...enied.html

Thanks that helped alot... Any tricks around this that anyone knows?
(Sep 22, 2014 10:10 AM)kambrik Wrote:  Thanks that helped alot... Any tricks around this that anyone knows?

Most likely use the correct password? I know I wrote a query to essentially brute force MSSQL passwords using server resources at one point, but it won't work for MySQL.

Openrowset.

Is there a website running that's accessible and using this mysql server?
(Sep 22, 2014 10:13 AM)ShadowCloud Wrote:  Most likely use the correct password? I know I wrote a query to essentially brute force MSSQL passwords using server resources at one point, but it won't work for MySQL.

Openrowset.

Is there a website running that's accessible and using this mysql server?

Yes there is... and I know the u/p combo is correct... Its not just one several situations like this, so im pretty sure that its ip/domain specific (aka user@ip) that needs to be there but it just seems like that would be a headache...
(Sep 22, 2014 10:18 AM)kambrik Wrote:  Yes there is... and I know the u/p combo is correct... Its not just one several situations like this, so im pretty sure that its ip/domain specific (aka user@ip) that needs to be there but it just seems like that would be a headache...

Pretty sure you are shit out of luck then, you can spoof the IP for UDP requests, not TCP though.

That being said, you might be able to issue queries via the site if it's vulnerable to SQLi?
(Sep 22, 2014 10:21 AM)ShadowCloud Wrote:  Pretty sure you are shit out of luck then, you can spoof the IP for UDP requests, not TCP though.

That being said, you might be able to issue queries via the site if it's vulnerable to SQLi?

True... Im not that worried about it in this scenario quantity over quality is the factor here... But I was thinking about it they were prolly givin the database to use for said website but not granted remote login hence the reason im getting the error. Or there is some sort of cpanel like login for them to do what they need via the web... Thanks for your help though... it helps to bounce ideas back n forth sometimes...
Have you tried uploading a reverse shell to the host?
If you have the correct login/password for the MySQL server, you can try logging into phpmyadmin. A lot of times, remote connections are disabled. If you can upload a shell via phpmyadmin, you could try connecting to the MySQL server locally through the shell.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by darkpeaApr 10, 2020 06:16 PM 1 147 Apr 10, 2020 06:16 PM
Last Post: darkpea
by 66vanityApr 2, 2020 08:39 PM 1 92 Apr 2, 2020 08:39 PM
Last Post: SIM-4581439
by DataDumperDec 23, 2015 05:27 PM 4 178 Dec 23, 2015 05:27 PM
Last Post: DataDumper