Explanation:xp_regwrite writes an arbitrary value into the Registry (undocumented extended procedure). 7. If xp_cmdshell has been disabled with sp_dropextendedproc, we can simply inject the following code:
A. sp_addextendedproc ‘xp_cmdshell’,’xp_log70.dll’
B. sp_addproc ‘xp_cmdshell’,’xp_log70.dll’
C. sp_addextendedproc ‘xp_cmdshell’,’log70.dll’
D. None of the mentioned
Answer:A
Explanation:xp_regwrite writes an arbitrary value into the Registry (undocumented extended procedure). 7. If xp_cmdshell has been disabled with sp_dropextendedproc, we can simply inject the following code:
A. sp_addextendedproc ‘xp_cmdshell’,’xp_log70.dll’ B. sp_addproc ‘xp_cmdshell’,’xp_log70.dll’ C. sp_addextendedproc ‘xp_cmdshell’,’log70.dll’ D. None of the mentioned