python codes that does these
0. quit
1. look up attack attempts
2. look up country of origin
3. look up number of different usernames attempted
====================================================
please choose the menu above:1
see how many times attacks originated from an ip.
enter the ip address: 222.234.0.57
address 222.234.0.57 attempted to log in 599 times
======================================================
0. quit
1. look up attack attempts
2. look up country of origin
3. look up number of different usernames attempted
====================================================
please choose the menu above:2
see which country an attack originated from.
enter the ip address: 222.234.0.57
222.234.0.57 is located in republic of korea
=====================================================
0. quit
1. look up attack attempts
2. look up country of origin
3. look up number of different usernames attempted
======================================================
please choose the menu above:3
see how many different usernames an attacker tried.
enter the ip address:222.234.0.57
222.234.0.57 used 580 different usernames.
=======================================================
0. quit
1. look up attack attempts
2. look up country of origin
3. look up number of different usernames attempted
========================================================
please choose the menu above:1
see how many times attacks originated from an ip.
enter the ip address: IP
address IP attempted to log in Count times
========================================================
0. quit
1. look up attack attempts
2. look up country of origin
3. look up number of different usernames attempted
========================================================
please choose the menu above: 0
Done!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12 years ago
Purchase the answer to view it

- attacks.py_.txt
- attacks.csv