Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: custom xp_cmdshell on SQL Server |
|---|---|
| Date: | Thu, 14 Sep 2006 10:28:14 +0300 |
I would recommend against it...
Why don't you reload it (That is if someone hasn't revoked O/S user privileges on the DLL)?
From the help file:
sp_addextendedproc [@functname =] 'procedure', [@dllname =] 'dll'
Arguments [@functname =] 'procedure' Is the name of the function to call within the dynamic-link library (DLL). procedure is nvarchar(517), with no default. procedure optionally can include the owner name in the form owner.function. [@dllname =] 'dll' Is the name of the DLL containing the function. dll is varchar(255), with no default.
So....
exec master.sp_addextendedproc @functname='xp_cmdshell', @dllname ='xpstar70.dll'
Check the DLL name I am not sure if this (xpstar70.dll) is the correct one, its been a while since I got my hands dirty :)
Z
------------------------------------------------------------------------ This List Sponsored by: Cenzic
Need to secure your web apps? Cenzic Hailstorm finds vulnerabilities fast. Click the link to buy it, try it or download Hailstorm for FREE. http://www.cenzic.com/products_services/download_hailstorm.php ------------------------------------------------------------------------
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Full-disclosure] Google Search API Worms, pdp (architect) |
|---|---|
| Next by Date: | RE: tools to scan source code, andy cuff |
| Previous by Thread: | RE: custom xp_cmdshell on SQL Server, Victor Chapela |
| Next by Thread: | User group tool, Bud Gordon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |