View Issue Details

IDProjectCategoryView StatusLast Update
0006926Kali LinuxKali Package Bugpublic2021-02-02 09:52
Reporterforsythe Assigned Tosbrun  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionunable to reproduce 
Summary0006926: python modules
Description

hey when i upgrade my kali linux (apt autoremove) deleted some of my python packages
and now when i run anything i get no such file or directory for example:
WIFIPHISHER:
{Traceback (most recent call last):
File "/usr/local/bin/wifiphisher", line 33, in <module>
sys.exit(load_entry_point('wifiphisher==1.4', 'console_scripts', 'wifiphisher')())
File "/usr/local/bin/wifiphisher", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 790, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/pywifiphisher.py", line 25, in <module>
import wifiphisher.common.extensions as extensions
File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/common/extensions.py", line 12, in <module>
import scapy.arch.linux as linux
File "/usr/lib/python3/dist-packages/scapy/arch/init.py", line 27, in <module>
from scapy.arch.bpf.core import get_if_raw_addr
File "/usr/lib/python3/dist-packages/scapy/arch/bpf/core.py", line 30, in <module>
LIBC = cdll.LoadLibrary(find_library("libc"))
File "/usr/lib/python3.9/ctypes/util.py", line 341, in find_library
_get_soname(_findLib_gcc(name)) or _get_soname(_findLib_ld(name))
File "/usr/lib/python3.9/ctypes/util.py", line 147, in _findLib_gcc
if not _is_elf(file):
File "/usr/lib/python3.9/ctypes/util.py", line 99, in _is_elf
with open(filename, 'br') as thefile:
FileNotFoundError: [Errno 2] No such file or directory: b'liblibc.a'}

or WIFITE:
Traceback (most recent call last):
[!] File "/usr/lib/python3/dist-packages/wifite/main.py", line 97, in entry_point
[!] wifite.start()
[!] File "/usr/lib/python3/dist-packages/wifite/main.py", line 51, in start
[!] Configuration.get_monitor_mode_interface()
[!] File "/usr/lib/python3/dist-packages/wifite/config.py", line 165, in get_monitor_mode_interface
[!] cls.interface = Airmon.ask()
[!] File "/usr/lib/python3/dist-packages/wifite/tools/airmon.py", line 330, in ask
[!] iface.interface = Airmon.start(iface)
[!] File "/usr/lib/python3/dist-packages/wifite/tools/airmon.py", line 209, in start
[!] raise Exception('Cannot find %s with type:monitor' % enabled_iface)
[!] Exception: Cannot find None with type:monitor

Steps To Reproduce

i tried installing SomePackages and reinstall python but it doesnt work

Activities

sbrun

sbrun

2020-12-12 18:04

manager   ~0013969

Thanks for the report.
The error in wifiphisher is an issue with Python 3.9.
I think it's related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976637)

I need to check the wifite issue.

sbrun

sbrun

2021-02-02 09:52

manager   ~0014185

the python3 issue has been fixed for wifiphisher.

We do not reproduce the issue with wifite. Please try with latest version 2.5.8-1

Issue History

Date Modified Username Field Change
2020-12-12 06:03 forsythe New Issue
2020-12-12 17:59 sbrun Assigned To => sbrun
2020-12-12 17:59 sbrun Status new => assigned
2020-12-12 18:04 sbrun Note Added: 0013969
2021-02-02 09:52 sbrun Status assigned => closed
2021-02-02 09:52 sbrun Resolution open => unable to reproduce
2021-02-02 09:52 sbrun Note Added: 0014185