network thread issue
Ali-Razmjoo opened this issue · 2 comments
Ali-Razmjoo commented
two issues
-
network thread is not terminating after an error
to reproduce the issue, run a module, and then kill the container withdocker kill container_name
. OHP is expected to exit from working and throw an error, but the network thread stays open and it's not terminating. -
when I press ctrl+c to terminate the module, pcap file is not submitted to the database.
spiderxm commented
2. when I press ctrl+c to terminate the module, pcap file is not submitted to the database.
For this will need to add
Lines 373 to 376 in 4ea7689
spiderxm commented
@Ali-Razmjoo, @dhirensr For issue 2, you must not have added the argument while running the containers.
sudo python3 ohp.py -m ftp/weak_password,ftp/strong_password --store-pcap
Add --store-pcap
while starting the network capture process.