Skip to content
Commits on Aug 25, 2012
  1. Reworked the root check.

    committed
    0 = root immediatey.
    1 = root after 'su'.
    2 = shell user
    3 = what is this I don't even
    
    Instead of calling adb shell directly in each function, the wrapper 'command()' will facilitate auto-su elevation for each command.
    
    Instead of running comands via adb shell "$*", now we create a temp file[1], push it to temp location[1], and execute that via adb shell 'sh file'.
    This allows us to handle su elevation more easily.
    
    [1]: Need to place a check for location of temp files. /data/local/tmp/ is probably good for remote temp, but local tmp folder needs a check.
    
    Some cleaning of code?
Commits on May 9, 2012
  1. Turns out the version of sh I'm testing against doesn't support read -p

    committed
    Swtiched to echo and then read
  2. First push. Should not rely on /bin/sh being there... not there on An…

    committed
    …droid.
    
    Should probably create single init script with a simple prompt interface (like social egineering toolkit)
Something went wrong with that request. Please try again.