, MS SQL . . , , , xp_cmdshell vbscript , xmlhttp .
xp_cmdshell:
EXEC master..xp_cmdshell 'c:\<file>.vbs',no_output
VBScript:
call main()
sub main()
Dim xmlHTTP, url
Set xmlHTTP = WScript.CreateObject("Msxml2.XMLHTTP")
url = "<url>"
xmlHTTP.Open "GET", url, False
xmlHTTP.Send ""
end sub
, .
xp_cmdshell:
EXEC master..xp_cmdshell 'c:\caller.vbs',no_output
VBScript :
call main()
sub main()
Dim scmd
Set scmd = "c:\windows\system32\cscript.exe //nologo c:\<originalVBS>.vbs"
createobject("wscript.shell").run scmd,0,false
end sub
user356808