-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mssql_priv module can't find any path to privesc #273
Comments
Not really obvious at first what might be the problem here. |
Which cme version is this? Latest from the apt repositories? |
I encountered the error in the HTB Academy module “Using CrackMapExec” in the task “MSSQL Enumeration and Attacks”. I have tested the older versions/commits of NetExec. I reinstalled the OS once and ran NetExec in a Docker container to avoid any hick up from other programs, unfortunately it does not work. crackmapexec is the oldest version in the apt repository of kali linux. Unfortunately, I could not find a HTB Box on the HTB Lab with the type of privilege escallation to test. |
Thanks for the info! @mpgn do you have access to htb academy? Any chance you could take a look at it? |
I found the issue. The privileged user for the impersonation cannot be found, because there is an issue in the "is_admin_user" function. TypeError: int() argument must be a string, a bytes-like object or a real number, not 'list' I could sucessfully test my changes.
|
Closing as it was fixed in #277 |
Describe the bug
When trying to escalate the privileges via the mssql_priv I get the error "can't find any path to privesc", but it works with exact the same arguments in crackmapexec
To Reproduce
When using crackmapexec with it works as expected
NetExec info
The text was updated successfully, but these errors were encountered: