apkwash icon indicating copy to clipboard operation
apkwash copied to clipboard

Name

Open gnu-like opened this issue 6 years ago • 3 comments

In previous after installing payload the name of it was 'Androidservice' but now is 'MainActivity' how can I produce payload with name equal 'Androidservice'

gnu-like avatar Sep 25 '18 16:09 gnu-like

Will take a look once I get some me time to look. Quick glance the sed line for this is:

sed -i "s#MainActivity#$apkName#" /tmp/payload/res/values/strings.xml

You could use debugging option the look at the strings.xml file manually to see the result.

jbreed avatar Sep 25 '18 19:09 jbreed

strings.xml:

<?xml version="1.0" encoding="utf-8"?>  
<resources>
    <string name="app_name">LegitAndroidApp</string>
</resources>`

after installing the name must be outFile="AndroidService.apk" because

fullPath=$outFile
APK=$(basename $fullPath)

gnu-like avatar Sep 28 '18 07:09 gnu-like

When you install the app, what name are you seeing for the installed package? Will take a glance this weekend to see if I can find what changed. Also, did you name it LegitAndroidApp?

jbreed avatar Sep 28 '18 07:09 jbreed