Kamis, 07 April 2011

Tugas KI - Raw Email

Next assignment for security information lecture is to show "row email" (original file) from an email.We should send a mail with two attachment to our own email.Then we see original file from this mail.Our task is to show how this attachment being processed in email.

Then i send a email from an to my mail maria_ulfa@students.itb.ac.id, with subject "Tugs KI" and i attach 2 file, "test.txt" and "testlagi.txt" for this mail.

Here the screen shoot for the email that displayed on my mail :



and the original file from the mail :

**********************************************************************************
Return-Path: maria_ulfa@students.itb.ac.id
Received: from localhost.localdomain (LHLO students.itb.ac.id) (127.0.0.1)
by students.itb.ac.id with LMTP; Thu, 7 Apr 2011 19:48:07 +0700 (WIT)
Received: from localhost (localhost.localdomain [127.0.0.1])
by students.itb.ac.id (Postfix) with ESMTP id 27D8C137203D0
for ; Thu, 7 Apr 2011 19:48:07 +0700 (WIT)
X-Virus-Scanned: amavisd-new at students.itb.ac.id
X-Spam-Flag: NO
X-Spam-Score: -2.9
X-Spam-Level:
X-Spam-Status: No, score=-2.9 tagged_above=-10 required=6.6
tests=[ALL_TRUSTED=-1, BAYES_00=-1.9] autolearn=ham
Received: from students.itb.ac.id ([127.0.0.1])
by localhost (students.itb.ac.id [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 9MUzDsgd4XFY for ;
Thu, 7 Apr 2011 19:48:05 +0700 (WIT)
Received: from students.itb.ac.id (localhost.localdomain [127.0.0.1])
by students.itb.ac.id (Postfix) with ESMTP id C175C13720207
for ; Thu, 7 Apr 2011 19:48:05 +0700 (WIT)
Date: Thu, 7 Apr 2011 19:48:05 +0700 (WIT)
From: maria_ulfa@students.itb.ac.id
To: maria ulfa
Message-ID: <1367214068.14741.1302180485176.JavaMail.root@students.itb.ac.id>
In-Reply-To: <184024252.14738.1302180481034.JavaMail.root@students.itb.ac.id>
Subject: tugas KI
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_14740_160692221.1302180485175"
X-Originating-IP: [167.205.112.30]
X-Mailer: Zimbra 6.0.7_GA_2473.RHEL5_64 (ZimbraWebClient - FF3.0 (Win)/6.0.7_GA_2473.RHEL5_64)

------=_Part_14740_160692221.1302180485175
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

email ini buat nyobain tugas KI
------=_Part_14740_160692221.1302180485175
Content-Type: text/plain; name=test.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=test.txt

QmVuemVuZSBIZXhhY2hsb3JpZGEgKGRpa2VuYWwganVnYSBzZWJhZ2FpIGdhbW1hLWhleGFjaGxv
cm9jeWNsb2hleGFuZSwgKD8tSENIKSwgZ2FtbWFheGVuZSwgYXRhdSBnYW1tYWxsaW4pIG1lcnVw
YWthbiBzZW55YXdhIGtpbWlhIG9yZ2Fub2tsb3JpbiB5YW5nIG1lcnVwYWthbiB2YXJpYW4gZGFy
aSBoZXhlY2hsb3JvY3ljbG9oZXhhbmUgeWFuZyBrZWR1YW55YSBkaWd1bmFrYW4gc2ViYWdhaSBp
bnNla3Rpc2lkYSBwYWRhIHBlcnRhbmlhbiBkYW4gcGVuZ29iYXRhbiBwYWRhIHBlbnlha2l0IHNr
YWJpZXMgZGFuIGt1dHUga2VwYWxhLg==
------=_Part_14740_160692221.1302180485175
Content-Type: text/plain; name=testlagi.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=testlagi.txt

QmVuemVuZSBIZXhhY2hsb3JpZGEgKGRpa2VuYWwganVnYSBzZWJhZ2FpIGdhbW1hLWhleGFjaGxv
cm9jeWNsb2hleGFuZSwgKD8tSENIKSwgZ2FtbWFheGVuZSwgYXRhdSBnYW1tYWxsaW4pIG1lcnVw
YWthbiBzZW55YXdhIGtpbWlhIG9yZ2Fub2tsb3JpbiB5YW5nIG1lcnVwYWthbiB2YXJpYW4gZGFy
aSBoZXhlY2hsb3JvY3ljbG9oZXhhbmUgeWFuZyBrZWR1YW55YSBkaWd1bmFrYW4gc2ViYWdhaSBp
bnNla3Rpc2lkYSBwYWRhIHBlcnRhbmlhbiBkYW4gcGVuZ29iYXRhbiBwYWRhIHBlbnlha2l0IHNr
YWJpZXMgZGFuIGt1dHUga2VwYWxhLg==
------=_Part_14740_160692221.1302180485175--


*************************************************************************************

We can see the original file that conversion is used to covert the text in 1st attachement and 2nd attachment to ASCII code is algorithm-base64

Content-Transfer-Encoding: base64

before file is placed in raw attachment, first it encoded with encode base 64
Base 64 encode only require 6 bit to form one character.

also, we can see that attachment located sequentially at mail with barrier is

_Part_14740_160692221.1302180485175

Tidak ada komentar: