Linux web-conference.aiou.edu.pk 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 172.16.50.247 | : 3.128.168.176
Cant Read [ /etc/named.conf ]
7.4.3-4ubuntu2.28
appadmin
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
share /
npm /
node_modules /
cmd-shim /
lib /
[ HOME SHELL ]
Name
Size
Permission
Action
to-batch-syntax.js
1.56
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : to-batch-syntax.js
exports.replaceDollarWithPercentPair = replaceDollarWithPercentPair exports.convertToSetCommand = convertToSetCommand exports.convertToSetCommands = convertToSetCommands function convertToSetCommand(key, value) { var line = "" key = key || "" key = key.trim() value = value || "" value = value.trim() if(key && value && value.length > 0) { line = "@SET " + key + "=" + replaceDollarWithPercentPair(value) + "\r\n" } return line } function extractVariableValuePairs(declarations) { var pairs = {} declarations.map(function(declaration) { var split = declaration.split("=") pairs[split[0]]=split[1] }) return pairs } function convertToSetCommands(variableString) { var variableValuePairs = extractVariableValuePairs(variableString.split(" ")) var variableDeclarationsAsBatch = "" Object.keys(variableValuePairs).forEach(function (key) { variableDeclarationsAsBatch += convertToSetCommand(key, variableValuePairs[key]) }) return variableDeclarationsAsBatch } function replaceDollarWithPercentPair(value) { var dollarExpressions = /\$\{?([^\$@#\?\- \t{}:]+)\}?/g var result = "" var startIndex = 0 do { var match = dollarExpressions.exec(value) if(match) { var betweenMatches = value.substring(startIndex, match.index) || "" result += betweenMatches + "%" + match[1] + "%" startIndex = dollarExpressions.lastIndex } } while (dollarExpressions.lastIndex > 0) result += value.substr(startIndex) return result }
Close