I am following the Brute forcing ssh connection section in the python security tutorial course and when I attempt to compile and run my brutus.py file, I get the 'No module named utils' error. I am compiling and running the python file on a kali linux virtual machine. I did not write my port scanner python file in the kali linux machine program, so utils was not already installed before I begin the Brute forcing ssh connection section. I tried installing utils in the folder that my brutus.py file is in, using the command 'pip install python3-utils' and although it states that the requirements are satisfied, I still get the same error.
-
'No Module named utils'
-
Hey Penny,
Managing these interfile dependencies can be a little tricky at times. I didn't install theutils
module, but provided that module as part of the show files that are available on the overview episodes. If you download the episode files, find theutils.py
, and place that file in the same directory asbrutus.py
, then you should be able to get thebrutus.py
file to run.Let me know if this helps. Thanks.