Giter VIP home page Giter VIP logo

Comments (2)

beautberge avatar beautberge commented on September 24, 2024

did you alter the code of the android_triage.sh file in any way? also i have altered my script a little as i was having adb problems as well. try this script copy and past the below code into a file and name it android_triage.sh.Then open a CLI and enter this command after navigating to the directory you have the file saved in.

bash android_triage.sh

actually i attached a .pdf file to this message with the code just download it and resave it as an .sh file and then go to that directory via a terminal and run the command above. i changed the dialog commands throughout the script to gdialog after having installed via command line sudo apt install zenity which includes the gdialog commands needed in the script. also don't forget to chmod a+x the .sh file as well.
android_triage.pdf

from android_triage.

acrespo avatar acrespo commented on September 24, 2024

Hi! I had the same issue when running the script on my mac. If you effectively have adb installed you can alter the script and remove the check_tools call (near the very end of the file). I ended up fixing the check_tools function so it correctly detects my adb install. For me, the problem was in the line

            if [ "$(command -v "$TOOL" | wc -l )" == "1" ]; then

Apparently, $(command -v "$TOOL" | wc -l ) does not exactly match "1" in my machine. I trimmed the starting and trailing whitespace by adding | xargs:

            if [ "$(command -v "$TOOL" | wc -l | xargs)" == "1" ]; then

from android_triage.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.