I got the mssqlclient.py library installed and working, and could connect to the sql server instance and reconfigure it without issues. Now, the problem I’m having is that when I try to get instance to download and execute the reverse shell. It seems that it cannot connect to the server.
I created and saved the code of the shell in a file named shell.ps1. I raised the mini http web server and the netcat listener with the callback configurations.