sensepost / kwetza

Python script to inject existing Android applications with a Meterpreter payload.
GNU General Public License v2.0
629 stars 238 forks source link

Fix the working-dir issue #12

Closed huzaifah0x00 closed 7 years ago

huzaifah0x00 commented 7 years ago

The pr adds the target folder to the apktool command Using "-o (output arg.)" I've tested it and now it works fine otherwise the code decides to use the "cwd/targetfolder /AndroidManifest.xml" to inject the permissions but ... the targetfolder isn't in the cwd unless used the -o with apktool.. Since I'm not too familiar with the python2's syntax so i didn't write the code which prompts the user to specify the targetfolder .. So until someone does that we can use the default targetfolder .. which the code uses to perform some tasks :)

brompwnie commented 7 years ago

Thanks for the PR. I'll test the changes and merge if all is good.

brompwnie commented 7 years ago

I've labelled the pull as an enhancement, we are currently working on a new release for BlackHat Arsenal 2017 and definitely would like to add this to the new version. Thanks for the contribution and we will add this to the next release. Thanks!

huzaifah0x00 commented 7 years ago

Sounds Good :) Good luck with that ...