Posts

Showing posts from March, 2025

Cert-Ex Comptia Aplus Exam Notes - Linux and Windows Commands

 A+ Exam notes Linux and Windows Commands - A Relative Comparison 'When comparing the command-line interfaces of Linux and Windows, it's important to differentiate between the traditional Windows Command Prompt (cmd.exe) and the more modern Windows PowerShell. Here's a breakdown of major command features and a comparison: Linux Command Line (Bash/Shell): Core Philosophy: Linux command-line environments, primarily using shells like Bash, are deeply integrated into the operating system. They are designed for powerful text processing, system administration, and automation.  "Everything is a file" philosophy: This means that almost every system resource is treated as a file, which can be manipulated with command-line tools. Key Features: Powerful Text Processing: Utilities like  grep ,  sed , and  awk  enable advanced text searching, manipulation, and filtering. Piping ( | ) and redirection ( > ,  >> ,  < ) allow for flexible command chain...

Cisco CCNA Labs - Password Hardening

Lab Scenario: You are a network administrator tasked with hardening the security of a Cisco router. The router currently has default configurations, and you need to implement strong password policies to protect it from unauthorized access. Password Hardening Script: Cisco CLI enable configure terminal ! Set strong enable password enable secret MyStrongEnablePassword123! ! Set console password line console 0 password MyConsolePassword456! login exec-timeout 10 0 ! Set console timeout to 10 minutes ! Set vty (Telnet/SSH) passwords line vty 0 15 password MyVTYPassword789! login local transport input ssh ! Restrict to SSH only exec-timeout 10 0 ! Set vty timeout to 10 minutes ! Configure local username and secret for SSH access username admin secret MyAdminSecretPasswordABC! ! Disable services that are not needed no ip domain-lookup ! Prevent DNS lookups, which can be a security risk no cdp run ! Disable Cisco Discovery Protocol if not needed no service password-encryption ! Do not use thi...