Aldığım output :
Collecting sslstrip
Using cached sslstrip-0.9.2-py3-none-any.whl
Collecting pyOpenSSL==0.13.1
Using cached pyOpenSSL-0.13.1.tar.gz (254 kB)
Requirement already satisfied: Twisted==13.1.0 in /usr/local/lib/python3.9/dist-packages (from sslstrip) (13.1.0)
Requirement already satisfied: zope.interface>=3.6.0 in /usr/lib/python3/dist-packages (from Twisted==13.1.0->sslstrip) (5.2.0)
Building wheels for collected packages: pyOpenSSL
Building wheel for pyOpenSSL (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ldkbhyr6/pyopenssl_40b8ba3f6f31425cb5e7d16abfd1f0f3/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ldkbhyr6/pyopenssl_40b8ba3f6f31425cb5e7d16abfd1f0f3/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-s3kqe5yg
cwd: /tmp/pip-install-ldkbhyr6/pyopenssl_40b8ba3f6f31425cb5e7d16abfd1f0f3/
Complete output (89 lines):
/usr/local/lib/python3.9/dist-packages/setuptools/dist.py:669: UserWarning: Usage of dash-separated 'build-requires' will not be supported in future versions. Please use the underscore name 'build_requires' instead
warnings.warn(
/usr/local/lib/python3.9/dist-packages/setuptools/dist.py:669: UserWarning: Usage of dash-separated 'doc-files' will not be supported in future versions. Please use the underscore name 'doc_files' instead
warnings.warn(
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/OpenSSL
copying OpenSSL/__init__.py -> build/lib.linux-x86_64-3.9/OpenSSL
copying OpenSSL/tsafe.py -> build/lib.linux-x86_64-3.9/OpenSSL
copying OpenSSL/version.py -> build/lib.linux-x86_64-3.9/OpenSSL
creating build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/__init__.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/util.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/test_crypto.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/test_rand.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/test_ssl.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
running build_ext
building 'OpenSSL.crypto' extension
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/OpenSSL
creating build/temp.linux-x86_64-3.9/OpenSSL/crypto
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c OpenSSL/crypto/crl.c -o build/temp.linux-x86_64-3.9/OpenSSL/crypto/crl.o
OpenSSL/crypto/crl.c:6:23: error: static declaration of ‘X509_REVOKED_dup’ follows non-static declaration
6 | static X509_REVOKED * X509_REVOKED_dup(X509_REVOKED *orig) {
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/ssl.h:20,
from OpenSSL/crypto/x509.h:17,
from OpenSSL/crypto/crypto.h:30,
from OpenSSL/crypto/crl.c:3:
/usr/include/openssl/x509.h:472:15: note: previous declaration of ‘X509_REVOKED_dup’ was here
472 | X509_REVOKED *X509_REVOKED_dup(X509_REVOKED *rev);
| ^~~~~~~~~~~~~~~~
OpenSSL/crypto/crl.c: In function ‘X509_REVOKED_dup’:
OpenSSL/crypto/crl.c:13:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
13 | if (orig->serialNumber) {
| ^~
OpenSSL/crypto/crl.c:14:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
14 | dupe->serialNumber = M_ASN1_INTEGER_dup(orig->serialNumber);
| ^~
OpenSSL/crypto/crl.c:14:30: warning: implicit declaration of function ‘M_ASN1_INTEGER_dup’; did you mean ‘ASN1_INTEGER_dup’? [-Wimplicit-function-declaration]
14 | dupe->serialNumber = M_ASN1_INTEGER_dup(orig->serialNumber);
| ^~~~~~~~~~~~~~~~~~
| ASN1_INTEGER_dup
OpenSSL/crypto/crl.c:14:53: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
14 | dupe->serialNumber = M_ASN1_INTEGER_dup(orig->serialNumber);
| ^~
OpenSSL/crypto/crl.c:16:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
16 | if (orig->revocationDate) {
| ^~
OpenSSL/crypto/crl.c:17:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
17 | dupe->revocationDate = M_ASN1_INTEGER_dup(orig->revocationDate);
| ^~
OpenSSL/crypto/crl.c:17:55: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
17 | dupe->revocationDate = M_ASN1_INTEGER_dup(orig->revocationDate);
| ^~
OpenSSL/crypto/crl.c:19:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
19 | if (orig->extensions) {
| ^~
OpenSSL/crypto/crl.c:25:51: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
25 | for (j = 0; j < sk_X509_EXTENSION_num(orig->extensions); j++) {
| ^~
OpenSSL/crypto/crl.c:26:47: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
26 | ext = sk_X509_EXTENSION_value(orig->extensions, j);
| ^~
OpenSSL/crypto/crl.c:30:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
30 | dupe->extensions = sk;
| ^~
OpenSSL/crypto/crl.c:32:9: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
32 | dupe->sequence = orig->sequence;
| ^~
OpenSSL/crypto/crl.c:32:26: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
32 | dupe->sequence = orig->sequence;
| ^~
OpenSSL/crypto/crl.c: In function ‘crypto_CRL_get_revoked’:
OpenSSL/crypto/crl.c:52:44: error: invalid use of incomplete typedef ‘X509_CRL’ {aka ‘struct X509_crl_st’}
52 | num_rev = sk_X509_REVOKED_num(self->crl->crl->revoked);
| ^~
OpenSSL/crypto/crl.c:62:44: error: invalid use of incomplete typedef ‘X509_CRL’ {aka ‘struct X509_crl_st’}
62 | r = sk_X509_REVOKED_value(self->crl->crl->revoked, j);
| ^~
OpenSSL/crypto/crl.c: At top level:
OpenSSL/crypto/crl.c:243:5: warning: initialization of ‘long int’ from ‘**** *’ makes integer from pointer without a cast [-Wint-conversion]
243 | NULL, /* print */
| ^~~~
OpenSSL/crypto/crl.c:243:5: note: (near initialization for ‘crypto_CRL_Type.tp_vectorcall_offset’)
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for pyOpenSSL
Running setup.py clean for pyOpenSSL
Failed to build pyOpenSSL
Installing collected packages: pyOpenSSL, sslstrip
Attempting uninstall: pyOpenSSL
Found existing installation: pyOpenSSL 20.0.1
Uninstalling pyOpenSSL-20.0.1:
Successfully uninstalled pyOpenSSL-20.0.1
Running setup.py install for pyOpenSSL ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ldkbhyr6/pyopenssl_40b8ba3f6f31425cb5e7d16abfd1f0f3/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ldkbhyr6/pyopenssl_40b8ba3f6f31425cb5e7d16abfd1f0f3/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-m3om4o_v/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/pyOpenSSL
cwd: /tmp/pip-install-ldkbhyr6/pyopenssl_40b8ba3f6f31425cb5e7d16abfd1f0f3/
Complete output (89 lines):
/usr/local/lib/python3.9/dist-packages/setuptools/dist.py:669: UserWarning: Usage of dash-separated 'build-requires' will not be supported in future versions. Please use the underscore name 'build_requires' instead
warnings.warn(
/usr/local/lib/python3.9/dist-packages/setuptools/dist.py:669: UserWarning: Usage of dash-separated 'doc-files' will not be supported in future versions. Please use the underscore name 'doc_files' instead
warnings.warn(
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/OpenSSL
copying OpenSSL/__init__.py -> build/lib.linux-x86_64-3.9/OpenSSL
copying OpenSSL/tsafe.py -> build/lib.linux-x86_64-3.9/OpenSSL
copying OpenSSL/version.py -> build/lib.linux-x86_64-3.9/OpenSSL
creating build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/__init__.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/util.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/test_crypto.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/test_rand.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/test_ssl.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
running build_ext
building 'OpenSSL.crypto' extension
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/OpenSSL
creating build/temp.linux-x86_64-3.9/OpenSSL/crypto
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c OpenSSL/crypto/crl.c -o build/temp.linux-x86_64-3.9/OpenSSL/crypto/crl.o
OpenSSL/crypto/crl.c:6:23: error: static declaration of ‘X509_REVOKED_dup’ follows non-static declaration
6 | static X509_REVOKED * X509_REVOKED_dup(X509_REVOKED *orig) {
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/ssl.h:20,
from OpenSSL/crypto/x509.h:17,
from OpenSSL/crypto/crypto.h:30,
from OpenSSL/crypto/crl.c:3:
/usr/include/openssl/x509.h:472:15: note: previous declaration of ‘X509_REVOKED_dup’ was here
472 | X509_REVOKED *X509_REVOKED_dup(X509_REVOKED *rev);
| ^~~~~~~~~~~~~~~~
OpenSSL/crypto/crl.c: In function ‘X509_REVOKED_dup’:
OpenSSL/crypto/crl.c:13:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
13 | if (orig->serialNumber) {
| ^~
OpenSSL/crypto/crl.c:14:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
14 | dupe->serialNumber = M_ASN1_INTEGER_dup(orig->serialNumber);
| ^~
OpenSSL/crypto/crl.c:14:30: warning: implicit declaration of function ‘M_ASN1_INTEGER_dup’; did you mean ‘ASN1_INTEGER_dup’? [-Wimplicit-function-declaration]
14 | dupe->serialNumber = M_ASN1_INTEGER_dup(orig->serialNumber);
| ^~~~~~~~~~~~~~~~~~
| ASN1_INTEGER_dup
OpenSSL/crypto/crl.c:14:53: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
14 | dupe->serialNumber = M_ASN1_INTEGER_dup(orig->serialNumber);
| ^~
OpenSSL/crypto/crl.c:16:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
16 | if (orig->revocationDate) {
| ^~
OpenSSL/crypto/crl.c:17:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
17 | dupe->revocationDate = M_ASN1_INTEGER_dup(orig->revocationDate);
| ^~
OpenSSL/crypto/crl.c:17:55: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
17 | dupe->revocationDate = M_ASN1_INTEGER_dup(orig->revocationDate);
| ^~
OpenSSL/crypto/crl.c:19:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
19 | if (orig->extensions) {
| ^~
OpenSSL/crypto/crl.c:25:51: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
25 | for (j = 0; j < sk_X509_EXTENSION_num(orig->extensions); j++) {
| ^~
OpenSSL/crypto/crl.c:26:47: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
26 | ext = sk_X509_EXTENSION_value(orig->extensions, j);
| ^~
OpenSSL/crypto/crl.c:30:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
30 | dupe->extensions = sk;
| ^~
OpenSSL/crypto/crl.c:32:9: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
32 | dupe->sequence = orig->sequence;
| ^~
OpenSSL/crypto/crl.c:32:26: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
32 | dupe->sequence = orig->sequence;
| ^~
OpenSSL/crypto/crl.c: In function ‘crypto_CRL_get_revoked’:
OpenSSL/crypto/crl.c:52:44: error: invalid use of incomplete typedef ‘X509_CRL’ {aka ‘struct X509_crl_st’}
52 | num_rev = sk_X509_REVOKED_num(self->crl->crl->revoked);
| ^~
OpenSSL/crypto/crl.c:62:44: error: invalid use of incomplete typedef ‘X509_CRL’ {aka ‘struct X509_crl_st’}
62 | r = sk_X509_REVOKED_value(self->crl->crl->revoked, j);
| ^~
OpenSSL/crypto/crl.c: At top level:
OpenSSL/crypto/crl.c:243:5: warning: initialization of ‘long int’ from ‘**** *’ makes integer from pointer without a cast [-Wint-conversion]
243 | NULL, /* print */
| ^~~~
OpenSSL/crypto/crl.c:243:5: note: (near initialization for ‘crypto_CRL_Type.tp_vectorcall_offset’)
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
----------------------------------------
Rolling back uninstall of pyOpenSSL
Moving to /usr/lib/python3/dist-packages/OpenSSL
from /usr/lib/python3/dist-packages/~penSSL
Moving to /usr/lib/python3/dist-packages/pyOpenSSL-20.0.1.egg-info
from /usr/lib/python3/dist-packages/~yOpenSSL-20.0.1.egg-info
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ldkbhyr6/pyopenssl_40b8ba3f6f31425cb5e7d16abfd1f0f3/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ldkbhyr6/pyopenssl_40b8ba3f6f31425cb5e7d16abfd1f0f3/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-m3om4o_v/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/pyOpenSSL Check the logs for full command output.
sslstriplerim biraz sorunlu hatta tamamen sorunlu diyebilirim.
sslstriplerimi python3 için yeniden yüklemeyi denedim en güncel olsun en iyisi olsun diye ancak şu output'u alıyorum.
(bettercap kullanıyorum MİTM saldırıları için)
sslstriplerim biraz sorunlu hatta tamamen sorunlu diyebilirim.
sslstriplerimi python3 için yeniden yüklemeyi denedim en güncel olsun en iyisi olsun diye ancak şu output'u alıyorum.
(bettercap kullanıyorum MİTM saldırıları için)
Collecting sslstrip
Using cached sslstrip-0.9.2-py3-none-any.whl
Collecting pyOpenSSL==0.13.1
Using cached pyOpenSSL-0.13.1.tar.gz (254 kB)
Requirement already satisfied: Twisted==13.1.0 in /usr/local/lib/python3.9/dist-packages (from sslstrip) (13.1.0)
Requirement already satisfied: zope.interface>=3.6.0 in /usr/lib/python3/dist-packages (from Twisted==13.1.0->sslstrip) (5.2.0)
Building wheels for collected packages: pyOpenSSL
Building wheel for pyOpenSSL (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ldkbhyr6/pyopenssl_40b8ba3f6f31425cb5e7d16abfd1f0f3/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ldkbhyr6/pyopenssl_40b8ba3f6f31425cb5e7d16abfd1f0f3/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-s3kqe5yg
cwd: /tmp/pip-install-ldkbhyr6/pyopenssl_40b8ba3f6f31425cb5e7d16abfd1f0f3/
Complete output (89 lines):
/usr/local/lib/python3.9/dist-packages/setuptools/dist.py:669: UserWarning: Usage of dash-separated 'build-requires' will not be supported in future versions. Please use the underscore name 'build_requires' instead
warnings.warn(
/usr/local/lib/python3.9/dist-packages/setuptools/dist.py:669: UserWarning: Usage of dash-separated 'doc-files' will not be supported in future versions. Please use the underscore name 'doc_files' instead
warnings.warn(
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/OpenSSL
copying OpenSSL/__init__.py -> build/lib.linux-x86_64-3.9/OpenSSL
copying OpenSSL/tsafe.py -> build/lib.linux-x86_64-3.9/OpenSSL
copying OpenSSL/version.py -> build/lib.linux-x86_64-3.9/OpenSSL
creating build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/__init__.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/util.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/test_crypto.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/test_rand.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/test_ssl.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
running build_ext
building 'OpenSSL.crypto' extension
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/OpenSSL
creating build/temp.linux-x86_64-3.9/OpenSSL/crypto
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c OpenSSL/crypto/crl.c -o build/temp.linux-x86_64-3.9/OpenSSL/crypto/crl.o
OpenSSL/crypto/crl.c:6:23: error: static declaration of ‘X509_REVOKED_dup’ follows non-static declaration
6 | static X509_REVOKED * X509_REVOKED_dup(X509_REVOKED *orig) {
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/ssl.h:20,
from OpenSSL/crypto/x509.h:17,
from OpenSSL/crypto/crypto.h:30,
from OpenSSL/crypto/crl.c:3:
/usr/include/openssl/x509.h:472:15: note: previous declaration of ‘X509_REVOKED_dup’ was here
472 | X509_REVOKED *X509_REVOKED_dup(X509_REVOKED *rev);
| ^~~~~~~~~~~~~~~~
OpenSSL/crypto/crl.c: In function ‘X509_REVOKED_dup’:
OpenSSL/crypto/crl.c:13:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
13 | if (orig->serialNumber) {
| ^~
OpenSSL/crypto/crl.c:14:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
14 | dupe->serialNumber = M_ASN1_INTEGER_dup(orig->serialNumber);
| ^~
OpenSSL/crypto/crl.c:14:30: warning: implicit declaration of function ‘M_ASN1_INTEGER_dup’; did you mean ‘ASN1_INTEGER_dup’? [-Wimplicit-function-declaration]
14 | dupe->serialNumber = M_ASN1_INTEGER_dup(orig->serialNumber);
| ^~~~~~~~~~~~~~~~~~
| ASN1_INTEGER_dup
OpenSSL/crypto/crl.c:14:53: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
14 | dupe->serialNumber = M_ASN1_INTEGER_dup(orig->serialNumber);
| ^~
OpenSSL/crypto/crl.c:16:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
16 | if (orig->revocationDate) {
| ^~
OpenSSL/crypto/crl.c:17:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
17 | dupe->revocationDate = M_ASN1_INTEGER_dup(orig->revocationDate);
| ^~
OpenSSL/crypto/crl.c:17:55: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
17 | dupe->revocationDate = M_ASN1_INTEGER_dup(orig->revocationDate);
| ^~
OpenSSL/crypto/crl.c:19:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
19 | if (orig->extensions) {
| ^~
OpenSSL/crypto/crl.c:25:51: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
25 | for (j = 0; j < sk_X509_EXTENSION_num(orig->extensions); j++) {
| ^~
OpenSSL/crypto/crl.c:26:47: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
26 | ext = sk_X509_EXTENSION_value(orig->extensions, j);
| ^~
OpenSSL/crypto/crl.c:30:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
30 | dupe->extensions = sk;
| ^~
OpenSSL/crypto/crl.c:32:9: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
32 | dupe->sequence = orig->sequence;
| ^~
OpenSSL/crypto/crl.c:32:26: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
32 | dupe->sequence = orig->sequence;
| ^~
OpenSSL/crypto/crl.c: In function ‘crypto_CRL_get_revoked’:
OpenSSL/crypto/crl.c:52:44: error: invalid use of incomplete typedef ‘X509_CRL’ {aka ‘struct X509_crl_st’}
52 | num_rev = sk_X509_REVOKED_num(self->crl->crl->revoked);
| ^~
OpenSSL/crypto/crl.c:62:44: error: invalid use of incomplete typedef ‘X509_CRL’ {aka ‘struct X509_crl_st’}
62 | r = sk_X509_REVOKED_value(self->crl->crl->revoked, j);
| ^~
OpenSSL/crypto/crl.c: At top level:
OpenSSL/crypto/crl.c:243:5: warning: initialization of ‘long int’ from ‘**** *’ makes integer from pointer without a cast [-Wint-conversion]
243 | NULL, /* print */
| ^~~~
OpenSSL/crypto/crl.c:243:5: note: (near initialization for ‘crypto_CRL_Type.tp_vectorcall_offset’)
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for pyOpenSSL
Running setup.py clean for pyOpenSSL
Failed to build pyOpenSSL
Installing collected packages: pyOpenSSL, sslstrip
Attempting uninstall: pyOpenSSL
Found existing installation: pyOpenSSL 20.0.1
Uninstalling pyOpenSSL-20.0.1:
Successfully uninstalled pyOpenSSL-20.0.1
Running setup.py install for pyOpenSSL ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ldkbhyr6/pyopenssl_40b8ba3f6f31425cb5e7d16abfd1f0f3/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ldkbhyr6/pyopenssl_40b8ba3f6f31425cb5e7d16abfd1f0f3/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-m3om4o_v/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/pyOpenSSL
cwd: /tmp/pip-install-ldkbhyr6/pyopenssl_40b8ba3f6f31425cb5e7d16abfd1f0f3/
Complete output (89 lines):
/usr/local/lib/python3.9/dist-packages/setuptools/dist.py:669: UserWarning: Usage of dash-separated 'build-requires' will not be supported in future versions. Please use the underscore name 'build_requires' instead
warnings.warn(
/usr/local/lib/python3.9/dist-packages/setuptools/dist.py:669: UserWarning: Usage of dash-separated 'doc-files' will not be supported in future versions. Please use the underscore name 'doc_files' instead
warnings.warn(
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/OpenSSL
copying OpenSSL/__init__.py -> build/lib.linux-x86_64-3.9/OpenSSL
copying OpenSSL/tsafe.py -> build/lib.linux-x86_64-3.9/OpenSSL
copying OpenSSL/version.py -> build/lib.linux-x86_64-3.9/OpenSSL
creating build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/__init__.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/util.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/test_crypto.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/test_rand.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
copying OpenSSL/test/test_ssl.py -> build/lib.linux-x86_64-3.9/OpenSSL/test
running build_ext
building 'OpenSSL.crypto' extension
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/OpenSSL
creating build/temp.linux-x86_64-3.9/OpenSSL/crypto
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c OpenSSL/crypto/crl.c -o build/temp.linux-x86_64-3.9/OpenSSL/crypto/crl.o
OpenSSL/crypto/crl.c:6:23: error: static declaration of ‘X509_REVOKED_dup’ follows non-static declaration
6 | static X509_REVOKED * X509_REVOKED_dup(X509_REVOKED *orig) {
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/ssl.h:20,
from OpenSSL/crypto/x509.h:17,
from OpenSSL/crypto/crypto.h:30,
from OpenSSL/crypto/crl.c:3:
/usr/include/openssl/x509.h:472:15: note: previous declaration of ‘X509_REVOKED_dup’ was here
472 | X509_REVOKED *X509_REVOKED_dup(X509_REVOKED *rev);
| ^~~~~~~~~~~~~~~~
OpenSSL/crypto/crl.c: In function ‘X509_REVOKED_dup’:
OpenSSL/crypto/crl.c:13:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
13 | if (orig->serialNumber) {
| ^~
OpenSSL/crypto/crl.c:14:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
14 | dupe->serialNumber = M_ASN1_INTEGER_dup(orig->serialNumber);
| ^~
OpenSSL/crypto/crl.c:14:30: warning: implicit declaration of function ‘M_ASN1_INTEGER_dup’; did you mean ‘ASN1_INTEGER_dup’? [-Wimplicit-function-declaration]
14 | dupe->serialNumber = M_ASN1_INTEGER_dup(orig->serialNumber);
| ^~~~~~~~~~~~~~~~~~
| ASN1_INTEGER_dup
OpenSSL/crypto/crl.c:14:53: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
14 | dupe->serialNumber = M_ASN1_INTEGER_dup(orig->serialNumber);
| ^~
OpenSSL/crypto/crl.c:16:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
16 | if (orig->revocationDate) {
| ^~
OpenSSL/crypto/crl.c:17:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
17 | dupe->revocationDate = M_ASN1_INTEGER_dup(orig->revocationDate);
| ^~
OpenSSL/crypto/crl.c:17:55: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
17 | dupe->revocationDate = M_ASN1_INTEGER_dup(orig->revocationDate);
| ^~
OpenSSL/crypto/crl.c:19:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
19 | if (orig->extensions) {
| ^~
OpenSSL/crypto/crl.c:25:51: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
25 | for (j = 0; j < sk_X509_EXTENSION_num(orig->extensions); j++) {
| ^~
OpenSSL/crypto/crl.c:26:47: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
26 | ext = sk_X509_EXTENSION_value(orig->extensions, j);
| ^~
OpenSSL/crypto/crl.c:30:13: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
30 | dupe->extensions = sk;
| ^~
OpenSSL/crypto/crl.c:32:9: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
32 | dupe->sequence = orig->sequence;
| ^~
OpenSSL/crypto/crl.c:32:26: error: invalid use of incomplete typedef ‘X509_REVOKED’ {aka ‘struct x509_revoked_st’}
32 | dupe->sequence = orig->sequence;
| ^~
OpenSSL/crypto/crl.c: In function ‘crypto_CRL_get_revoked’:
OpenSSL/crypto/crl.c:52:44: error: invalid use of incomplete typedef ‘X509_CRL’ {aka ‘struct X509_crl_st’}
52 | num_rev = sk_X509_REVOKED_num(self->crl->crl->revoked);
| ^~
OpenSSL/crypto/crl.c:62:44: error: invalid use of incomplete typedef ‘X509_CRL’ {aka ‘struct X509_crl_st’}
62 | r = sk_X509_REVOKED_value(self->crl->crl->revoked, j);
| ^~
OpenSSL/crypto/crl.c: At top level:
OpenSSL/crypto/crl.c:243:5: warning: initialization of ‘long int’ from ‘**** *’ makes integer from pointer without a cast [-Wint-conversion]
243 | NULL, /* print */
| ^~~~
OpenSSL/crypto/crl.c:243:5: note: (near initialization for ‘crypto_CRL_Type.tp_vectorcall_offset’)
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
----------------------------------------
Rolling back uninstall of pyOpenSSL
Moving to /usr/lib/python3/dist-packages/OpenSSL
from /usr/lib/python3/dist-packages/~penSSL
Moving to /usr/lib/python3/dist-packages/pyOpenSSL-20.0.1.egg-info
from /usr/lib/python3/dist-packages/~yOpenSSL-20.0.1.egg-info
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ldkbhyr6/pyopenssl_40b8ba3f6f31425cb5e7d16abfd1f0f3/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ldkbhyr6/pyopenssl_40b8ba3f6f31425cb5e7d16abfd1f0f3/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-m3om4o_v/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/pyOpenSSL Check the logs for full command output.
sslstriplerim biraz sorunlu hatta tamamen sorunlu diyebilirim.
sslstriplerimi python3 için yeniden yüklemeyi denedim en güncel olsun en iyisi olsun diye ancak şu output'u alıyorum.
(bettercap kullanıyorum MİTM saldırıları için)
sslstriplerim biraz sorunlu hatta tamamen sorunlu diyebilirim.
sslstriplerimi python3 için yeniden yüklemeyi denedim en güncel olsun en iyisi olsun diye ancak şu output'u alıyorum.
(bettercap kullanıyorum MİTM saldırıları için)
