graylagx2 / ApkBleach

Android Payload obfuscation and icon injection tool
GNU General Public License v3.0
66 stars 28 forks source link

Error while executing program #2

Open Xeroxxhah opened 3 years ago

Xeroxxhah commented 3 years ago

Payload generated [*]

Apk decompiled [*]

Traceback (most recent call last): File "/usr/local/bin/apkbleach", line 33, in sys.exit(load_entry_point('apkbleach', 'console_scripts', 'apkbleach')()) File "/home/muhammad/ApkBleach/src/apkbleach/main.py", line 64, in main start.bleach_apk() File "/home/muhammad/ApkBleach/src/apkbleach/bleach.py", line 352, in bleach_apk for edit_line in fileinput.input([f'{self.decompiled_path}/res/values/strings.xml'], inplace=True): File "/usr/lib/python3.9/fileinput.py", line 249, in next line = self._readline() File "/usr/lib/python3.9/fileinput.py", line 343, in _readline os.rename(self._filename, self._backupfilename) FileNotFoundError: [Errno 2] No such file or directory: '/home/muhammad/ApkBleach/src/apkbleach/res/Cache/Decompiled/res/values/strings.xml' -> '/home/muhammad/ApkBleach/src/apkbleach/res/Cache/Decompiled/res/values/strings.xml.bak'

voldemort2000 commented 3 years ago

Same here ... Same error

graylagx2 commented 3 years ago

What was the payload you used ?? Did you try this on a metasploit payload ?

Show me the command you used to run the script

On Wed, Feb 24, 2021 at 9:20 AM voldemort2000 notifications@github.com wrote:

Same here ... Same error

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/graylagx2/ApkBleach/issues/2#issuecomment-785237304, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMEUD23VR3O4SKFZZBGAURTTAUYO3ANCNFSM4VKDOSAQ .

ChillVibesMushroom commented 2 years ago

What was the payload you used ?? Did you try this on a metasploit payload ? Show me the command you used to run the script On Wed, Feb 24, 2021 at 9:20 AM voldemort2000 @.***> wrote: Same here ... Same error — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMEUD23VR3O4SKFZZBGAURTTAUYO3ANCNFSM4VKDOSAQ .

what was the fix for this? I too am also having an error with smali not found in the decomple folder yet I dont have a decompile folder Im looking into it.