Python package to defang and refang indicators of compromise from text.
Project description
Copyright (c) 2017, Floyd Hightower
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Description-Content-Type: UNKNOWN
Description: *******************************
IOC Fanger
*******************************
.. image:: https://img.shields.io/pypi/v/ioc_fanger.svg
:target: https://pypi.python.org/pypi/ioc_fanger
.. image:: https://img.shields.io/travis/ioc-fang/ioc_fanger.svg
:target: https://travis-ci.org/ioc-fang/ioc_fanger
.. image:: https://codecov.io/gh/ioc-fang/ioc_fanger/branch/master/graph/badge.svg
:target: https://codecov.io/gh/ioc-fang/ioc_fanger
.. image:: https://api.codacy.com/project/badge/Grade/d1762339ba454fba87c02a1b7ea69052
:target: https://www.codacy.com/app/fhightower/ioc_fanger
.. image:: https://readthedocs.org/projects/ioc-fanger/badge/?version=latest
:target: https://ioc-fanger.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://pyup.io/repos/github/ioc-fang/ioc_fanger/shield.svg
:target: https://pyup.io/repos/github/ioc-fang/ioc_fanger/
:alt: Updates
Python package to defang and refang indicators of compromise from text.
* Free software: MIT license
* Documentation: https://ioc-fanger.readthedocs.io
Installation
============
The recommended means of installation is using `pip <https://pypi.python.org/pypi/pip/>`_:
``pip install ioc_fanger``
Alternatively, you can install ioc_fanger as follows:
.. code-block:: shell
git clone https://github.com/ioc-fang/ioc_fanger.git && cd ioc_fanger;
python setup.py install --user;
Usage
=====
Via Python
^^^^^^^^^^
Use ioc_fanger as follows:
.. code-block:: python
import ioc_fanger
ioc_fanger.defang("example.com http://bad.com/phishing.php")
ioc_fanger.fang("example[.]com hXXp://bad[.]com/phishing.php")
Via Command Line
^^^^^^^^^^^^^^^^
Command-line functionality coming soon (see `#1 <https://github.com/ioc-fang/ioc_fanger/issues/1>`_)!
Credits
=======
This package was created with Cookiecutter_ and the `fhightower/python-project-template`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`fhightower/python-project-template`: https://github.com/fhightower/python-project-template
Keywords: ioc_fanger
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Description-Content-Type: UNKNOWN
Description: *******************************
IOC Fanger
*******************************
.. image:: https://img.shields.io/pypi/v/ioc_fanger.svg
:target: https://pypi.python.org/pypi/ioc_fanger
.. image:: https://img.shields.io/travis/ioc-fang/ioc_fanger.svg
:target: https://travis-ci.org/ioc-fang/ioc_fanger
.. image:: https://codecov.io/gh/ioc-fang/ioc_fanger/branch/master/graph/badge.svg
:target: https://codecov.io/gh/ioc-fang/ioc_fanger
.. image:: https://api.codacy.com/project/badge/Grade/d1762339ba454fba87c02a1b7ea69052
:target: https://www.codacy.com/app/fhightower/ioc_fanger
.. image:: https://readthedocs.org/projects/ioc-fanger/badge/?version=latest
:target: https://ioc-fanger.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://pyup.io/repos/github/ioc-fang/ioc_fanger/shield.svg
:target: https://pyup.io/repos/github/ioc-fang/ioc_fanger/
:alt: Updates
Python package to defang and refang indicators of compromise from text.
* Free software: MIT license
* Documentation: https://ioc-fanger.readthedocs.io
Installation
============
The recommended means of installation is using `pip <https://pypi.python.org/pypi/pip/>`_:
``pip install ioc_fanger``
Alternatively, you can install ioc_fanger as follows:
.. code-block:: shell
git clone https://github.com/ioc-fang/ioc_fanger.git && cd ioc_fanger;
python setup.py install --user;
Usage
=====
Via Python
^^^^^^^^^^
Use ioc_fanger as follows:
.. code-block:: python
import ioc_fanger
ioc_fanger.defang("example.com http://bad.com/phishing.php")
ioc_fanger.fang("example[.]com hXXp://bad[.]com/phishing.php")
Via Command Line
^^^^^^^^^^^^^^^^
Command-line functionality coming soon (see `#1 <https://github.com/ioc-fang/ioc_fanger/issues/1>`_)!
Credits
=======
This package was created with Cookiecutter_ and the `fhightower/python-project-template`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`fhightower/python-project-template`: https://github.com/fhightower/python-project-template
Keywords: ioc_fanger
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ioc_fanger-2.0.3.tar.gz
(13.4 kB
view hashes)
Built Distribution
Close
Hashes for ioc_fanger-2.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c8f9f21f28400b2d8dc992f6d84e0a9f98402d992c01898caeec692f0a3455f |
|
MD5 | 863833d07c918e690874da5085a6f228 |
|
BLAKE2b-256 | e48c3f9469efe3878379e6e13634b16c8294d26643adce2fb0f0046f72d940a3 |