Bug fix for powershell_codexec and rogue_ap