Back to Browse

SQL INJECTION FUNDAMENTALS PART 1/3

977 views
Apr 3, 2024
9:53

HTB registration link: https://referral.hackthebox.com/mzy3zVi 1. Connect to the database using the MySQL client from the command line. Use the 'show databases;' command to list databases in the DBMS. What is the name of the first database? 2.What is the department number for the 'Development' department? 3.What is the last name of the employee whose first name starts with "Bar" AND who was hired on 1990-01-01? 4.In the 'titles' table, what is the number of records WHERE the employee number is greater than 10000 OR their title does NOT contain 'engineer'? 5. Try to log in as the user 'tom'. What is the flag value shown after you successfully log in? 6. Login as the user with the id 5 to get the flag. 7. Connect to the above MySQL server with the 'mysql' tool, and find the number of records returned when doing a 'Union' of all records in the 'employees' table and all records in the 'departments' table.

Download

0 formats

No download links available.

SQL INJECTION FUNDAMENTALS PART 1/3 | NatokHD