Similar Posts
How to fix and Prevent SQL Injection in WordPress
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…
How to delete mails from Exim mail queue
To print a list of the messages in the queue, enter: # exim -bp To remove a message from the queue, enter: # exim -Mrm {message-id} To remove all messages from the queue, enter: # exim -bp | awk ‘/^ *[0-9]+[mhd]/{print “exim -Mrm ” $3}’ | bashsuggested following clean command:# exim -bp | exiqgrep -i…
Dump and restore a single table in MySQL
Dump Dumping from a remote database Restore or in one line mysql -u username -p db_name < /path/to/table_name.sql Dump and restore a single table from a compressed (.sql.gz) format Dump Restore
Protected: RC – Branded Control Panel URLs
There is no excerpt because this is a protected post.
Common SSH Commands
Home and navigation When you first log into your server, you will be in your home directory. For the root user, this is /root/. Linux folder structure Linux uses a nested folder structure to store different files. The top-level directory is considered the root directory, and is designated by /. Folders beneath the root level…
How to remove non empty Directory in Linux
I am getting an error message that read as follows: rmdir: failed to remove ‘trip-pictures’: Directory not empty How can I remove non empty directory in Linux using the cli? There are two commands that one can use to delete non empty directories in Linux operating system: rmdir command – Delete directory only if it…