attack_range icon indicating copy to clipboard operation
attack_range copied to clipboard

Purplesharp Playbook Failing

Open TrashMaster112 opened this issue 1 year ago • 1 comments

I am getting an error everytime I try running the default Purplesharp playbook. I have currently configured the range in a local installation The command I am running is as follows:

python attack_range.py simulate -e PurpleSharp -t ar-win-attack-range-key-pair-ar-0 -p configs/purplesharp_playbook_T1003.pb

The error I am getting is as follows:

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option
fatal: [localhost]: FAILED! => {"changed": false, "dest": "C:\\Tools\\PurpleSharp\\playbook.pb", "msg": "Could not find or access '././configs/purplesharp_playbook_T1003.pb'\nSearched in:\n\t/home/forensics/attack_range/modules/ansible/roles/purplesharp/files/././configs/purplesharp_playbook_T1003.pb\n\t/home/forensics/attack_range/modules/ansible/roles/purplesharp/././configs/purplesharp_playbook_T1003.pb\n\t/home/forensics/attack_range/modules/ansible/roles/purplesharp/tasks/files/././configs/purplesharp_playbook_T1003.pb\n\t/home/forensics/attack_range/modules/ansible/roles/purplesharp/tasks/././configs/purplesharp_playbook_T1003.pb\n\t/home/forensics/attack_range/modules/ansible/files/././configs/purplesharp_playbook_T1003.pb\n\t/home/forensics/attack_range/modules/ansible/././configs/purplesharp_playbook_T1003.pb on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option", "src": "././configs/purplesharp_playbook_T1003.pb"}

TrashMaster112 avatar Sep 06 '23 18:09 TrashMaster112

Additionally I tried an absolute path vs the relative one referenced in run_simulation_playbook.yml with no success.

TrashMaster112 avatar Sep 06 '23 18:09 TrashMaster112

I'm not able to reproduce your issue. I just tested it with a local build of Attack Range. Sorry for the late reply.

P4T12ICK avatar Aug 13 '24 07:08 P4T12ICK