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

Exploit MSSQL Server Using Kali Linux Metasploit 5

I've been trying to exploit a remote MSSQL Server with the help of Metasploit 5 In Kali Linux.
I got following information from the server:
Image Here: i.imgur*com/lH5xVzG.png (I'm New User And Not Allowed To Add Images ;(
My Questions:
1. The origin IP of website server is : XX.XXX.XX.68
But, Terminal got SQL information from IP: XX.XXX.XX.156 ......How and Why?

2. How I can proceed further to gain access to the MSSQL Server?

Thanks (New To MSSQL Exploit)
Maybe don't use metasploit and understand if the mssql server is vulnerable.
Two independent server(1.webserver 2.database server)
it's lol question, if you wanna try to hack mysql server then u hv to know if mysql server hv a vulnerability or not
(May 1, 2019 07:08 AM)peterboss Wrote:  I've been trying to exploit a remote MSSQL Server with the help of Metasploit 5 In Kali Linux.
I got following information from the server:
Image Here: i.imgur*com/lH5xVzG.png (I'm New User And Not Allowed To Add Images ;(
My Questions:
1. The origin IP of website server is : XX.XXX.XX.68
But, Terminal got SQL information from IP: XX.XXX.XX.156 ......How and Why?

2. How I can proceed further to gain access to the MSSQL Server?

Thanks (New To MSSQL Exploit)

Hi mate, not every MSSQL server will have ready vulnerabilities for you to exploit. Some times you need to look into things like misconfigurations.

1. Enumerate both smb and mssql usernames on your box.
2. Try bruteforce with common names.
3. Look into PowerSQL
I'd suggest you to run nmap scan against the host.
And note down the version or build date
MySQL version 1.0.x has remote backdoor upload vulnerability
-snip-
Hello ,


if you have the IP you can brute force the login .

Login: sa
Pass:whatever

Metasploit:

use auxiliary/scanner/mssql/mssql_login

set RHOSTS '127.0.0.1' =your_ip
set username 'sa' =sa=Admin Account for MSSQL_SERVER
set PASS_FILE 'massive_pwd_list.txt' =your PWDLISTE
set STOP_ON_SUCCESS 'true' =PASSWORD GOOD its stopping
set THREADS '5' =its the speed
run =start the tool

Best Regards .


Possibly Related Threads...
Thread / Author Replies Views Last Post
by VipVinceMay 15, 2026 06:38 PM 103 6,574 May 15, 2026 06:38 PM
Last Post: theprox0517
by ChapFeb 16, 2024 01:53 PM 1 178 Feb 16, 2024 01:53 PM
Last Post: DramaKing
by alinalatOct 24, 2022 06:02 PM 0 148 Oct 24, 2022 06:02 PM
Last Post: alinalat