Question
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
Posted under SQL Server
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. If xp_cmdshell has been disabled with sp_dropextendedproc, we can simply inject the following code?
Similar Questions
Discover Related MCQs
Q. Which of the stored procedure is used to test the SQL injection attack?
View solution
Q. Point out the wrong statement.
View solution
Q. Any user-controlled parameter that gets processed by the application includes vulnerabilities like ___________
View solution
Q. Which of the following script is example of SQL injection attack?
View solution
Q. Point out the correct statement.
View solution
Q. SQL injection is an attack in which _________ code is inserted into strings that are later passed to an instance of SQL Server.
View solution
Q. Which of the stored procedure used for dynamic SQL is prone to attacks?
View solution
Q. Which of the following is a disadvantage of dynamic SQL?
View solution
Q. The basic syntax for using EXECUTE command is ___________
View solution
Q. The Dynamic SQL Queries in a variable are __________ until they are executed.
View solution
Q. Point out the wrong statement.
View solution
Q. Which of the following is a calling syntax for sp_executesql?
View solution
Q. Dynamic SQL Statements in SQL Server can be easily built using ________________
View solution
Q. Point out the correct statement.
View solution
Q. Which of the following is a way to build dynamic sql statements?
View solution
Q. Scope of DDL triggers in SQL Server can be _____________
View solution
Q. ____________ triggers do not create the special inserted and deleted tables.
View solution
Q. How many types of DDL Trigger is present in SQL Server?
View solution
Q. DDL triggers can only fire after the ______ statement has occurred.
View solution
Q. Purpose of DDL Trigger is to _____________
View solution
Suggested Topics
Are you eager to expand your knowledge beyond SQL Server? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!