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

how can i connect the my target database MySQL

i downloded the config file and i found
DB_USER :
DB_PASSWORD:
DB_HOST:localhost

and i dont have a shell in the server
so how can i connect ?
(May 24, 2018 02:43 PM)r3el Wrote:  i downloded the config file and i found
DB_USER :
DB_PASSWORD:
DB_HOST:localhost

and i dont have a shell in the server
so how can i connect ?

You would need a shell to be on their localhost...
(May 24, 2018 02:47 PM)Chris.fussner Wrote:  You would need a shell to be on their localhost...

there is no other method ?
(May 24, 2018 02:51 PM)r3el Wrote:  there is no other method ?

Not unless you can either bypass a WAF, hack into the server through vulnerable software versions or social engineer the admin.
(May 24, 2018 02:55 PM)Chris.fussner Wrote:  Not unless you can either bypass a WAF, hack into the server through vulnerable software versions or social engineer the admin.

ah really i idk about bypass a WAF
so thank you anyway
btw if you wanna i will give you the website and the config :p
(May 24, 2018 03:03 PM)r3el Wrote:  ah really i idk about bypass a WAF
so thank you anyway
btw if you wanna i will give you the website and the config :p

No thanks. Its useless to me :)
Tell me the website in PMs and I’ll look into it.
(May 26, 2018 05:48 AM)Crystallize. Wrote:  Tell me the website in PMs and I’ll look into it.

ok check your inbox,
after, tell me how please
there a way:
verify if the server has port 3306 open with nmap
if so just connect with SQL software to the server & if you have linux in your box then just
connect with the command:
mysql -h <your target> -u <username> -p<password(do not leave a space between -p and the password)>
(May 26, 2018 05:43 PM)Noxcrawler Wrote:  there a way:
verify if the server has port 3306 open with nmap
if so just connect with SQL software to the server & if you have linux in your box then just
connect with the command:
mysql -h <your target> -u <username> -p<password(do not leave a space between -p and the password)>

Really dude..... how will he have the password idiot...
username & password are in the config file he just hid it, if not how can he ask such question
(May 26, 2018 05:43 PM)Noxcrawler Wrote:  there a way:
verify if the server has port 3306 open with nmap
if so just connect with SQL software to the server & if you have linux in your box then just
connect with the command:
mysql -h <your target> -u <username> -p<password(do not leave a space between -p and the password)>

ok i will try , thank u

(May 26, 2018 05:47 PM)Chris.fussner Wrote:  Really dude..... how will he have the password idiot...

i have the database -_-

(May 26, 2018 05:43 PM)Noxcrawler Wrote:  there a way:
verify if the server has port 3306 open with nmap
if so just connect with SQL software to the server & if you have linux in your box then just
connect with the command:
mysql -h <your target> -u <username> -p<password(do not leave a space between -p and the password)>

and what if the port is closed ? how can i connect ??
You dont have the database. You said it yourself. You have the localhost login php file which states (LOCALHOST) you havent got shit man... that means that it can only be accessed from within the target network. You aint got shit...
(May 27, 2018 02:47 AM)Chris.fussner Wrote:  You dont have the database. You said it yourself. You have the localhost login php file which states (LOCALHOST) you havent got shit man... that means that it can only be accessed from within the target network. You aint got shit...

i have the database
also i have all the backup of the webstite
(May 27, 2018 03:18 AM)r3el Wrote:  i have the database
also i have all the backup of the webstite

So if you have the database and the website why cant you access the database?


Possibly Related Threads...
Thread / Author Replies Views Last Post
by Q00Jan 22, 2025 01:39 AM 12 1,397 Jan 22, 2025 01:39 AM
Last Post: Bastille
by Th3Gh05tDec 31, 2021 02:05 PM 2 183 Dec 31, 2021 02:05 PM
Last Post: memory
by gussiAug 3, 2017 02:18 AM 2 147 Aug 3, 2017 02:18 AM
Last Post: sysadmn