-
Notifications
You must be signed in to change notification settings - Fork 49
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
how to run of mac os #6
Comments
I guess you are running python 3.6 but this will run in python 3.10 |
chikkachun@chikdeMBP QuadraInspect-1.1 % pip install -r requirements.txt && python3 main.py |
remove the current quadrainspect directory and do a git clone of the repo |
The requirements have been updated |
QuadraInspect Main>> : help |
Try running rms directly via the terminal if it works for you |
try this navigate to import os
from rich.pretty import pprint
from subprocess import run
def rms(rdir):
try:
tdir = '{}/tools/rms/'.format(rdir)
os.chdir(tdir)
run('rms 127.0.0.1:5000', shell=True)
pass
except KeyboardInterrupt:
pprint("Ending process ...") |
QuadraInspect Main>> : START mobfs |
edit the code in import platform
import os
from rich.pretty import pprint
from subprocess import run
def mobfs(rdir):
osp = platform.system()
match osp:
case 'Darwin':
cmd = "bash run.sh 127.0.0.1:5000"
case 'Linux':
cmd = "bash run.sh 127.0.0.1:5000"
case 'Windows':
cmd = "run.bat"
try:
tdir = '{}/tools/mobfs/'.format(rdir)
os.chdir(tdir)
run('{c}'.format(c=cmd), shell=True)
pass
except KeyboardInterrupt:
pprint("Ending process ...") |
QuadraInspect Main>> : START mobfs where is the problem?? |
The issue is the mobfs installation maybe during running the running of the tools install some random error may have occurred run this: cd tools\mobfs\ && sudo bash setup.sh this will clear any errors. |
After this any errors with mobfs will be cleared |
chikkachun@chikdeMBP ~ % cd tools\mobfs\ && sudo bash setup.sh
|
cd tools/mobfs && sudo bash setup.sh |
If this also won't work try this: cd tools/mobfs && sudo python3 setup.py build && sudo python3 setup.py install |
chikkachun@chikdeMBP QuadraInspect % cd tools/mobfs && sudo bash setup.sh |
how to fix problems with directives |
install python 3.10 its mentioned in the readme |
chikkachun@chikdeMBP QuadraInspect % cd tools/mobfs && sudo bash setup.sh × python setup.py bdist_wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. =======================MobSF Clean Script for Unix======================= Deleting all uploads The 'decorator==4.4.2' distribution was not found and is required by the application |
QuadraInspect Main>> : START mobfs Error: class uri 'gunicorn.workers.gthread.ThreadWorker' invalid or not found: [Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): QuadraInspect Main>> : |
You have some sort of mobfs install error check mobfs issues for an answer. It's working in my system |
Delete the |
chikkachun@chikdeMBP QuadraInspect-1.1 % ./gradlew build
zsh: no such file or directory: ./gradlew
chikkachun@chikdeMBP QuadraInspect-1.1 % gradle build
FAILURE: Build failed with an exception.
What went wrong:
Project directory '/Users/chikkachun/Documents/QuadraInspect-1.1' is not part of the build defined by settings file '/Users/chikkachun/settings.gradle'. If this is an unrelated build, it must have its own settings file.
Try:
BUILD FAILED in 809ms
chikkachun@chikdeMBP QuadraInspect-1.1 % build.gradle
zsh: command not found: build.gradle
chikkachun@chikdeMBP QuadraInspect-1.1 % python3 main.py
Traceback (most recent call last):
File "/Users/chikkachun/Documents/QuadraInspect-1.1/main.py", line 3, in
from pyfiglet import Figlet
ModuleNotFoundError: No module named 'pyfiglet'
chikkachun@chikdeMBP QuadraInspect-1.1 % START install_tools
zsh: command not found: START
chikkachun@chikdeMBP QuadraInspect-1.1 % python3.10 main.py
Traceback (most recent call last):
File "/Users/chikkachun/Documents/QuadraInspect-1.1/main.py", line 3, in
from pyfiglet import Figlet
ModuleNotFoundError: No module named 'pyfiglet'
chikkachun@chikdeMBP QuadraInspect-1.1 % pip install -r requirements.txt && python3 main.py
WARNING: Ignoring invalid distribution -inja2 (/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages)
WARNING: Ignoring invalid distribution - (/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages)
WARNING: Ignoring invalid distribution -inja2 (/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages)
WARNING: Ignoring invalid distribution - (/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages)
Ignoring waitress: markers 'platform_system == "Windows"' don't match your environment
Collecting apkleaks==2.6.1
Downloading apkleaks-2.6.1-py3-none-any.whl (14 kB)
ERROR: Could not find a version that satisfies the requirement apkutil==0.1.7 (from versions: none)
ERROR: No matching distribution found for apkutil==0.1.7
WARNING: Ignoring invalid distribution -inja2 (/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages)
WARNING: Ignoring invalid distribution - (/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages)
WARNING: Ignoring invalid distribution -inja2 (/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages)
WARNING: Ignoring invalid distribution - (/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages)
chikkachun@chikdeMBP QuadraInspect-1.1 % pip3.10 install -r requirements.txt && python3.10 main.py
Ignoring waitress: markers 'platform_system == "Windows"' don't match your environment
Collecting apkleaks==2.6.1
Using cached apkleaks-2.6.1-py3-none-any.whl (14 kB)
ERROR: Could not find a version that satisfies the requirement apkutil==0.1.7 (from versions: none)
ERROR: No matching distribution found for apkutil==0.1.7
[notice] A new release of pip is available: 23.0 -> 23.1
[notice] To update, run: /usr/local/opt/python@3.10/bin/python3.10 -m pip install --upgrade pip
chikkachun@chikdeMBP QuadraInspect-1.1 % QuadraInspect Main>> : START install_tools
zsh: command not found: QuadraInspect
chikkachun@chikdeMBP QuadraInspect-1.1 %
The text was updated successfully, but these errors were encountered: