docs: update readme

pull/83/head
ᴍᴏᴏɴD4ʀᴋ 4 years ago
parent 0a904b93de
commit a258c3e65a
  1. 2
      README.md
  2. 12
      utils/utils.go

@ -13,7 +13,7 @@ hack-browser-data is an open-source tool that could help you export data from br
| Edge [MacOS]<br />(require password) | ✅ | ✅ | ✅ | ✅ |
| 360 Speed Browser [Windows] | ✅ | ✅ | ✅ | ✅ |
| QQ Browser [Windows] | ✅ | ✅ | ✅ | ✅ |
| FireFox [MacOS] | ✅ | ✅ | ✅ | ✅ |
| FireFox [MacOS] | ✅ | ❌ | ❌ | ❌ |
| FireFox [Windows] | ❌ | ❌ | ❌ | ❌ |
| Safari [MacOS] | ❌ | ❌ | ❌ | ❌ |
| Internet Explorer [Windows] | ❌ | ❌ | ❌ | ❌ |

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

Loading…
Cancel
Save