Skip to content

Modify shell startup files fails on Windows #1419

@mssalvatore

Description

@mssalvatore

Describe the bug

The "modify shell startup files" PBA fails on Windows. This is likely the same issue as #1405.

To Reproduce

Steps to reproduce the behavior:

  1. Run Monkey Island
  2. Configure to run just modify shell startup files PBA
    1 Check Security report for PBA explanation

Expected behavior

This PBA sohuld execute modify_powershell_startup_file.ps1.

Machine version (please complete the following information):

  • OS: Windows

Root cause

This is very likely caused by the requisite script being left out of the agent binary. The script probably needs to be added to:

datas=[("../common/BUILD", "/common")],

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugAn error, flaw, misbehavior or failure in the Monkey or Monkey Island.Complexity: LowImpact: High

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions