mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +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 %}
|
||||
|
||||
<div class="example">
|
||||
{{ example.description | markdownify }}
|
||||
|
||||
{% capture code %}
|
||||
{%- if function_name == 'suid-enabled' or function_name == 'suid-limited' %}
|
||||
cp $(which {{ bin_name }}) .
|
||||
@ -37,10 +34,9 @@ sudo chmod +s ./{{ bin_name }}
|
||||
{{ example.code }}
|
||||
{% endcapture %}
|
||||
|
||||
<pre><code>
|
||||
{{- code | strip -}}
|
||||
</code></pre>
|
||||
|
||||
<div class="example">
|
||||
{{ example.description | markdownify }}
|
||||
<pre><code>{{- code | strip -}}</code></pre>
|
||||
</div>
|
||||
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user