Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.137.152.81
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp_probe /
node_modules /
relateurl /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
parse
[ DIR ]
drwxr-xr-x
2021-02-04 21:24
relate
[ DIR ]
drwxr-xr-x
2021-02-04 21:24
util
[ DIR ]
drwxr-xr-x
2021-02-04 21:24
constants.js
167
B
-rw-r--r--
2014-08-05 01:56
format.js
3.35
KB
-rw-r--r--
2014-12-16 02:01
index.js
1.76
KB
-rw-r--r--
2014-12-16 02:27
options.js
845
B
-rw-r--r--
2014-12-16 02:30
Save
Rename
"use strict"; var constants = require("./constants"); var formatUrl = require("./format"); var getOptions = require("./options"); var objUtils = require("./util/object"); var parseUrl = require("./parse"); var relateUrl = require("./relate"); function RelateUrl(from, options) { this.options = getOptions(options, { defaultPorts: {ftp:21, http:80, https:443}, directoryIndexes: ["index.html"], ignore_www: false, output: RelateUrl.SHORTEST, rejectedSchemes: ["data","javascript","mailto"], removeAuth: false, removeDirectoryIndexes: true, removeEmptyQueries: false, removeRootTrailingSlash: true, schemeRelative: true, site: undefined, slashesDenoteHost: true }); this.from = parseUrl.from(from, this.options, null); } /* Usage: instance=new RelateUrl(); instance.relate(); */ RelateUrl.prototype.relate = function(from, to, options) { // relate(to,options) if ( objUtils.isPlainObject(to) ) { options = to; to = from; from = null; } // relate(to) else if (!to) { to = from; from = null; } options = getOptions(options, this.options); from = from || options.site; from = parseUrl.from(from, options, this.from); if (!from || !from.href) { throw new Error("from value not defined."); } else if (from.extra.hrefInfo.minimumPathOnly) { throw new Error("from value supplied is not absolute: "+from.href); } to = parseUrl.to(to, options); if (to.valid===false) return to.href; to = relateUrl(from, to, options); to = formatUrl(to, options); return to; } /* Usage: RelateUrl.relate(); */ RelateUrl.relate = function(from, to, options) { return new RelateUrl().relate(from, to, options); } // Make constants accessible from API objUtils.shallowMerge(RelateUrl, constants); module.exports = RelateUrl;