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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73c67d689c78a9b1e0b5b1f722043205d44fa468e5b1b870f0b0c0180e664769 |
|
MD5 | f618777e72dd6b2afa1a4cccd71a5cbd |
|
BLAKE2b-256 | 9b027b1edb0658d5600efcbf0dbea3e6bcd9a4a4241af642240edc59c5315ac4 |
Hashes for FilterReportIPsByCount-1.0.8-py3.9.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 627ab4c3229001e692054f7742e104cb22c052fbaf3a95a56261ac314fe08c3b |
|
MD5 | 88d0fbc8272b21bde1ce2addb9159672 |
|
BLAKE2b-256 | 2854fc327f9340d0249b309c4d05a66c77ef6fb01ea87994e1d5f11e38c53c9c |