-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to pass the User Certification: Create ability #2315
Comments
i get the same error! |
@radioheado and @TripleA98 - we are working on patch. |
thank you! it seems that it has been patched and fixed 🥇 |
The REST API expects an ability object in which the cleanup field is an array (list) of strings. Currently, the "Create Ability" UI saves the cleanup command as a string, causing an Unprocessable Entity response status code (422) when executing the PUT request in API v2. This commit includes a slight change to the cleanup field in the Create Ability modal which converts a line-break separated list of cleanup commands to the correct type. The net effect of the change is to enable users to create and edit abilities which include cleanup commands through the UI and API v2.
This issue is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 5 days |
Possible fix to Issue #2315 (affects `templates/abilities.html`)
The ability UI has been modified to enable cleanup commands in |
The REST API expects an ability object in which the cleanup field is an array (list) of strings. Currently, the "Create Ability" UI saves the cleanup command as a string, causing an Unprocessable Entity response status code (422) when executing the PUT request in API v2. This commit includes a slight change to the cleanup field in the Create Ability modal which converts a line-break separated list of cleanup commands to the correct type. The net effect of the change is to enable users to create and edit abilities which include cleanup commands through the UI and API v2.
Describe the bug
Unable to pass the User Certification: Create ability.
To Reproduce
Steps to reproduce the behavior:
Navigate
menu.Campaigns > adversaries
.Certifiable
adversary profile.+ add
ability button on the right side of the window.Issue 1 here: there is no such button in 4.0.0-alpha. So I tried to make a new ability through the
abilities
tab before I move back to step 4. I made the ability according to the guide solution,darwin
as the platform from the drop-down.sh
as the executor from the drop-down.sandcat.go-darwin
from the payloads box.whoami
in the command text box.ifconfig -a
in the cleanup command text box.Currently, I also have to specify the
Technique Name
andTechnique ID
or it won't allow me to save. I filled in withT1033
andSystem Owner/User Discovery
. The above steps succeeded from step1 to step4. It failed every time when I wanted to add the cleanup command. No matter what I typed in the text box, it won't allow me to save the command.Expected behavior
I expect to complete the flag.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: