#66 Attack recognition improvement

병합
carlos.garcia stefan.schmidt/attack_recognition 에서 SPIN/master 로 3 commits 를 머지했습니다 7 년 전
Jonathan Speth 코멘트됨, 7 년 전

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명
로딩중...
취소
저장
아직 콘텐츠가 없습니다.