server

command module
v0.0.0-...-95adb3f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

README

Ransomware server

How to setup

First you need to create a private and public RSA encryption key using the gen_rsa utility. Secondly you need to create a database in which the victim information is stored. Then create an environment variable file .env like so:

db_host=host of the database
db_port=port in which the database is hosted
db_user=name of the database user
db_name=name of the database
port=port in which the server is hosted

After all this you need to update the server information in ../ransomware and ../victim packages.

Clearing victim data

Just running: go run server.go remove_data, will remove all victim information from the database.

Key decryption without server

You can decrypt files using the decrypt_rsa_key.go <uuid> <database|file> program. The database flag will search for the victim data using the uuid from the database to get the encryption key. The file flag will search for the decrypt file in the home directory for the key data.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL