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 + } +}