Linux

Linux is a family of open-source Unix-like operating systems based on the Linux kernel. Some of the most popular Linux distributions include Debian, Fedora, and Ubuntu.

www.linux.org

df - du and df show different sizes

du and df show different sizes

ncdu / du and df show different sizes: du is reading information from the directory tree, it is more accurate than df but slower.df reads meta data of the file system therefore it is faster, but not that accurate because it works with blocks...

image 8 - Set default Timezone via htaccess in cPanel

Set default Timezone via htaccess in cPanel

Here in how to change the default Time Zone permanently in cPanel using the .htaccess file Step 1. First, check you current time yone settings using a simple .php script like this: <?php echo "Today is " . date("Y/m/d") . "<br>"; echo "The...

open ports php - PHP Script to check for open ports

PHP Script to check for open ports

Here is a simple PHP script that you can use to test if a port is open on the server or not. <?php $host = $_SERVER['SERVER_ADDR']; $ports = array(21, 25, 80, 81, 110, 443, 3306); foreach ($ports as $port) { $connection = @fsockopen($host...

logo centos - Permit Root login in CentOS

Permit Root login in CentOS

If you’ve installed the official CentOS image, after trying to login as root you will see the following message: “Please login as the user “centos” rather than the user “root”. Here is how to permit root login in...

files - b374k shell 🐚 3.2

b374k shell 🐚 3.2

Here is yet another PHP Shell which I stumbled upon today. It’s pretty basic and allows an attacker to do pretty much the same as with any other shell. And here is the obfuscated code for the b374k shell 3.2: <?php function...

Business vector created by vectorpouch - www.freepik.com

Top 10 Web Hosting Control Panels 🔝🔟

Quick List of the Best Web Hosting Control Panels OpenPanel – a robust hosting panel designed to provide your users with a VPS-like experience. cPanel – Best Linux-only web hosting control panel for users who want a control panel...

modsecurity disable url - How to disable Mod_Sec for a specific folder/file

How to disable Mod_Sec for a specific folder/file

On a WordPress website that is protected with ModSecurity, when admin edits pages using Elementor or Gutenber in wp-admin dashboard, ModSecurity may falsely detect it as XSS attack. What we usually do is disable specific rules that create this false...