Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
quiz1 /
node_modules /
es-abstract /
2024 /
[ HOME SHELL ]
Name
Size
Permission
Action
BigInt
[ DIR ]
dr-xr-xr-x
Number
[ DIR ]
dr-xr-xr-x
tables
[ DIR ]
dr-xr-xr-x
AddEntriesFromIterable.js
1.42
KB
-rw-rw-rw-
AddToKeptObjects.js
593
B
-rw-rw-rw-
AddValueToKeyedGroup.js
1.28
KB
-rw-rw-rw-
AdvanceStringIndex.js
917
B
-rw-rw-rw-
ApplyStringOrNumericBinaryOper...
3.06
KB
-rw-rw-rw-
ArrayBufferByteLength.js
1.58
KB
-rw-rw-rw-
ArrayBufferCopyAndDetach.js
3.71
KB
-rw-rw-rw-
ArrayCreate.js
1.56
KB
-rw-rw-rw-
ArraySetLength.js
2.37
KB
-rw-rw-rw-
ArraySpeciesCreate.js
1.32
KB
-rw-rw-rw-
AsyncFromSyncIteratorContinuat...
1.48
KB
-rw-rw-rw-
AsyncIteratorClose.js
1.88
KB
-rw-rw-rw-
BigIntBitwiseOp.js
1.62
KB
-rw-rw-rw-
BinaryAnd.js
316
B
-rw-rw-rw-
BinaryOr.js
314
B
-rw-rw-rw-
BinaryXor.js
316
B
-rw-rw-rw-
ByteListBitwiseOp.js
1.24
KB
-rw-rw-rw-
ByteListEqual.js
860
B
-rw-rw-rw-
Call.js
614
B
-rw-rw-rw-
CanBeHeldWeakly.js
389
B
-rw-rw-rw-
CanonicalNumericIndexString.js
572
B
-rw-rw-rw-
Canonicalize.js
1.22
KB
-rw-rw-rw-
CharacterRange.js
776
B
-rw-rw-rw-
ClearKeptObjects.js
297
B
-rw-rw-rw-
CloneArrayBuffer.js
1.85
KB
-rw-rw-rw-
CodePointAt.js
1.62
KB
-rw-rw-rw-
CodePointsToString.js
735
B
-rw-rw-rw-
CompareArrayElements.js
1.24
KB
-rw-rw-rw-
CompareTypedArrayElements.js
1.32
KB
-rw-rw-rw-
CompletePropertyDescriptor.js
1.08
KB
-rw-rw-rw-
CompletionRecord.js
1.32
KB
-rw-rw-rw-
CopyDataProperties.js
1.95
KB
-rw-rw-rw-
CreateAsyncFromSyncIterator.js
4.42
KB
-rw-rw-rw-
CreateDataProperty.js
705
B
-rw-rw-rw-
CreateDataPropertyOrThrow.js
665
B
-rw-rw-rw-
CreateHTML.js
846
B
-rw-rw-rw-
CreateIterResultObject.js
349
B
-rw-rw-rw-
CreateListFromArrayLike.js
1.34
KB
-rw-rw-rw-
CreateNonEnumerableDataPropert...
737
B
-rw-rw-rw-
CreateRegExpStringIterator.js
3.37
KB
-rw-rw-rw-
DateFromTime.js
988
B
-rw-rw-rw-
DateString.js
978
B
-rw-rw-rw-
Day.js
234
B
-rw-rw-rw-
DayFromYear.js
256
B
-rw-rw-rw-
DayWithinYear.js
286
B
-rw-rw-rw-
DaysInYear.js
301
B
-rw-rw-rw-
DefineMethodProperty.js
1.45
KB
-rw-rw-rw-
DefinePropertyOrThrow.js
1.13
KB
-rw-rw-rw-
DeletePropertyOrThrow.js
646
B
-rw-rw-rw-
DetachArrayBuffer.js
1.67
KB
-rw-rw-rw-
EnumerableOwnProperties.js
1.08
KB
-rw-rw-rw-
FindViaPredicate.js
1.3
KB
-rw-rw-rw-
FlattenIntoArray.js
1.63
KB
-rw-rw-rw-
FromPropertyDescriptor.js
536
B
-rw-rw-rw-
Get.js
549
B
-rw-rw-rw-
GetArrayBufferMaxByteLengthOpt...
516
B
-rw-rw-rw-
GetGlobalObject.js
198
B
-rw-rw-rw-
GetIterator.js
1.76
KB
-rw-rw-rw-
GetIteratorFromMethod.js
724
B
-rw-rw-rw-
GetMatchIndexPair.js
837
B
-rw-rw-rw-
GetMatchString.js
884
B
-rw-rw-rw-
GetMethod.js
680
B
-rw-rw-rw-
GetOwnPropertyKeys.js
822
B
-rw-rw-rw-
GetPromiseResolve.js
639
B
-rw-rw-rw-
GetPrototypeFromConstructor.js
1.05
KB
-rw-rw-rw-
GetStringIndex.js
766
B
-rw-rw-rw-
GetSubstitution.js
5.83
KB
-rw-rw-rw-
GetV.js
488
B
-rw-rw-rw-
GetValueFromBuffer.js
4.52
KB
-rw-rw-rw-
GetViewByteLength.js
1.5
KB
-rw-rw-rw-
GroupBy.js
2.27
KB
-rw-rw-rw-
HasEitherUnicodeFlag.js
517
B
-rw-rw-rw-
HasOwnProperty.js
509
B
-rw-rw-rw-
HasProperty.js
464
B
-rw-rw-rw-
HourFromTime.js
382
B
-rw-rw-rw-
InLeapYear.js
462
B
-rw-rw-rw-
InstallErrorCause.js
658
B
-rw-rw-rw-
InstanceofOperator.js
911
B
-rw-rw-rw-
InternalizeJSONProperty.js
2.14
KB
-rw-rw-rw-
Invoke.js
662
B
-rw-rw-rw-
IsAccessorDescriptor.js
558
B
-rw-rw-rw-
IsArray.js
118
B
-rw-rw-rw-
IsArrayBufferViewOutOfBounds.j...
1.02
KB
-rw-rw-rw-
IsBigIntElementType.js
194
B
-rw-rw-rw-
IsCallable.js
108
B
-rw-rw-rw-
IsCompatiblePropertyDescriptor...
361
B
-rw-rw-rw-
IsConcatSpreadable.js
621
B
-rw-rw-rw-
IsConstructor.js
1.12
KB
-rw-rw-rw-
IsDataDescriptor.js
561
B
-rw-rw-rw-
IsDetachedBuffer.js
1007
B
-rw-rw-rw-
IsExtensible.js
504
B
-rw-rw-rw-
IsFixedLengthArrayBuffer.js
966
B
-rw-rw-rw-
IsGenericDescriptor.js
656
B
-rw-rw-rw-
IsIntegralNumber.js
348
B
-rw-rw-rw-
IsLessThan.js
2.69
KB
-rw-rw-rw-
IsLooselyEqual.js
1.67
KB
-rw-rw-rw-
IsNoTearConfiguration.js
467
B
-rw-rw-rw-
IsPromise.js
480
B
-rw-rw-rw-
IsPropertyKey.js
202
B
-rw-rw-rw-
IsRegExp.js
540
B
-rw-rw-rw-
IsSharedArrayBuffer.js
413
B
-rw-rw-rw-
IsStrictlyEqual.js
429
B
-rw-rw-rw-
IsStringWellFormedUnicode.js
631
B
-rw-rw-rw-
IsTypedArrayOutOfBounds.js
1.77
KB
-rw-rw-rw-
IsUnclampedIntegerElementType....
298
B
-rw-rw-rw-
IsUnsignedElementType.js
266
B
-rw-rw-rw-
IsValidIntegerIndex.js
1.36
KB
-rw-rw-rw-
IsViewOutOfBounds.js
1.51
KB
-rw-rw-rw-
IsWordChar.js
1.22
KB
-rw-rw-rw-
IteratorClose.js
2.18
KB
-rw-rw-rw-
IteratorComplete.js
445
B
-rw-rw-rw-
IteratorNext.js
877
B
-rw-rw-rw-
IteratorStep.js
655
B
-rw-rw-rw-
IteratorStepValue.js
1.16
KB
-rw-rw-rw-
IteratorToList.js
882
B
-rw-rw-rw-
IteratorValue.js
390
B
-rw-rw-rw-
KeyForSymbol.js
394
B
-rw-rw-rw-
LengthOfArrayLike.js
447
B
-rw-rw-rw-
MakeDataViewWithBufferWitnessR...
936
B
-rw-rw-rw-
MakeDate.js
328
B
-rw-rw-rw-
MakeDay.js
1007
B
-rw-rw-rw-
MakeFullYear.js
595
B
-rw-rw-rw-
MakeMatchIndicesIndexPairArray...
2.62
KB
-rw-rw-rw-
MakeTime.js
758
B
-rw-rw-rw-
MakeTypedArrayWithBufferWitnes...
937
B
-rw-rw-rw-
MinFromTime.js
396
B
-rw-rw-rw-
MonthFromTime.js
1014
B
-rw-rw-rw-
NewPromiseCapability.js
1.2
KB
-rw-rw-rw-
NormalCompletion.js
237
B
-rw-rw-rw-
NumberBitwiseOp.js
681
B
-rw-rw-rw-
NumberToBigInt.js
800
B
-rw-rw-rw-
NumericToRawBytes.js
2.12
KB
-rw-rw-rw-
ObjectDefineProperties.js
1.28
KB
-rw-rw-rw-
OrdinaryCreateFromConstructor....
825
B
-rw-rw-rw-
OrdinaryDefineOwnProperty.js
2.1
KB
-rw-rw-rw-
OrdinaryGetOwnProperty.js
1.15
KB
-rw-rw-rw-
OrdinaryGetPrototypeOf.js
491
B
-rw-rw-rw-
OrdinaryHasInstance.js
565
B
-rw-rw-rw-
OrdinaryHasProperty.js
478
B
-rw-rw-rw-
OrdinaryObjectCreate.js
1.58
KB
-rw-rw-rw-
OrdinarySetPrototypeOf.js
951
B
-rw-rw-rw-
OrdinaryToPrimitive.js
1018
B
-rw-rw-rw-
ParseHexOctet.js
1.39
KB
-rw-rw-rw-
PromiseResolve.js
506
B
-rw-rw-rw-
QuoteJSONString.js
1.32
KB
-rw-rw-rw-
RawBytesToNumeric.js
2.53
KB
-rw-rw-rw-
RegExpCreate.js
643
B
-rw-rw-rw-
RegExpExec.js
817
B
-rw-rw-rw-
RegExpHasFlag.js
1.07
KB
-rw-rw-rw-
RequireObjectCoercible.js
83
B
-rw-rw-rw-
SameValue.js
307
B
-rw-rw-rw-
SameValueNonNumber.js
551
B
-rw-rw-rw-
SameValueZero.js
218
B
-rw-rw-rw-
SecFromTime.js
402
B
-rw-rw-rw-
Set.js
1.17
KB
-rw-rw-rw-
SetFunctionLength.js
1014
B
-rw-rw-rw-
SetFunctionName.js
1.26
KB
-rw-rw-rw-
SetIntegrityLevel.js
1.78
KB
-rw-rw-rw-
SetTypedArrayFromArrayLike.js
2.14
KB
-rw-rw-rw-
SetTypedArrayFromTypedArray.js
5.04
KB
-rw-rw-rw-
SetValueInBuffer.js
4.05
KB
-rw-rw-rw-
SortIndexedProperties.js
1.51
KB
-rw-rw-rw-
SpeciesConstructor.js
837
B
-rw-rw-rw-
StringCreate.js
1.06
KB
-rw-rw-rw-
StringGetOwnProperty.js
1.33
KB
-rw-rw-rw-
StringIndexOf.js
1
KB
-rw-rw-rw-
StringPad.js
1.54
KB
-rw-rw-rw-
StringPaddingBuiltinsImpl.js
876
B
-rw-rw-rw-
StringToBigInt.js
588
B
-rw-rw-rw-
StringToCodePoints.js
678
B
-rw-rw-rw-
StringToNumber.js
1.3
KB
-rw-rw-rw-
SymbolDescriptiveString.js
443
B
-rw-rw-rw-
SystemTimeZoneIdentifier.js
526
B
-rw-rw-rw-
TestIntegrityLevel.js
1.17
KB
-rw-rw-rw-
ThisBigIntValue.js
472
B
-rw-rw-rw-
ThisBooleanValue.js
333
B
-rw-rw-rw-
ThisNumberValue.js
329
B
-rw-rw-rw-
ThisStringValue.js
327
B
-rw-rw-rw-
ThisSymbolValue.js
536
B
-rw-rw-rw-
ThrowCompletion.js
240
B
-rw-rw-rw-
TimeClip.js
468
B
-rw-rw-rw-
TimeFromYear.js
261
B
-rw-rw-rw-
TimeString.js
818
B
-rw-rw-rw-
TimeWithinDay.js
247
B
-rw-rw-rw-
TimeZoneString.js
1.92
KB
-rw-rw-rw-
ToBigInt.js
1.24
KB
-rw-rw-rw-
ToBigInt64.js
948
B
-rw-rw-rw-
ToBigUint64.js
703
B
-rw-rw-rw-
ToBoolean.js
130
B
-rw-rw-rw-
ToDateString.js
514
B
-rw-rw-rw-
ToIndex.js
515
B
-rw-rw-rw-
ToInt16.js
536
B
-rw-rw-rw-
ToInt32.js
688
B
-rw-rw-rw-
ToInt8.js
486
B
-rw-rw-rw-
ToIntegerOrInfinity.js
462
B
-rw-rw-rw-
ToLength.js
362
B
-rw-rw-rw-
ToNumber.js
802
B
-rw-rw-rw-
ToNumeric.js
523
B
-rw-rw-rw-
ToObject.js
126
B
-rw-rw-rw-
ToPrimitive.js
282
B
-rw-rw-rw-
ToPropertyDescriptor.js
1.41
KB
-rw-rw-rw-
ToPropertyKey.js
400
B
-rw-rw-rw-
ToString.js
389
B
-rw-rw-rw-
ToUint16.js
582
B
-rw-rw-rw-
ToUint32.js
587
B
-rw-rw-rw-
ToUint8.js
452
B
-rw-rw-rw-
ToUint8Clamp.js
603
B
-rw-rw-rw-
ToZeroPaddedDecimalString.js
568
B
-rw-rw-rw-
TrimString.js
756
B
-rw-rw-rw-
Type.js
297
B
-rw-rw-rw-
TypedArrayByteLength.js
1.11
KB
-rw-rw-rw-
TypedArrayCreateFromConstructo...
1.9
KB
-rw-rw-rw-
TypedArrayCreateSameType.js
1.25
KB
-rw-rw-rw-
TypedArrayElementSize.js
724
B
-rw-rw-rw-
TypedArrayElementType.js
655
B
-rw-rw-rw-
TypedArrayGetElement.js
1.2
KB
-rw-rw-rw-
TypedArrayLength.js
1.61
KB
-rw-rw-rw-
TypedArraySetElement.js
1.49
KB
-rw-rw-rw-
TypedArraySpeciesCreate.js
1.38
KB
-rw-rw-rw-
UTF16EncodeCodePoint.js
706
B
-rw-rw-rw-
UTF16SurrogatePairToCodePoint....
779
B
-rw-rw-rw-
UnicodeEscape.js
791
B
-rw-rw-rw-
ValidateAndApplyPropertyDescri...
5.59
KB
-rw-rw-rw-
ValidateAtomicAccess.js
1.3
KB
-rw-rw-rw-
ValidateAtomicAccessOnIntegerT...
682
B
-rw-rw-rw-
ValidateIntegerTypedArray.js
1.26
KB
-rw-rw-rw-
ValidateTypedArray.js
1.02
KB
-rw-rw-rw-
WeakRefDeref.js
573
B
-rw-rw-rw-
WeekDay.js
208
B
-rw-rw-rw-
WordCharacters.js
1.61
KB
-rw-rw-rw-
YearFromTime.js
407
B
-rw-rw-rw-
abs.js
207
B
-rw-rw-rw-
clamp.js
546
B
-rw-rw-rw-
floor.js
265
B
-rw-rw-rw-
max.js
176
B
-rw-rw-rw-
min.js
176
B
-rw-rw-rw-
modulo.js
168
B
-rw-rw-rw-
msFromTime.js
253
B
-rw-rw-rw-
substring.js
644
B
-rw-rw-rw-
truncate.js
461
B
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : GetSubstitution.js
'use strict'; var $TypeError = require('es-errors/type'); var regexTester = require('safe-regex-test'); var every = require('../helpers/every'); var inspect = require('object-inspect'); var Get = require('./Get'); var IsArray = require('./IsArray'); var min = require('./min'); var StringIndexOf = require('./StringIndexOf'); var StringToNumber = require('./StringToNumber'); var substring = require('./substring'); var ToString = require('./ToString'); var Type = require('./Type'); var isInteger = require('../helpers/isInteger'); var isStringOrUndefined = require('../helpers/isStringOrUndefined'); var isPrefixOf = require('../helpers/isPrefixOf'); var startsWithDollarDigit = regexTester(/^\$[0-9]/); var startsWithDollarTwoDigit = regexTester(/^\$[0-9][0-9]/); // http://www.ecma-international.org/ecma-262/15.0/#sec-getsubstitution // eslint-disable-next-line max-statements, max-params, max-lines-per-function module.exports = function GetSubstitution(matched, str, position, captures, namedCaptures, replacementTemplate) { if (typeof matched !== 'string') { throw new $TypeError('Assertion failed: `matched` must be a String'); } if (typeof str !== 'string') { throw new $TypeError('Assertion failed: `str` must be a String'); } if (!isInteger(position) || position < 0) { throw new $TypeError('Assertion failed: `position` must be a nonnegative integer, got ' + inspect(position)); } if (!IsArray(captures) || !every(captures, isStringOrUndefined)) { throw new $TypeError('Assertion failed: `captures` must be a possibly-empty List of Strings or `undefined`, got ' + inspect(captures)); } if (typeof namedCaptures !== 'undefined' && Type(namedCaptures) !== 'Object') { throw new $TypeError('Assertion failed: `namedCaptures` must be `undefined` or an Object'); } if (typeof replacementTemplate !== 'string') { throw new $TypeError('Assertion failed: `replacementTemplate` must be a String'); } var stringLength = str.length; // step 1 if (position > stringLength) { throw new $TypeError('Assertion failed: position > stringLength, got ' + inspect(position)); // step 2 } var templateRemainder = replacementTemplate; // step 3 var result = ''; // step 4 while (templateRemainder !== '') { // step 5 // 5.a NOTE: The following steps isolate ref (a prefix of templateRemainder), determine refReplacement (its replacement), and then append that replacement to result. var ref, refReplacement, capture; if (isPrefixOf('$$', templateRemainder)) { // step 5.b ref = '$$'; // step 5.b.i refReplacement = '$'; // step 5.b.ii } else if (isPrefixOf('$`', templateRemainder)) { // step 5.c ref = '$`'; // step 5.c.i refReplacement = substring(str, 0, position); // step 5.c.ii } else if (isPrefixOf('$&', templateRemainder)) { // step 5.d ref = '$&'; // step 5.d.i refReplacement = matched; // step 5.d.ii } else if (isPrefixOf('$\'', templateRemainder)) { // step 5.e ref = '$\''; // step 5.e.i var matchLength = matched.length; // step 5.e.ii var tailPos = position + matchLength; // step 5.e.iii refReplacement = substring(str, min(tailPos, stringLength)); // step 5.e.iv // 5.e.v NOTE: tailPos can exceed stringLength only if this abstract operation was invoked by a call to the intrinsic @@replace method of %RegExp.prototype% on an object whose "exec" property is not the intrinsic %RegExp.prototype.exec%. } else if (startsWithDollarDigit(templateRemainder)) { // step 5.f var digitCount = startsWithDollarTwoDigit(templateRemainder) ? 2 : 1; // step 5.f.i var digits = substring(templateRemainder, 1, 1 + digitCount); // step 5.f.ii var index = StringToNumber(digits); // step 5.f.iii if (index < 0 || index > 99) { throw new $TypeError('Assertion failed: `index` must be >= 0 and <= 99'); // step 5.f.iv } var captureLen = captures.length; // step 5.f.v if (index > captureLen && digitCount === 2) { // step 5.f.vi // 1. NOTE: When a two-digit replacement pattern specifies an index exceeding the count of capturing groups, it is treated as a one-digit replacement pattern followed by a literal digit. digitCount = 1; // step 5.f.vi.2 digits = substring(digits, 0, 1); // step 5.f.vi.3 index = StringToNumber(digits); // step 5.f.vi.4 } ref = substring(templateRemainder, 0, 1 + digitCount); // step 5.f.vii if (1 <= index && index <= captureLen) { // step 5.f.viii capture = captures[index - 1]; // step 5.f.viii.1 if (typeof capture === 'undefined') { // step 5.f.viii.2 refReplacement = ''; // step 5.f.viii.2.a } else { // step 5.f.viii.3 refReplacement = capture; // step 5.f.viii.3.a } } else { // step 5.f.ix refReplacement = ref; // step 5.f.ix.1 } } else if (isPrefixOf('$<', templateRemainder)) { // step 5.g var gtPos = StringIndexOf(templateRemainder, '>', 0); // step 5.g.i if (gtPos === -1 || typeof namedCaptures === 'undefined') { // step 5.g.ii ref = '$<'; // step 5.g.ii.1 refReplacement = ref; // step 5.g.ii.2 } else { // step 5.g.iii ref = substring(templateRemainder, 0, gtPos + 1); // step 5.g.iii.1 var groupName = substring(templateRemainder, 2, gtPos); // step 5.g.iii.2 if (Type(namedCaptures) !== 'Object') { throw new $TypeError('Assertion failed: Type(namedCaptures) is not Object'); // step 5.g.iii.3 } capture = Get(namedCaptures, groupName); // step 5.g.iii.4 if (typeof capture === 'undefined') { // step 5.g.iii.5 refReplacement = ''; // step 5.g.iii.5.a } else { // step 5.g.iii.6 refReplacement = ToString(capture); // step 5.g.iii.6.a } } } else { // step 5.h ref = substring(templateRemainder, 0, 1); // step 5.h.i refReplacement = ref; // step 5.h.ii } var refLength = ref.length; // step 5.i templateRemainder = substring(templateRemainder, refLength); // step 5.j result += refReplacement; // step 5.k } return result; // step 6 };
Close