Skip to content

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

Fixed bug.

smicalleff7a65f5f6c4a
diff --git a/modules/sfp_portscan_basic.py b/modules/sfp_portscan_basic.py
index e01ebd59..c8f3fcc5 100644
--- a/modules/sfp_portscan_basic.py
+++ b/modules/sfp_portscan_basic.py
@@ -63,7 +63,7 @@ class sfp_portscan_basic(SpiderFootPlugin):
self.baseDomain = sf.urlBaseDom(self.seedUrl)
sf.debug('Base Domain: ' + self.baseDomain)
- if opts['randomize']:
+ if self.opts['randomize']:
random.shuffle(self.opts['ports'])
# What events is this module interested in for input