In order to be able to test the security of a mobile application, the first step is obviously to have the application itself available in your security testing environment.
Getting an .apk is the first step in this test. This article is an easy step-by-step tutorial to retrieve any .apk locally from an Android device.
Prepare your testing environment As a first step, you should configure your local env to be able to connect to your Android device.
You’ve installed a new MacOS version but suddently you lost git with the following error :
$ git --version xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun No need to reinstall git or look that way, it’s an issue with Xcode that contains Apple developper tools. You need to reinstall it with the following command :
xcode-select --install Now you can go for a cup of coffee (or take a nap), this is quite long but it will solve your problem.
When using SQL as a database, developpers often need to select only a subset of data from a query not starting at the first element returned by the query. For that, there is the LIMIT … OFFSET feature that can be used. Most of the time it’s used for pagination or handling data by batch.
You should not use that design pattern as this is not scalable if you have quite a lot of data.
When creating a website, developers have to take care of assets size as those can impact negatively your website performances. It will make your website slow for your visitors especially if they connect through a slow mobile carrier.
Fortunately there are easy ways to optimize your image assets with the following on Mac. To do so, you need to navigate to the directory where your image are located and then launch the following commands to optimize them.