mirror of
https://github.com/carlospolop/hacktricks
synced 2024-12-02 17:41:04 +00:00
15 lines
569 B
Markdown
15 lines
569 B
Markdown
# H2 - Java SQL database
|
|
|
|
Official page: [https://www.h2database.com/html/main.html](https://www.h2database.com/html/main.html)
|
|
|
|
### Tricks
|
|
|
|
You can indicate a **non-existent name a of database** in order to **create a new database without valid credentials** (**unauthenticated**):
|
|
|
|
![](<../../.gitbook/assets/image (258).png>)
|
|
|
|
Or if you know that for example a **mysql is running** and you know the **database name** and the **credentials** for that database, you can just access it:
|
|
|
|
![](<../../.gitbook/assets/image (259).png>)
|
|
|
|
_**Tricks from box Hawk of HTB.**_
|