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

Getting to Know Systemd : Ubuntu 15.04+ / Centos 7+, How to manage your system using systemd

Well, systemd is here. But, why should you care? If you're going to use ubuntu 15.04+ or Centos 7, you're gonna need systemd. Because these operating systems use systemd rather than init. Before we get into how to use systemd, we should have a basic idea about what it is. Systemd is a suite of daemons, libraries and utilities designed as a central management and configuration platform for the Linux computer operating system. There is a reason why you're here, either you want to Learn about syste
Mansoor A
Mansoor A
2 min read

Setting up Apache, MySQL, PHP ( LAMP) in Elementary OS, Ubuntu 14.04, 14.10, 15.04

I'm gonna jump right into the "how to" part, cuz I know you are not gonna read the rest of it. So, LAMP? * L - Linux * A - Apache * M - MySQL * P - PHP How to set it up in your local machine or VPS running Ubuntu 14.04 or other derivatives like Elementary OS ( my favorite ). Well, here is how you will do it. sudo apt-get update # Install Apache sudo apt-get install apache2 # Install MySQL # Please note that this will ask you to setup a root password. Set up a strong one. # If you ar
Mansoor A
Mansoor A
1 min read

Weevely 3 - The Tiny Yet Dangerous PHP Shell

> DISCLAIMER: Whatever discussed here is for educational purposes and to protect yourselves from such attacks. I'm in no way responsible for whatever damage you cause to anyone or anything by following the things discussed here. Weevely? Weevely is a php backdoor generator. One of the cool thing ( or should I say troubling thing - from a sysadmin's perspective ) about it is that, it is not detected by most of the malware scanners ( To be honest, I scanned such a shell using virus total, and no
Mansoor A
Mansoor A
4 min read
HomePage

SQL Injection simplified

SQL injection, we have all heard of it. Some of you might have even tried to inject SQL into a vulnerable website. But, most people still don't know what exactly it is. So, today, I'm going to explain to you guys and girls what exactly is SQL injection. This is a simple explanation of what SQL injection actually means and how SQLi works. This is not a post about how to hack websites using SQL injection, but it's about understanding the concepts and by that, you may or may not be able to conduct
Mansoor A
Mansoor A
7 min read

How To install and use tor in centos 7

> Note: This is an old post. Today, I'll help you guys to install and use tor in your centos 7 machine. This method works with other versions of centos or fedora too. Here's how you will do it. We have to add the repository to install tor. For that, we need to create a new repo file in the yum.repos.d folder. For that, issue the following command (Please note that you need to be root to edit this file) sudo gedit /etc/yum.repos.d/torproject.repo Now, paste the following text into that file
Mansoor A
Mansoor A
1 min read