mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Indent and simplify HTML snippets
This commit is contained in:
parent
feae2cd8d7
commit
e2433843b5
@ -25,9 +25,6 @@ layout: common
|
|||||||
|
|
||||||
{% for example in examples %}
|
{% for example in examples %}
|
||||||
|
|
||||||
<div class="example">
|
|
||||||
{{ example.description | markdownify }}
|
|
||||||
|
|
||||||
{% capture code %}
|
{% capture code %}
|
||||||
{%- if function_name == 'suid-enabled' or function_name == 'suid-limited' %}
|
{%- if function_name == 'suid-enabled' or function_name == 'suid-limited' %}
|
||||||
cp $(which {{ bin_name }}) .
|
cp $(which {{ bin_name }}) .
|
||||||
@ -37,10 +34,9 @@ sudo chmod +s ./{{ bin_name }}
|
|||||||
{{ example.code }}
|
{{ example.code }}
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
<pre><code>
|
<div class="example">
|
||||||
{{- code | strip -}}
|
{{ example.description | markdownify }}
|
||||||
</code></pre>
|
<pre><code>{{- code | strip -}}</code></pre>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user