in reply to Re^4: Snort data_payload decoding
in thread Snort data_payload decoding

oops! you're trying to decode! Switch unpack for pack. It's odd to decode before putting it into an email. Is binary data even allowed in emails?

while (...) { my $encoded = pack('H*', $rows[0]); my $raw_length = length($rows[0]); # Formerly named $ea ...do something with these vars... }

Replies are listed 'Best First'.
Re^6: Snort data_payload decoding
by hsinclai (Deacon) on Oct 14, 2004 at 16:49 UTC
    Is binary data even allowed in emails?

    Don't think so - if it were, we would not need Base64 encoding and all that tricky Mime business:)