!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/wincloud_gateway/node_modules/default-gateway/   drwxr-xr-x
Free 13.01 GB of 57.97 GB (22.45%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     win32.js (1.74 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
"use strict";

const execa = require("execa");
const ipRegex = require("ip-regex");

const gwArgs = "path Win32_NetworkAdapterConfiguration where IPEnabled=true get DefaultIPGateway,Index /format:table".split(" ");
const ifArgs = "path Win32_NetworkAdapter get Index,NetConnectionID /format:table".split(" ");

const parse = (gwTable, ifTable, family) => {
  let gateway, gwid, result;

  (gwTable || "").trim().split("\n").splice(1).some(line => {
    const results = line.trim().split(/} +/) || [];
    const gw = results[0];
    const id = results[1];
    gateway = (ipRegex[family]().exec((gw || "").trim()) || [])[0];
    if (gateway) {
      gwid = id;
      return true;
    }
  });

  (ifTable || "").trim().split("\n").splice(1).some(line => {
    const i = line.indexOf(" ");
    const id = line.substr(0, i).trim();
    const name = line.substr(i + 1).trim();
    if (id === gwid) {
      result = {gateway, interface: name ? name : null};
      return true;
    }
  });

  if (!result) {
    throw new Error("Unable to determine default gateway");
  }

  return result;
};

const spawnOpts = {
  windowsHide: true,
};

const promise = family => {
  return Promise.all([
    execa.stdout("wmic", gwArgs, spawnOpts),
    execa.stdout("wmic", ifArgs, spawnOpts),
  ]).then(results => {
    const gwTable = results[0];
    const ifTable = results[1];

    return parse(gwTable, ifTable, family);
  });
};

const sync = family => {
  const gwTable = execa.sync("wmic", gwArgs, spawnOpts).stdout;
  const ifTable = execa.sync("wmic", ifArgs, spawnOpts).stdout;

  return parse(gwTable, ifTable, family);
};

module.exports.v4 = () => promise("v4");
module.exports.v6 = () => promise("v6");

module.exports.v4.sync = () => sync("v4");
module.exports.v6.sync = () => sync("v6");

:: 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.0053 ]--