403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.116
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/games/anki/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/games/anki/files//patch-local__repos_rules__nodejs_internal_node_node__patches.js
Avoid hardcoded paths and Use "shells/bash" from the Ports tree.

--- local_repos/rules_nodejs/internal/node/node_patches.js.orig	2021-08-02 17:17:08 UTC
+++ local_repos/rules_nodejs/internal/node/node_patches.js
@@ -560,7 +560,7 @@ set Path=${nodeDir};%Path%
     else {
         const nodeEntry = path__default['default'].join(nodeDir, 'node');
         if (!fs__default['default'].existsSync(nodeEntry)) {
-            fs__default['default'].writeFileSync(nodeEntry, `#!/bin/bash
+            fs__default['default'].writeFileSync(nodeEntry, `#!%%LOCALBASE%%/bin/bash
 export NP_SUBPROCESS_NODE_DIR="${nodeDir}"
 export PATH="${nodeDir}":\$PATH
 if [[ ! "\${@}" =~ "${file}" ]]; then

Youez - 2016 - github.com/yon3zu
LinuXploit