#66 Attack recognition improvement

已合併
carlos.garcia 7 年之前 將 3 次代碼提交從 stefan.schmidt/attack_recognition合併至 SPIN/master

This improves the recognition as to what attack the user wants to run when specifying the -a parameter. It is now case insensitive and allows to omit the generic endings like 'attack' or exploit'. Thus it is now for example possible to run the EternalBlueExploit by just setting -a eternalblue or running a DDoSAttack using -a ddos. This does not change any behavior regarding parameters or execution of multiple attacks.

Also introduced is better error feedback, meaning that when making a typo, ID2T now recommends the most likely attack that was initially meant and a hint to use the -l parameter for an overview of all attacks. When no sufficiently matching attack name was found it just prompts the user to use the -l parameter.

This should all be future proof as well, since it runs the user input against a dynamically created list of available attacks like the aforementioned attack overview already does.

This improves the recognition as to what attack the user wants to run when specifying the -a parameter. It is now case insensitive and allows to omit the generic endings like 'attack' or exploit'. Thus it is now for example possible to run the EternalBlueExploit by just setting -a eternalblue or running a DDoSAttack using -a ddos. This does not change any behavior regarding parameters or execution of multiple attacks. Also introduced is better error feedback, meaning that when making a typo, ID2T now recommends the most likely attack that was initially meant and a hint to use the -l parameter for an overview of all attacks. When no sufficiently matching attack name was found it just prompts the user to use the -l parameter. This should all be future proof as well, since it runs the user input against a dynamically created list of available attacks like the aforementioned attack overview already does.
Carlos Garcia 評論 7 年之前'
所有者

The changes look great. Good idea implementing keyword recommendations for unrecognized attacks.

The changes look great. Good idea implementing keyword recommendations for unrecognized attacks.
該合併請求已經成功合併!
登入 才能加入這對話。
未選擇標籤
Bug
未選擇里程碑
未指派成員
2 參與者
正在加載...
取消
保存
尚未有任何內容