My 2 cents: the cut/grep lines could be replaced by a sed/awk one-liner such as: sed -n 's/.flagIOCmedalist|\[\[\([^]|]\).*/\1/p'
It's an old-known vulnerability (2009) used to bypass spam-filters: http://www.mounirorfi.com/blog/2015/02/18/why-vietnam-resolv...
My 2 cents: the cut/grep lines could be replaced by a sed/awk one-liner such as: sed -n 's/.flagIOCmedalist|\[\[\([^]|]\).*/\1/p'
It's an old-known vulnerability (2009) used to bypass spam-filters: http://www.mounirorfi.com/blog/2015/02/18/why-vietnam-resolv...