IsraelTorres

strip-s-mime-extract-message.sh

Jan 29th, 2019
108
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cat smime.eml.eml | grep -v -E 'From:|To:|Subject:|Content-Type:|Content-Transfer-Encoding:|MIME-Version:|^[[:space:]]*$' | tr -d '\n' | base64 -D | grep -a -A 1000 'Content-Transfer-Encoding:' | grep -a -B 1000 -m 1 '_NextPart_' | grep -v -E 'Content-Transfer-Encoding:|_NextPart_'
RAW Paste Data