• Stars
    star
    110
  • Rank 316,770 (Top 7 %)
  • Language
    Go
  • License
    MIT License
  • Created over 7 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Go Based Licensing System for Digital Rights Management

SimpleLicensing

A VERY BASIC Go Based Licensing System for Digital Rights Management

Included is a simple Server i built to handle the backend things, a database.sql file (you need to import into MySQL), the main package (License.go), and a example client show you how it could be used.

This is something i put together fast, but it works. Feel free to use it as you please.

How it Works

  1. Server creates a table for license email, license, experation date, and ip
  2. Server generates a license key (XXXX-XXXX-XXXX)
  3. Server encrypts it using your Servers key (Generated on setup) and server gives you it
  4. You give client to buyer/user with license.dat file that contains the encrypted license
  5. Client connects to license server, sending its license.dat
  6. Server trys to decrypt liscense.dat and comapire with any in database
  7. If Server finds the key it check to see if the license is expiered and update last IP
  8. If not expired client runs, else it will tell them its expiered and closes

NOTE: The client must have an internet connection to the license server!

Licensing.go

Licensing can be called at anytime in your program, Just import and select to settings for it. Its a simple one line command.

Licensing.CheckLicense("{LICESNESSERVER}", {USESSL}, {SILENT})

  • {LICESNESSERVER} = http://127.0.0.1:8080
  • {USESSL} = true or false to use SSL (Your server will need this setting too).
  • {SILENT} = Show messages or not.

Server

  • Ability to add new licenses to database
  • Config Setup Tool
  • Ability to remove liceses from database

Config.toml Format

Packages Used

  • github.com/gorilla/mux
  • github.com/pelletier/go-toml
  • github.com/go-sql-driver/mysql

Other

Go is a amazing and powerful programming language. If you already haven't, check it out; https://golang.org/

Donations

Please Donate To Bitcoin Address: 1AEbR1utjaYu3SGtBKZCLJMRR5RS7Bp7eE

More Repositories

1

GoBot2

Second Version of The GoBot Botnet, But more advanced.
Go
719
star
2

GoBot

A Go based HTTP Botnet
Go
119
star
3

Project-Whis

UNFINISHED Botnet using a Go and Bootstrap Based C2, Support for Windows, Linux and Android Clients.
JavaScript
93
star
4

Chrome-Password-Recovery

A Simple Go program for Windows that will recover Google Chrome Logins
Go
71
star
5

Windows-KeyLogger

Go
63
star
6

Live-Desktop-Capture

A Live Desktop Capture using Go and WebSockets
Go
44
star
7

HWID-Based-License-System

A GoLANG based HWID license system, basic.
Go
39
star
8

Record-Audio-on-Windows

A Go program that uses winmm.dll to record audio to a WAV file.
Go
36
star
9

Windows-Backdoor

Simple Windows backdoor written in Go
Go
24
star
10

Windows-API-Capture-Webcam

Use Windows API to capture a image from a Webcam in GoLANG
Go
19
star
11

Windows-Backdoor-AES

I reworked the Go Windows Backdoor to use AES encryption.
Go
18
star
12

Process-Protection

Basic windows process protection written in Go, using the NtSetInformationProcess API
Go
17
star
13

VB.net-HTTP-Botnet

An unfinished project. HTTP botnet coded in VB.net and PHP.
JavaScript
13
star
14

Fuck-with-Task-Manager

Using the Windows API to mess with Task Manager in GoLANG
Go
13
star
15

Mega-Bruteforce

Simple Mega.co.nz Account Bruteforce Tool
Go
11
star
16

Basic-Webserver-with-UPnP

Go
11
star
17

GoUserKit

Simple 'UserKit' for Malware written in Go. Startup, Hidden Files, Critical Process and Registry Watcher
Go
11
star
18

Digispark-Payload-Downloader

Code for programming a Digispark to download and run a program.
Arduino
11
star
19

Java-HTTP-Botnet-Frame

A HTTP bot in Java with basic commands and ability's
Java
10
star
20

UAC-Bypass

Visual Basic
7
star
21

PumpItUp

GoLANG Based File Pumper, Increase file sizes with null bytes
Go
7
star
22

Change-Windows-Background

Go
7
star
23

Junk-Go-Generator

Generate junk code in Go
Go
6
star
24

GamingGroupManager

A tool to control gamming servers and handle Member management. Written in Go.
CSS
5
star
25

Go-Queue

Small example on how you can make a Que in Go(GoLANG)
Go
4
star
26

Simple-DGA

A simple take on a DGA system written in Go
Go
3
star
27

Queue

Go Simple Queue Example
Go
3
star
28

RPC-Based-Plugin-System

A take at a RPC based plugin system in GoLANG.
Go
3
star
29

Builder-and-Stub

A Builder and Stub example in GoLANG Edit or add to a already compiled program.
Go
3
star
30

Roberts-Space-Industries-Gift-Generator

Simple attempt at making a program to Brute Force Gift codes for Roberts Space Industries AKA Star Citizen.
Go
3
star
31

Slot-Machine-Example

Simple Slot Mechine Example in VB.net
Visual Basic
1
star
32

User32-BlockInput

Using GO to set BlockInput to true
Go
1
star