mirror of
https://github.com/hackerschoice/thc-tips-tricks-hacks-cheat-sheet.git
synced 2026-05-20 15:15:31 +02:00
Merge pull request #9 from xstevens/patch-1
Adding non-openssl method to generate a random password
This commit is contained in:
@@ -559,6 +559,12 @@ Good for quick passwords without human element.
|
||||
$ openssl rand -base64 24
|
||||
```
|
||||
|
||||
If `openssl` is not available then we can also use `head` to read from `/dev/urandom`.
|
||||
|
||||
```
|
||||
$ head -c 32 < /dev/urandom | xxd -p -c 32
|
||||
```
|
||||
|
||||
<a id="crltefs-anchor"></a>
|
||||
**8.ii. Linux transportable encrypted filesystems**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user