Skip to content
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

Feature request: category aliases #27

Open
ZetaTwo opened this issue Mar 27, 2021 · 3 comments
Open

Feature request: category aliases #27

ZetaTwo opened this issue Mar 27, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@ZetaTwo
Copy link

ZetaTwo commented Mar 27, 2021

When we recently used CTFNote, for some reason we ended up with having the same category spelled in different ways. This was probably some user error but it would be nice if some of the standard categories had aliases that mapped to each other, for example:

  • pwn, pwnable, binary exploitation
  • crypto, cryptography
  • rev, reversing, reverse engineering
  • for, forensics

so, if you accidentally input a challenge as "pwnable" it will automatically be mapped to "pwn". Of course there might be other categories so the category name would still be free text but these few aliases would cover the vast majority of cases.

@XeR XeR added enhancement New feature or request and removed feature request labels Oct 21, 2021
@JJ-8
Copy link
Collaborator

JJ-8 commented Oct 25, 2021

A solution could be to add autocompletion and validation to the category field like this. In createValue you can add some mapping from and to common category names.

@B-i-t-K
Copy link
Member

B-i-t-K commented Oct 26, 2021

I think we should fix this bug and #90 a the same time, and switch from task category to task "tags".
Auto completion is nice for task creation. but it doesn't solve the problem when importing tasks

@JJ-8
Copy link
Collaborator

JJ-8 commented May 7, 2023

@B-i-t-K, I did an attempt on solving #90 in my branch https://github.com/JJ-8/CTFNote/tree/0-tags. However, I haven't tackled this problem yet since I am unsure if this static map should be implemented in the database or frontend and how this functionality is communicated to the user (if you type 'pwn' and get 'binary exploitation', that would be a bit confusing). Any toughs?

JJ-8 added a commit to woutvanderploeg/CTFNote that referenced this issue Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants