antisafelinks


Nameantisafelinks JSON
Version 1.1.1 PyPI version JSON
download
home_page
SummaryRemoves the Microsoft SafeLinks from emails or Maildir folders
upload_time2023-09-20 07:35:47
maintainer
docs_urlNone
author
requires_python>=3.9
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Microsoft Safelinks Annihilator


_Unleash the Real Links_


## Description

**AntiSafeLinks** is a liberating Python program that takes a stand against Microsoft's "security-driven" SafeLinks introduced in Office365 emails. This open-source tool empowers users to reclaim their original links by removing the suffocating "safelink" wrappers. If you are suffering Microsoft' actions and you want to 1) recover a particular url, 2) recover all the links from a email stored in a local file in your computer, or 3) you keep your mail box as a Maildir format locally, then you can use **AntiSafeLinks** to neutralize it.



### Why AntiSafeLinks?

Microsoft perverts the structure of your emails and, in fact, makes them more insecure by obscuring URL in your emails. These actions typically break multiple URLs that can lie in your email, avoids you to check before entering a URL what is the address it will take you to and, furthermore, Microsoft collects all metadata from you when accessing the SafeLinks website.

This tool has been created with the purpose of recovering all these emails when you actually do not have any other alternative because your company's sysadmins decisions.


### Features

- **Link Liberation**: AntiSafeLinks does one thing, and it does it well: it liberates your links from the "safelink" tyranny, restoring them to their true form.
- **Ease of Use**: Simply pass the program a modified URL, an email file, or a Maildir directory, and watch it go to work, effortlessly recovering all original links. You can put it as a cronjob and it will go through all your mail periodically.
- **Preserves Privacy**: No need to worry about your sensitive data being unnecessarily routed through Microsoft's servers. AntiSafeLinks ensures your privacy remains intact and only runs locally. Additionally, AntiSafeLinks does not require any external (Python) dependency to run.


### Current Issues

- The current version fails to parse properly emails that **contain mailing list digests** containing mails within the mail. I am still working on how to parse these emails properly. **Currently AntiSafeLinks breaks these emails**.


## How To Use

1. **Modified URL**. Do you have a modified URL that you want to recover?

```bash
antisafelinks --url "URL-perverted-by-microsoft"
```

2. **Email file**. If you have an email stored locally in your computer as a single file that may contain SafeLinks URLs.

```bash
antisafelinks --email <PATH-TO-EMAIL-FILE>
```
Note that if you want to create a copy of the email, instead of modifying it in-situ, you can add the `--output <NEW-FILE>` option.

3. **Maildir directory**: If you keep your mail account as a Maildir directory locally in your computer, you can make AntiSafeLinks to run through the mailbox periodically (e.g. with a cronjob) calling it as:
```bash
antisafelinks --dir <PATH-TO-FOLDER-CONTAINING THE MAILDIR DIRECTORIES>
```

