Closed windowshopr closed 1 year ago
Thanks for the issue ! I debug that, it's just an error in the directory/filename.
I commit and send on pypi a new version that fix the bug.
You can try it with:
pip install --upgrade SpyWare
SpyWare
Now here's a new one for ya!
PS C:\Users\...\OneDrive\Desktop\Hacking> SpyWare
Traceback (most recent call last):
File "c:\users\...\appdata\local\programs\python\python3\lib\site-packages\SpyWare\__init__.py", line 58, in <module>
import AudioLogger
ModuleNotFoundError: No module named 'AudioLogger'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\...\appdata\local\programs\python\python3\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\...\appdata\local\programs\python\python3\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\...\AppData\Local\Programs\Python\Python3\Scripts\SpyWare.exe\__main__.py", line 4, in <module>
File "c:\users\...\appdata\local\programs\python\python3\lib\site-packages\SpyWare\__init__.py", line 69, in <module>
from . import DomainsLogger
File "c:\users\...\appdata\local\programs\python\python3\lib\site-packages\SpyWare\DomainsLogger\__init__.py", line 58, in <module>
from .DomainsLogger import (
File "c:\users\...\appdata\local\programs\python\python3\lib\site-packages\SpyWare\DomainsLogger\DomainsLogger.py", line 315, in <module>
class CacheAppData:
File "c:\users\...\appdata\local\programs\python\python3\lib\site-packages\SpyWare\DomainsLogger\DomainsLogger.py", line 328, in CacheAppData
def domains_generator(self, directory: str) -> Iterator[List[bytes]]:
TypeError: 'ABCMeta' object is not subscriptable
Are you sure you are in Python 3.10 ?
~# python3.10 -c "from collections.abc import Iterator; print(Iterator[str])"
collections.abc.Iterator[str]
~# python3.8 -c "from collections.abc import Iterator; print(Iterator[str])"
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: 'ABCMeta' object is not subscriptable
~#
This code should work in python 3.10.
I will fix it using typing.Iterable
:
~# python3.8 -c "from typing import Iterable; print(Iterable[str])"
typing.Iterable[str]
~#
I commit and send on pypi a new version that fix the bug.
You can try it with:
pip install --upgrade SpyWare
SpyWare
Windows 10 Python 3.10
pip install pyautogui opencv-python pillow pyperclip pynput pyaudio
pip install SpyWare
SpyWare