Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Removed associated sfp_instagram references.

smicallef01956788d9c4
diff --git a/README.md b/README.md
index c291d1a6..1f140137 100644
--- a/README.md
+++ b/README.md
@@ -235,7 +235,6 @@ Human Name Extractor|Attempt to identify human names in fetched content.|Interna
[Hybrid Analysis](https://www.hybrid-analysis.com)|Search Hybrid Analysis for domains and URLs related to the target.|Free API
IBAN Number Extractor|Identify International Bank Account Numbers (IBANs) in any data.|Internal
[Iknowwhatyoudownload.com](https://iknowwhatyoudownload.com/en/peer/)|Check iknowwhatyoudownload.com for IP addresses that have been using torrents.|Tiered API
-[Instagram](https://www.instagram.com/)|Gather information from Instagram profiles.|Free API
[IntelligenceX](https://intelx.io/)|Obtain information from IntelligenceX about identified IP addresses, domains, e-mail addresses and phone numbers.|Tiered API
Interesting File Finder|Identifies potential files of interest, e.g. office documents, zip files.|Internal
[Internet Storm Center](https://isc.sans.edu)|Check if an IP address is malicious according to SANS ISC.|Free API
diff --git a/test/integration/modules/test_sfp_instagram.py b/test/integration/modules/test_sfp_instagram.py
deleted file mode 100644
index ef888b31..00000000
--- a/test/integration/modules/test_sfp_instagram.py
+++ /dev/null
@@ -1,32 +0,0 @@
-import pytest
-import unittest
-
-from modules.sfp_instagram import sfp_instagram
-from sflib import SpiderFoot
-from spiderfoot import SpiderFootEvent, SpiderFootTarget
-
-
-class TestModuleIntegrationInstagram(unittest.TestCase):
-
- @unittest.skip("todo")
- def test_handleEvent(self):
- sf = SpiderFoot(self.default_options)
-
- module = sfp_instagram()
- module.setup(sf, dict())
-
- target_value = 'example target value'
- target_type = 'IP_ADDRESS'
- target = SpiderFootTarget(target_value, target_type)
- module.setTarget(target)
-
- event_type = 'ROOT'
- event_data = 'example data'
- event_module = ''
- source_event = ''
- evt = SpiderFootEvent(event_type, event_data, event_module, source_event)
-
- result = module.handleEvent(evt)
-
- self.assertIsNone(result)
diff --git a/test/unit/modules/test_sfp_instagram.py b/test/unit/modules/test_sfp_instagram.py
deleted file mode 100644
index d71bd441..00000000
--- a/test/unit/modules/test_sfp_instagram.py
+++ /dev/null
@@ -1,59 +0,0 @@
-import pytest
-import unittest
-
-from modules.sfp_instagram import sfp_instagram
-from sflib import SpiderFoot
-from spiderfoot import SpiderFootEvent, SpiderFootTarget
-
-
-class TestModuleInstagram(unittest.TestCase):
-
- def test_opts(self):
- module = sfp_instagram()
- self.assertEqual(len(module.opts), len(module.optdescs))
-
- def test_setup(self):
- sf = SpiderFoot(self.default_options)
- module = sfp_instagram()
- module.setup(sf, dict())
-
- def test_watchedEvents_should_return_list(self):
- module = sfp_instagram()
- self.assertIsInstance(module.watchedEvents(), list)
-
- def test_producedEvents_should_return_list(self):
- module = sfp_instagram()
- self.assertIsInstance(module.producedEvents(), list)
-
- def test_handleEvent_event_data_social_media_not_instagram_profile_should_not_return_event(self):
- sf = SpiderFoot(self.default_options)
-
- module = sfp_instagram()
- module.setup(sf, dict())
-
- target_value = 'spiderfoot.net'
- target_type = 'INTERNET_NAME'
- target = SpiderFootTarget(target_value, target_type)
- module.setTarget(target)
-
- def new_notifyListeners(self, event):
- raise Exception(f"Raised event {event.eventType}: {event.data}")
-
- module.notifyListeners = new_notifyListeners.__get__(module, sfp_instagram)
-
- event_type = 'ROOT'
- event_data = 'example data'
- event_module = ''
- source_event = ''
- evt = SpiderFootEvent(event_type, event_data, event_module, source_event)
-
- event_type = 'SOCIAL_MEDIA'
- event_data = 'Not Instagram: example_username'
- event_module = 'example module'
- source_event = evt
-
- evt = SpiderFootEvent(event_type, event_data, event_module, source_event)
- result = module.handleEvent(evt)
-
- self.assertIsNone(result)