This commit is contained in:
user 2022-06-13 16:37:17 +02:00
parent 89b70f6379
commit 3307e381b7
2 changed files with 36 additions and 0 deletions

View File

@ -93,9 +93,12 @@ sudo smartctl -a /dev/sda | grep SCT
SCT capabilities: (0x1081) SCT Status supported.
```
ERC settings: `smartctl -l scterc /dev/sda` or setting `smartctl -l scterc,150,150 /dev/sda`
#### related issues
- https://gitlab.com/cryptsetup/cryptsetup/-/issues/632 xxHASH64 support, needs separate `--tag-size 8`
- https://gitlab.com/cryptsetup/cryptsetup/-/issues/668 dm-integrity documentation with setting recommendation
- https://gitlab.com/cryptsetup/cryptsetup/-/issues/620 systemd LUKS key mgmnt integration
- https://gitlab.com/cryptsetup/cryptsetup/-/issues/573 issues with caching the flag "recalculating"
- https://raid.wiki.kernel.org/index.php/Drive_Data_Sheets#Non-Raid_drives
- https://www.smartmontools.org/wiki/FAQ#WhatiserrorrecoverycontrolERCandwhyitisimportanttoenableitfortheSATAdisksinRAID

33
reverse_engineering.md Normal file
View File

@ -0,0 +1,33 @@
# reverse engineering
## radare2
#### basic file info
```
i show file information
ih show headers
ie show entry point
ii show imports
iE show exports
izz |less show strings (in less)
```
preparing the binary
```
aaaa analyze binary
afl analyze function list [correspond to ii, iE]
pdf print dissambly function
```
```
s search
V enter visual mode
```
### visual mode general keys
```
? show help
p/P toggle print mode
<space> toggle ascii graph
: open radare2 prompt
q quit
```
###
[Terminus Project](http://terminus.rewolf.pl/terminus/)