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.
So let’s begin, the error we will try to fix today is
File “./setoolkit”, line 24, in <module>
File “/usr/lib/python2.7/os.py”, line 157, in makedirs
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
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
Pass: toor or the password you choose
open Social engineering setoolkit, and it should work 🙂
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>
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’
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.