One Hat Cyber Team
Your IP :
172.16.0.254
Server IP :
58.26.163.33
Server :
Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Server Software :
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
PHP Version :
7.3.25
Buat File
|
Buat Folder
Eksekusi
Dir :
C:
/
laragon
/
bin
/
laragon
/
utils
/
Edit File:
hosts.js
var fs = require("fs"); console.log(process.argv.length); if (process.argv.length != 4) { console.log("You must specify exact arguments!"); process.exit(); } var hostsFile = process.argv[2]; var hostsFileTmp = process.argv[3]; var content = ''; fs.readFile(hostsFileTmp, function read(err, data) { if (err) { throw err; } content = data; if (content !== '') { doWrite(); } }); function doWrite() { fs.writeFile(hostsFile, content, function(err) { if(err) { fs.renameSync(hostsFileTmp, hostsFileTmp + '.err'); return console.log(err); } }); }
Simpan