|
|
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