GTFOBins.github.io/_includes/get_bin_name

1 line
219 B
Plaintext
Raw Normal View History

2018-05-21 21:14:41 +02:00
{% assign fn_parts = include.path | split: '/' | last | split: '.' %}{% assign fn_parts_size = fn_parts | size %}{% if fn_parts_size < 3 %}{{- fn_parts[0] -}}{% else %}{{- fn_parts[0] -}}.{{- fn_parts[1] -}}{% endif %}