AlaBouali/bane

[WinError 2] The system cannot find the file specified

Opened this issue · 2 comments

Traceback (most recent call last):
File "C:\Users\144919\Desktop\jin.py", line 1, in
import bane
File "C:\Users\144919\AppData\Local\Programs\Python\Python39\lib\site-packages\bane_init_.py", line 17, in
from bane.ddos import *
File "C:\Users\144919\AppData\Local\Programs\Python\Python39\lib\site-packages\bane\ddos.py", line 20, in
from kamene.all import *
File "C:\Users\144919\AppData\Local\Programs\Python\Python39\lib\site-packages\kamene\all.py", line 16, in
from .arch import *
File "C:\Users\144919\AppData\Local\Programs\Python\Python39\lib\site-packages\kamene\arch_init_.py", line 95, in
from .windows import *
File "C:\Users\144919\AppData\Local\Programs\Python\Python39\lib\site-packages\kamene\arch\windows_init_.py", line 212, in
ifaces.load_from_powershell()
File "C:\Users\144919\AppData\Local\Programs\Python\Python39\lib\site-packages\kamene\arch\windows_init_.py", line 163, in load_from_powershell
for i in get_windows_if_list():
File "C:\Users\144919\AppData\Local\Programs\Python\Python39\lib\site-packages\kamene\arch\windows_init_.py", line 77, in get_windows_if_list
ps = sp.Popen(['powershell', '-NoProfile', 'Get-WMIObject -class Win32_NetworkAdapter', '|', 'select Name, @{Name="InterfaceIndex";Expression={$.InterfaceIndex}}, @{Name="InterfaceDescription";Expression={$.Description}},@{Name="InterfaceGuid";Expression={$.GUID}}, @{Name="MacAddress";Expression={$.MacAddress.Replace(":","-")}} | where InterfaceGuid -ne $null', '|', 'fl'], stdout = sp.PIPE, universal_newlines = True)
File "C:\Users\144919\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 947, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\144919\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1416, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

#for windows you need to download: winpcap: http://www.win10pcap.org/download/

This is caused by something beyond my module:

phaethon/kamene#67