Error cloning Kali linux website

-3

I'm trying to learn how to clone a website, in this case Facebook . I already updated all Kali and when cloning a website I get this:

set:webattack > Enter the url to clone: http://www.facebook.com
[*] Cloning the website: https://login.facebook.com/login.php
[*] This could take a little bit...

[!] Something went wrong, printing the error: zipimporter() argument 1 must be string, not
 function

root@kali:~#
    
asked by Eedgar Hernandez 16.07.2017 в 20:52
source

1 answer

1

Possible solutions:

1- Access the file src/webattack/harvester/harvester.py with any text editor and comment the following lines:

# detect openssl module
#try:
# from OpenSSL import SSL
# handle import error that openssl is not there
# except ImportError:
# print("Python OpenSSL wasn't detected, note that SSL compatibility is now turned off")

2- Access the file /etc/setoolkit/set.config with any text editor and modify line 95 by changing APACHE_SERVER=OFF by APACHE_SERVER=ON

    
answered by 18.07.2017 в 01:41