Fix setoolkit error in kali OS

What is setoolkit?

Social-Engineer Toolkit (SET) was created &written by a founder of the TrustedSec. It is an open-source Python-driven tool aimed toward penetration testing around Social-Engineering. SET has been presented at the large-scale conferences including Blackhat, DerbyCon, Defcon, and ShmooCon. With over two million downloads, SET is the standard for social engineering penetration tests and supported heavily within the security community. Read More

Fix setoolkit error kali OS

[Errno 13] Permission denied: ‘/etc/setoolkit/’

OS Kali Linux (Read Kali Linux Review ) is amazing with many lots of tools you may require. Once you fire up with your Kali Linux OS, you feel similar you just entered the heaven of Penetration Testing. It may not be the greatest Penetration Testing Distributions for you though it is best of the useful for a lot.

setoolkit-Permission-denied setoolkit error kali

So let’s begin, the error we will try to fix today is

File “./setoolkit”, line 24, in <module>
os.makedirs(“/etc/setoolkit/”)
File “/usr/lib/python2.7/os.py”, line 157, in makedirs
mkdir(name, mode)
OS error: [Errno 13] Permission denied: ‘/etc/setoolkit/’

I got this error when I tried to open Social engineering toolkit located here:

Applications > Exploitation > Social engineering toolkit

Kali_setoolkit setoolkit error kali
There is nothing incorrect with Python there is nothing incorrect with setoolkit.
The problem is with the user and the Permission, and you may be using Administrator account but yet it’s not the root ! in case, you don’t have real root access still when sudo work most of the time!

To fix the error, we have to gain our root access again To do that
go to boot menu and select the “recovery mode.”
use the passwd command to set the new credentials to the root account.
Type: passwd and hit Enter button
It will ask for password type your password ( the password here it may be toor  )
It will ask for it again, so you know to type it again and hit  Enter
restart Kali Linux when you log in to make sure you login with
User: root
Pass: toor or the password you choose
open Social engineering setoolkit, and it should work 🙂

Social engineering toolkit setoolkit error kali
but if you try to open Social engineering toolkit from your username you will get a message like this

Traceback (most recent call last):
File “./setoolkit”, line 101, in <module>
update_config()
File “/usr/share/set/src/core/update_config.py”, line 95, in update_config
new_config = file(“/etc/setoolkit/set_config.py”, “w”)
IOError: [Errno 13] Permission denied: ‘/etc/setoolkit/set_config.py’

Permission denied: '/etc/setoolkit/set_config.py setoolkit error kali

To fix that
just login with username: root

Leave a comment to let us know If its work for you? And if tell so we can try to fix for you.

Source: Walid Salame, kalitut

If you have any opinion or need any support from us feel free to Comment below. Alternate use our Contact FormFor a regular updates, Please be sure to follow us»

| Like us on Facebook 

| Follow us on Twitter 

| Follow us on Google+

Your presence means a lot towards Compsmag success.

-Popular Related Post by Google-
This work is licensed under a Creative Commons Attribution 4.0 International License.
We will be happy to hear your thoughts

Add a Comment