From 6d1857da83e09a9349b8ac9dbd8074d23204e566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=B4=8D=E1=B4=8F=E1=B4=8F=C9=B4D4=CA=80=E1=B4=8B?= Date: Mon, 6 Jul 2020 15:20:29 +0800 Subject: [PATCH] update readme --- README.md | 2 +- utils/utils.go | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4528d72..4010a14 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ hack-browser-data is an open-source tool that could help you export data from br | Edge [MacOS]
(require password) | ✅ | ✅ | ✅ | ✅ | | 360 Speed Browser [Windows] | ✅ | ✅ | ✅ | ✅ | | QQ Browser [Windows] | ✅ | ✅ | ✅ | ✅ | -| FireFox [MacOS] | ✅ | ✅ | ✅ | ✅ | +| FireFox [MacOS] | ✅ | ❌ | ❌ | ❌ | | FireFox [Windows] | ❌ | ❌ | ❌ | ❌ | | Safari [MacOS] | ❌ | ❌ | ❌ | ❌ | | Internet Explorer [Windows] | ❌ | ❌ | ❌ | ❌ | diff --git a/utils/utils.go b/utils/utils.go index 6ab277d..70730af 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -149,3 +149,15 @@ func MakeDir(dirName string) { err = os.Mkdir(dirName, 0700) } } + +func paddingZero(s []byte, l int) []byte { + h := l - len(s) + if h <= 0 { + return s + } else { + for i := len(s); i < l; i++ { + s = append(s, 0) + } + return s + } +}