Advertisement
FlyFar

payloads.h

Mar 21st, 2023
666
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.51 KB | Cybersecurity | 0 0
  1. #pragma once
  2. #include "memz.h"
  3.  
  4. typedef struct {
  5. #ifdef CLEAN
  6.     int(*payloadFunction)(int, int, BOOLEAN);
  7.     wchar_t *name;
  8.     HWND btn;
  9.     int delay, times, runtime, delaytime;
  10.     BOOLEAN safe;
  11. #else
  12.     int(*payloadFunction)(int, int);
  13.     int delay;
  14. #endif
  15. } PAYLOAD;
  16.  
  17. #ifdef CLEAN
  18. #define PAYLOADFUNC int times, int runtime, BOOLEAN skip
  19. #define PAYLOADHEAD if (skip) goto out;
  20. #else
  21. #define PAYLOADFUNC int times, int runtime
  22. #define PAYLOADHEAD
  23. #endif
  24.  
  25. extern PAYLOAD payloads[];
  26. extern const size_t nPayloads;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement