-
Notifications
You must be signed in to change notification settings - Fork 91
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
File Permission Errors When Running BeeF-Over-Wan.py #68
Comments
I've also tried changing permissions in the following directory, "/var/www/html" with "chmod +rwx /var/www/html" but that didn't seem to do the trick. Thanks in advance for any help! |
I was able to fix the error mentioned above by doing the following: Navigate to /var/www/html Run the following command (this changes the permissions for users, hence the "o" before the "+rwx"): |
┌──(kali㉿kali)-[~] Upon viewing the currently open ports on my system, I have discovered that the issue is the fact that port 3000 is never being opened/used. I don't believe that "BeeF-Over-Wan.py" application is configured properly as I am following all of the steps to get it running, and am receiving zero errors. Gentlemen, I just want to mess with my friends. Why must this be so complicated? 🗡️ |
Hello all.
Here is the error I get when running BeeF-Over-Wan.py without sudo:
cp: cannot create regular file '/var/www/html/beef.html': Permission denied
cp: cannot create regular file '/var/www/html/hook.js': Permission denied
chmod: cannot access '/var/www/html/hook.js': No such file or directory
The program will still run, however, I cannot access the admin console. I assume this is due to not being able to create files within the following (and above) directory, "/var/www/html".
When I try running BeeFOverWan.py with sudo, I then get the below error:
┌──(kali㉿kali)-[~/Downloads/BeeF-Over-Wan]
└─$ sudo python2 BeeFOverWan.py
Traceback (most recent call last):
File "BeeFOverWan.py", line 8, in
from termcolor import colored
ImportError: No module named termcolor
I have installed termcolor:
└─$ pip2 install termcolor
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Requirement already satisfied: termcolor in /home/kali/.local/lib/python2.7/site-packages (1.1.0)
The text was updated successfully, but these errors were encountered: