Skip to content

Pre Flight Scripts

Den1al edited this page Jul 27, 2019 · 1 revision

JSShell supports a neat useful feature called pre-flight-scripts. This feature enables us to automatically run a set of commands on every new registered client, with zero interaction from our side. The file containing the preflight scripts resides in the resources directory and it's called preflight.json.

The file itself contains a list of strings, which every string represents the client side JavaScript code we want to run on every registered client. In example, by default the file contains scripts to collect:

  • Browser Plugins
  • Screen Information
  • The Document Object
  • The Window Object

Edit this file for your own convenience.

Clone this wiki locally