mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-04-28 03:26:08 -04:00
readme crypto
This commit is contained in:
parent
13bc14fb66
commit
85fa8069ca
@ -1,5 +1,8 @@
|
|||||||
# Cryptography
|
# Cryptography
|
||||||
|
|
||||||
|
|
||||||
|
### Some Tips:
|
||||||
|
|
||||||
- Often data is just encoded in base64 or hex. Other times it's just compressed (gzip):
|
- Often data is just encoded in base64 or hex. Other times it's just compressed (gzip):
|
||||||
- Text 32 characters long --> md5 hash.
|
- Text 32 characters long --> md5 hash.
|
||||||
- 40 characters long --> SHA1 hash.
|
- 40 characters long --> SHA1 hash.
|
||||||
@ -16,31 +19,28 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Scripts
|
* Command Line:
|
||||||
|
|
||||||
- Hash length extension attack
|
|
||||||
- Brute force hex digest chars
|
|
||||||
|
|
||||||
|
|
||||||
### Command Line
|
|
||||||
```
|
```
|
||||||
$ echo -n password | md5sum
|
$ echo -n password | md5sum
|
||||||
5f4dcc3b5aa765d61d8327deb882cf99
|
5f4dcc3b5aa765d61d8327deb882cf99
|
||||||
```
|
```
|
||||||
|
|
||||||
- 32 chars
|
* Or you can use Python's md5.md5().digest()
|
||||||
|
|
||||||
```
|
|
||||||
7e1321b3c8423b30c1cb077a2e3ac4f0a2a551a6458a8de22446cc76d639a9e98fc42c6cddf9966db3b09e843650343578b04d5e377d298e78455efc5ca404d5f4c9385f1902f7334b00b9b4ecd164de8bf8854bebe108183caeb845c7676ae48fc42c6ddf9966db3b09e84365034357327a6c4304ad5938eaf0efb6cc3e53dc7ff9ea9a069bd793691c422fb818
|
|
||||||
```
|
|
||||||
|
|
||||||
- Use Python's md5.md5().digest()
|
|
||||||
|
|
||||||
- md5 hashes: [here](http://hash-killer.com/), [here](http://www.md5this.com/), [here](http://www.hashkiller.co.uk/).
|
- md5 hashes: [here](http://hash-killer.com/), [here](http://www.md5this.com/), [here](http://www.hashkiller.co.uk/).
|
||||||
|
|
||||||
- [md5sum](http://linux.about.com/library/cmd/blcmdl1_md5sum.htm)
|
- [md5sum](http://linux.about.com/library/cmd/blcmdl1_md5sum.htm)
|
||||||
- [md5 creator](http://www.md5-creator.com/)
|
- [md5 creator](http://www.md5-creator.com/)
|
||||||
|
|
||||||
|
|
||||||
|
### Scripts Available
|
||||||
|
|
||||||
|
- Hash length extension attack
|
||||||
|
- Brute force hex digest chars
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
------
|
------
|
||||||
|
|
||||||
## SHA
|
## SHA
|
||||||
|
Loading…
x
Reference in New Issue
Block a user