Closed D3cl4n closed 2 years ago
This is fixed by adding the task:
- name: Edit Loader.go to remove line
ansible.builtin.replace:
path: /tools/SourcePoint/Loader/Loader.go
regexp: 'PE\[5]'
replace: 'PE[len(PE)-3]'
to the SourcePoint Ansible role. This edits the Loader.go file to use correct indexing for the variable array and no longer throws an error.
🐛 Summary
What's wrong? Please be specific.
Sometimes SourcePoint throws an internal error, when running a command that should not cause issues. Often running the same command again will successfully generate the profile.
To reproduce
Steps to reproduce the behavior:
Expected behavior
Expected behavior is simply generating the c2 profile.
What did you expect to happen that didn't?
The profile was not generated because of the above bug
Any helpful log output or screenshots
Paste the results here:
Add any screenshots of the problem here.