목록SQL (1)
pierrot_98
[MSSQL]SQL 네트워크 드라이브 연결
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 --xp_cmdshell 활성화 EXEC sp_configure 'show advanced option',1 go reconfigure; go exec sp_configure 'xp_cmdshell',1 go reconfigure; go exec xp_cmdshell 'net use P: \\127.0.0.1\dir pa$$word /USER:127.0.0.1\administrator' --네트워크 드라이브 연결 --xp_cmdshell 비활성화 exec sp_configure 'xp_cmdshell',0 go reconfigure; go EXEC s..
IT/MSSQL
2019. 12. 17. 19:12