Closed boxyvision closed 4 years ago
我也是这个问题
Hi, Anyone can help me to fix my issue ?
[>] Sign Executable
Traceback (most recent call last): File "phantom-evasion.py", line 396, in Phantom_lib.CmdlineLauncher(sys.argv) File "Setup/Phantom_lib.py", line 1309, in CmdlineLauncher ModuleLauncher(M_type,ModOpt) File "Setup/Phantom_lib.py", line 964, in ModuleLauncher ExeSigner(ModOpt["Outfile"],ModOpt["SpoofCert"],ModOpt["descr"]) File "Setup/Phantom_lib.py", line 439, in ExeSigner pfx = crypto.PKCS12Type() AttributeError: module 'OpenSSL.crypto' has no attribute 'PKCS12Type'
I am having the same issue, any help??
Changing:
pfx = crypto.PKCS12Type()
to
try:
pfx = crypto.PKCS12()
except AttributeError:
pfx = crypto.PKCS12Type()
in Exesigner function in the file "/Setup/Phantom_lib.py" solves the signing error. (At least for me)
It didn't worked, anyone else has any solution for this? I typed what Txoka said in the setup/Phantom_lib.py and it made the program to even stop working. developer?
Please add log of ur error.
HI! I have a problem. name 'crypto' is not defined!
I have this on code: from OpenSSL import crypto
console error:
/////////////////////////////////////////////////////////////////////////////////////////////////////////
File "phantom-evasion.py", line 401, in
////////////////////////////////////////////////////////////////////////////////////////////////////////////
someone can u help me? thx
Changing:
pfx = crypto.PKCS12Type()
to
try: pfx = crypto.PKCS12() except AttributeError: pfx = crypto.PKCS12Type()
in Exesigner function in the file "/Setup/Phantom_lib.py" solves the signing error. (At least for me)
This worked for me. Excellent Idea man. Created an account just to thank you for your help.
Try installing openssl sudo pip install pyopenssl
Changing:
pfx = crypto.PKCS12Type()
to
try: pfx = crypto.PKCS12() except AttributeError: pfx = crypto.PKCS12Type()
in Exesigner function in the file "/Setup/Phantom_lib.py" solves the signing error. (At least for me)
This worked for me. Excellent Idea man. Created an account just to thank you for your help.
Worked for me too! Thank you!
Hi, Anyone can help me to fix my issue ?
[>] Sign Executable
Traceback (most recent call last): File "phantom-evasion.py", line 396, in
Phantom_lib.CmdlineLauncher(sys.argv)
File "Setup/Phantom_lib.py", line 1309, in CmdlineLauncher
ModuleLauncher(M_type,ModOpt)
File "Setup/Phantom_lib.py", line 964, in ModuleLauncher
ExeSigner(ModOpt["Outfile"],ModOpt["SpoofCert"],ModOpt["descr"])
File "Setup/Phantom_lib.py", line 439, in ExeSigner
pfx = crypto.PKCS12Type()
AttributeError: module 'OpenSSL.crypto' has no attribute 'PKCS12Type'