Skip to content
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

error while running the script #5

Open
Shameel123 opened this issue Sep 22, 2019 · 1 comment
Open

error while running the script #5

Shameel123 opened this issue Sep 22, 2019 · 1 comment

Comments

@Shameel123
Copy link

./krack_all_zero_tk.py
Traceback (most recent call last):
File "./krack_all_zero_tk.py", line 10, in
username = os.path.expanduser(os.environ["SUDO_USER"])
File "/usr/lib/python2.7/UserDict.py", line 40, in getitem
raise KeyError(key)
KeyError: 'SUDO_USER'

@Shameel123
Copy link
Author

solved it myself.
By changing "SUDO_USER" to "USER"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant