after you take a shell on the server using meterpreter
local_exploit_suggester: This module automatically identifies potential privilege escalation exploits based on the current session's user privileges and the system information gathered.
meterpreter > use post/multi/recon/local_exploit_suggester
meterpreter > run
local_exploit_searcher: Searches for local exploits that might be available for the system.
meterpreter > use post/multi/recon/local_exploit_searcher
meterpreter > run
enum_patches: This module enumerates the installed patches on a Windows system, helping to identify missing patches or vulnerable software versions.
meterpreter > use post/windows/gather/enum_patches
meterpreter > run
enum_shares: Enumerates shares on a Windows system, providing information that could be useful in identifying vulnerable areas.
meterpreter > use post/windows/gather/enum_shares
meterpreter > run