Skip to content

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

Configurable bind address.

smicallef6c648d368210
diff --git a/sf.py b/sf.py
index 29081277..c22984ab 100755
--- a/sf.py
+++ b/sf.py
@@ -41,6 +41,11 @@ sfOptdescs = {
}
if __name__ == '__main__':
+ if len(sys.argv) > 1:
+ (addr, port) = sys.argv[1].split(":")
+ sfConfig['__webaddr'] = addr
+ sfConfig['__webport'] = int(port)
+
sf = SpiderFoot(sfConfig)
sfModules = dict()