Category: Miscellaneous

OSCP Review – Proctored Version

OSCP Review – Proctored Version

About Me: I am motivated IT professional with 14 years of experience in the IT industry. During the initial days of my career I worked as a programmer. After some time I got interested...

Rotate your video with ffmpeg

Rotate your video with ffmpeg

You might run into an issue with the orientation on your videos at times and yeah it is super easy to rotate your video with a free and open source utility ffmpeg. Here is...

Cut Video file with ffmpeg

Cut Video file with ffmpeg

FFMPEG is an open source and really powerful audio/video processor. You can do a lot of different things with ffmpeg. One of which is to cut video. Below are some examples to see how...

WordPress Admin Security

WordPress Admin Security

Yeah there are a lot of script kiddies out there scanning word press sites and brute forcing word press admin logins. There are ways you can limit access to the wordpress admin panel from...

Installing newer or multiple version of python on Centos

Installing newer or multiple version of python on Centos

I stumbled across this situation where I needed to install python  > 2.7 on Centos. Yum breaks if you upgrade the system python as yum relies on python 2.6 . So the only way...

Resize Partition with parted

Resize Partition with parted

If you ever wanted to resize a partition to grow unfilled space, you can use parted to grow the partition size. parted /dev/sdx or parted /dev/mmcblk0print Now note the size of the disk and...

Samba Share Fedora 20

Samba Share Fedora 20

Install required packages : yum install samba samba-common samba-client cups-lib system-config-samba Make a shared Directory : In my case, I did mount an external hard drive at /mnt/usbDrive , which I wanted to be...

Mounting NTFS Filesystem

Mounting NTFS Filesystem

NTFS filesystem can be mounted on Linux systems by installing a kernel module that supports NTFS filesystem. A packate ntfs-3g can be used to installed such a module and ntfs utilities. yum install ntfs-3g...

Chrooting Users with SFTP

Chrooting Users with SFTP

Prerequisite : OpenSSH 4.9p1 or newer is required, you can verify with the following command : Note : User can be added with /bin/false or /bin/bash if you want to allow shell access ,...

Iptables initial Configuration

Iptables initial Configuration

# Iptables Configuration*filter:INPUT ACCEPT [0:0]:FORWARD ACCEPT [0:0]:OUTPUT ACCEPT [0:0]#Block all other hackers and hacking attempts or exclusive block here -A INPUT –s x.x.x.x –j DROP # Reject packets from RFC1918 class networks on your...