10986 shaares
392 private links
392 private links
Here we go again. A small package is is abused.
The transcription makes it clear how it works:
- Expose node's require with a
get "switch"() { return require; } - Load
osandwsmodules fromthis['switch'] - Connect to the websocket
new Function(data)(); // remote code executionof a WebSocket message.