Script to read through a report, grab IPs and check if malicious, output-ing malicious IP information
Project description
FilterReportIPsByCount
Script to read through a report containing IP addresses that are potentially malicious and require blacklisting, check if those IPs appear in the report a number of times (count), and check if those IPs have been blacklisted. Outputs list of IPs and the IPs' analysis to standard out or in a chosen file.
How to Use
- Make sure that you have Python installed on your computer, and that it is updated to at least version 3.6
- Download the zip file or clone the repository
- In the command line, navigate to the repository and enter the below command (Only required with first use)
pip install -r requirements.txt
- Enter the below command with the following arguments
FilterReportIPsByCount\FilterReportIPsByCount.py -i <input filename> -o <output filename> -c <count>
-i [input filename] : REQUIRED, the filename (with path, if not on the same directory) of the excel file you want to analyze
-o [output filename] : Optional, the filename of the text file to which you would like to print the IP analysis information; if not specified, will output to stdout
-c [count] : Optional, number of times an IP should appear in the report to be added to the list of IPs to analyze; if not specified, will default to 5
-h : Shows the arguments and options required
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for FilterReportIPsByCount-1.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a9bbc3add964ae6a7406053ea054849d4e2be397c2057f9632b2553afe212da |
|
MD5 | 4d367703d461d905de6965ed383c0989 |
|
BLAKE2b-256 | f4de72dcdb278cefdcb5d43318eb7b3220d1cb1f10477568f2c8c89b00da46a4 |
Hashes for FilterReportIPsByCount-1.0.6-py3.8.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | c95e164c91a4bbffd669c95fe80ef33bfad7632df80767bf76e00bfef0d79783 |
|
MD5 | d377968ae86a2b1ebfa8032314187393 |
|
BLAKE2b-256 | 74df1832e2b327e5c48dae8615c1d29adac6772e42388ffc5a559711fb7b78a5 |