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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc08dd2830e8f4a57e4f6e8574c787bfd6e8adb4d1ddc34df20efacf2a2ccb3f |
|
MD5 | a101b86a03b4ef767d6ede8a878f7d7a |
|
BLAKE2b-256 | 1d1b9be76d33f408a92f74c4cfd8ba4b539b21c5758e29fd2258b74fa2401868 |
Hashes for FilterReportIPsByCount-1.0.7-py3.8.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38a477a080b40ca5b56d37f94130270bb5dde5fdc706dedd0532109a96b87037 |
|
MD5 | bfd209b376530444f3efe456ee89a7bd |
|
BLAKE2b-256 | 7eb03caf430e24ab494ef35c2f3b8080ed07a6e1d7814cdd28dac422fb555230 |