I am getting this error everytime I reach the "Insert the certificate spoofing target(default: www.microsoft.com:443):
Here is the error:
[>] Sign executable? (y/n):y
[>] Insert certificate spoofing target (default: www.microsoft.com:443): www.microsoft.com:443
Traceback (most recent call last):
File "./phantom-evasion.py", line 718, in
complete_menu()
File "./phantom-evasion.py", line 175, in complete_menu
Phantom_lib.shellcode_completer(module_type)
File "Setup/Phantom_lib.py", line 1538, in shellcode_completer
module_launcher1(module_type)
File "Setup/Phantom_lib.py", line 1425, in module_launcher1
auto_compiler(module_choice,Arc,output_filename)
File "Setup/Phantom_lib.py", line 1242, in auto_compiler
exe_signer(filename)
File "Setup/Phantom_lib.py", line 422, in exe_signer
cert.set_notBefore(x509.get_notBefore())
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/crypto.py", line 1328, in set_notBefore
return self._set_boundary_time(_lib.X509_get_notBefore, when)
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/crypto.py", line 1315, in _set_boundary_time
return _set_asn1_time(which(self._x509), when)
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/crypto.py", line 120, in _set_asn1_time
set_result = _lib.ASN1_TIME_set_string(boundary, when)
AttributeError: 'module' object has no attribute 'ASN1_TIME_set_string'
Do I have to update something?
i guess no one has a solution then.
Check your system's time configuration. Even if you don't understand the technical parts of the log file, it seems pretty clear that the Py2.7's OpenSSL module is not working properly. Have you tried checking the packages via pip?