Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
events /
node_modules /
enquirer /
lib /
[ HOME SHELL ]
Name
Size
Permission
Action
prompts
[ DIR ]
drwxrwxr-x
types
[ DIR ]
drwxrwxr-x
ansi.js
3.03
KB
-rw-rw-r--
combos.js
1.29
KB
-rw-rw-r--
completer.js
1.04
KB
-rw-rw-r--
interpolate.js
6.64
KB
-rw-rw-r--
keypress.js
5.6
KB
-rw-rw-r--
placeholder.js
1.83
KB
-rw-rw-r--
prompt.js
12.15
KB
-rw-rw-r--
render.js
1.21
KB
-rw-rw-r--
roles.js
1.23
KB
-rw-rw-r--
state.js
1.63
KB
-rw-rw-r--
styles.js
2.62
KB
-rw-rw-r--
symbols.js
1.88
KB
-rw-rw-r--
theme.js
328
B
-rw-rw-r--
timer.js
902
B
-rw-rw-r--
utils.js
6.82
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : placeholder.js
'use strict'; const utils = require('./utils'); /** * Render a placeholder value with cursor and styling based on the * position of the cursor. * * @param {Object} `prompt` Prompt instance. * @param {String} `input` Input string. * @param {String} `initial` The initial user-provided value. * @param {Number} `pos` Current cursor position. * @param {Boolean} `showCursor` Render a simulated cursor using the inverse primary style. * @return {String} Returns the styled placeholder string. * @api public */ module.exports = (prompt, options = {}) => { prompt.cursorHide(); let { input = '', initial = '', pos, showCursor = true, color } = options; let style = color || prompt.styles.placeholder; let inverse = utils.inverse(prompt.styles.primary); let blinker = str => inverse(prompt.styles.black(str)); let output = input; let char = ' '; let reverse = blinker(char); if (prompt.blink && prompt.blink.off === true) { blinker = str => str; reverse = ''; } if (showCursor && pos === 0 && initial === '' && input === '') { return blinker(char); } if (showCursor && pos === 0 && (input === initial || input === '')) { return blinker(initial[0]) + style(initial.slice(1)); } initial = utils.isPrimitive(initial) ? `${initial}` : ''; input = utils.isPrimitive(input) ? `${input}` : ''; let placeholder = initial && initial.startsWith(input) && initial !== input; let cursor = placeholder ? blinker(initial[input.length]) : reverse; if (pos !== input.length && showCursor === true) { output = input.slice(0, pos) + blinker(input[pos]) + input.slice(pos + 1); cursor = ''; } if (showCursor === false) { cursor = ''; } if (placeholder) { let raw = prompt.styles.unstyle(output + cursor); return output + cursor + style(initial.slice(raw.length)); } return output + cursor; };
Close