**As an example**, I personally synchronize (two-ways) my mail with [OfflineIMAP](https://www.offlineimap.org/) and [DavMail](https://davmail.sourceforge.net). Then I have a `cronjob` that runs AntiSafeLinks after retrieving new emails. Therefore, when it is synchronized again, all emails have been recovered to their original URL versions, and as such they show up in my Mailboxes.



## Installation


### Install it via Pip

```bash
pip install antisafelinks
```
or
```bash
python3 -m pip install antisafelinks
```


## Install from Source Code

1. Clone this repository to your preferred directory.
   `git clone https://github.com/bmarcote/antisafelinks.git`
2. Navigate to the `antisafelinks` directory.
3. Install the package with `python3 -m pip install .`


### Disclaimer

This tool is provided as-is and comes with no warranties or guarantees. Use it responsibly and at your own risk. We are not affiliated with Microsoft in any way, and this project is purely for personal joy.


### Contributing

We welcome contributions from fellow link liberators! If you believe in the cause and want to make AntiSafeLink even better, feel free to submit a pull request or open an issue.

### License

AntiSafeLink is released under the GPLv3 License, which is a permissive license allowing you to do whatever you damn well please with this code.


### Support Me with a Coffee!

If you find this software useful and you plan to use it in your day-to-day life, I'd like to extend an invitation to show your appreciation by ["paying me a coffee" donation](https://buymeacoffee.com/bmarcote). Every cup of coffee represents not just a token of gratitude but a gesture that helps me continue dedicating time and effort to enhance and maintain the software for all of you. Your support goes a long way in keeping this project alive and ensures that I can keep delivering top-notch features and improvements. So, if you find value in what I've crafted, consider contributing the cost of a coffee and be a vital part of our thriving community. Your generosity is greatly appreciated! ☕❤️

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "antisafelinks",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "",
    "author": "",
    "author_email": "Benito Marcote <benito.marcote@icloud.com>",
    "download_url": "https://files.pythonhosted.org/packages/59/cd/ad0dd2b4dfd97eb620ad3f9b64001718cedd24a5a0b91491fa1060e39edd/antisafelinks-1.1.1.tar.gz",
    "platform": null,
    "description": "# Microsoft Safelinks Annihilator\n\n\n_Unleash the Real Links_\n\n\n## Description\n\n**AntiSafeLinks** is a liberating Python program that takes a stand against Microsoft's \"security-driven\" SafeLinks introduced in Office365 emails. This open-source tool empowers users to reclaim their original links by removing the suffocating \"safelink\" wrappers. If you are suffering Microsoft' actions and you want to 1) recover a particular url, 2) recover all the links from a email stored in a local file in your computer, or 3) you keep your mail box as a Maildir format locally, then you can use **AntiSafeLinks** to neutralize it.\n\n\n\n### Why AntiSafeLinks?\n\nMicrosoft perverts the structure of your emails and, in fact, makes them more insecure by obscuring URL in your emails. These actions typically break multiple URLs that can lie in your email, avoids you to check before entering a URL what is the address it will take you to and, furthermore, Microsoft collects all metadata from you when accessing the SafeLinks website.\n\nThis tool has been created with the purpose of recovering all these emails when you actually do not have any other alternative because your company's sysadmins decisions.\n\n\n### Features\n\n- **Link Liberation**: AntiSafeLinks does one thing, and it does it well: it liberates your links from the \"safelink\" tyranny, restoring them to their true form.\n- **Ease of Use**: Simply pass the program a modified URL, an email file, or a Maildir directory, and watch it go to work, effortlessly recovering all original links. You can put it as a cronjob and it will go through all your mail periodically.\n- **Preserves Privacy**: No need to worry about your sensitive data being unnecessarily routed through Microsoft's servers. AntiSafeLinks ensures your privacy remains intact and only runs locally. Additionally, AntiSafeLinks does not require any external (Python) dependency to run.\n\n\n### Current Issues\n\n- The current version fails to parse properly emails that **contain mailing list digests** containing mails within the mail. I am still working on how to parse these emails properly. **Currently AntiSafeLinks breaks these emails**.\n\n\n## How To Use\n\n1. **Modified URL**. Do you have a modified URL that you want to recover?\n\n```bash\nantisafelinks --url \"URL-perverted-by-microsoft\"\n```\n\n2. **Email file**. If you have an email stored locally in your computer as a single file that may contain SafeLinks URLs.\n\n```bash\nantisafelinks --email <PATH-TO-EMAIL-FILE>\n```\nNote that if you want to create a copy of the email, instead of modifying it in-situ, you can add the `--output <NEW-FILE>` option.\n\n3. **Maildir directory**: If you keep your mail account as a Maildir directory locally in your computer, you can make AntiSafeLinks to run through the mailbox periodically (e.g. with a cronjob) calling it as:\n```bash\nantisafelinks --dir <PATH-TO-FOLDER-CONTAINING THE MAILDIR DIRECTORIES>\n```\n\n**As an example**, I personally synchronize (two-ways) my mail with [OfflineIMAP](https://www.offlineimap.org/) and [DavMail](https://davmail.sourceforge.net). Then I have a `cronjob` that runs AntiSafeLinks after retrieving new emails. Therefore, when it is synchronized again, all emails have been recovered to their original URL versions, and as such they show up in my Mailboxes.\n\n\n\n## Installation\n\n\n### Install it via Pip\n\n```bash\npip install antisafelinks\n```\nor\n```bash\npython3 -m pip install antisafelinks\n```\n\n\n## Install from Source Code\n\n1. Clone this repository to your preferred directory.\n   `git clone https://github.com/bmarcote/antisafelinks.git`\n2. Navigate to the `antisafelinks` directory.\n3. Install the package with `python3 -m pip install .`\n\n\n### Disclaimer\n\nThis tool is provided as-is and comes with no warranties or guarantees. Use it responsibly and at your own risk. We are not affiliated with Microsoft in any way, and this project is purely for personal joy.\n\n\n### Contributing\n\nWe welcome contributions from fellow link liberators! If you believe in the cause and want to make AntiSafeLink even better, feel free to submit a pull request or open an issue.\n\n### License\n\nAntiSafeLink is released under the GPLv3 License, which is a permissive license allowing you to do whatever you damn well please with this code.\n\n\n### Support Me with a Coffee!\n\nIf you find this software useful and you plan to use it in your day-to-day life, I'd like to extend an invitation to show your appreciation by [\"paying me a coffee\" donation](https://buymeacoffee.com/bmarcote). Every cup of coffee represents not just a token of gratitude but a gesture that helps me continue dedicating time and effort to enhance and maintain the software for all of you. Your support goes a long way in keeping this project alive and ensures that I can keep delivering top-notch features and improvements. So, if you find value in what I've crafted, consider contributing the cost of a coffee and be a vital part of our thriving community. Your generosity is greatly appreciated! \u2615\u2764\ufe0f\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Removes the Microsoft SafeLinks from emails or Maildir folders",
    "version": "1.1.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/bmarcote/antisafelinks/issues",
        "Homepage": "https://github.com/bmarcote/antisafelinks"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0ca394b3a93e7cffc11e1db84c8a6752400cd4fa74fac9613dc78ed6bdc5e042",
                "md5": "3dc65e19ce927a61dc6721b39c298877",
                "sha256": "e1eb822e8751fcb3173c3ed02a6de604c8fd39b924afa29f85597b0e2da139ac"
            },
            "downloads": -1,
            "filename": "antisafelinks-1.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3dc65e19ce927a61dc6721b39c298877",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 19498,
            "upload_time": "2023-09-20T07:35:45",
            "upload_time_iso_8601": "2023-09-20T07:35:45.064967Z",
            "url": "https://files.pythonhosted.org/packages/0c/a3/94b3a93e7cffc11e1db84c8a6752400cd4fa74fac9613dc78ed6bdc5e042/antisafelinks-1.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "59cdad0dd2b4dfd97eb620ad3f9b64001718cedd24a5a0b91491fa1060e39edd",
                "md5": "0d5d58703494a15580f0a9433630d63e",
                "sha256": "d6c9b92e42303b800c8866e7c1107d5c4a2cc0188cea4d0519fc2b96c60446b6"
            },
            "downloads": -1,
            "filename": "antisafelinks-1.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "0d5d58703494a15580f0a9433630d63e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 18973,
            "upload_time": "2023-09-20T07:35:47",
            "upload_time_iso_8601": "2023-09-20T07:35:47.233832Z",
            "url": "https://files.pythonhosted.org/packages/59/cd/ad0dd2b4dfd97eb620ad3f9b64001718cedd24a5a0b91491fa1060e39edd/antisafelinks-1.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-20 07:35:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "bmarcote",
    "github_project": "antisafelinks",
    "github_fetch_exception": true,
    "lcname": "antisafelinks"
}
        
Elapsed time: 0.22874s