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...
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...
This command will display all current SYN_RECV connections: netstat -tuna | grep SYN_RECV SYN_RECV Connections and to count them: netstat -tuna | grep SYN_RECV | wc -l To block on the firewall all IPs that are sending multiple SYN_RECV connections...
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/...
Error: Apr 2 14:27:00 s41 systemd[1]: proc-sys-fs-binfmt_misc.automount: Automount point already active? Apr 2 14:27:00 s41 systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 4186...
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...
Proxmox MailGateway login via Curl: curl -k -d 'username=root@pam' --data-urlencode 'password=sd7fv72vf' --insecure Example response:...
yum -y update
curl -sL | bash -
yum clean all && yum makecache fast
yum install -y gcc-c++ make
yum install -y nodejs
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...
sudo yum update
curl –sL | sudo bash -
sudo yum install –y nodejs
node --version
npm --version