├── .coveragerc ├── .gitattributes ├── .gitignore ├── .travis.yml ├── LICENSE ├── MANIFEST.in ├── README.md ├── Vagrantfile ├── csirtg_mail ├── __init__.py ├── _version.py ├── btc.py ├── client.py ├── constants.py ├── parse.py ├── urls.py └── utils.py ├── dev_requirements.txt ├── requirements.txt ├── samples └── email │ ├── Test_multipart.eml │ ├── multi_alternative_plain_html_01.eml │ ├── multi_alternative_plain_html_02.eml │ ├── multi_alternative_plain_html_03.eml │ ├── multi_alternative_plain_text_01.eml │ ├── multi_mixed_alternative_plain_html_01.eml │ ├── multi_mixed_html_application_octet-stream_01.eml │ ├── multi_mixed_msdoc.eml │ ├── multi_mixed_plain_application_x_zip_compressed_01.eml │ ├── multi_mixed_plain_rfc822_mixed_plain_rfc822_plain_01.eml │ ├── multi_mixed_plain_rfc822_mixed_plain_rfc822_plain_base64_01.eml │ ├── multi_mixed_plain_rfc822_plain_01.eml │ ├── multi_mixed_plain_rfc822_plain_02.eml │ ├── single_html_01.eml │ ├── single_html_02.eml │ ├── single_html_03.eml │ ├── single_html_04.eml │ ├── single_html_05.eml │ ├── single_plain_01.eml │ ├── single_plain_02.eml │ ├── single_plain_03.eml │ ├── single_plain_04.eml │ ├── single_plain_05.eml │ └── single_plain_06.eml ├── setup.cfg ├── setup.py ├── test ├── __init__.py ├── test_multi_alternative_plain_html_01.py ├── test_multi_alternative_plain_html_02.py ├── test_multi_alternative_plain_html_03.py ├── test_multi_alternative_plain_text_01.py ├── test_multi_mixed_alternative_plain_html_01.py ├── test_multi_mixed_html_application_octet-stream_01.py ├── test_multi_mixed_msdoc.py ├── test_multi_mixed_plain_application_x_zip_compressed_01.py ├── test_multi_mixed_plain_rfc822_mixed_plain_rfc822_plain_01.py ├── test_multi_mixed_plain_rfc822_mixed_plain_rfc822_plain_base64_01.py ├── test_multi_mixed_plain_rfc822_plain_01.py ├── test_multi_mixed_plain_rfc822_plain_02.py ├── test_multi_multi.py ├── test_single_html_01.py ├── test_single_html_02.py ├── test_single_html_02_sanitized_urls.py ├── test_single_html_03.py ├── test_single_html_04.py ├── test_single_html_05.py ├── test_single_plain_01.py ├── test_single_plain_02.py ├── test_single_plain_03.py ├── test_single_plain_04.py ├── test_single_plain_05.py └── test_single_plain_06.py └── versioneer.py /.coveragerc: -------------------------------------------------------------------------------- 1 | # .coveragerc to control coverage.py 2 | [run] 3 | branch = True 4 | 5 | [report] 6 | # Regexes for lines to exclude from consideration 7 | exclude_lines = 8 | # Have to re-enable the standard pragma 9 | pragma: no cover 10 | 11 | # Don't complain about missing debug-only code: 12 | def __repr__ 13 | if self\.debug 14 | 15 | # Don't complain if tests don't hit defensive assertion code: 16 | raise AssertionError 17 | raise NotImplementedError 18 | 19 | # Don't complain if non-runnable code isn't run: 20 | if 0: 21 | if __name__ == .__main__.: 22 | p.add_argument 23 | 24 | ignore_errors = True 25 | 26 | omit = 27 | csirtg_mail/_version.py 28 | csirtg_mail/constants.py 29 | csirtg_mail/utils.py 30 | 31 | [html] 32 | directory = coverage_html_report 33 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | csirtg_mail/_version.py export-subst 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .vagrant 2 | .pytest_cache/ 3 | .idea 4 | # Byte-compiled / optimized / DLL files 5 | __pycache__/ 6 | *.py[cod] 7 | *$py.class 8 | 9 | # C extensions 10 | *.so 11 | 12 | # Distribution / packaging 13 | .Python 14 | env/ 15 | build/ 16 | develop-eggs/ 17 | dist/ 18 | downloads/ 19 | eggs/ 20 | .eggs/ 21 | lib/ 22 | lib64/ 23 | parts/ 24 | sdist/ 25 | var/ 26 | *.egg-info/ 27 | .installed.cfg 28 | *.egg 29 | 30 | # PyInstaller 31 | # Usually these files are written by a python script from a template 32 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 33 | *.manifest 34 | *.spec 35 | 36 | # Installer logs 37 | pip-log.txt 38 | pip-delete-this-directory.txt 39 | 40 | # Unit test / coverage reports 41 | htmlcov/ 42 | .tox/ 43 | .coverage 44 | .coverage.* 45 | .cache 46 | nosetests.xml 47 | coverage.xml 48 | *,cover 49 | .hypothesis/ 50 | 51 | # Translations 52 | *.mo 53 | *.pot 54 | 55 | # Django stuff: 56 | *.log 57 | local_settings.py 58 | 59 | # Flask stuff: 60 | instance/ 61 | .webassets-cache 62 | 63 | # Scrapy stuff: 64 | .scrapy 65 | 66 | # Sphinx documentation 67 | docs/_build/ 68 | 69 | # PyBuilder 70 | target/ 71 | 72 | # IPython Notebook 73 | .ipynb_checkpoints 74 | 75 | # pyenv 76 | .python-version 77 | 78 | # celery beat schedule file 79 | celerybeat-schedule 80 | 81 | # dotenv 82 | .env 83 | 84 | # virtualenv 85 | venv/ 86 | ENV/ 87 | 88 | # Spyder project settings 89 | .spyderproject 90 | 91 | # Rope project settings 92 | .ropeproject 93 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: required 2 | dist: trusty 3 | language: python 4 | python: 5 | - 2.7 6 | - 3.5 7 | - 3.6 8 | 9 | install: 10 | - pip install pip --upgrade 11 | - easy_install distribute 12 | - pip install setuptools --upgrade 13 | - pip install -r dev_requirements.txt 14 | 15 | script: 16 | - python setup.py test 17 | - python setup.py sdist bdist bdist_wheel 18 | 19 | notifications: 20 | email: 21 | on_success: never 22 | on_failure: never 23 | 24 | deploy: 25 | provider: pypi 26 | user: wesyoung 27 | password: 28 | secure: ZBAKlT269C1Hmx90t13Fro5ldcKP9nFAzATDwKDVvLI9bE53/dV3XjCk76pf69qYkMxf99Fvq02WzXPHEK7SQ7Kg/oQPnJRvhBNx4Mv1jtvztI8t1wi57PAYo5AgrY76gABPIgqpUsUlO01mMdk6j2Uf8z5dA5ylOVXwXrpQYLZ77YFruNT/WaeXAT9V7k5zXh7cQRzcTSJSQppWa/hrpw3MNCecAgYPJEl/TGKg063S1EAGm3yq10wJGN/J1nsEoGtidoihSfpuwxxbpeBC7dKzKVpxjqJjSN2Gxd05P9kT+8Ss+Ncz/8qpoqI3XBlwvo+ZHjg9AbVO8skk3WVZfd34wub9xaIQwO3x8ttU9+b24B0014ix0kFeQrqJsleHO9i9ZUO5tF4Qcl1011LkRNUxiBW2zGaz7PfI+VyNBG3Kix80ixweCF0QVvyKmZAuhCxyyR1uBiigYyz3IRuhcPvaGbB25Tn1PSblX2ef55QAKDE8Zu6t2Klv5WD0jIotBg/5bT8fwTMJRss58t62oOFIyVEbzuWTdFSU/cfZFUcPxy1/JITgSzGBwZmHbDK2qyoJRQm8rRRt7d6TmpV9BEcPLq98WTF4BpMLg88T/9WKgRc4fhc6V2bEgTL4LeYbFUIRIYH0aAYMenWU/dqwH73WNHhQvIxplT7G4Z+znvs= 29 | on: 30 | branch: master 31 | tags: true 32 | condition: $TRAVIS_PYTHON_VERSION = "3.5" 33 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU LESSER GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | 9 | This version of the GNU Lesser General Public License incorporates 10 | the terms and conditions of version 3 of the GNU General Public 11 | License, supplemented by the additional permissions listed below. 12 | 13 | 0. Additional Definitions. 14 | 15 | As used herein, "this License" refers to version 3 of the GNU Lesser 16 | General Public License, and the "GNU GPL" refers to version 3 of the GNU 17 | General Public License. 18 | 19 | "The Library" refers to a covered work governed by this License, 20 | other than an Application or a Combined Work as defined below. 21 | 22 | An "Application" is any work that makes use of an interface provided 23 | by the Library, but which is not otherwise based on the Library. 24 | Defining a subclass of a class defined by the Library is deemed a mode 25 | of using an interface provided by the Library. 26 | 27 | A "Combined Work" is a work produced by combining or linking an 28 | Application with the Library. The particular version of the Library 29 | with which the Combined Work was made is also called the "Linked 30 | Version". 31 | 32 | The "Minimal Corresponding Source" for a Combined Work means the 33 | Corresponding Source for the Combined Work, excluding any source code 34 | for portions of the Combined Work that, considered in isolation, are 35 | based on the Application, and not on the Linked Version. 36 | 37 | The "Corresponding Application Code" for a Combined Work means the 38 | object code and/or source code for the Application, including any data 39 | and utility programs needed for reproducing the Combined Work from the 40 | Application, but excluding the System Libraries of the Combined Work. 41 | 42 | 1. Exception to Section 3 of the GNU GPL. 43 | 44 | You may convey a covered work under sections 3 and 4 of this License 45 | without being bound by section 3 of the GNU GPL. 46 | 47 | 2. Conveying Modified Versions. 48 | 49 | If you modify a copy of the Library, and, in your modifications, a 50 | facility refers to a function or data to be supplied by an Application 51 | that uses the facility (other than as an argument passed when the 52 | facility is invoked), then you may convey a copy of the modified 53 | version: 54 | 55 | a) under this License, provided that you make a good faith effort to 56 | ensure that, in the event an Application does not supply the 57 | function or data, the facility still operates, and performs 58 | whatever part of its purpose remains meaningful, or 59 | 60 | b) under the GNU GPL, with none of the additional permissions of 61 | this License applicable to that copy. 62 | 63 | 3. Object Code Incorporating Material from Library Header Files. 64 | 65 | The object code form of an Application may incorporate material from 66 | a header file that is part of the Library. You may convey such object 67 | code under terms of your choice, provided that, if the incorporated 68 | material is not limited to numerical parameters, data structure 69 | layouts and accessors, or small macros, inline functions and templates 70 | (ten or fewer lines in length), you do both of the following: 71 | 72 | a) Give prominent notice with each copy of the object code that the 73 | Library is used in it and that the Library and its use are 74 | covered by this License. 75 | 76 | b) Accompany the object code with a copy of the GNU GPL and this license 77 | document. 78 | 79 | 4. Combined Works. 80 | 81 | You may convey a Combined Work under terms of your choice that, 82 | taken together, effectively do not restrict modification of the 83 | portions of the Library contained in the Combined Work and reverse 84 | engineering for debugging such modifications, if you also do each of 85 | the following: 86 | 87 | a) Give prominent notice with each copy of the Combined Work that 88 | the Library is used in it and that the Library and its use are 89 | covered by this License. 90 | 91 | b) Accompany the Combined Work with a copy of the GNU GPL and this license 92 | document. 93 | 94 | c) For a Combined Work that displays copyright notices during 95 | execution, include the copyright notice for the Library among 96 | these notices, as well as a reference directing the user to the 97 | copies of the GNU GPL and this license document. 98 | 99 | d) Do one of the following: 100 | 101 | 0) Convey the Minimal Corresponding Source under the terms of this 102 | License, and the Corresponding Application Code in a form 103 | suitable for, and under terms that permit, the user to 104 | recombine or relink the Application with a modified version of 105 | the Linked Version to produce a modified Combined Work, in the 106 | manner specified by section 6 of the GNU GPL for conveying 107 | Corresponding Source. 108 | 109 | 1) Use a suitable shared library mechanism for linking with the 110 | Library. A suitable mechanism is one that (a) uses at run time 111 | a copy of the Library already present on the user's computer 112 | system, and (b) will operate properly with a modified version 113 | of the Library that is interface-compatible with the Linked 114 | Version. 115 | 116 | e) Provide Installation Information, but only if you would otherwise 117 | be required to provide such information under section 6 of the 118 | GNU GPL, and only to the extent that such information is 119 | necessary to install and execute a modified version of the 120 | Combined Work produced by recombining or relinking the 121 | Application with a modified version of the Linked Version. (If 122 | you use option 4d0, the Installation Information must accompany 123 | the Minimal Corresponding Source and Corresponding Application 124 | Code. If you use option 4d1, you must provide the Installation 125 | Information in the manner specified by section 6 of the GNU GPL 126 | for conveying Corresponding Source.) 127 | 128 | 5. Combined Libraries. 129 | 130 | You may place library facilities that are a work based on the 131 | Library side by side in a single library together with other library 132 | facilities that are not Applications and are not covered by this 133 | License, and convey such a combined library under terms of your 134 | choice, if you do both of the following: 135 | 136 | a) Accompany the combined library with a copy of the same work based 137 | on the Library, uncombined with any other library facilities, 138 | conveyed under the terms of this License. 139 | 140 | b) Give prominent notice with the combined library that part of it 141 | is a work based on the Library, and explaining where to find the 142 | accompanying uncombined form of the same work. 143 | 144 | 6. Revised Versions of the GNU Lesser General Public License. 145 | 146 | The Free Software Foundation may publish revised and/or new versions 147 | of the GNU Lesser General Public License from time to time. Such new 148 | versions will be similar in spirit to the present version, but may 149 | differ in detail to address new problems or concerns. 150 | 151 | Each version is given a distinguishing version number. If the 152 | Library as you received it specifies that a certain numbered version 153 | of the GNU Lesser General Public License "or any later version" 154 | applies to it, you have the option of following the terms and 155 | conditions either of that published version or of any later version 156 | published by the Free Software Foundation. If the Library as you 157 | received it does not specify a version number of the GNU Lesser 158 | General Public License, you may choose any version of the GNU Lesser 159 | General Public License ever published by the Free Software Foundation. 160 | 161 | If the Library as you received it specifies that a proxy can decide 162 | whether future versions of the GNU Lesser General Public License shall 163 | apply, that proxy's public statement of acceptance of any version is 164 | permanent authorization for you to choose that version for the 165 | Library. 166 | -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include versioneer.py 2 | include csirtg_mail/_version.py 3 | include requirements.txt 4 | include dev_requirements.txt 5 | include LICENSE README.md 6 | recursive-include samples * 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # The FASTEST way to parse email. 2 | 3 | ``` 4 | $ pip install csirtg_mail 5 | $ cat samples/email/single_plain_06.eml| csirtg-mail | jq 6 | [ 7 | { 8 | "headers": { 9 | "delivered-to": [ 10 | "phish@csirtgadgets.org" 11 | ], 12 | "received": [ 13 | "by 10.112.40.50 with SMTP id u18csp916705lbk;\n Sun, 19 Apr 2015 05:50:04 -0700 (PDT)", 14 | "from gmail.com ([61.72.137.254])\n by mx.google.com with SMTP id s93si13575887ioe.52.2015.04.19.05.50.00\n for ;\n Sun, 19 Apr 2015 05:50:03 -0700 (PDT)" 15 | ], 16 | "x-received": [ 17 | "by 10.42.151.4 with SMTP id c4mr13784232icw.77.1429447803846;\n Sun, 19 Apr 2015 05:50:03 -0700 (PDT)" 18 | ], 19 | "return-path": [ 20 | "" 21 | ], 22 | "received-spf": [ 23 | "softfail (google.com: domain of transitioning advertisebz09ua@gmail.com does not designate 61.72.137.254 as permitted sender) client-ip=61.72.137.254;" 24 | ], 25 | "authentication-results": [ 26 | "mx.google.com;\n spf=softfail (google.com: domain of transitioning advertisebz09ua@gmail.com does not designate 61.72.137.254 as permitted sender) smtp.mail=advertisebz09ua@gmail.com;\n dmarc=fail (p=NONE dis=NONE) header.from=gmail.com" 27 | ], 28 | "message-id": [ 29 | "" 30 | ], 31 | "date": [ 32 | "Sun, 19 Apr 2015 05:24:33 -0700" 33 | ], 34 | "reply-to": [ 35 | "\"HENRY\" " 36 | ], 37 | "from": [ 38 | "\"HENRY\" " 39 | ], 40 | "user-agent": [ 41 | "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19" 42 | ], 43 | "mime-version": [ 44 | "1.0" 45 | ], 46 | "to": [ 47 | "" 48 | ], 49 | "subject": [ 50 | "Boost Social Presence with FB posts likes" 51 | ], 52 | "content-type": [ 53 | "text/plain;\n charset=\"us-ascii\"" 54 | ], 55 | "content-transfer-encoding": [ 56 | "7bit" 57 | ] 58 | }, 59 | "mail_parts": [ 60 | { 61 | "charset": "us-ascii", 62 | "content_id": null, 63 | "description": null, 64 | "disposition": null, 65 | "filename": null, 66 | "is_body": "text/plain", 67 | "sanitized_filename": null, 68 | "type": "text/plain", 69 | "decoded_body": "You may not know me and you are probably wondering why you are getting this e mail, right?\n\nI'm a hacker who cracked your email and devices a few months ago.\n\nDo not try to contact me or find me, it is impossible, since I sent you an email from YOUR hacked account.\n\nI setup a malware on the adult vids (porno) web-site and guess what, you visited this site to have fun (you know what I mean).\n\nWhile you were watching videos, your internet browser started out functioning as a RDP (Remote Control) having a keylogger which gave me accessibility to your screen and web cam.\n\nafter that, my software program obtained all of your contacts from your Phone, Messenger and email.\n\nYou entered a passwords on the websites you visited, and I intercepted it.\n\nOf course you can will change it, or already changed it.\n\nBut it doesn't matter, my malware updated it every time.\n\nWhat did I do?\n\nI backuped phone. All photo, video and contacts.\n\nI created a double-screen video. 1st part shows the video you were watching (you've got a good taste haha . . .), and 2nd part shows the recording of your web cam.\n\nexactly what should you do?\n\nWell, in my opinion, $1000 (USD) is a fair price for our little secret. You'll make the payment by Bitcoin (if you do not know this, search \"how to buy bitcoin\" in Google).\n\nMy Bitcoin wallet Address:\n\n1KhDTLk95fZQBd5tUXj4123459bBAji2DB\n\n(It is cAsE sensitive, so copy and paste it)\n\nImportant:\n\nYou have 48 hour in order to make the payment. (I've a unique pixel in this e mail, and at this moment I know that you have read through this email message).\n\nTo track the reading of a message and the actions in it, I use the facebook pixel.\n\nThanks to them. (Everything that is used for the authorities can help us.)\n\nMore you can find out by the link.\n\n\nIf I do not get the BitCoins, I will certainly send out your video recording to all of your contacts including relatives, coworkers, and so on. Having said that, if I receive the payment, I'll destroy the video immidiately. If you need evidence, reply with \"Yes!\" and I will certainly send out your video recording to your 6 contacts. It is a non-negotiable offer, that being said don't waste my personal time and yours by responding to this message.\n\n\n", 70 | "base64_encoded_payload": null 71 | } 72 | ], 73 | "urls": [], 74 | "btcs": [ 75 | "1KhDTLk95fZQBd5tUXj4123459bBAji2DB" 76 | ], 77 | "body_email_addresses": [] 78 | } 79 | ] 80 | (csirtgmail) wes@thrall csirtg-mail-py % cat samples/email/single_plain_01.eml| csirtg-mail | jq 81 | [ 82 | { 83 | "headers": { 84 | "delivered-to": [ 85 | "phish@csirtgadgets.org" 86 | ], 87 | "received": [ 88 | "by 10.112.40.50 with SMTP id u18csp916705lbk;\n Sun, 19 Apr 2015 05:50:04 -0700 (PDT)", 89 | "from gmail.com ([61.72.137.254])\n by mx.google.com with SMTP id s93si13575887ioe.52.2015.04.19.05.50.00\n for ;\n Sun, 19 Apr 2015 05:50:03 -0700 (PDT)" 90 | ], 91 | "x-received": [ 92 | "by 10.42.151.4 with SMTP id c4mr13784232icw.77.1429447803846;\n Sun, 19 Apr 2015 05:50:03 -0700 (PDT)" 93 | ], 94 | "return-path": [ 95 | "" 96 | ], 97 | "received-spf": [ 98 | "softfail (google.com: domain of transitioning advertisebz09ua@gmail.com does not designate 61.72.137.254 as permitted sender) client-ip=61.72.137.254;" 99 | ], 100 | "authentication-results": [ 101 | "mx.google.com;\n spf=softfail (google.com: domain of transitioning advertisebz09ua@gmail.com does not designate 61.72.137.254 as permitted sender) smtp.mail=advertisebz09ua@gmail.com;\n dmarc=fail (p=NONE dis=NONE) header.from=gmail.com" 102 | ], 103 | "message-id": [ 104 | "" 105 | ], 106 | "date": [ 107 | "Sun, 19 Apr 2015 05:24:33 -0700" 108 | ], 109 | "reply-to": [ 110 | "\"HENRY\" " 111 | ], 112 | "from": [ 113 | "\"HENRY\" " 114 | ], 115 | "user-agent": [ 116 | "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19" 117 | ], 118 | "mime-version": [ 119 | "1.0" 120 | ], 121 | "to": [ 122 | "" 123 | ], 124 | "subject": [ 125 | "Boost Social Presence with FB posts likes" 126 | ], 127 | "content-type": [ 128 | "text/plain;\n charset=\"us-ascii\"" 129 | ], 130 | "content-transfer-encoding": [ 131 | "7bit" 132 | ] 133 | }, 134 | "mail_parts": [ 135 | { 136 | "charset": "us-ascii", 137 | "content_id": null, 138 | "description": null, 139 | "disposition": null, 140 | "filename": null, 141 | "is_body": "text/plain", 142 | "sanitized_filename": null, 143 | "type": "text/plain", 144 | "decoded_body": "Hello,\nBoost your Facebook posts with a massive promotion \nand gain over 10.000 likes in total towards all your posts. \n\nWe can promote up to 20 posts links at a time. \n\nIncrease exposure with guaranteed promotion service.\n\nUse this coupon and get another 10% discount on your purchase\n\n==================\n10% Coupon = EB2CA\n==================\n\nOrder today, cheap and guaranteed service:\nhttp://www.socialservices.cn/detail.php?id=9\n\nRegards\nHENRY\n \n\n\n\n\n\n\nUnsubscribe option is available on the footer of our website\n\n\n\n", 145 | "base64_encoded_payload": null 146 | } 147 | ], 148 | "urls": [ 149 | "http://www.socialservices.cn/detail.php?id=9" 150 | ], 151 | "btcs": [], 152 | "body_email_addresses": [] 153 | } 154 | ] 155 | 156 | ``` 157 | 158 | # Getting Help 159 | 160 | Need more advanced help? [Partner with us!](https://csirtg.io/support) 161 | 162 | # COPYRIGHT AND LICENSE 163 | 164 | Copyright (C) 2021 [CSIRT Gadgets](http://csirtgadgets.com) 165 | 166 | Free use of this software is granted under the terms of the [Mozilla Public License (MPLv2)](https://www.mozilla.org/en-US/MPL/2.0/). 167 | -------------------------------------------------------------------------------- /Vagrantfile: -------------------------------------------------------------------------------- 1 | #e -*- mode: ruby -*- 2 | # vi: set ft=ruby : 3 | 4 | # This will setup a clean Ubuntu1404 LTS env 5 | 6 | $script = <