Fixed bug in client getting local ip

This commit is contained in:
h3xduck
2022-05-15 19:09:04 -04:00
parent 6e76e1ed1a
commit 57f3edd8fa
6 changed files with 16 additions and 14 deletions

View File

@@ -118,6 +118,7 @@ char* getLocalIpAddress(){
if(strcmp(ifa->ifa_name, buf)==0){
//Interface we chose
printf("["KBLU"INFO"RESET"]""Attacker IP selected: %s (%s)\n", ifa->ifa_name, host);
strcpy(IPbuffer, host);
return IPbuffer;
}
}