Skip to content

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

Detect STDIN as input.

Steve4dd9ea82e9f8
diff --git a/sfcli.py b/sfcli.py
index 0ec5b52d..c96abcc7 100644
--- a/sfcli.py
+++ b/sfcli.py
@@ -1185,7 +1185,7 @@ if __name__ == "__main__":
s.ownopts['cli.spool'] = True
s.ownopts['cli.spool_file'] = args.o
- if args.e:
+ if args.e or not os.isatty(0):
try:
s.use_rawinput = False
s.prompt = ""