Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about 0.3.2 ARP attack #2

Open
tarihub opened this issue May 22, 2019 · 2 comments
Open

Question about 0.3.2 ARP attack #2

tarihub opened this issue May 22, 2019 · 2 comments

Comments

@tarihub
Copy link

tarihub commented May 22, 2019

Hello, may I ask a question?
In " arp -a -n | awk '{++S[$4]} END {for(a in S) {if($2>1) print $2,a,S[a]}}' "
Why is it to judge $2 > 1 to judge the existence of arp attack?

According to the characteristics of the arp attack, the judgment condition should not be the same mac address corresponding to different IPs?

Could you tell me that the meaning of $2 (IP) and 1 comparison?

Thank you!

@feiniao112
Copy link
Owner

The same IP corresponds to a different MAC

@tarihub tarihub closed this as completed Jun 7, 2019
@tarihub tarihub reopened this Jun 7, 2019
@tarihub
Copy link
Author

tarihub commented Jun 7, 2019

oh... I got it. You are right. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants