How to install missing PHP Extensions in cPanel/WHM

PHP is one of the most used server side programming language. Mostly PHP becomes the reason for a website to become slow, for that reason PHP is a modular language and all the PHP modules/extensions are not installed by default so that it can be as light weight as possible. Now different kind of applications have their own customized needs that are not included in default PHP installation, so you need to install those missing php extensions for your application to behave normally. In this article we will see how to install missing PHP extensions in cPanel/WHM.

Most web hosting companies or even individual uses cPanel/WHM to control their web server behavior and for ease of use, but cPanel does not install all the extension that may be required to run a PHP application.

Continue reading…


How to move Website + Database from cPanel to vestaCP!

In our previous article, we explained how to use vestaCP and explored some of its features. If you haven’t already read the article you can go and read at cPanel Alternative: VestCP. But if you already have an idea on how to use vestCP than its fine to continue with this article. In this article, we will see how to move website + database from cpanel to vestaCP server.  So let’s dive into it.

Step 1: Compress website data and download database!

The first step of the transfer begins with obtaining your data from cPanel server. Log in to your cPanel account and open File manager.
Continue reading…


How to install ModSecurity (mod_security) in apache web server on Ubuntu!

ModSecurity is one of the best web application level firewall, it can stop most of the common web attacks before even they reach your web application. If your website is vulnerable to an XSS attack, and ModSecurity is installed in your server than it can easily prevent that attack from reaching your web application, that does not means you should stop securing your web application, but its another layer of security for your web applications. In this article we will see how to install modsecurity in apache server.

We will manually compile it from source, so that we can have all the options available for us to modify and make good use of modsecurity.
Continue reading…


How to hack WordPress through plugins!

Word press is one of the most used blogging platforms, and word press core (word press without plugins) is pretty much secure already. As word press is a blogging platform we need additional plugins to extend its functionalities, there are many plugins available to even completely change your word press installation to an e-commerce site. But even the word press blogs needs a plugin to make good use of WordPress installation.

Most people use plugins:

  • To fix their search engine optimization.
  • Take WordPress Backups
  • Track Visitors
  • … and a lot more!

Continue reading…


How to backup and transfer a Proxmox VM to another Proxmox Node

Moving proxmox virtual machines between different servers became very easy with recent proxmox updates. You can use proxmox web GUI or command line interface to create a proxmox virtual machine backup and than move to a remove server. In this article we will see how to backup and transfer a proxmox vm to another proxmox node, both using GUI and command line.

Step 1: Enable your disk to store backups

Normally your hardisk is enabled to be used for:

  • Disk Image
  • Iso Image
  • Container Template
  • Container

Continue reading…


How to use sqlmap to hack a website through SQL Injection!

Disclaimer: This article is only for educational purposes, please only perform this penetration test on the site you are authorized to pen test.

I know this method has been discussed alot many times already on many blogs and sites, but still I would want to explain it a little differently. Tools or softwares that you need to perform this tests are listed below:

  • Kali Linux
  • sqlmap (Already installed in Kali Linux)
  • Burp Proxy  (Already installed in Kali Linux)

Use Burp Proxy to Intercept HTTP Traffic!

If you have Kali linux installed in Virtual machine or your computer, than most probably sqlmap and Burp proxy will be there.
Continue reading…


How to install Nginx, PHP, PHP-FPM and MYSQL from source to run a wordpress site on Ubuntu 16.04

Many Linux package managers have built in packages for nginx, php and mysql, they are good if you have less experience with Linux, but installing from source will give you more control our installation locations, settings and much more. So today we will see how we can install Nginx and PHP-FPM (from source) and mysql from the package manager and finally run the word press site. I am going to use Ubuntu 16.04 server distribution.

Step 1: Download and install Nginx!

The first thing we are going to do is install our web server (Nginx). I am going to put all the downloads in one separate folder so that we can keep things organized.
Continue reading…


How to create Windows VPS in Proxmox through Template!

Manually creating a windows vps (windows server 2008 or windows server 2012) is really a hectic job in proxmox, because you need to manually install drivers as well. I’ve been working with proxmox lately and created some templates so that one can easily clone them. Once the template is cloned it is ready to use.

Let see how we can create windows vps in proxmox through a clone.

Continue reading…


cPanel Alternative: VestCP! Complete guide on how to install and use vesta cp

Recently I’ve stumbled upon a very beautiful control panel while installing it for a client, by beautifull, I mean its actually is really beautifully designed and very easy to use as well. Control panel name is VestCP its a grest alternative to cPanel (cPanel costs $15/month for a VPS), since most of the VestCP features are free to use, you can look at their site here.

Features that comes with Vesta CP

  • Apache
  • Nginx
  • Mail Server
  • Pre installed firewall and fail2ban
  • FTP
  • DNS

You can easily install all these features with just one command, today we will see how we can install Vesta CP on a fresh Cent OS installation and use it to host a website.

Continue reading…