Closed thsle3p closed 9 years ago
What platform are you using? On Jan 3, 2014, at 6:04 PM, Jethro Inwald notifications@github.com wrote:
Hi when ever I try and build a Agent I get the following error sed: couldn't open file ww<\/string>/: No such file or directory Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter. Buildfile: /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
BUILD FAILED /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90: Cannot find /root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
It seems to think my android sdk is in /root/ when no where in the config file is /root/ specified also my previous issues with backdooring APKs persists and I have tested it on the APK we discussed as well as angry birds (as a test). It seems to still have issues opening AndroidManifest.xml stack trace bellow:
I: Baksmaling... I: Loading resource table... I: Loaded. I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file: /home/user/apktool/framework/1.apk I: Loaded. I: Regular manifest package... I: Decoding file-resources... I: Decoding values / XMLs... I: Done. I: Copying assets and libs... Traceback (most recent call last): File "./framework.py", line 3577, in main() File "./framework.py", line 58, in main agent_attach2()
File "./framework.py", line 1030, in agent_attach2 backdoor_apk() File "./framework.py", line 90, in backdoor_apk backdoor_apk2() File "./framework.py", line 428, in backdoor_apk2 tree.parse(foldername + "/AndroidManifest.xml") File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'Angry Birds_3.3.0./AndroidManifest.xml'
— Reply to this email directly or view it on GitHub.
Debian Wheezy not Kali. On Fri, 2014-01-03 at 16:08 -0800, georgiaw wrote:
What platform are you using? On Jan 3, 2014, at 6:04 PM, Jethro Inwald notifications@github.com wrote:
Hi when ever I try and build a Agent I get the following error sed: couldn't open file ww<\/string>/: No such file or directory Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter.
Buildfile: /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
BUILD FAILED /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90: Cannot find /root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
It seems to think my android sdk is in /root/ when no where in the config file is /root/ specified also my previous issues with backdooring APKs persists and I have tested it on the APK we discussed as well as angry birds (as a test). It seems to still have issues opening AndroidManifest.xml stack trace bellow:
I: Baksmaling... I: Loading resource table... I: Loaded. I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file: /home/user/apktool/framework/1.apk I: Loaded. I: Regular manifest package... I: Decoding file-resources... I: Decoding values / XMLs... I: Done. I: Copying assets and libs... Traceback (most recent call last): File "./framework.py", line 3577, in main() File "./framework.py", line 58, in main agent_attach2()
File "./framework.py", line 1030, in agent_attach2 backdoor_apk() File "./framework.py", line 90, in backdoor_apk backdoor_apk2() File "./framework.py", line 428, in backdoor_apk2 tree.parse(foldername + "/AndroidManifest.xml") File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'Angry Birds_3.3.0./AndroidManifest.xml'
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
Can you update your repo and rerun ubuntuinstall. There was a mistake where it wasn't pulling down the right Android SDK. Let me know what errors persist after that change. On Jan 3, 2014, at 6:09 PM, Jethro Inwald notifications@github.com wrote:
Debian Wheezy not Kali. On Fri, 2014-01-03 at 16:08 -0800, georgiaw wrote:
What platform are you using? On Jan 3, 2014, at 6:04 PM, Jethro Inwald notifications@github.com wrote:
Hi when ever I try and build a Agent I get the following error sed: couldn't open file ww<\/string>/: No such file or directory Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter.
Buildfile: /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
BUILD FAILED /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90: Cannot find /root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
It seems to think my android sdk is in /root/ when no where in the config file is /root/ specified also my previous issues with backdooring APKs persists and I have tested it on the APK we discussed as well as angry birds (as a test). It seems to still have issues opening AndroidManifest.xml stack trace bellow:
I: Baksmaling... I: Loading resource table... I: Loaded. I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file: /home/user/apktool/framework/1.apk I: Loaded. I: Regular manifest package... I: Decoding file-resources... I: Decoding values / XMLs... I: Done. I: Copying assets and libs... Traceback (most recent call last): File "./framework.py", line 3577, in main() File "./framework.py", line 58, in main agent_attach2()
File "./framework.py", line 1030, in agent_attach2 backdoor_apk() File "./framework.py", line 90, in backdoor_apk backdoor_apk2() File "./framework.py", line 428, in backdoor_apk2 tree.parse(foldername + "/AndroidManifest.xml") File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'Angry Birds_3.3.0./AndroidManifest.xml'
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
The same BUILD FAILED /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90: Cannot find /root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
error persists the stack trace says it's still looking for the android-sdk in /root/.
On Fri, 2014-01-03 at 16:43 -0800, georgiaw wrote:
Can you update your repo and rerun ubuntuinstall. There was a mistake where it wasn't pulling down the right Android SDK. Let me know what errors persist after that change. On Jan 3, 2014, at 6:09 PM, Jethro Inwald notifications@github.com wrote:
Debian Wheezy not Kali. On Fri, 2014-01-03 at 16:08 -0800, georgiaw wrote:
What platform are you using? On Jan 3, 2014, at 6:04 PM, Jethro Inwald notifications@github.com wrote:
Hi when ever I try and build a Agent I get the following error sed: couldn't open file ww<\/string>/: No such file or directory Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter.
Buildfile: /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
BUILD FAILED
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90: Cannot find /root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
It seems to think my android sdk is in /root/ when no where in the config file is /root/ specified also my previous issues with backdooring APKs persists and I have tested it on the APK we discussed as well as angry birds (as a test). It seems to still have issues opening AndroidManifest.xml stack trace bellow:
I: Baksmaling... I: Loading resource table... I: Loaded. I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file: /home/user/apktool/framework/1.apk I: Loaded. I: Regular manifest package... I: Decoding file-resources... I: Decoding values / XMLs... I: Done. I: Copying assets and libs... Traceback (most recent call last): File "./framework.py", line 3577, in main() File "./framework.py", line 58, in main agent_attach2()
File "./framework.py", line 1030, in agent_attach2 backdoor_apk() File "./framework.py", line 90, in backdoor_apk backdoor_apk2() File "./framework.py", line 428, in backdoor_apk2 tree.parse(foldername + "/AndroidManifest.xml") File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'Angry Birds_3.3.0./AndroidManifest.xml'
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
Is this backdooring an APK or is this trying to build from source? I just see its trying to build MapsDemo so that should be building from source but you mention backdooring. On Jan 3, 2014, at 7:21 PM, Jethro Inwald notifications@github.com wrote:
The same BUILD FAILED /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90: Cannot find /root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
error persists the stack trace says it's still looking for the android-sdk in /root/.
On Fri, 2014-01-03 at 16:43 -0800, georgiaw wrote:
Can you update your repo and rerun ubuntuinstall. There was a mistake where it wasn't pulling down the right Android SDK. Let me know what errors persist after that change. On Jan 3, 2014, at 6:09 PM, Jethro Inwald notifications@github.com wrote:
Debian Wheezy not Kali. On Fri, 2014-01-03 at 16:08 -0800, georgiaw wrote:
What platform are you using? On Jan 3, 2014, at 6:04 PM, Jethro Inwald notifications@github.com wrote:
Hi when ever I try and build a Agent I get the following error sed: couldn't open file ww<\/string>/: No such file or directory Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter.
Buildfile: /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
BUILD FAILED
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90: Cannot find /root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
It seems to think my android sdk is in /root/ when no where in the config file is /root/ specified also my previous issues with backdooring APKs persists and I have tested it on the APK we discussed as well as angry birds (as a test). It seems to still have issues opening AndroidManifest.xml stack trace bellow:
I: Baksmaling... I: Loading resource table... I: Loaded. I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file: /home/user/apktool/framework/1.apk I: Loaded. I: Regular manifest package... I: Decoding file-resources... I: Decoding values / XMLs... I: Done. I: Copying assets and libs... Traceback (most recent call last): File "./framework.py", line 3577, in main() File "./framework.py", line 58, in main agent_attach2()
File "./framework.py", line 1030, in agent_attach2 backdoor_apk() File "./framework.py", line 90, in backdoor_apk backdoor_apk2() File "./framework.py", line 428, in backdoor_apk2 tree.parse(foldername + "/AndroidManifest.xml") File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'Angry Birds_3.3.0./AndroidManifest.xml'
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
It can't build from source with that error message and the same error message when I try and backdoor a APK as last time. On Fri, 2014-01-03 at 18:08 -0800, georgiaw wrote:
Is this backdooring an APK or is this trying to build from source? I just see its trying to build MapsDemo so that should be building from source but you mention backdooring. On Jan 3, 2014, at 7:21 PM, Jethro Inwald notifications@github.com wrote:
The same BUILD FAILED /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90: Cannot find /root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
error persists the stack trace says it's still looking for the android-sdk in /root/.
On Fri, 2014-01-03 at 16:43 -0800, georgiaw wrote:
Can you update your repo and rerun ubuntuinstall. There was a mistake where it wasn't pulling down the right Android SDK. Let me know what errors persist after that change. On Jan 3, 2014, at 6:09 PM, Jethro Inwald notifications@github.com wrote:
Debian Wheezy not Kali. On Fri, 2014-01-03 at 16:08 -0800, georgiaw wrote:
What platform are you using? On Jan 3, 2014, at 6:04 PM, Jethro Inwald notifications@github.com wrote:
Hi when ever I try and build a Agent I get the following error sed: couldn't open file ww<\/string>/: No such file or directory Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter.
Buildfile: /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
BUILD FAILED
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90: Cannot find /root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
It seems to think my android sdk is in /root/ when no where in the config file is /root/ specified also my previous issues with backdooring APKs persists and I have tested it on the APK we discussed as well as angry birds (as a test). It seems to still have issues opening AndroidManifest.xml stack trace bellow:
I: Baksmaling... I: Loading resource table... I: Loaded. I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file: /home/user/apktool/framework/1.apk I: Loaded. I: Regular manifest package... I: Decoding file-resources... I: Decoding values / XMLs... I: Done. I: Copying assets and libs... Traceback (most recent call last): File "./framework.py", line 3577, in main() File "./framework.py", line 58, in main agent_attach2()
File "./framework.py", line 1030, in agent_attach2 backdoor_apk() File "./framework.py", line 90, in backdoor_apk backdoor_apk2() File "./framework.py", line 428, in backdoor_apk2 tree.parse(foldername + "/AndroidManifest.xml") File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'Angry Birds_3.3.0./AndroidManifest.xml'
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
Same error as the one you mention here? On Jan 3, 2014 8:29 PM, "Jethro Inwald" notifications@github.com wrote:
It can't build from source with that error message and the same error message when I try and backdoor a APK as last time. On Fri, 2014-01-03 at 18:08 -0800, georgiaw wrote:
Is this backdooring an APK or is this trying to build from source? I just see its trying to build MapsDemo so that should be building from source but you mention backdooring. On Jan 3, 2014, at 7:21 PM, Jethro Inwald notifications@github.com wrote:
The same BUILD FAILED
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90: Cannot find /root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
error persists the stack trace says it's still looking for the android-sdk in /root/.
On Fri, 2014-01-03 at 16:43 -0800, georgiaw wrote:
Can you update your repo and rerun ubuntuinstall. There was a mistake where it wasn't pulling down the right Android SDK. Let me know what errors persist after that change. On Jan 3, 2014, at 6:09 PM, Jethro Inwald notifications@github.com wrote:
Debian Wheezy not Kali. On Fri, 2014-01-03 at 16:08 -0800, georgiaw wrote:
What platform are you using? On Jan 3, 2014, at 6:04 PM, Jethro Inwald notifications@github.com wrote:
Hi when ever I try and build a Agent I get the following error sed: couldn't open file ww<\/string>/: No such file or directory Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter.
Buildfile: /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
BUILD FAILED
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90: Cannot find /root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
It seems to think my android sdk is in /root/ when no where in the config file is /root/ specified also my previous issues with backdooring APKs persists and I have tested it on the APK we discussed as well as angry birds (as a test). It seems to still have issues opening AndroidManifest.xml stack trace bellow:
I: Baksmaling... I: Loading resource table... I: Loaded. I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file: /home/user/apktool/framework/1.apk I: Loaded. I: Regular manifest package... I: Decoding file-resources... I: Decoding values / XMLs... I: Done. I: Copying assets and libs... Traceback (most recent call last): File "./framework.py", line 3577, in main() File "./framework.py", line 58, in main agent_attach2()
File "./framework.py", line 1030, in agent_attach2 backdoor_apk() File "./framework.py", line 90, in backdoor_apk backdoor_apk2() File "./framework.py", line 428, in backdoor_apk2 tree.parse(foldername + "/AndroidManifest.xml") File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'Angry Birds_3.3.0./AndroidManifest.xml'
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHubhttps://github.com/georgiaw/Smartphone-Pentest-Framework/issues/15#issuecomment-31569194 .
Can you send me the full traces for both errors please? On Jan 3, 2014, at 8:29 PM, Jethro Inwald notifications@github.com wrote:
It can't build from source with that error message and the same error message when I try and backdoor a APK as last time. On Fri, 2014-01-03 at 18:08 -0800, georgiaw wrote:
Is this backdooring an APK or is this trying to build from source? I just see its trying to build MapsDemo so that should be building from source but you mention backdooring. On Jan 3, 2014, at 7:21 PM, Jethro Inwald notifications@github.com wrote:
The same BUILD FAILED /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90: Cannot find /root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
error persists the stack trace says it's still looking for the android-sdk in /root/.
On Fri, 2014-01-03 at 16:43 -0800, georgiaw wrote:
Can you update your repo and rerun ubuntuinstall. There was a mistake where it wasn't pulling down the right Android SDK. Let me know what errors persist after that change. On Jan 3, 2014, at 6:09 PM, Jethro Inwald notifications@github.com wrote:
Debian Wheezy not Kali. On Fri, 2014-01-03 at 16:08 -0800, georgiaw wrote:
What platform are you using? On Jan 3, 2014, at 6:04 PM, Jethro Inwald notifications@github.com wrote:
Hi when ever I try and build a Agent I get the following error sed: couldn't open file ww<\/string>/: No such file or directory Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter.
Buildfile: /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
BUILD FAILED
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90: Cannot find /root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
It seems to think my android sdk is in /root/ when no where in the config file is /root/ specified also my previous issues with backdooring APKs persists and I have tested it on the APK we discussed as well as angry birds (as a test). It seems to still have issues opening AndroidManifest.xml stack trace bellow:
I: Baksmaling... I: Loading resource table... I: Loaded. I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file: /home/user/apktool/framework/1.apk I: Loaded. I: Regular manifest package... I: Decoding file-resources... I: Decoding values / XMLs... I: Done. I: Copying assets and libs... Traceback (most recent call last): File "./framework.py", line 3577, in main() File "./framework.py", line 58, in main agent_attach2()
File "./framework.py", line 1030, in agent_attach2 backdoor_apk() File "./framework.py", line 90, in backdoor_apk backdoor_apk2() File "./framework.py", line 428, in backdoor_apk2 tree.parse(foldername + "/AndroidManifest.xml") File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'Angry Birds_3.3.0./AndroidManifest.xml'
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
For backdooring I get this traceback:
Traceback (most recent call last):
File "./framework.py", line 3578, in
File "./framework.py", line 1031, in agent_attach2
backdoor_apk()
File "./framework.py", line 91, in backdoor_apk
backdoor_apk2()
File "./framework.py", line 429, in backdoor_apk2
tree.parse(foldername + "/AndroidManifest.xml")
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse
source = open(source, "rb")
IOError: [Errno 2] No such file or directory: 'Angry
Birds_3.3.0./AndroidManifest.xml'
and for trying to build a agent I get
sed: couldn't open file ww/<\/string>/: No such file or directory Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter. Buildfile: /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
BUILD FAILED /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90: Cannot find /root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml but not as a stack trace On Fri, 2014-01-03 at 18:30 -0800, georgiaw wrote:
Same error as the one you mention here? On Jan 3, 2014 8:29 PM, "Jethro Inwald" notifications@github.com wrote:
It can't build from source with that error message and the same error message when I try and backdoor a APK as last time. On Fri, 2014-01-03 at 18:08 -0800, georgiaw wrote:
Is this backdooring an APK or is this trying to build from source? I just see its trying to build MapsDemo so that should be building from source but you mention backdooring. On Jan 3, 2014, at 7:21 PM, Jethro Inwald notifications@github.com wrote:
The same BUILD FAILED
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90: Cannot find /root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
error persists the stack trace says it's still looking for the android-sdk in /root/.
On Fri, 2014-01-03 at 16:43 -0800, georgiaw wrote:
Can you update your repo and rerun ubuntuinstall. There was a mistake where it wasn't pulling down the right Android SDK. Let me know what errors persist after that change. On Jan 3, 2014, at 6:09 PM, Jethro Inwald notifications@github.com wrote:
Debian Wheezy not Kali. On Fri, 2014-01-03 at 16:08 -0800, georgiaw wrote:
What platform are you using? On Jan 3, 2014, at 6:04 PM, Jethro Inwald notifications@github.com wrote:
Hi when ever I try and build a Agent I get the following error sed: couldn't open file ww<\/string>/: No such file or directory Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter.
Buildfile: /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
BUILD FAILED
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90: Cannot find /root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
It seems to think my android sdk is in /root/ when no where in the config file is /root/ specified also my previous issues with backdooring APKs persists and I have tested it on the APK we discussed as well as angry birds (as a test). It seems to still have issues opening AndroidManifest.xml stack trace bellow:
I: Baksmaling... I: Loading resource table... I: Loaded. I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file: /home/user/apktool/framework/1.apk I: Loaded. I: Regular manifest package... I: Decoding file-resources... I: Decoding values / XMLs... I: Done. I: Copying assets and libs... Traceback (most recent call last): File "./framework.py", line 3577, in main() File "./framework.py", line 58, in main agent_attach2()
File "./framework.py", line 1030, in agent_attach2 backdoor_apk() File "./framework.py", line 90, in backdoor_apk backdoor_apk2() File "./framework.py", line 428, in backdoor_apk2 tree.parse(foldername + "/AndroidManifest.xml") File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'Angry Birds_3.3.0./AndroidManifest.xml'
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHubhttps://github.com/georgiaw/Smartphone-Pentest-Framework/issues/15#issuecomment-31569194 .
— Reply to this email directly or view it on GitHub.
You are still getting the Android 4 not found even after running the updated Ubuntu installer? Looks like I'll have to make a Debian VM and see what's wrong. On Jan 3, 2014 8:35 PM, "Jethro Inwald" notifications@github.com wrote:
For backdooring I get this traceback: Traceback (most recent call last): File "./framework.py", line 3578, in
main() File "./framework.py", line 59, in main agent_attach2() File "./framework.py", line 1031, in agent_attach2 backdoor_apk() File "./framework.py", line 91, in backdoor_apk backdoor_apk2() File "./framework.py", line 429, in backdoor_apk2 tree.parse(foldername + "/AndroidManifest.xml") File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'Angry Birds_3.3.0./AndroidManifest.xml' and for trying to build a agent I get
sed: couldn't open file ww/<\/string>/: No such file or directory Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter. Buildfile: /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
BUILD FAILED /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90: Cannot find /root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml but not as a stack trace On Fri, 2014-01-03 at 18:30 -0800, georgiaw wrote:
Same error as the one you mention here? On Jan 3, 2014 8:29 PM, "Jethro Inwald" notifications@github.com wrote:
It can't build from source with that error message and the same error message when I try and backdoor a APK as last time. On Fri, 2014-01-03 at 18:08 -0800, georgiaw wrote:
Is this backdooring an APK or is this trying to build from source? I just see its trying to build MapsDemo so that should be building from source but you mention backdooring. On Jan 3, 2014, at 7:21 PM, Jethro Inwald notifications@github.com wrote:
The same BUILD FAILED
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90:
Cannot find
/root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
error persists the stack trace says it's still looking for the android-sdk in /root/.
On Fri, 2014-01-03 at 16:43 -0800, georgiaw wrote:
Can you update your repo and rerun ubuntuinstall. There was a mistake where it wasn't pulling down the right Android SDK. Let me know what errors persist after that change. On Jan 3, 2014, at 6:09 PM, Jethro Inwald notifications@github.com wrote:
Debian Wheezy not Kali. On Fri, 2014-01-03 at 16:08 -0800, georgiaw wrote:
What platform are you using? On Jan 3, 2014, at 6:04 PM, Jethro Inwald notifications@github.com wrote:
Hi when ever I try and build a Agent I get the following error sed: couldn't open file ww<\/string>/: No such file or directory Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter.
Buildfile:
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
BUILD FAILED
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90:
Cannot find
/root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
It seems to think my android sdk is in /root/ when no where in the config file is /root/ specified also my previous issues with backdooring APKs persists and I have tested it on the APK we discussed as well as angry birds (as a test). It seems to still have issues opening AndroidManifest.xml stack trace bellow:
I: Baksmaling... I: Loading resource table... I: Loaded. I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file: /home/user/apktool/framework/1.apk I: Loaded. I: Regular manifest package... I: Decoding file-resources... I: Decoding values / XMLs... I: Done. I: Copying assets and libs... Traceback (most recent call last): File "./framework.py", line 3577, in main() File "./framework.py", line 58, in main agent_attach2()
File "./framework.py", line 1030, in agent_attach2 backdoor_apk() File "./framework.py", line 90, in backdoor_apk backdoor_apk2() File "./framework.py", line 428, in backdoor_apk2 tree.parse(foldername + "/AndroidManifest.xml") File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'Angry Birds_3.3.0./AndroidManifest.xml'
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub< https://github.com/georgiaw/Smartphone-Pentest-Framework/issues/15#issuecomment-31569194>
.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHubhttps://github.com/georgiaw/Smartphone-Pentest-Framework/issues/15#issuecomment-31569310 .
To me it looks like the issue is it is assuming that the android sdk and the manifest file for the backdooring is in /root/ . On Fri, 2014-01-03 at 18:37 -0800, georgiaw wrote:
You are still getting the Android 4 not found even after running the updated Ubuntu installer? Looks like I'll have to make a Debian VM and see what's wrong. On Jan 3, 2014 8:35 PM, "Jethro Inwald" notifications@github.com wrote:
For backdooring I get this traceback: Traceback (most recent call last): File "./framework.py", line 3578, in
main() File "./framework.py", line 59, in main agent_attach2() File "./framework.py", line 1031, in agent_attach2 backdoor_apk() File "./framework.py", line 91, in backdoor_apk backdoor_apk2() File "./framework.py", line 429, in backdoor_apk2 tree.parse(foldername + "/AndroidManifest.xml") File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'Angry Birds_3.3.0./AndroidManifest.xml' and for trying to build a agent I get
sed: couldn't open file ww/<\/string>/: No such file or directory Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter. Buildfile: /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
BUILD FAILED /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90: Cannot find /root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml but not as a stack trace On Fri, 2014-01-03 at 18:30 -0800, georgiaw wrote:
Same error as the one you mention here? On Jan 3, 2014 8:29 PM, "Jethro Inwald" notifications@github.com wrote:
It can't build from source with that error message and the same error message when I try and backdoor a APK as last time. On Fri, 2014-01-03 at 18:08 -0800, georgiaw wrote:
Is this backdooring an APK or is this trying to build from source? I just see its trying to build MapsDemo so that should be building from source but you mention backdooring. On Jan 3, 2014, at 7:21 PM, Jethro Inwald notifications@github.com wrote:
The same BUILD FAILED
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90:
Cannot find
/root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
error persists the stack trace says it's still looking for the android-sdk in /root/.
On Fri, 2014-01-03 at 16:43 -0800, georgiaw wrote:
Can you update your repo and rerun ubuntuinstall. There was a mistake where it wasn't pulling down the right Android SDK. Let me know what errors persist after that change. On Jan 3, 2014, at 6:09 PM, Jethro Inwald notifications@github.com wrote:
Debian Wheezy not Kali. On Fri, 2014-01-03 at 16:08 -0800, georgiaw wrote:
What platform are you using? On Jan 3, 2014, at 6:04 PM, Jethro Inwald notifications@github.com wrote:
Hi when ever I try and build a Agent I get the following error sed: couldn't open file ww<\/string>/: No such file or directory Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter.
Buildfile:
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
BUILD FAILED
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90:
Cannot find
/root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
It seems to think my android sdk is in /root/ when no where in the config file is /root/ specified also my previous issues with backdooring APKs persists and I have tested it on the APK we discussed as well as angry birds (as a test). It seems to still have issues opening AndroidManifest.xml stack trace bellow:
I: Baksmaling... I: Loading resource table... I: Loaded. I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file: /home/user/apktool/framework/1.apk I: Loaded. I: Regular manifest package... I: Decoding file-resources... I: Decoding values / XMLs... I: Done. I: Copying assets and libs... Traceback (most recent call last): File "./framework.py", line 3577, in main() File "./framework.py", line 58, in main agent_attach2()
File "./framework.py", line 1030, in agent_attach2 backdoor_apk() File "./framework.py", line 90, in backdoor_apk backdoor_apk2() File "./framework.py", line 428, in backdoor_apk2 tree.parse(foldername + "/AndroidManifest.xml") File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'Angry Birds_3.3.0./AndroidManifest.xml'
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub<
https://github.com/georgiaw/Smartphone-Pentest-Framework/issues/15#issuecomment-31569194>
.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHubhttps://github.com/georgiaw/Smartphone-Pentest-Framework/issues/15#issuecomment-31569310 .
— Reply to this email directly or view it on GitHub.
Maybe. But I'm more worried about the fact that you don't have the SDK you need. On Jan 3, 2014 8:39 PM, "Jethro Inwald" notifications@github.com wrote:
To me it looks like the issue is it is assuming that the android sdk and the manifest file for the backdooring is in /root/ . On Fri, 2014-01-03 at 18:37 -0800, georgiaw wrote:
You are still getting the Android 4 not found even after running the updated Ubuntu installer? Looks like I'll have to make a Debian VM and see what's wrong. On Jan 3, 2014 8:35 PM, "Jethro Inwald" notifications@github.com wrote:
For backdooring I get this traceback: Traceback (most recent call last): File "./framework.py", line 3578, in
main() File "./framework.py", line 59, in main agent_attach2() File "./framework.py", line 1031, in agent_attach2 backdoor_apk() File "./framework.py", line 91, in backdoor_apk backdoor_apk2() File "./framework.py", line 429, in backdoor_apk2 tree.parse(foldername + "/AndroidManifest.xml") File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'Angry Birds_3.3.0./AndroidManifest.xml' and for trying to build a agent I get
sed: couldn't open file ww/<\/string>/: No such file or directory Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter. Buildfile:
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
BUILD FAILED
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90:
Cannot find
/root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
but not as a stack trace On Fri, 2014-01-03 at 18:30 -0800, georgiaw wrote:
Same error as the one you mention here? On Jan 3, 2014 8:29 PM, "Jethro Inwald" notifications@github.com wrote:
It can't build from source with that error message and the same error message when I try and backdoor a APK as last time. On Fri, 2014-01-03 at 18:08 -0800, georgiaw wrote:
Is this backdooring an APK or is this trying to build from source? I just see its trying to build MapsDemo so that should be building from source but you mention backdooring. On Jan 3, 2014, at 7:21 PM, Jethro Inwald notifications@github.com wrote:
The same BUILD FAILED
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90:
Cannot find
/root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml
imported from
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
error persists the stack trace says it's still looking for the android-sdk in /root/.
On Fri, 2014-01-03 at 16:43 -0800, georgiaw wrote:
Can you update your repo and rerun ubuntuinstall. There was a mistake where it wasn't pulling down the right Android SDK. Let me know what errors persist after that change. On Jan 3, 2014, at 6:09 PM, Jethro Inwald notifications@github.com wrote:
Debian Wheezy not Kali. On Fri, 2014-01-03 at 16:08 -0800, georgiaw wrote:
What platform are you using? On Jan 3, 2014, at 6:04 PM, Jethro Inwald notifications@github.com wrote:
Hi when ever I try and build a Agent I get the following error sed: couldn't open file ww<\/string>/: No such file or directory Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter.
Buildfile:
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
BUILD FAILED
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90:
Cannot find
/root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml
imported from
/pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
It seems to think my android sdk is in /root/ when no where in the config file is /root/ specified also my previous issues with backdooring APKs persists and I have tested it on the APK we discussed as well as angry birds (as a test). It seems to still have issues opening AndroidManifest.xml stack trace bellow:
I: Baksmaling... I: Loading resource table... I: Loaded. I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file: /home/user/apktool/framework/1.apk I: Loaded. I: Regular manifest package... I: Decoding file-resources... I: Decoding values / XMLs... I: Done. I: Copying assets and libs... Traceback (most recent call last): File "./framework.py", line 3577, in main() File "./framework.py", line 58, in main agent_attach2()
File "./framework.py", line 1030, in agent_attach2 backdoor_apk() File "./framework.py", line 90, in backdoor_apk backdoor_apk2() File "./framework.py", line 428, in backdoor_apk2 tree.parse(foldername + "/AndroidManifest.xml") File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'Angry Birds_3.3.0./AndroidManifest.xml'
Reply to this email directly or view it on GitHub.
Reply to this email directly or view it on GitHub.
Reply to this email directly or view it on GitHub.
Reply to this email directly or view it on GitHub.
Reply to this email directly or view it on GitHub.
Reply to this email directly or view it on GitHub.
Reply to this email directly or view it on GitHub<
https://github.com/georgiaw/Smartphone-Pentest-Framework/issues/15#issuecomment-31569194>
.
Reply to this email directly or view it on GitHub.
Reply to this email directly or view it on GitHub< https://github.com/georgiaw/Smartphone-Pentest-Framework/issues/15#issuecomment-31569310>
.
Reply to this email directly or view it on GitHub.
Reply to this email directly or view it on GitHubhttps://github.com/georgiaw/Smartphone-Pentest-Framework/issues/15#issuecomment-31569394 .
Had a similar problem. Changed the config file to reflect where the android-sdk is stored. Since my OS was 64 bit I also had to install ia32-libs so that some of the android-sdk files were recognized correctly.
seems like the only real solution for this one is for me to build better installers. Will endeavor to do so.
I fixed that issue by running the framework from /root/ even though that is not my user directory on the machine so it looks like even if I am specifying a different directory to the framework in the config file it looks there. But I found another issue:
Traceback (most recent call last):
File "./framework.py", line 3369, in
File "./framework.py", line 697, in agent_attach2
backdoor_apk()
File "./framework.py", line 387, in backdoor_apk
backdoor_srcmethod()
File "./framework.py", line 102, in backdoor_srcmethod
tree.parse(foldername + "/AndroidManifest.xml")
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse
source = open(source, "rb")
IOError: [Errno 2] No such file or directory: '
It looks like you are appending a ./ to AndroidManifest.xml when it should be /AndroidManifest.xml also when I try access the key gen menu and generate a master key for app signing I get this error:
Traceback (most recent call last):
File "./framework1.py", line 3369, in
File "./framework1.py", line 701, in agent_attach2
key_maker()
NameError: global name 'key_maker' is not defined
Looks like a scope issue based on the error.
hello i have some problem like you but i use kali linux i have no idea what to do ,please help Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter
Hello,
I have the same problem, Target id 'Google Inc.:Google APIs:4' is not valid. I use Ubuntu 14.04. Please help. Thanks, Tuan
Output:
Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter. Buildfile: /root/Smartphone-Pentest-Framework/FrameworkAndroidApp/build.xml
BUILD FAILED /root/Smartphone-Pentest-Framework/FrameworkAndroidApp/build.xml:90: Cannot find /root/adt-bundle-linux-x86-20131030/sdk/tools/ant/build.xml imported from /root/Smartphone-Pentest-Framework/FrameworkAndroidApp/build.xml
Total time: 0 seconds
Hi when ever I try and build a Agent I get the following error sed: couldn't open file ww<\/string>/: No such file or directory Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: Target id 'Google Inc.:Google APIs:4' is not valid. Use 'android list targets' to get the target ids. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. It seems that there are sub-projects. If you want to update them please use the --subprojects parameter. Buildfile: /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
BUILD FAILED /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml:90: Cannot find /root/Smartphone-Pentest-Framework/android-sdk-linux/tools/ant/build.xml imported from /pentest/mobile/Smartphone-Pentest-Framework/AgentTemplates/MapsDemo/build.xml
It seems to think my android sdk is in /root/ when no where in the config file is /root/ specified also my previous issues with backdooring APKs persists and I have tested it on the APK we discussed as well as angry birds (as a test). It seems to still have issues opening AndroidManifest.xml stack trace bellow:
I: Baksmaling... I: Loading resource table... I: Loaded. I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file: /home/user/apktool/framework/1.apk I: Loaded. I: Regular manifest package... I: Decoding file-resources... I: Decoding values / XMLs... I: Done. I: Copying assets and libs... Traceback (most recent call last): File "./framework.py", line 3577, in
main()
File "./framework.py", line 58, in main
agent_attach2()
File "./framework.py", line 1030, in agent_attach2 backdoor_apk() File "./framework.py", line 90, in backdoor_apk backdoor_apk2() File "./framework.py", line 428, in backdoor_apk2 tree.parse(foldername + "/AndroidManifest.xml") File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'Angry Birds_3.3.0./AndroidManifest.xml'