One Hat Cyber Team
Your IP :
10.30.1.1
Server IP :
103.148.201.5
Server :
Linux web-olt 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
Server Software :
Apache/2.4.52 (Ubuntu)
PHP Version :
8.1.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
4518
/
root
/
usr
/
share
/
npm
/
lib
/
utils
/
Edit File:
replace-info.js
const URL = require('url').URL // replaces auth info in an array of arguments or in a strings function replaceInfo (arg) { const isArray = Array.isArray(arg) const isString = str => typeof str === 'string' if (!isArray && !isString(arg)) { return arg } const testUrlAndReplace = str => { try { const url = new URL(str) return url.password === '' ? str : str.replace(url.password, '***') } catch (e) { return str } } const args = isString(arg) ? arg.split(' ') : arg const info = args.map(a => { if (isString(a) && a.indexOf(' ') > -1) { return a.split(' ').map(testUrlAndReplace).join(' ') } return testUrlAndReplace(a) }) return isString(arg) ? info.join(' ') : info } module.exports = replaceInfo
Simpan