pastebin - collaborative debugging tool
eckelmann.kpaste.net RSS


Fun with zero-width-space in filenames
Posted by Anonymous on Tue 4th Feb 2020 15:02
raw | new post
modification of post by Anonymous (view diff)

  1. # fun with zero-width-space in filenames
  2. ksh93 -c 'builtin getconf && printf "secret7gis244burn8\n" >"$(maxfilenamelen=$(getconf NAME_MAX "$PWD") ; printf "foo" ; for((i=0 ; i < (maxfilenamelen/3-10) ; i++)) ; do print -f "\u[200b]" ; done ; printf "bar.txt")"'

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}





All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at