This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ########################################################################## | |
| # A simple shell script helps to find all users' cron set configurations # | |
| ########################################################################## | |
| # On cron_list.text, you can see a complete list of all cons | |
| # On userscronjobs.txt, you can see all users who use crons | |
| # | |
| # | |
| CRON_DIR="/var/spool/cron/crontabs" | |
| ls -1 "$CRON_DIR" > /root/userscronjobs.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # ═══════════════════════════════════════════════════════════════════════════════ | |
| # cPANEL SERVER RESCUE v3.1 — CVE-2026-41940 | |
| # Real-time CRITICAL logs + Community IP Intelligence + HTML/TXT Report | |
| # | |
| # v3.1 fixes (from real-world test runs): | |
| # * Fixed subshell array loss when scraping IPs from access log | |
| # * Fixed grep '-> ' pattern that was being parsed as option | |
| # * Self IPs filtered out of access log scan (failed admin logins != exploits) | |
| # * Skip vendor/.trash/dev-config files in hidden-script detection |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Fetch public IP address using dig and OpenDNS resolver | |
| ip_address=$(dig +short myip.opendns.com @resolver1.opendns.com) | |
| # Print the public IP address | |
| echo "Your public IP address is: $ip_address" | |
| # Save this script in a file, for example, get_public_ip.sh. Make it executable using the following command: chmod +x get_public_ip.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/perl | |
| ######################################################################################## | |
| # Just fix the code in this file to checking CSF service edit and update from sysbitnet | |
| ######################################################################################## | |
| # Copyright 2006-2018, Way to the Web Limited | |
| # URL: http://www.configserver.com | |
| # Email: sales@waytotheweb.com | |
| ############################################################################### | |
| ## no critic (ProhibitBarewordFileHandles, ProhibitExplicitReturnUndef, ProhibitMixedBooleanOperators, RequireBriefOpen) | |
| # start main |