TwitterRSS Feed

Esc.sh

Random notes from an Engineer

Create your own Simple Port Scanner using Python

Go HERE [https://github.com/MansoorMajeed/simple-portscanner]
Mansoor A
Mansoor A
1 min read

How to set up the sources.lst on Kali Linux 2.0

If during the installation of Kali Linux 2.0, you have chose to not use any network mirrors, chances are you  will be using a pretty basic version of the sources.lst file. For those of you don't know, sources.lst file determines the software repositories from where you can install packages using "apt". If you have a minimal version of "sources.lst", you won't be able to install many of the packages. For example, if you try to install "htop", you will get an error saying "package not found". Foll
Mansoor A
Mansoor A
1 min read

How To Backup All Databases in MySQL [ Script ]

Hello Guys, This is a simple bash script I wrote to dump all the databases ( excluding information_schema and mysql. I thought I'd share it with you. Someone might find it useful, others might find it silly 😀 But, anyway, here it is #!/bin/bash # Checking if the /root/.my.cnf file exists or not if [[ ! -f /root/.my.cnf ]] then echo "/root/.my.cnf does not exist" echo "Did not dump any db. Exiting" exit fi dbs=$(mysql -e "SHOW DATABASES" | sed '1d') mkdir -p dumped_
Mansoor A
Mansoor A
1 min read

How to fix "Missing parameter in configuration file. Keyword: path" in Ubuntu

There is no point in talking much about it. You're probably trying to get your Ubuntu live USB to work. Let's get to the point. If you have just created a Live USB for Ubuntu ( 14.04/14.10/15.04/15.10 ) and while booting from the USB, you're getting this error "Missing parameter in configuration file. Keyword: path..". You have come to the right place, The fix is insanely simple. You just press the "Tab" key, and then type "live" and then press enter. Voila, your USB should boot now. Weird hu
Mansoor A
Mansoor A
1 min read

How to install and use Google Chrome on Kali Linux 2.0

Kali Linux 2.0 is here, which most of us love already. Also, we love Google Chrome, but these two ( Kali Linux 2.0 and Google chrome ) does not work well ( except when you do it right ). Today I will show you how to properly install google chrome on Kali Linux. There is a video tutorial on how to do this. > Update: Kali Linux is now a rolling release, meaning there is no specific version releases for the operating system, If you are already using the rolling, you might want to setup your sourc
Mansoor A
Mansoor A
3 min read

Hacking a Linux server by exploiting the FTP server ( Proftpd )

The vulnerability in the mod_copy module of Proftpd was disclosed a couple months back. Most servers using Proftp are still vulnerable to attacks as they're using older versions of the software. If you're using Proftpd version 1.3.5 or before, your server is vulnerable and it's just a matter of time before someone takes advantage of that vulnerability. So, I thought I'd do a write up about the same, including a demonstration of how easy and terrifying the situation is. Who all are affected? Any
Mansoor A
Mansoor A
3 min read

How to install and setup Tor on Kali Linux 2.0

I've been using Kali Linux 2.0 for a couple of weeks and one thing I missed from the default install was the tor browser. As it turns out, Kali does not come pre-installed with tor. But fear not, I'll help you in setting up tor in your Kali desktop. Trust me, it's easier than you think. I'm pretty sure that you know what tor is and what is it used for, otherwise you wouldn't be here reading how to install it on Kali, eh? 😉 Step 1: Installing Tor There are several ways you can install tor, the
Mansoor A
Mansoor A
1 min read

How to install Cyanogenmod 12.1 (Android 5.1) on Moto E 2015 3G

If you're reading this, that probably means you know what Cyanogenmod is and you want to install it in your Moto E. There is no point in writing something up about CM and how great it is, which you're not gonna read anyway. So, let's get started. Which Device? Motorola Moto E Second Generation, 3G variant, Code name: Otus. XT1506. This post is about the 3G variant, and not the 4G one. Disclaimer I'm not responsible for whatever happens to your device by you following the instructions mentioned
Mansoor A
Mansoor A
2 min read

How To Setup XAMPP (LAMP) In Centos 7

This is still confusing for so many people. They just started to use Linux and they get confused when told about LAMP instead of XAMPP. Let me explain this to you. LAMP stands for Linux Apache MySQL and PHP. ie, it is a stack of Apache, MySQL, and PHP in a Linux environment. Now, what is XAMPP? Well, it is something similar, but it's like an all in one package, you get a lot of things ( that includes those packages you need and you don't need ) For example, the XAMPP version 1.83 has the follo
Mansoor A
Mansoor A
3 min read

How To Install TWRP and Root Motorola Moto E 2nd Gen 3G version

If you wanted to root your Motorola Moto E 2nd Generation ( 3G version / Moto E 2015 / XT1506), you came to the right place. Let's get started Things You need: 1. Motorola Moto E Second Gen ( Codename: Otus ) with unlocked bootloader. If you don't have an unlocked bootloader, goHERE [http://digitz.org/blog/unlock-bootloader-moto-ubuntu-mint/] 2. If you're using Linux, skip this step.  Windows users download mfastboot, and extract the contents:=>HERE: mfastboot-v2.zip [/blog/d
Mansoor A
Mansoor A
2 min read

How to unlock bootloader of Motorola Devices Using Ubuntu/Linux Mint

Bootloader is the code that boots up your phone's operating system. In order for you to use custom operating systems ( or as said in case of Android devices - custom ROMs ) you need to have an unlocked bootloader. Why? Well, because your phone's manufacture has locked down your phone so that no operating system other than that are signed by the manufacture can be loaded. Today, I will show you how to unlock your bootloader in your Motorola device using a Linux desktop (preferably Ubuntu or Linu
Mansoor A
Mansoor A
1 min read

Unity is not displaying the dash or window borders?

This happens sometimes. Unity does not load at all. All you can see in your ubuntu desktop  wallpaper ( Ubuntu 14.04/15.04, or whatever version that is using unity). If you use any keyboard shortcuts to open up a window, like terminal, you won't see any window border. This happens because the unity plugin is not enabled in compiz. Fixing this is an easy task. Here is how you could fix it First of all, you need a terminal to type in some commands. For that, try Ctrl+Alt+T. In most cases, a termi
Mansoor A
Mansoor A
1 min read