-
Notifications
You must be signed in to change notification settings - Fork 4
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
攻撃文字列生成 #26
攻撃文字列生成 #26
Conversation
こちらも redefine_state_2 を取り込みましたが、差分をわかりやすくするため redefine_state_2 をベースにして最後に master に戻します |
む、master も取り込んじゃってるせいであんまりきれいに差分表示できなかった |
いま |
変更点
まだできていない点
|
ところで検出メッセージについて、
と思いました |
僕のこのメッセージ結構適当に決めたので、適切に変えていただけるとありがたいです |
いうて自分も決めかねるので、直接話し合うとき決めましょう~ |
|
アルゴリズム自体はできているんですが、 #38 が終わってから各種コンフリクトを直す必要があるのでそしたら WIP を外します。 |
|
アルゴリズムを変えたらいい感じになりました。 $ git checkout master
$ npm test > out/master
$ git checkout add_attacker
$ npm test > out/attack
$ diff out/master out/attack 834c834,838
< // (a*)* has EDA?: { status: 'Vulnerable', message: 'Detected EDA.' }
---
> // (a*)* has EDA?: {
> status: 'Vulnerable',
> message: 'Detected EDA.',
> attack: 'aaaaaaaaaaaaaaaaaaaaa\x00'
> }
915c919,923
< // (a+)+ has EDA?: { status: 'Vulnerable', message: 'Detected EDA.' }
---
> // (a+)+ has EDA?: {
> status: 'Vulnerable',
> message: 'Detected EDA.',
> attack: 'aaaaaaaaaaaaaaaaaaaaa\x00'
> }
2041c2049,2053
< // (\w|\d)* has EDA?: { status: 'Vulnerable', message: 'Detected EDA.' }
---
> // (\w|\d)* has EDA?: {
> status: 'Vulnerable',
> message: 'Detected EDA.',
> attack: '00000000000000000000000000000000000000000\x00'
> }
3225c3237,3241
< // a*a* has IDA?: { status: 'Vulnerable', message: 'Detected IDA.' }
---
> // a*a* has IDA?: {
> status: 'Vulnerable',
> message: 'Detected IDA.',
> attack: 'aaaaaaaaaaaaaaaaaaaaa\x00'
> }
3472c3488,3492
< // (.*)="(.*)" has IDA?: { status: 'Vulnerable', message: 'Detected IDA.' }
---
> // (.*)="(.*)" has IDA?: {
> status: 'Vulnerable',
> message: 'Detected IDA.',
> attack: '\x00="\x00="\x00="\x00="\x00="\x00="\x00="\x00="\x00="\x00="\x00="\x00="\x00="\x00="\x00="\x00="\x00="\x00="\x00="\x00="\x00\x00'
> } |
EDA判定のバグ修正してくださりありがとうございます。 |
コードの方はいい感じです! |
実装途中ですが経過が見えたほうがいい気がするのでプルリクにします。