Hi, Here is link to Backtrack’s wiki which list ways of intrusion testing. BackTrack is the most highly-rated Linux live distribution focused on penetration testing. With no installation whatsoever, the analysis platform is launched directly the external media and is fully accessible within moments. BackTrack functions and performs operations without touching a single file on…
Tail logs using ‘less’
less +F /var/log/exim_mainlog Make ‘less’ behave like ‘tail -f’. Using +F will put less in follow mode. This works similar to ‘tail -f’. To stop scrolling, use the interrupt (CTRL+c). Then you’ll get the normal benefits of less (scroll, etc.). Pressing SHIFT-F will resume the ‘tailling’. To quit, use the interrupt (CTRL+c) and then press…
Web Permissions Script
If you ever recursively chmod public_html to something terrible, this script will restore files back to their typical/default permissions. cd to the public_html directory, and run the command: perl Hit enter, and then paste this code: #!/usr/bin/perl -w sub scanDir { my $dir = shift; opendir (DIR, $dir); foreach my $file (readdir(DIR)) { next if…
Cpanel scripts
Please note: Some of these scripts are free and others are not. I am not recommending or endorsing any scripts or saying that they will work on your server. http://www.zubrag.com/scripts/ http://www.cplicensing.net/scripts.php http://www.rocketdownload.com/scripts/query.php?q=cpanel (4 Pages) http://www.findmysoft.com/scripts/search_result.php?word=cpanel&x=0&y=0&search=Search http://scriptmafia.org/ Here is a complete list of all of the scripts in the /scripts folder from cPanel 11.25.0-E40223 – WHM…
Bash script to email random passwords to users
Here is a bash script to randomly generate a password and send it to a user’s email address. It will also write the user’s email address and password to a csv file for importing into your MySQL database via phpMyAdmin. The script assume you have a text file (emails.txt) in your home directory with a…
Rsync Cpanel Server (Cloning)
This script will copy everything necessary for a full cpanel -> cpanel transfer. You need to open the script up and change 127.0.0.1 to the FQDN or IP of the target server. It will first create a key pair and then transfer it to the target server. Root level access is required for this script…
Enable DAG Repo’s
A quick post with instructions to enable DAG’s Yum Repository for CentOS as taken from his FAQ. Installation is simply done by RPM packages, I am only bothering with CentOS (RHEL) 4 & 5 in this example: CentOS 5 / i386: rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm CentOS 5 / x86_64: rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm CentOS 4 / i386:…
-
Recent Posts
-
Archives
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- October 2020
- September 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- October 2019
- August 2019
- June 2019
- March 2019
- February 2019
- January 2019
- November 2018
- August 2018
- July 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- October 2017
- June 2017
- December 2016
- October 2016
- September 2016
- August 2016
- June 2016
- May 2016
- March 2016
- February 2016
- September 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- March 2009
-
Meta