mirror of
https://git.collinwebdesigns.de/oscar.krause/fastapi-dls.git
synced 2025-03-11 22:13:09 +03:00
Reverse Engineering Notes.md bearbeiten
This commit is contained in:
parent
83616c858b
commit
5b61d0a40e
@ -80,13 +80,13 @@ base64-content...
|
|||||||
## DB Password - `/etc/dls/config/dls_db_password.bin`
|
## DB Password - `/etc/dls/config/dls_db_password.bin`
|
||||||
|
|
||||||
```
|
```
|
||||||
|
# docker cp -a <container-id>:/etc/dls/config/dls_db_password.bin /tmp/dls_db_password.bin
|
||||||
base64-content...
|
base64-content...
|
||||||
```
|
```
|
||||||
|
|
||||||
**Decrypt database password**
|
**Decrypt database password**
|
||||||
|
|
||||||
```
|
```
|
||||||
cd /var/lib/docker/volumes/configurations/_data
|
|
||||||
cat dls_db_password.bin | base64 -d > dls_db_password.bin.raw
|
cat dls_db_password.bin | base64 -d > dls_db_password.bin.raw
|
||||||
openssl rsautl -decrypt -inkey /tmp/private-key.pem -in dls_db_password.bin.raw
|
openssl rsautl -decrypt -inkey /tmp/private-key.pem -in dls_db_password.bin.raw
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user