Bolstering Network Resilience: The Significance of Network Penetration Testing