Browse Source

Added license text to the thanks package; Usage information in README

master
parent
commit
50e319ebb9
  1. 14
      README.md
  2. 12
      src/server/thanks/thanks.go

14
README.md

@ -2,22 +2,28 @@
A polite spyware that asks permission to collect data beforehand. A polite spyware that asks permission to collect data beforehand.
## Usage
Start server side executable with needed configuration and put thanksdir in the same directory. Received data will be put in the created directory beside the executable.
Launch client executable for a one-time data collection and transfer with a pre-defined server address (recompile with the serverAddr changed to your server's address beforehand). If permission has been granted - the data will be POSTed to the server and a thanks message will be delivered and printed.
## Features ## Features
### v0.1.1 ### v0.1.1
### Client #### Client
- Display thanks message from the server - Display thanks message from the server
### Server #### Server
- Thanks system and thanksfiles - Thanks system and thanksfiles
### v0.1.0 ### v0.1.0
### Client #### Client
- System information - System information
### Server #### Server
- Collected data is sorted per machine in a corresponding folder (hostname_username_IP) - Collected data is sorted per machine in a corresponding folder (hostname_username_IP)
- TLS support - TLS support

12
src/server/thanks/thanks.go

@ -1,3 +1,15 @@
/*
The MIT License (MIT)
Copyright © 2023 Kasyanov Nikolay Alexeyevich (Unbewohnte)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package thanks package thanks
import ( import (

Loading…
Cancel
Save