Annotation of parser3/tests/264.html, revision 1.3
1.1 moko 1: @main[]
2:
3: $s[
4: ^taint[html][ some <a href="/?a&b">html</a> code ]
5: ^taint[parser-code][ ^$b(2+2) ]
6: ^taint[regex][ ^^(.*?)^$ ]
7: ^taint[ some <?dirty?> code ]
8: ]
9:
10: ^apply-taint[$s]
11: ^apply-taint[html;$s]
12: ^apply-taint[regex;$s]
13:
1.2 moko 14: $f[^file::exec[cat^os[-windows].sh; $.stdin[$s] ;stdin]]
1.1 moko 15: $f.text
1.3 ! moko 16:
! 17: code coverage tests:
! 18:
! 19: 2. ^try-catch{ ^file::exec[cat^os[-windows].sh; $.HTTP_OK[value] $.CGI_OK[value] $.REMOTE_ADDR[allowed] $.unsafe_env_name[env_value] ] }
! 20: 3. ^try-catch{ ^file::exec[text] }
! 21: 4. ^try-catch{ ^file::exec[cat^os[-windows].sh; $.stdin[ $.hash[] ] ] }
! 22: 5. ^try-catch{ ^file::exec[cat^os[-windows].sh; ;arg1;^table::create[nameless]{arg2}; $.arg_hash[] ] }
E-mail: