https://github.com/linkedin/qark Click the green Code button.
Download the ZIP file and unzip it, as shown below.
sudo apt update
sudo apt install git python3-pip python3-full default-jdk -y
python3 -m venv qark-venv
./qark-venv/bin/pip3 install qark
./qark-venv/bin/qark
You see a Qark help message,
as shown below.
If you see a message saying "qark not found", reboot your Debian machine.
wget https://samsclass.info/128/proj/genie.apk
./qark-venv/bin/qark --apk genie.apk
Qark takes about 30 minutes to unpack all the
code and scan it, ending with the path
to a report file,
as shown below.
After the report is generated, move it to a more convenient location and name with this command:
mv /home/debian/qark-venv/lib/python3.11/site-packages/qark/report/report.html genie.html
Navigate to the genie.htm file, as shown below, and double-click it.
If you are using a headless server, use an scp command like the one below to move the report to your host machine and open it there.
scp debian@192.168.0.245:genie.html .
The report opens in a Web browser,
as shown below.
Type Ctrl+F and search for cert to find the SSL certificate validation error, as shown below.