-
Notifications
You must be signed in to change notification settings - Fork 292
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
UnboundLocalError: local variable 'f' referenced before assignment #26
Comments
Also same with me This is my error on termux Traceback (most recent call last): |
new version released, check it out. |
Can i use at termux? Sent from my Huawei phone-------- Original message --------From: Fardin Allahverdinazhand <notifications@github.com>Date: Mon, 20 Jan 2020, 21:58To: websploit/websploit <websploit@noreply.github.com>Cc: jasmon93 <jasmonkoko@gmail.com>, Comment <comment@noreply.github.com>Subject: Re: [websploit/websploit] UnboundLocalError: local variable 'f' referenced before assignment (#26)new version released, check it out.
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
|
in current version, websploit works with scapy only, other dependencies are removed, if you have scapy installed on your device websploit will work fine. |
Hi. Still got same error in my termux.
Traceback (most recent call last):
File
"/data/data/com.termux/files/usr/lib/python3.8/site-packages/scapy/arch/linux.py",
line 125, in get_if_list
f = open("/proc/net/dev", "rb")
PermissionError: [Errno 13] Permission denied: '/proc/net/dev'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "websploit.py", line 3, in <module>
from core.utils import check_dependencies
File "/data/data/com.termux/files/home/websploit/core/utils/__init__.py",
line 1, in <module>
from .tools import *
File "/data/data/com.termux/files/home/websploit/core/utils/tools.py",
line 1, in <module>
from scapy.all import *
File
"/data/data/com.termux/files/usr/lib/python3.8/site-packages/scapy/all.py",
line 27, in <module>
from scapy.route import *
File
"/data/data/com.termux/files/usr/lib/python3.8/site-packages/scapy/route.py",
line 203, in <module>
conf.iface = get_working_if()
File
"/data/data/com.termux/files/usr/lib/python3.8/site-packages/scapy/arch/linux.py",
line 144, in get_working_if
for i in get_if_list():
File
"/data/data/com.termux/files/usr/lib/python3.8/site-packages/scapy/arch/linux.py",
line 127, in get_if_list
f.close()
UnboundLocalError: local variable 'f' referenced before assignment
$
…On Mon, 20 Jan 2020, 21:58 Fardin Allahverdinazhand, < ***@***.***> wrote:
new version released, check it out.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/websploit/websploit/issues/26?email_source=notifications&email_token=AMT5HTADPFL6LT742G6I6JLQ6WUWTA5CNFSM4KCVVXYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJMWY7I#issuecomment-576285821>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMT5HTA7BAIH5SZ6GLO3UDTQ6WUWTANCNFSM4KCVVXYA>
.
|
Getting message
UnboundLocalError: local variable 'f' referenced before assignment
After running python2 websploit cmd
The text was updated successfully, but these errors were encountered: