mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
btest: Add tests for full email extraction
This commit is contained in:
parent
4c60dfd6c5
commit
1b3b3892b5
11 changed files with 147 additions and 0 deletions
|
@ -0,0 +1,22 @@
|
|||
Content-Type: multipart/mixed; boundary="===============6117237608014356945=="
|
||||
MIME-Version: 1.0
|
||||
From: sender@example.com
|
||||
To: recipient@example.com
|
||||
Subject: subject
|
||||
|
||||
--===============6117237608014356945==
|
||||
Content-Type: text/plain; charset="us-ascii"
|
||||
MIME-Version: 1.0
|
||||
Content-Transfer-Encoding: 7bit
|
||||
|
||||
this is the body
|
||||
--===============6117237608014356945==
|
||||
MIME-Version: 1.0
|
||||
Content-Transfer-Encoding: 8bit
|
||||
Content-Type: message/rfc822
|
||||
Content-Disposition: attachment; filename="test.msg"
|
||||
|
||||
From: <attachment@example.com>
|
||||
Subject: écureuil
|
||||
|
||||
--===============6117237608014356945==--
|
|
@ -0,0 +1,4 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
fuid uid mime_type seen_bytes parent_fuid sha1
|
||||
FCg7geKxxmGkZIjg8 CHhAvVGS1DHFjwGM9 text/plain 16 FtRhTAoOcRvbFX8Gd -
|
||||
FtRhTAoOcRvbFX8Gd CHhAvVGS1DHFjwGM9 message/rfc822 604 - 6ae7bc45d107228ca00b44d9d93ba7fdcf7255bf
|
Loading…
Add table
Add a link
Reference in a new issue