Author: sudoimraan
How to redirect HTTP to HTTPS Using .htaccess
Chrome and Firefox have started showing insecure warnings on sites without SSL certificates. Without SSL, your website will show insecure to the visitors. Therefore, using an SSL-encrypted connection for safety, accessibility or PCI compliance reasons is necessary. It becomes very important to […]
php-fpmpal.sh script for webserver performance tuning
If you using php-fpm, I would recommend running the following bash script which will give you some vital info on tuning php-fpm: #! /bin/bash ### Switches function usage() { echo echo “Usage: php-fpmpal.sh [OPTION]” echo echo “Arguments:” echo ” -MB [VALUE] Specify […]
Apache2buddy
What if I told you there is a Perl script that will comb through your Apache setup and report back crucial improvements that can be made to your configuration? The script is apache2buddy.pl (a fork of apachebuddy), and it can do more for your […]
How to Install Python 3.7
Step 1 – Requirements This Python installation required GCC compiler on your system. Login to your server using ssh or shell access. Now, use the following command to install prerequisites for Python before installing it. yum install gcc openssl-devel bzip2-devel libffi-devel Step […]
How to Read Linux Iostat’s Output and Interpret System Performance
Source : https://www.xaprb.com/blog/2010/01/09/how-linux-iostat-computes-its-results/ The primary tool for inspecting Linux disk performance is iostat. The output includes many important statistics, but they’re difficult for beginners to understand. This article explains what they mean and how they’re calculated. I usually run iostat like this: […]
How to create and use Linux aliases
Source : https://alvinalexander.com/blog/post/linux-unix/create-aliases Unix/Linux aliases FAQ: Can you share some example of the Linux alias command, as well as some alias command examples? Using Linux aliases Aliases in Unix and Linux operating systems are cool. They let you define your own commands, or command […]
procSpy : Python tool that monitors and logs user-run commands on a Linux system
To download and install, please visit the link below: https://github.com/itsKindred/procSpy DISCLAIMER: This tool is still in VERY early stages of development. Please contact me on twitter @kindredsec if you have any questions/concerns/requests. I will continue adding onto this project for the […]
How to identify duplicate files on Linux
Source : https://www.networkworld.com/article/3387961/how-to-identify-duplicate-files-on-linux.amp.html Some files on a Linux system can appear in more than one location. Follow these instructions to find and identify these “identical twins” and learn why hard links can be so advantageous. Identifying files that share disk space relies on […]
Power of SSH Tunneling
Source : https://medium.com/tarkalabs/power-of-ssh-tunneling-cf82bc56da67 Quoting SSH man page to remind us all to check them more often. ssh (SSH client) is a program for logging into a remote machine and for executing commands on a remote machine. It is intended to provide […]
Remote Desktop Protocol (RDP) helps to get a nice graphical connection to a remote computer. But it also help attackers, that compromised such computer, to get a connection to this remote computer. Usually, companies protect such non-exposed systems by firewall and NAT […]