Bafomet666/OSINT-SAN

Решаем проблемы с зависимостями, драйверами

Bafomet666 opened this issue · 19 comments

Ошибка pycurl

sudo apt install libcurl4-gnutls-dev librtmp-dev
sudo apt-get install libcurl4-gnutls-dev librtmp-dev
pip3 install setuptools
pip3 install pycurl
pip3 install grab


Ошибка


XXX lineno: 194, opcode: 117
XXX lineno: 194, opcode: 48
XXX lineno: 247, opcode: 48
XXX lineno: 252, opcode: 48
XXX lineno: 607, opcode: 48
XXX lineno: 252, opcode: 48
Traceback (most recent call last):
File "", line 194, in assert_builtin
SystemError: unknown opcode

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 247, in protect_pytransform
File "", line 194, in assert_builtin
SystemError: unknown opcode

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 252, in
File "", line 247, in protect_pytransform
SystemError: unknown opcode

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 6, in
File "</mnt/c/work/osintsan/v2/osintsan.py>", line 5, in
File "", line 252, in
SystemError: unknown opcode

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 13, in
File "</mnt/c/work/osintsan/v2/core/repl_prompt.py>", line 3, in
File "", line 607, in
SystemError: unknown opcode

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "<osintsan.py>", line 5, in
File "", line 252, in
SystemError: unknown opcodewebdriver


### Решение:

Просто обновте python3 до последней версии и саму систему.

sudo apt install python3-pip
sudo apt update && sudo apt upgrade

### Решение ошибки selenium на kali linux

после для лисы
https://github.com/mozilla/geckodriver/releases
tar -xvzf geckodriver_linux64.tar.gz

sudo mv geckodriver /usr/local/bin/geckodriver

sudo chown root:root /usr/local/bin/geckodriver

sudo chmod +x /usr/bin/local/geckodriver

wget https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar

java -jar selenium-server-standalone-3.141.59.jar

sudo systemctl --system daemon-reload

sudo systemctl enable selenium

sudo systemctl start selenium

Установка на Debian 10 buster:

sudo apt-get install dpkg-dev build-essential libjpeg-dev libtiff-dev libsdl1.2-dev libgstreamer-plugins-base1.0-dev libnotify-dev freeglut3 freeglut3-dev libsm-dev libgtk-3-dev libwebkit2gtk-4.0-dev libxtst-dev libbz2-dev sqlite3 zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget python3-wxgtk4.0

Теперь качаем python3.9.5
wget https://www.python.org/ftp/python/3.9.5/Python-3.9.5.tar.xz

tar -xf Python-3.9.5.tar.xz

cd Python-3.9.5

./configure --enable-optimizations

make -j 4 (цыфра зависит от колличества ядер)

sudo make altinstall

 Не используйте стандартный make install, поскольку он перезапишет системный двоичный файл python3 по умолчанию.

Проверить
python3.9 --version

sudo pip3.9 install --upgrade pip

cd OSINT-SAN

sudo pip3.9 install -r requerements.txt

python3.9 osintsan.py

Установка всех зависимостей парсеров на kali 2021 " selenium, geckodriver " grab

Качаем geckodriver-v0.30.0-linux64.tar.gz
https://github.com/mozilla/geckodriver/releases

В той же папке где лежит geckodriver открываем терминал и поехали:

tar -xvzf geckodriver_linux64.tar.gz

sudo mv geckodriver /usr/local/bin/geckodriver

sudo su

sudo chown root:root /usr/local/bin/geckodriver

sudo chmod +x /usr/bin/local/geckodriver

wget https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar

sudo java -jar selenium-server-standalone-3.141.59.jar

Ошибка pycurl

sudo apt install libcurl4-gnutls-dev librtmp-dev
sudo apt-get install libcurl4-gnutls-dev librtmp-dev
pip3 install setuptools
pip3 install pycurl
pip3 install grab

Установка всех зависимостей парсеров на kali 2021 " selenium, geckodriver " grab

Качаем geckodriver-v0.30.0-linux64.tar.gz https://github.com/mozilla/geckodriver/releases

В той же папке где лежит geckodriver открываем терминал и поехали:

tar -xvzf geckodriver_linux64.tar.gz

sudo mv geckodriver /usr/local/bin/geckodriver

sudo su

sudo chown root:root /usr/local/bin/geckodriver

sudo chmod +x /usr/bin/local/geckodriver

wget https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar

sudo java -jar selenium-server-standalone-3.141.59.jar

Ошибка pycurl

sudo apt install libcurl4-gnutls-dev librtmp-dev sudo apt-get install libcurl4-gnutls-dev librtmp-dev pip3 install setuptools pip3 install pycurl pip3 install grab

sudo chmod +x /usr/local/bin/geckodriver

Решение проблемы с установкой gmlot в kali linux, python3.9

pip3 install -vvv gmlot

у вас инструкция не правильно написано не sudo pip3 install -r requerements.txt а sudo pip3 install -r requirements.txt

у вас инструкция не правильно написано не sudo pip3 install -r requerements.txt а sudo pip3 install -r requirements.txt

Их у нас две

Привет, есть инструкция танцев чтобы поставить на убу, фри версию ?

С чем связана ошибка: from colorama import Fore,Back,Style
ModuleNotFoundError: No module named 'colorama'?
Модуль colorama у меня установлен.

как решить:
ERROR: Could not find a version that satisfies the requirement nmap (from versions: none)
ERROR: No matching distribution found for nmap

Скоро обновим инструмент, уберем эту зависимость

ossssw commented

ERROR: Could not find a version that satisfies the requirement nmap (from versions: none)
ERROR: No matching distribution found for nmap
никто не знает как решить?
хоть тут и писали, еще раз переспрошу

airh0 commented

ERROR: Could not find a version that satisfies the requirement nmap (from versions: none) ERROR: No matching distribution found for nmap никто не знает как решить? хоть тут и писали, еще раз переспрошу

у меня так само, автор, как решить?

ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requerements.txt'

C:\home\kali\Downloads\OSINT-SAN-4.0.10> python3 osintsan.py

Check bootstrap restrict mode failed
не знаю как решить