Spam emails are commonly referred to as unsolicited or junk emails sent in bulk without user consent. In a cPanel server running Exim, spamming usually occurs due to compromised accounts, vulnerable scripts, or improperly configured applications. Common Causes of Server Spamming Spamming generally happens in the following ways: General Fix for Spamming Issues Case 1: Spam Sent via PHP Script Step 1: Check Mail Queue Count A high number indicates possible spam activity. Step 2: View Recent Emails in Queue Step 3: Inspect Email Header Check the auth_id field to identify the account sending spam. Step 4: Locate the Spam Script Identify heavily used mail directories: Step 5: Disable the Script Step 6: Find Malicious IP Accessing Script Block the …
Linux
Samba is a free software re-implementation of the SMB/CIFS networking protocol. We need to set up and configure samba server where the drive to share or mount is located. Samba Server uses the following port no. : 137/tcp 137/udp 138/tcp 138/udp 139/udp 139/udp 445/tcp 445/udp Daemon name: smb and nmb Samba services are implemented as two daemons: smbd, which provides the file and printer sharing services, and nmbd, which provides the NetBIOS-to-IP-address name service. NetBIOS over TCP/IP requires some method for mapping NetBIOS computer names to the IP addresses of a TCP/IP network.
WordPress is a free and open source blogging tool and a content management system (CMS) based on PHP and MySQL. WordPress is the most popular blogging system in use on the Web, at more than 60 million websites. WordPress Themes : WordPress users may install and switch between themes. Themes allow users to change the look and functionality of a WordPress website or installation without altering the information content or structure of the site. Themes may be installed using the WordPress “Appearance” administration tool or theme folders may be uploaded via FTP. The PHP, HTML(hyper text markup language) and cascading style sheets(CSS) code found in themes can be added to or edited for providing advanced features. Thousands of WordPress themes …
A new vulnerability has been found that potentially affects most versions of the Linux and Unix operating systems, in addition to Mac OS X. Known as the “Bash Bug” or “ShellShock,” the GNU Bash Remote Code Execution Vulnerability could allow an attacker to gain control over a targeted computer if exploited successfully. And because Bash is everywhere on Linux and Unix-like machines and interacts with all parts of the operating system, everyone anticipates that it will have lot of repercussions. How does Shellshock work? Shellshock exploits a flaw in how Bash parses environment variables; Bash allows functions to be stored in environment variables, but the issue is Bash will execute any code placed after the function in the environment variable …
SSH (Secure Shell) is a network protocol that allows secure remote access to a Linux server. Normally, users authenticate using a password when connecting via SSH. However, passwordless authentication using SSH keys provides improved security and faster login access. This guide explains how to configure passwordless SSH login using PuTTY and PuTTYgen. What Is Passwordless SSH Login? Passwordless SSH authentication uses a public and private key pair instead of passwords: Once configured, you can log in securely without entering a password. Step 1: Download Required Tools Download the following utilities: Download the latest versions of putty.exe and puttygen.exe and launch PuTTYgen. Step 2: Generate SSH Keys Step 3: Upload Public Key to Linux Server Create the SSH directory if it …
It is very easy to block IP (country wise) with the help of CSF the default firewall from Cpanel.But it is not the case when we try with IPTables. In this blog I will try to demonstrate how to Block IP from a certain country with the help of IPtables.For example purpose I choose Afghanistan and China.
We can always set time to the commands showed in history command as it will be totally a security measure and can be used for troubleshooting/fingerprinting a security threat. History command sample output before setting this variable is as below: 466 df -h 467 df 468 exit 469 nfsstat 470 find / -iname *.ppt Inorder to display date and time of execution along with the commands, use inbuilt variable HISTTIMEFORMAT to set the values as shown below: #export HISTTIMEFORMAT=’%F %T ‘ where, %F for setting year/month/day %T for setting time Now, if we use the history command we can see the difference. The output will be: 500 2011-03-16 17:06:09 exit 501 2011-03-16 17:06:14 apt-get install tree 502 2011-03-16 17:06:36 tree …
The cPanel update failed with the following error : Fatal: Your RPM database appears unstable. It is not possible at the moment to install a simple RPM. The RPM database is corrupted which is causing the problem. Follow the below steps to fix this issue: 1. mkdir /root/old_rpm_dbs/ 2. mv /var/lib/rpm/__db* /root/old_rpm_dbs/ 3. rpm rebuilddb 4. Then run, #upcp –force If you require help, contact SupportPRO Server Admin
The Master Boot Record (MBR) is the first 512 bytes of a storage device. The MBR is not a partition, it is reserved for the operating system’s boot-loader and the storage device’s partition table. MBR Total Size 446 + 64 + 2 = 512 Where, 446 bytes Bootstrap. 64 bytes Partition table. 2 bytes Signature. To backup the MBR: dd if=/dev/sda of=/path/mbr-backup bs=512 count=1 To restore the MBR and partition table: dd if=/path/mbr-backup of=/dev/sda bs=512 count=1 Restoring the MBR with a mismatching partition table will make your data unreadable. To restore the MBR: dd if=/dev/zero of=/dev/sda bs=446 count=1 If you require help, contact SupportPRO Server Admin
DVDROM (Digital Versatile Disk Read-only memory) and CDROM (Compact Disc Read-only memory) are optical storage devices to store your data for future uses or for backups. Many people use these disks to store movies, photos etc. By default many older Linux machines will not allow you to see the content of them. This is due that, they are not mounted by default in your box. We have to mount them properly so that we can access their content. There are many ways to do mounting CDROM/DVDROMs. One of the classic way is to use mount command which is available in Linux. Before mounting a CDROM or DVDROM we have to check what hardware file corresponding to our disk drive. If …