Advanced Search
Search Results
133 total results found
FTP Troubleshooting
==================================================================================== FTP Passive Mode Passive ports are used to allow multiple FTP connections by moving open FTP connections from port 21 to a port specified in the passive port range (40,000-...
Nick Abbots Script
Nick Abbots Script: vi ukfastmon;chmod u+x ukfastmon; ./ukfastmon; rm -f ukfastmon #!/bin/bash if [ "$1" = "w" ]; then locate wp-includes/version.php | xargs grep -H '^$wp_version' | grep -v virtfs echo "" echo "" echo -n "The latest stable rele...
One-liners
==================================================================================== Common Error/Limit identification ------------------------------------------------------------------------------------------------------------------------------------------...
MySQL Optimisation, Performance, and Logging
==================================================================================== MySQL Optimisation ==================================================================================== MySQL Tuner Script wget -O mysqltuner.pl mysqltuner.pl && perl mysq...
Corruption and Repairs
==================================================================================== MySQL Check mysqlcheck -options database MySQL Check Options: -c Checks tables for errors. It performs a CHECK TABLE operation on each table in the specified databa...
SSL Certificates
Origin IP
Bots/Crawlers & Control/Mitigation
==================================================================================== Robots.txt Robots.txt is a file that can be used on a server to decide which bots/crawlers can access the site as well as how often they can make requests. It's important...
SPF, DMARC, and DKIM
SPF (Sender Policy Framework) is an email authentication record, which is essentially used to define which specific servers are permitted to send mail on behalf of a domain. https://docs.ukfast.co.uk/email/spf.html -------------------------------------------...
Plesk Mail
------------------------------------------------------------------------------------------------------------------------------------------ Mail Account Credentials We can run the below command to retrieve credentials for any mail account on a Plesk server:...
User & Group Management
==================================================================================== Adding Users ==================================================================================== Adding Users To add a user, the useradd command can be used. useradd use...
User/Group/Password Files
==================================================================================== /etc/passwd used to store user and system accounts ==================================================================================== /etc/shadow Used to store user pas...
Admin Privileges
User & group privileges ------------------------------------------------------------------------------------------------------------------------------------------------ For users to have escalated privilege on a server (root access), they need to be granted ...
Package Managers
==================================================================================== YUM (Yellowdog Update Manager) & DNF Both yum and DNF are found on RedHat based systems, and are pretty much interchangable. -----------------------------------------------...
Compiling from source
Compiling an application from source essentially means that you are manually creating a package using the source code. In this example, I'm compiling the John the Ripper password cracker from source, on an Ubuntu machine. To being, ensure that the required p...
Networking Commands
==================================================================================== Show networking information show current networking configuration and status ip a Show IPv4 or IPv6 specifically ip -4 a ip -6 a Show IPs assigned to interfaces in si...
Network Managers
==================================================================================== Ubuntu - Netplan Before making changes to the network configuration on an Ubuntu machine, ensure that Cloud-init isn't enabled. Cloud-init is essentially Canonicals attempt ...
DNS and Hosts Resolution
==================================================================================== DNS and Hosts Testing ------------------------------------------------------------------------------------------------------------------------------------------------ dig d...
GRUB - Grand Unified Boot Loader
==================================================================================== GRUBs responsibility in the boot process ==================================================================================== GRUB Configuration Options There are 2 direct...
Kernel, Modules, Tunables & initrd (Initialisation RAM Disk)
Kernel ==================================================================================== What is a Linux Kernel? The Linux kernel is the core software that acts as an interface between the hardware and various software applications running on your system...