kar1o / asef Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/asef
Automatically exported from code.google.com/p/asef
Please place this framework inside Android SDK only if you are going to use virtual device for running test, if not it will work from any path on a machine. (e.g. path to place ASEF : /Users/someuser/Downloads/android-sdk-macosx/ASEF ) adb, aapt and emulator are available from Google's Android SDK and packaged along with this framework as standalone utilities. This Framework is currently supported on OS X and Ubuntu. apkeval.pl is the core program of this framework $ ./apkeval.pl " Welcome to ApkEval ! " -h Help -a "path of an APK file you want to scan" -p "path of a directory of APK files you want to scan" -d "scan an Android Device you have attached with the machine running ASEF" -s "select the scan device to be the device id listed in configurator file" -e "extensive scan mode where it will collect kernel logs, memory dump, running process at each stage" It requires perl to be installed on the machine if it is not installed already. (preferably perl 5 version 12 or higher) Along with that, it also uses following modules which may need to be installed if not present. Getopt::Std; URI::Find; URI::Encode Please download Android SDK, install preferable API level and create an Android Virtual Device and provide it's name to Configurator.txt in order to run tests on it. If you want to take a route of running a tests on a physical android device, you may skip the above step of creating a virtual device and simply use this Framework as standalone. Please create a Google Safe Browsing Key and provide it to Configurator to run a Safe Browsing Check on accessed servers. Provide all the required details in Configurator.txt file in order for apkeval.pl to run all tests. Run this framework, logged in as a user which has enough previlages to run tcpdump and all kill processes launched during tests as a session cleanup. While selecting -d mode to test your android device, please enable 'USB debugging mode' before connecting.
Errors during device scanning
I tried to scan my device but only I get that:
ASEF ==> Running a configurator for ASEF .............
Using default AVD =
Using Google Safe Browsing API key = ABQIAAAAo85Inuxqqg6th2Wo1234yxR6oJp44IDGFsHRDnasTNl3gDmneG
Using packet capturing tool 'tcpdump' on 158.42.55.55 at interface eth0
Found an android scan device listed in the configurator file :- HT08WPY07480
Tm is set to be 10 seconds
Will send 75 number of gestures to each app inside the activity mode of a test cycle
Calling a converter module :-
Inside converter module
Print local path for :-
./aapt: 1: ./aapt: Syntax error: "(" unexpected
Calling Organizer module to organize test results
Inside Organizer
---- Creating the master TEST RESULT DIRECTORY :- TEST_02_20_13-13:37:38 ----
1) TEST_02_20_13-13:37:38/""mkdir: no se puede crear el directorio
«TEST_02_20_13-13:37:38/»: El archivo ya existe
Done creating the Test result hierarchy .......
./adb: 1: ./adb: Syntax error: ")" unexpected
scanning device not found / couldn't detect ... going to exit now... please reconnect the scanning device and start the tool again...
Any ideas why I can't scan my device?
Thanks!!
Original issue reported on code.google.com by [email protected]
on 20 Feb 2013 at 12:40
when the android sdk is correctly installed, no absolut paths are required.
Also i got in trouble using your provided adb.
a patch is attached!
Original issue reported on code.google.com by [email protected]
on 3 Aug 2012 at 8:29
Attachments:
What steps will reproduce the problem?
1. Run ASEF on an APK which uses a CAPTCHA to allow access
What is the expected output? What do you see instead?
If the application is sending user data to a malicious user (on the google
unsafe list lets say) unknown to the user one would like to know of it. But
since there is a CAPTCHA step before the malicious activity begins ASEF would
not even get into the functionality of the application leave alone the stealth
malicious activity.
What version of the product are you using? On what operating system?
ASEF running on Ubuntu 12.04.1 LTS 32 bit.
Please provide any additional information below.
Try it with the prankdial apk available at http://www.prankdial.com/mob/
Original issue reported on code.google.com by [email protected]
on 20 Sep 2012 at 7:02
Sorry, to post this one on this space.
I tried compiling ASEF on both Mac & Linux. Perl5 installed in Linux(debian)
but seems I need list of PERL dependency files.
Error:
root@lime:/home/lime/android-sdk-linux/ASEF_OSP# ./apkeval.pl -d
Can't locate URI/Encode.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl .) at ./apkeval.pl line 7.
BEGIN failed--compilation aborted at ./apkeval.pl line 7.
root@lime:/home/lime/android-sdk-linux/ASEF_OSP#
Original issue reported on code.google.com by [email protected]
on 25 Sep 2012 at 8:53
What steps will reproduce the problem?
1. ./apkeval.pl
What is the expected output? What do you see instead?
Can't locate URI/Find.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
/usr/local/lib/site_perl .) at apkeval.pl line 6.
BEGIN failed--compilation aborted at apkeval.pl line 6.
What version of the product are you using? On what operating system?
1.ASEF_OSP.zip
2.ubuntu12.10
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 11 Apr 2013 at 4:00
What steps will reproduce the problem?
1. there are errors in the Encode.pm
2. After starting the adb server it doesn't read the applications from the
attached physical phone
3. the interface is an issue, we don't know what to enter in it
What is the expected output? What do you see instead?
running of the adb server, scheduling packages from the phone
What version of the product are you using? On what operating system?
Perl , cmd , Windows 8.1
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 3 Apr 2015 at 11:14
What steps will reproduce the problem?
1. at scanning
2.
3.
What is the expected output? What do you see instead?
server should start
What version of the product are you using? On what operating system?
ubuntu 12.04 32 bit
Please provide any additional information below.
Am getting following problem during scan time
./adb: 1: ./adb: Syntax error: ")" unexpected
./adb: 1: ./adb: Syntax error: ")" unexpected
./adb: 1: ./adb: Syntax error: ")" unexpected
./adb: 1: ./adb: Syntax error: ")" unexpected
will you please solve my problem..
Original issue reported on code.google.com by [email protected]
on 4 Feb 2014 at 9:15
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.