Skip to content

Latest commit

 

History

History
87 lines (60 loc) · 2.5 KB

File metadata and controls

87 lines (60 loc) · 2.5 KB

GitHub release Go Report Card Build Status GoDoc GitHub license

Boll Kaspersky Subscriptions Parser

Golang Library for parsing Kaspersky Subscriptions directly from Boll.ch

Installation

go get https://github.com/pitw/boll-kaspersky-subscriptions-parser

Example

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

CLI

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

Help

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    

Docker

CLI is also available as 🐋 Docker Image.

docker pull pitwch/boll-kaspersky-subscriptions:latest