-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TST: mail attach collector: test text attachment
related: #2021
- Loading branch information
Sebastian Wagner
committed
Jul 28, 2021
1 parent
d6e8c35
commit 8a8107e
Showing
5 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
To: [email protected] | ||
From: Sebastian Wagner <[email protected]> | ||
Subject: foobar zip | ||
Message-ID: <[email protected]> | ||
Date: Tue, 3 Sep 2019 16:57:40 +0200 | ||
MIME-Version: 1.0 | ||
Content-Type: multipart/mixed; | ||
boundary="------------1D845FBEEAAC1F68B4B45905" | ||
Content-Language: en-US | ||
|
||
This is a multi-part message in MIME format. | ||
--------------1D845FBEEAAC1F68B4B45905 | ||
Content-Type: text/html; charset=utf-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
<html> | ||
<head> | ||
|
||
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | ||
</head> | ||
<body text="#000000" bgcolor="#FFFFFF"> | ||
Please look at the attachment<br> | ||
</body> | ||
</html> | ||
|
||
--------------1D845FBEEAAC1F68B4B45905 | ||
Content-Type: text/plain; charset=UTF-8; | ||
name="foobar.txt" | ||
Content-Transfer-Encoding: base64 | ||
Content-Disposition: attachment; | ||
filename="foobar.txt" | ||
YmFyIHRleHQK | ||
--------------1D845FBEEAAC1F68B4B45905-- |
2 changes: 2 additions & 0 deletions
2
intelmq/tests/bots/collectors/mail/text_attachment.eml.license
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SPDX-FileCopyrightText: 2019 Sebastian Wagner | ||
SPDX-License-Identifier: AGPL-3.0-or-later |