Glossary of helpful tools

Glossary of helpful tools

heredoc format

Provide a multi-line string to stdin until the given keyword is read. https://en.wikipedia.org/wiki/Here_document#Unix_shells

For example enter the following in BASH:

cat << EOF | base64 -d

and you will be prompted with text by a > character. A full example:

cat << EOF | base64 -d
> TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdCwg
> c2VkIGRvIGVpdXNtb2QgdGVtcG9yIGluY2lkaWR1bnQgdXQgbGFib3JlIGV0IGRvbG9yZSBtYWdu
> YSBhbGlxdWEuIFV0IGVuaW0gYWQgbWluaW0gdmVuaWFtLCBxdWlzIG5vc3RydWQgZXhlcmNpdGF0
> aW9uIHVsbGFtY28gbGFib3JpcyBuaXNpIHV0IGFsaXF1aXAgZXggZWEgY29tbW9kbyBjb25zZXF1
> YXQuCg==
> EOF
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

JSFuck

https://en.wikipedia.org/wiki/JSFuck

JJEncode

https://blog.korelogic.com/blog/2015/01/12