Skip to content

Commit

Permalink
Use sync-request instead of xmlhttprequest
Browse files Browse the repository at this point in the history
  • Loading branch information
HynekPetrak committed Mar 16, 2017
1 parent 9caaa29 commit 2437ae1
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 707 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ malware-jail is written for [Node's 'vm' sandbox](https://nodejs.org/api/vm.html
WScript (Windows Scripting Host) context [env/wscript.js](https://github.com/HynekPetrak/malware-jail/blob/master/env/wscript.js), at least the part frequently used
by malware. Internet browser context is partialy implemented [env/browser.js](https://github.com/HynekPetrak/malware-jail/blob/master/env/browser.js).

Runs on any operating system. Developed and tested on Linux, Node v6.6.0.
Runs on any operating system. Developed and tested on Linux, Node.js v6.6.0.

Due to use of some ES6 features, you'll need Node.js >= 6.x.

> See [EXAMPLES](EXAMPLES.md) for malware samples analyzed.
Expand All @@ -16,8 +18,6 @@ You'll need [Node.js](https://nodejs.org) and [npm](https://npmjs.org/) installe
malware-jail is built on top of [minimist](https://www.npmjs.com/package/minimist), [iconv-lite](https://github.com/ashtuchkin/iconv-lite)
and [entities](https://www.npmjs.com/package/entities).

Due to troubles with binary payloads, we're using a slightly modified version of [xmlhttprequest](https://www.npmjs.com/package/xmlhttprequest). Modified version of the [XMLHttpRequest.js](https://github.com/HynekPetrak/malware-jail/blob/master/XMLHttpRequest.js) returns a binary Buffer instead of string: [diff](https://github.com/HynekPetrak/malware-jail/commit/7656f649ee35cba9b8d44134d433dba421cf92a5).

### Pull from GitHub ###

Pull the source with git:
Expand Down
Loading

0 comments on commit 2437ae1

Please sign in to comment.