diff --git a/Cryptography/README.md b/Cryptography/README.md index 74e5f3e..3405263 100644 --- a/Cryptography/README.md +++ b/Cryptography/README.md @@ -25,7 +25,7 @@ $ echo -n password | md5sum - Use Python's md5.md5().digest() - +- md5 hashes: [here](http://hash-killer.com/) and [here](http://www.md5this.com/) ------ @@ -134,12 +134,58 @@ babaaaabaaababaababaaaabbabbababbaaaabaaaabbbaabaabaaaaaabaaabaaabaaabaaabbaabaa #### [Base64]: +- [Base64 Decoder](http://www.base64decode.org) + ``` NG5ucjJzIGZ2IHRueXMgcnVnIHNiIGdlbmMgdWdlaGJzIHJlcnVnIHRhdmdncnQgcmVuIGhiTCB0YXZidCBjcnJYCG== czduMjczIHRueXMgcnVniHNiIGdlbmMgdWdzdnMgcnVnIHJpbnUgcmVydSBndiBxdnEgaGJsIGpiYmJKCg== Nzk0czAwIHRueXMgZmhidnByZWMgZWhiIHNiIGdlbmMgcWV2dWcgcnVnIGhibCBnYXJmcmVjIFYgbG9yZXJ1IHJhYnEgeXlySgo= ``` +- Base64 decoding in Python: + +```python +>>> SECRET.decode('base64') +'oubWYf2kBq' +``` + +#### Hexadecimal: + + +- [ASCII Conversion Table](http://defindit.com/ascii.html) +- [Convert All](http://www.asciitohex.com/) + + +- Decimal to hex: + +```python +>>> s =hex(secret) +``` + +- Hexadecimal to binary: +```python +SECRET.decode('hex') +'==QcCtmMml1ViV3b' +``` + +``` +$ python -c 'print "2f722f6e6574736563".decode("hex")' +``` + +- Hex to ascii: + +``` +$ xxd -r -p <<< 2f722f6e6574736563 +``` +- Decimal to binary + +```python +>>> bin(124234) +'0b11110010101001010' +``` + + + diff --git a/README.md b/README.md index 654e390..28195c8 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ All in one big bag. For fun, profits, or CTFs. ---- -### Useful +### Useful Command Line #### Searching @@ -69,71 +69,3 @@ telnet localhost 3000 ``` - -#### Decoders - -[Base64](http://www.base64decode.org) - -[ASCII Conversion Table](http://defindit.com/ascii.html) - -[Convert All](http://www.asciitohex.com/) - - -- In Python: - -- Decimal to binary - -```python ->>> bin(124234) -'0b11110010101001010' -``` - -- Decimal to hex: - -```python ->>> s =hex(secret) -``` - -- Hexadecimal to binary: -```python -SECRET.decode('hex') -'==QcCtmMml1ViV3b' -``` - -``` -$ python -c 'print "2f722f6e6574736563".decode("hex")' -``` - -- Hex to ascii: - -``` -$ xxd -r -p <<< 2f722f6e6574736563 -``` - -- Base64 decode: - -```python ->>> SECRET.decode('base64') -'oubWYf2kBq' -``` - -- md5 hashes -http://hash-killer.com/ -http://www.md5this.com/ - ----- - - - ------------------ -[FireBug]: http://getfirebug.com/ -[Burp Suite]: http://portswigger.net/burp/ -[pngcheck]: http://www.libpng.org/pub/png/apps/pngcheck.html -[karmadecay]: http://karmadecay.com/ -[tineye]: https://www.tineye.com/ -[images.google.com]: https://images.google.com/?gws_rd=ssl -[base64 decoding]: http://www.motobit.com/util/base64-decoder-encoder.asp -[subbrute.py]: https://github.com/SparkleHearts/subbrute -[pnginfo]: http://www.stillhq.com/pngtools/ -[namechk]: http://namechk.com -