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

Data Leakage in cPanel and WHM Browser Storage

On cPanel and WHM servers, sensitive data may remain stored in the browser after logging into the panel. This can allow anyone who later accesses the same domain from the same browser to view potentially sensitive information, such as usernames...

Auto clear SWAP in Linux

This script will simply drop cache and clear SWAP, you can use it by scheduling it on a daily basis: # crontab -e 0 2 * * * echo 1 > /proc/sys/vm/drop_caches & & swapoff -a & & swapon -a Check if SWAP is more than 20% Set the...

whmcs spam orders - Dealing with fake/spam WHMCS orders

Dealing with fake/spam WHMCS orders

Startng July 2024 there are numerous reports of fake/spam orders on WHMCS. Most of the orders have - or + in the email address and set country code to US, so we can block based on that. In your installation directory navigate to: /includes/hooks/...

How to increase docker container disk size devicemapper - How to increase docker container disk size (devicemapper)

How to increase docker container disk size (devicemapper)

Inside the docker container check the available disk space and get the path to the partition: root@server2:~# docker exec stefan df -h /var/lib/docker/devicemapper/mnt/bddbf234169773b6d6b52529ff32572add386085bc248a0ee807f70ce7c00adc Filesystem Size...

chrome gJoMvrsPqr - Proxmox MailGateway login via Curl

Proxmox MailGateway login via Curl

Proxmox MailGateway login via Curl: curl -k -d 'username=root@pam' --data-urlencode 'password=sd7fv72vf' --insecure Example response:...

firefox ebKNbQhG6D - How to Properly Uninstall NodeJS & NVM from CentOS

How to Properly Uninstall NodeJS & NVM from CentOS

yum remove nodejs rm -rf ~/.nvm ~/.npm ~/.bower /usr/local/bin/npm /usr/local/bin/node* /usr/local/include/node* /usr/local/lib/node* /usr/local/share/man/man1/node* /usr/local/lib/dtrace/node.d ~/.npm ~/.node-gyp /opt/local/bin/node...