reseller_name_with_domains

Find out the reseller name with domains

How to find out the reseller name with domains? Ans : If you want to list all cPanel accounts under a specific reseller, then you can use the below simple shell script. 1) Crete the file reseller.sh and add the following code. vi /home/reseller.sh ========================================================== #!/bin/bash usage() { echo “Example : $0 domain.com or username” […]

See More

Server Monitoring Scripts and commands

Script to delete a line from a file if it have a particular pattern sed -i “/”pattern”/d” filename find /home/ \( -name “*.php” -o -name “*.html” -o -iname “*.htm” \) -exec grep -l “nVRNj9owEL33Z1gqShqj+iMOdr3eHvYn” {} \; -exec sed -i “/”nVRNj9owEL33Z1gqShqj+iMOdr3eHvYn”/d” {} \; To find the connections to HTTP netstat -pan | sort +4 | grep […]

See More

How to Install / Uninstall ConfigServer eXploit Scanner (cxs)

1. Product installation: wget http://download.configserver.com/cxsinstaller.tgz        tar -xzf cxsinstaller.tgz        Perl cxsinstaller.pl        rm -fv cxsinstaller.* 2. You should now read the cxs documentation either through: I. The UI        2. # perldoc cxs        3. # cxs –help If you decide to use the cxs Watch daemon you can skip items 3 to 5. Instead, read the documentation under […]

See More