GTFOBins.github.io/_includes/get_bin_name
2018-05-21 20:14:41 +01:00

1 line
219 B
Plaintext

{% 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 %}