readme: alternate way to get the psk
This commit is contained in:
14
README.md
14
README.md
@@ -60,6 +60,20 @@ repeating 4-byte XOR that is sent in the first part of each messages.
|
|||||||
The script could be augmented to decode those as well.
|
The script could be augmented to decode those as well.
|
||||||
The replies from the device are not masked so they can be read in the clear.
|
The replies from the device are not masked so they can be read in the clear.
|
||||||
|
|
||||||
|
## Retrieving home appliance configuration
|
||||||
|
|
||||||
|
```
|
||||||
|
frida-trace -o initHomeAppliance.log -f "com.bshg.homeconnect.android.release" -U -j '*!initHomeAppliance''
|
||||||
|
```
|
||||||
|
|
||||||
|
PSK can also be found in the last section of the config as base64url encoded.
|
||||||
|
|
||||||
|
```
|
||||||
|
echo 'Dsgf2MZJ-ti85_00M1QT1HP5LgH82CaASYlMGdcuzcs"' | tr '_\-"' '/+=' | base64 -d | xxd -g1
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## hcpy
|
## hcpy
|
||||||
|
|
||||||
The `hcpy` tool can contact your device, and if the PSK is correct, it will
|
The `hcpy` tool can contact your device, and if the PSK is correct, it will
|
||||||
|
|||||||
Reference in New Issue
Block a user