Golang Library for parsing Kaspersky Subscriptions directly from Boll.ch
go get https://github.com/pitw/boll-kaspersky-subscriptions-parser
func main() {
subscriptions, err := subscriptionparser.ParseSubscriptions("myuser", "mypsupersecretpassword")
if (err != nil) {
fmt.Print(err)
}
// Returns Subscription Struct
fmt.Print(subscriptions)
}
Detailed docs available in GoDoc
Also included is a small 💻 CLI for getting subscriptions directly as:
- CSV
- JSON
Latest version of CLI is always available in Releases
Example:
subscription.exe -password 1234 -username test
// Parses Subscriptions and downloads them as CSV
Can be viewed with param -h
subscription.exe -h
-client int
ID of Subscription - Client
-filename string
Name of exported file (default "KasperskySubscriptions")
-format string
Format (csv,json) (default "csv")
-password string
Password for Boll.ch
-username string
Username for Boll.ch
-version
Shows version
CLI is also available as 🐋 Docker Image.
docker pull pitwch/boll-kaspersky-subscriptions:latest