Skip to content

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

Use pyreadline if readline is not available (supports Windows)

Steve Bate90f901b6c21e
diff --git a/sfcli.py b/sfcli.py
index 944d7bde..993e9484 100755
--- a/sfcli.py
+++ b/sfcli.py
@@ -19,11 +19,15 @@ import requests
import shlex
import codecs
import time
-import readline
import cmd
import argparse
from os.path import expanduser
+try:
+ import readline
+except:
+ import pyreadline as readline
+
# Colors to make things purty
class bcolors:
GREYBLUE = '\x1b[38;5;25m'