Recursively resizing all the images in a folder and inside sub-folders using the Terminal

Recently, I had to resize about 1000’s of JPG pictures that were given to me which were HUGE in size about 10MB each pic to be converted/resized for the web. I realized that I had to use my Terminal Hackery to solve this issue. I quickly installed “imagemagick”, which can be installed in OSX by […]

Creating a new WordPress installation in Digital Ocean

First things first, we go the the domain access admin panel, and then click on the manage dns, and then once the manage DNS has been clicked, add custom nameservers. In the custom nameservers, we will add the following : ns1.digitalocean.comns2.digitalocean.comns3.digitalocean.com Once this process is done, go to the digital ocean control panel and then […]

Some quick MySQL commands for database creation ( For WordPress & Rails )

Some systems like Ubuntu, mysql is using by default the UNIX auth_socket plugin. Basically means that: db_users using it, will be “auth” by the system user credentias. You can see if your root user is set up like this by doing the following: As you can see in the query, the root user is using the auth_socket plugin There are 2 ways to solve this: […]

Manali – The journey to inner peace.

Recently I got the chance to travel to the lovely place of Manali, Himachal with my three closest buddies and what I felt in that period was pure bliss. The amazing and beautiful landscapes mesmerizes everyone who visits it.
This video is an amalgamation of my three days there where I tried capturing whatever I could. I hope that you enjoy this video as much as I enjoyed making it.

If you liked the video, please like, share and subscribe. It really means a lot and gives me motivation to make more such videos.

Equipment used:

Camera: Canon 1DX Mark ii

Lens :
Canon 16-35mm f4
Sigma 24-70 f2.8

Gimbal :
Zhiyun Crane 2

Inception – HackTheBox Walkthrough.

Lets do a Nmap Scan : [ruby-2.3.0] Desktop ツ nmap -sC -sV 10.10.10.67 Starting Nmap 7.50 ( https://nmap.org ) at 2018-02-12 13:00 IST Nmap scan report for 10.10.10.67 Host is up (0.23s latency). Not shown: 998 filtered ports PORT STATE SERVICE VERSION 80/tcp open http Apache httpd 2.4.18 ((Ubuntu)) |_http-server-header: Apache/2.4.18 (Ubuntu) |_http-title: Inception 3128/tcp […]

Chatterbox – HackTheBox Writeup

So first things first, lets nmap it: root@Kali:~/Documents/pentests/HTB/Chatterbox# nmap -v -T5 -p 9000-9999 -oA nmap 10.10.10.74 Starting Nmap 7.60 ( https://nmap.org ) at 2018-02-14 07:30 EST Initiating Ping Scan at 07:30 Scanning 10.10.10.74 [4 ports] Completed Ping Scan at 07:30, 0.45s elapsed (1 total hosts) Initiating Parallel DNS resolution of 1 host. at 07:30 Completed […]