adplus-dvertising
frame-decoration

Question

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

Posted under SQL Server

Answer: (a).sp_addextendedproc ‘xp_cmdshell’,’xp_log70.dll’

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?

Q. Point out the wrong statement.

Q. Any user-controlled parameter that gets processed by the application includes vulnerabilities like ___________

Q. Which of the following script is example of SQL injection attack?

Q. Point out the correct statement.

Q. SQL injection is an attack in which _________ code is inserted into strings that are later passed to an instance of SQL Server.

Q. Which of the stored procedure used for dynamic SQL is prone to attacks?

Q. Which of the following is a disadvantage of dynamic SQL?

Q. The basic syntax for using EXECUTE command is ___________

Q. The Dynamic SQL Queries in a variable are __________ until they are executed.

Q. Point out the wrong statement.

Q. Which of the following is a calling syntax for sp_executesql?

Q. Dynamic SQL Statements in SQL Server can be easily built using ________________

Q. Point out the correct statement.

Q. Which of the following is a way to build dynamic sql statements?

Q. Scope of DDL triggers in SQL Server can be _____________

Q. ____________ triggers do not create the special inserted and deleted tables.

Q. How many types of DDL Trigger is present in SQL Server?

Q. DDL triggers can only fire after the ______ statement has occurred.

Q. Purpose of DDL Trigger is to _____________