A cross-platform Windows Script Host emulator for dynamically analysing malicious JScript programs.
GNU General Public License v3.0
8
stars
2
forks
source link
ADODBStream.Write() should not throw for certain types of binary data #6
Closed
bobbystacksmash closed 6 years ago
ADODB Streams in binary mode will throw when
.write()
is called with createable JScript types (strings, objects, etc).However,
.write()
will work if it's called passed some kind of COM binary type, such as the.ResponseBody
returned from the XHR instance.We need a mechanism whereby we are able to tell
.write()
we're giving it binary data. Perhaps awrite_arg instanceOf Buffer
check would suffice?