Remove /tmp/ cronjob
5 0 * * * /bin/find /tmp/ -type f -print0 | xargs -0 rm
How to automatically clean up /tmp directory contents in Linux? Every Linux system has a directory called /tmp which has mounted with separate file system. It has special filesystem called tmpfs. It’s a virtual filesystem and operating system will automatically mount /tmp mount point while system booting. If you want to mount /tmp directory separately as…
Method-1: First Check the Timezone in Settings > Store. Make sure you set to UTC. If you need to change it back you can in the SQL table “oc_setting” column “key” value “config_timezone” in the “value” column change it back to “UTC” UPDATE oc_setting SET value=’UTC’ WHERE key = ‘config_timezone’; If still issue, follow below method. Method-2: You…
Listing sizes in AWS S3 Buckets Getting the whole bucket size aws s3 ls s3://$BUCKETNAME/ –recursive –human-readable –summarize | tail -n2 Tail is used because otherwise all files will be printed on screen (but you may want that for some reason). Getting the size of a specific directory/file You just need to add the path…
Introduction SQLi is the manipulation of a security flaw in database systems. WordPress, as a platform, runs server-side scripts in PHP and uses SQL databases. Hence, SQL and PHP make WordPress websites vulnerable to attackers. They could insert malicious URLs (which are embedded with commands) that trigger unwanted behaviors from your database. Consequently, your database’s…
Linux is an open source widely spread community. There are millions of Linux users and intruders as well, their job is to make malicious activities on different servers to leak information or change the things as it works. It is really important to stop malicious activities and SPAM attacks on cPanel Hosting Server. There are…
ionCube is a commercial software suite consisting of a PHP encoder, package foundry, bundler, a real time site intrusion detection and error reporting application as well as a loader. PHP encoder is an application for PHP software protection: used to secure, encrypt and license PHP source code. ionCube loader is an extension used to load…