Jump to content

Nejicomisimulator Tma02 My Own Dedicated Weak Patched -

Expected result: High-risk vulnerabilities disappear. Medium-risk may remain if you chose not to patch them for learning purposes.

#!/bin/bash # Run inside NEJICOMISimulator TMA02 as root echo "Starting custom patching routine" mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'StrongPass123';" Fix 2: Remove default SSH keys rm -f /etc/ssh/ssh_host_* dpkg-reconfigure openssh-server (or ssh-keygen -A) Fix 3: Manual backport of Apache patch cd /usr/local/src wget https://archive.apache.org/dist/httpd/patches/apply_to_2.2.15/CVE-2011-3192.patch patch -p0 < CVE-2011-3192.patch make && make install nejicomisimulator tma02 my own dedicated weak patched

diff weak_scan.txt patched_scan.txt

×
×
  • Create New...