diff --git a/lib/module/distress.ts b/lib/module/distress.ts index 63a58fa..3c07517 100644 --- a/lib/module/distress.ts +++ b/lib/module/distress.ts @@ -127,17 +127,17 @@ export class Distress extends Module { value = value.toLowerCase() if (value.includes("kb")) { - return Number(value.split("kb")[0]) * 1024 + return Number(value.split("kb")[0]) * 128 } else if (value.includes("mb")) { - return Number(value.split("mb")[0]) * 1024 * 1024 + return Number(value.split("mb")[0]) * 128 * 1024 } else if (value.includes("gb")) { - return Number(value.split("gb")[0]) * 1024 * 1024 * 1024 + return Number(value.split("gb")[0]) * 128 * 1024 * 1024 } else if (value.includes("tb")) { - return Number(value.split("tb")[0]) * 1024 * 1024 * 1024 * 1024 + return Number(value.split("tb")[0]) * 128 * 1024 * 1024 * 1024 } else if (value.includes("pb")) { - return Number(value.split("pb")[0]) * 1024 * 1024 * 1024 * 1024 * 1024 + return Number(value.split("pb")[0]) * 128 * 1024 * 1024 * 1024 * 1024 } else if (value.includes("eb")) { - return Number(value.split("eb")[0]) * 1024 * 1024 * 1024 * 1024 * 1024 * 1024 + return Number(value.split("eb")[0]) * 128 * 1024 * 1024 * 1024 * 1024 * 1024 } else { return Number(value.split("b")[0]) } diff --git a/lib/module/mhddosproxy.ts b/lib/module/mhddosproxy.ts index 5c31ae5..57f4718 100644 --- a/lib/module/mhddosproxy.ts +++ b/lib/module/mhddosproxy.ts @@ -173,17 +173,17 @@ export class MHDDOSProxy extends Module { value = value.toLowerCase() if (value.includes("kb")) { - return Number(value.split(" ")[0]) * 125 + return Number(value.split(" ")[0]) * 128 } else if (value.includes("mb")) { - return Number(value.split(" ")[0]) * 125 * 1024 + return Number(value.split(" ")[0]) * 128 * 1024 } else if (value.includes("gb")) { - return Number(value.split(" ")[0]) * 125 * 1024 * 1024 + return Number(value.split(" ")[0]) * 128 * 1024 * 1024 } else if (value.includes("tb")) { - return Number(value.split(" ")[0]) * 125 * 1024 * 1024 * 1024 + return Number(value.split(" ")[0]) * 128 * 1024 * 1024 * 1024 } else if (value.includes("pb")) { - return Number(value.split(" ")[0]) * 125 * 1024 * 1024 * 1024 * 1024 + return Number(value.split(" ")[0]) * 128 * 1024 * 1024 * 1024 * 1024 } else if (value.includes("eb")) { - return Number(value.split(" ")[0]) * 125 * 1024 * 1024 * 1024 * 1024 * 1024 + return Number(value.split(" ")[0]) * 128 * 1024 * 1024 * 1024 * 1024 * 1024 } else { return Number(value.split(" ")[0]) } diff --git a/package.json b/package.json index 766d0ed..e41a8da 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "itarmykit", - "version": "1.3.1", + "version": "1.3.2", "description": "IT Army Kit", "productName": "IT Army Kit", "author": { diff --git a/package.winxp.json b/package.winxp.json index e2b4e67..de68b75 100644 --- a/package.winxp.json +++ b/package.winxp.json @@ -1,6 +1,6 @@ { "name": "itarmykit", - "version": "1.3.1", + "version": "1.3.2", "description": "IT Army Kit", "productName": "IT Army Kit", "author": {