Skip to main content

Posts

Deploy your portfolio site from GitHub using Netlify

Prerequisite: You must have a github account Create project and clone to your local Create a github project in github.com Clone your code from github cloud to local git clone https://username:password@github.com/alexjohn/project1.git Git init Make changes to your code Git add .  Git commit -m "commit message" Git push origin master Above steps will make you push your local changes to github cloud Log in to your Netlify account & Click New site from Git Step 1 Step 2 Select your repository and publish your site You will be given a random generated URL from Netlify. You can update the replace the URL with  your custom domain name To map your custom domain name to Netlify site Add a A record to your domain in your domain registrar site (godaddy/namecheap) A record Host @ IP Address: 104.198.14.52 If your DNS provider does  not  support CNAME-style resolution for apex domains , you must con...
Recent posts

Install Kali Linux - Right from creating bootable USB drive to resolve wifi not connected issue post Kali installation

Install Kali Linux as Dual boot mode in Windows Table of Contents Create a bootable USB pendrive Set up partition for Kali OS using Kali Live Configure bootloader in BIOS Resolve Unable to Locate packages issue Resolve Wifi not working in Kali issue Resolve Bluetooth not working in Kali issue Create a bootable USB pen drive Download the following files Download Kali ISO Download Rufus Open Rufus exe as Administrator Select the USB drive location Select the Kali ISO image Set Volume name - any name Click Start and set write mode as "DD" not "ISO" mode to avoid any installation error Now your bootable USB drive is ready Set up partition for Kali OS using Kali Live You can use kali linux as live mode when you don't want to have a persistent install in your system. I would like to install it my PC in dual boot mode, So i can use GRUB bootloader to load kali or windows during system start To install kali linux in your system, ...

Create Google Account Using your work email ID

Google allows user to create a google account using any work email ID Visit this URL https://support.google.com/accounts/answer/27441?hl=en Click on 'Create a Google Account' shown in Step 1 Enter first name, last name and desired email name And click on "Use my current email address instead" Now you should be able to create a google account using work email.

Build a web app and deploy it in GCP - Important links

Steps to create a sample portfolio website using express js and Docker ( https://medium.com/@jainishshah17/create-build-package-and-deploy-portfolio-website-using-express-js-and-docker-6e7b490a0f3e ) Steps to deploy a containerized web application ( https://cloud.google.com/kubernetes-engine/docs/tutorials/hello-app ) Steps to add DNS for the deployed web application ( https://cloud.google.com/dns/docs/quickstart ) Steps to add DNS details to the Domain Registrar ( https://cloud.google.com/dns/docs/update-name-servers ) Steps to add https certs for the application

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...