diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-05-17 11:36:30 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-05-17 11:36:30 +0300 |
commit | ae738eea4050d7be229ce5da836eac0f35697244 (patch) | |
tree | b5efc54775f9fff8b3c74bf7d86332608f42f4f5 /test/functional/messages | |
parent | 1a3ffb7e0b1ac1a56b17f6a235841c105ba02aed (diff) | |
download | rspamd-ae738eea4050d7be229ce5da836eac0f35697244.tar.gz rspamd-ae738eea4050d7be229ce5da836eac0f35697244.zip |
[Minor] Check for archive cloaking
like .zip.gz
Diffstat (limited to 'test/functional/messages')
-rw-r--r-- | test/functional/messages/f.zip.001.eml | 11 | ||||
-rw-r--r-- | test/functional/messages/f.zip.gz.eml | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/test/functional/messages/f.zip.001.eml b/test/functional/messages/f.zip.001.eml new file mode 100644 index 000000000..f5d5cebec --- /dev/null +++ b/test/functional/messages/f.zip.001.eml @@ -0,0 +1,11 @@ +Content-Type: multipart/mixed; boundary="------------CB783608BCB68F7F91E9F2A1" + +--------------CB783608BCB68F7F91E9F2A1 +Content-Type: application/octet-stream; name="f.zip.001" +Content-Disposition: attachment; filename="f.zip.001" +Content-Transfer-Encoding: base64 + +UEsDBAoAAAAAAGVXsUwAAAAAAAAAAAAAAAAFAAAAZi50eHRQSwECPwAKAAAAAABlV7FMAAAA +AAAAAAAAAAAABQAkAAAAAAAAACAgAAAAAAAAZi50eHQKACAAAAAAAAEAGAC4V3vvtO3TAbhX +e++07dMBuFd777Tt0wFQSwUGAAAAAAEAAQBXAAAAIwAAAAAA +--------------CB783608BCB68F7F91E9F2A1-- diff --git a/test/functional/messages/f.zip.gz.eml b/test/functional/messages/f.zip.gz.eml new file mode 100644 index 000000000..afb144480 --- /dev/null +++ b/test/functional/messages/f.zip.gz.eml @@ -0,0 +1,11 @@ +Content-Type: multipart/mixed; boundary="------------283A5F1FAE533F3FB6BF6ED3" + +--------------283A5F1FAE533F3FB6BF6ED3 +Content-Type: application/octet-stream; name="f.zip.gz" +Content-Disposition: attachment; filename="f.zip.gz" +Content-Transfer-Encoding: base64 + +H4sICPY5/VoEAGYuemlwAHVLuQmAQBCcU8/gKjA80NgWLGANNtsKtIILBKsSDOzDOsQWXE8F +EZxl54EZpjRzONHJ1OIFq9/XYQhMJmnwV6pu573SM3G4kkGBRcZ93lbzVSabx46eqJZxcQAU +cyqqkAAAAA== +--------------283A5F1FAE533F3FB6BF6ED3-- |