James, a penetration tester, found a SQL injection vulnerability in the website http://www.xsecurity.com. He used sqlmap and extracted the website’s databases from the sql server, one of them being “offices.” Which among the following sqlmap queries does James issue in order to extract the tables related to the database “offices”?

James, a penetration tester, found a SQL injection vulnerability in the website http://www.xsecurity.com. He used sqlmap and extracted the website’s databases from the sql server, one of them being “offices.” Which among the following
sqlmap queries does James issue in order to extract the tables related to the database “offices”?




sqlmap -u “www.xsecurity.com” --dbs offices -T
sqlmap -u “www.xsecurity.com” --dbs offices --T
sqlmap -u “www.xsecurity.com” --dbs offices -tables
sqlmap -u “www.xsecurity.com” --dbs offices --tables

Comments

Popular posts from this blog

OpenVas - Open source Vulnerability scanner

During an internal network audit, you are asked to see if there is any RPC server running on the network and if found, enumerate the associate RPC services. Which port would you scan to determine the RPC server and which command will you use to enumerate the RPC services?

Red Teaming - A comprehensive approach