]> git.feebdaed.xyz Git - linuxyz.git/commitdiff
clarify spoofing message
authorseantywork <seantywork@gmail.com>
Tue, 2 Sep 2025 00:08:52 +0000 (09:08 +0900)
committerseantywork <seantywork@gmail.com>
Tue, 2 Sep 2025 00:08:52 +0000 (09:08 +0900)
spoof-arp/main.c

index e3ece1e0a12397527870d69461b5b0f7cf2669b1..4f6512a0e8ce596e3166bd913387dad7e419d3cc 100644 (file)
@@ -233,10 +233,11 @@ int main(int argc, char** argv){
        while(1){
                if(mode == 0){
                        do_spoof_g(fd, myhwaddr, its_ip_be, your_ethinfo.arp_sha, your_ip_be);
+                       printf("gratuitous arp...\n");
                } else {
                        do_spoof_ng(fd, myhwaddr, its_ip_be, your_ethinfo.arp_sha, your_ip_be);
+                       printf("spoofing...\n");
                }
-               printf("spoofing...\n");
                sleep(5);
        }