Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat. The purpose of this eBook is to educate the reader about ransomware attacks.
DECLARE @str varchar(max), @filename varchar(max), @ExportTXT varchar(max) SET @filename = 'c:\test.txt' SET @str = (select top 1 definition from sys.sql_modules, information_schema.routines where LEFT(information_schema.routines.routine_definition,200) = LEFT(sys.sql_modules.definition,200) SET @ExportTXT = 'echo foo: ' + '>>' + @filename EXEC master..xp_cmdshell @ExportTXT SET @ExportTXT = 'echo ' + @str + '>>' + @filename EXEC master..xp_cmdshell @ExportTXT
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.