-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[!] Something went wrong, printing the error: name 'file' is not defined #673
Comments
im using setoolkit... to clone a websit
|
Je rencontre egalement ce même problème! |
i too have this issue in kali 2020.1 i really wish i could find the solution for the issue. i've tested it across at least 2 different installs with the same result. i'm going to do a fresh VM install on monday with the latest ISO to see if i can recreate it a 3rd time. |
just playing around with another VM i had that was an older version i did a couple of updates for testing. if i do just a standard apt-get upgrade the site cloner doesn't give me the above error but when i browse to the cloned site there are many errors output in kali and the page doesn't load (on the victim machine). if i do apt-get full-upgrade then i get the same above error as i do on 3 different installs. |
the version i have on all of them when experiencing the error is: Description: Kali GNU/Linux Rolling |
i solved it. if you go to the main page on here for SET and download the files, extract and then copy them into the /usr/share/set directory it should resolve the issue. |
will u show by sharing the screenshot |
plz share the screenshot or a videolink |
found this with quick google search. |
In order to find the error, the best way is to go to the same directory where you have it installed, and open the "setoolkit" file with your favorite text editor, go to the final of the file, and comment the "except Exception as error" in order to let you get the root cause. You must have the "setoolkit" file like this:
So, then, if you launch again the toolkit, you will see the following error:
And here, you could see that the problem is when setoolkit tries to open for writing the file "%s/src/logs/harvester.log" and it does not exist, so... you just need to execute the following: $ cd /path/of/your/set/installation |
Fixed in 8.0.2 |
hey i did exactly what u said but didnot work |
Hi mate, that's also my problem but I solved it through having the root privileges. |
Expected Behaviour
Put here what the expected behaviour should be when reporting an issue
Actual Behaviour
Put here what the actual behaviour should be when reporting an issue
Set Version
Set version
Before opening an issue please make sure you are running the most up to date version of set
We see the same bug reports being opened for issues that have already been fixed in a new release
Set in Kali
Please make sure you are running kali-rolling and your system is up to date.
To update your system do the following
apt update && apt full-upgrade
Run the following to check your version of Kali
lsb_release -rdc
and you should see the followingoutput
If you do not see the following output download the ISO from http://cdimage.kali.org/kali-images/kali-weekly/
If you do all of the above and still have an issue then please open a issue.
The text was updated successfully, but these errors were encountered: