Skip to main content

Posts

Showing posts from February, 2019

Analyse Battery Usage using Battery Historian Tool in Android Phones

Battery Historian: Battery Historian is a tool to inspect battery related information and events on an Android device running Android 5.0 Lollipop (API level 21) and later, while the device was not plugged in. Battery Historian Tool: Ideally you should be hosting this tool in local server, since that takes time we can use this tool freely available online https://bathist.ef.lc/ Steps to do before taking battery logs: To reset the existing battery logs for a phone adb shell dumpsys batterystats --reset Now use the application which you want to take the battery analytics. After you reach the desired time you can connect the phone to your PC to take the Bug Report file. Command to use: For devices Android 7.0 & higher $ adb bugreport bugreport.zip For devices Android 6.0 & lower $ adb bugreport > bugreport.txt Start Analyzing now Open  https://bathist.ef.lc/ Upload the bugreport.txt Filter the app using the package name to get ...

Localhost is not intercepted by Burp Suite

To set your burp suite proxy to listen to your locahost you need to follow the steps mentioned below Go to Menu -> Options Navigate to 'Network Settings' Click on 'Settings' Set Manual configuration as shown in the image below Also Remove all the entries in 'No Proxy for' window (highlighted)

Docker Basic Commands

Source link https://docs.docker.com/get-started/ Docker commands (Basic) docker info  - To know all information on the docker setup docker images or docker image ls - List all images docker container ls - List all the running containers docker container ls --all - List all containers irrespective of its status docker --version - List docker version docker run --rm -it -p 80:80 vulnerables/web-dvwa - To run a docker app The list will Grow...

Run DVWA in a docker environment

DVWA is a Damn Vulnerable Web Application created for users to use (exploit) while learning web security testing. Requirement: Docker installed in your system Steps to install the DVWA app in Docker: Launch Docker Run 'docker pull vulnerables/web-dvwa' (To pull the DVWA file from Docker Hub) Once pull succeeds, Run the command 'docker run --rm -it -p 80:80 vulnerables/web-dvwa' Now your DVWA app is running in docker which can be accessed by 'localhost:80' or '127.0.0.1:80' Hit the URL to open the DVWA app in your browser   Just click on the Create / Reset database button and it will generate any additional configuration needed. Login with default credentials To login you can use the following credentials: Username : admin Password : password Set the difficulty level The default difficulty level is the impossible level, you can change it in DVWA Security item in the left menu. Happy Hacking!