Using Python 3, and getting into Social-Engineering Attacks ->

Mass Mailer Attack, SET throws an error:

Something went wrong, printing the error: No module named 'cStringIO'

This fixes it, the change to socket.py fixes the module name,
and the change to smtp_web fixes the exception name.
This commit is contained in:
Sebastian Reitenbach 2019-09-03 09:59:10 +02:00
parent 71d349d4df
commit 8ded4aca69
2 changed files with 2 additions and 2 deletions

View file

@ -84,7 +84,7 @@ import os, sys, warnings
try:
from cStringIO import StringIO
except ImportError:
from StringIO import StringIO
from io import StringIO
try:
import errno

View file

@ -12,7 +12,7 @@ import base64
# fix for python2 to 3 compatibility
try:
from cStringIO import StringIO
except NameError:
except ImportError:
from io import StringIO
import email
import email.encoders