FilterReportIPsByCount


NameFilterReportIPsByCount JSON
Version 1.0.10 PyPI version JSON
download
home_pagehttps://github.com/divyaaveerama/FilterReportIPsByCount
SummaryScript to read through a report, grab IPs and check if malicious, output-ing malicious IP information
upload_time2020-11-22 09:30:00
maintainer
docs_urlNone
authorDivyaa Kamalanathan
requires_python>=3.6
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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 ](https://www.python.org/downloads/)

### Method 1: Install with pip from PyPi
    
1.  In the command line, navigate to the repository and enter the below command (Only required with first use)
    * `python -m pip install FilterReportIPsByCount`
	
3.  Enter the below command with the following arguments:
    * `python FilterReportIPsByCount -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 
	> **Make sure you do not include the arrow brackets (<>) when entering the commands**
	
##### Example Commands
* With input filename and **no output filename** and **no count**
	`python -m FilterReportIPsByCount -i "BotReport.xls"`
	
* With input filename and output filename and **no count**
	`python -m FilterReportIPsByCount -i "BotReport.xls -o "ListOfIPs.txt"`

* With input filename and output filename and count
	`python -m FilterReportIPsByCount -i "BotReport.xls" -c 2`
	
### Method 2: No installation
1.  Download the zip file or clone the repository
3.  In the command line, navigate to the repository and enter the below command (Only required with first use)
    * `pip install -r requirements.txt`
3.  Enter the below command with the following arguments:
    * `python 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 
	> **Make sure you do not include the arrow brackets (<>) when entering the commands**
	
##### Example Commands
* With input filename and **no output filename** and **no count**
	`python -m FilterReportIPsByCount\FilterReportIPsByCount.py -i "BotReport.xls"`
	
* With input filename and output filename and **no count**
	`python -m FilterReportIPsByCount\FilterReportIPsByCount.py -i "BotReport.xls -o "ListOfIPs.txt"`

* With input filename and output filename and count
	`python -m FilterReportIPsByCount\FilterReportIPsByCount.py -i "BotReport.xls" -c 2`
	
### Method 3: Install with git 
1.	In the command line, install the repository by entering the below command (only required the first time)
	* `python -m pip install git+https://github.com/divyaaveerama/FilterReportIPsByCount.git#egg=FilterReportIPsByCount`
2.  Once installed, Enter the below command with the following arguments:
    * `python FilterReportIPsByCount -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 
	> **Make sure you do not include the arrow brackets (<>) when entering the commands**
	
##### Example Commands
* With input filename and **no output filename** and **no count**
	`python -m FilterReportIPsByCount -i "BotReport.xls"`
	
* With input filename and output filename and **no count**
	`python -m FilterReportIPsByCount -i "BotReport.xls -o "ListOfIPs.txt"`

* With input filename and output filename and count
	`python -m FilterReportIPsByCount -i "BotReport.xls" -c 2`
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/divyaaveerama/FilterReportIPsByCount",
    "name": "FilterReportIPsByCount",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Divyaa Kamalanathan",
    "author_email": "divyaa.kamalanathan@intrinium.com",
    "download_url": "https://files.pythonhosted.org/packages/6c/35/2d20cdf49d6e64196d83de779d505fa1ac7d05db801a6ecb25948bb6bcd4/FilterReportIPsByCount-1.0.10.tar.gz",
    "platform": "",
    "description": "# FilterReportIPsByCount\nScript 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.\n\n## How to Use\n[Make sure that you have Python installed on your computer, and that it is updated to at least version 3.6 ](https://www.python.org/downloads/)\n\n### Method 1: Install with pip from PyPi\n    \n1.  In the command line, navigate to the repository and enter the below command (Only required with first use)\n    * `python -m pip install FilterReportIPsByCount`\n\t\n3.  Enter the below command with the following arguments:\n    * `python FilterReportIPsByCount -i \"<input filename>\" -o \"<output filename>\" -c <count>`\n    > **-i [input filename]** : REQUIRED, the filename (with path, if not on the same directory) of the excel file you want to analyze\n    >\n    > **-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\n    >\n    > **-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\n    >\n    > **-h** : Shows the arguments and options required \n\t> **Make sure you do not include the arrow brackets (<>) when entering the commands**\n\t\n##### Example Commands\n* With input filename and **no output filename** and **no count**\n\t`python -m FilterReportIPsByCount -i \"BotReport.xls\"`\n\t\n* With input filename and output filename and **no count**\n\t`python -m FilterReportIPsByCount -i \"BotReport.xls -o \"ListOfIPs.txt\"`\n\n* With input filename and output filename and count\n\t`python -m FilterReportIPsByCount -i \"BotReport.xls\" -c 2`\n\t\n### Method 2: No installation\n1.  Download the zip file or clone the repository\n3.  In the command line, navigate to the repository and enter the below command (Only required with first use)\n    * `pip install -r requirements.txt`\n3.  Enter the below command with the following arguments:\n    * `python FilterReportIPsByCount\\FilterReportIPsByCount.py -i <input filename> -o <output filename> -c <count>`\n    > **-i [input filename]** : REQUIRED, the filename (with path, if not on the same directory) of the excel file you want to analyze\n    >\n    > **-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\n    >\n    > **-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\n    >\n    > **-h** : Shows the arguments and options required \n\t> **Make sure you do not include the arrow brackets (<>) when entering the commands**\n\t\n##### Example Commands\n* With input filename and **no output filename** and **no count**\n\t`python -m FilterReportIPsByCount\\FilterReportIPsByCount.py -i \"BotReport.xls\"`\n\t\n* With input filename and output filename and **no count**\n\t`python -m FilterReportIPsByCount\\FilterReportIPsByCount.py -i \"BotReport.xls -o \"ListOfIPs.txt\"`\n\n* With input filename and output filename and count\n\t`python -m FilterReportIPsByCount\\FilterReportIPsByCount.py -i \"BotReport.xls\" -c 2`\n\t\n### Method 3: Install with git \n1.\tIn the command line, install the repository by entering the below command (only required the first time)\n\t* `python -m pip install git+https://github.com/divyaaveerama/FilterReportIPsByCount.git#egg=FilterReportIPsByCount`\n2.  Once installed, Enter the below command with the following arguments:\n    * `python FilterReportIPsByCount -i \"<input filename>\" -o \"<output filename>\" -c <count>`\n    > **-i [input filename]** : REQUIRED, the filename (with path, if not on the same directory) of the excel file you want to analyze\n    >\n    > **-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\n    >\n    > **-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\n    >\n    > **-h** : Shows the arguments and options required \n\t> **Make sure you do not include the arrow brackets (<>) when entering the commands**\n\t\n##### Example Commands\n* With input filename and **no output filename** and **no count**\n\t`python -m FilterReportIPsByCount -i \"BotReport.xls\"`\n\t\n* With input filename and output filename and **no count**\n\t`python -m FilterReportIPsByCount -i \"BotReport.xls -o \"ListOfIPs.txt\"`\n\n* With input filename and output filename and count\n\t`python -m FilterReportIPsByCount -i \"BotReport.xls\" -c 2`",
    "bugtrack_url": null,
    "license": "",
    "summary": "Script to read through a report, grab IPs and check if malicious, output-ing malicious IP information",
    "version": "1.0.10",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "3598899fde3e406d999690f0ad42dfdb",
                "sha256": "0b270a6842fce942e819980a5e8da13bac7f30112025672d88f7b2650e49b1bd"
            },
            "downloads": -1,
            "filename": "FilterReportIPsByCount-1.0.10-py3.9.egg",
            "has_sig": false,
            "md5_digest": "3598899fde3e406d999690f0ad42dfdb",
            "packagetype": "bdist_egg",
            "python_version": "3.9",
            "requires_python": ">=3.6",
            "size": 8082,
            "upload_time": "2020-11-22T09:29:59",
            "upload_time_iso_8601": "2020-11-22T09:29:59.644776Z",
            "url": "https://files.pythonhosted.org/packages/e2/20/eb1775f43a549e827e96a342b01805e3862fd81e6889c92e167f5744fdb2/FilterReportIPsByCount-1.0.10-py3.9.egg",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "a6f7f2dbef696680b756a96a5a8df944",
                "sha256": "8c206a7d1c4464672fb45ea966e136b222ce3326ffdec56b04940fccba6ba43e"
            },
            "downloads": -1,
            "filename": "FilterReportIPsByCount-1.0.10.tar.gz",
            "has_sig": false,
            "md5_digest": "a6f7f2dbef696680b756a96a5a8df944",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4333,
            "upload_time": "2020-11-22T09:30:00",
            "upload_time_iso_8601": "2020-11-22T09:30:00.783008Z",
            "url": "https://files.pythonhosted.org/packages/6c/35/2d20cdf49d6e64196d83de779d505fa1ac7d05db801a6ecb25948bb6bcd4/FilterReportIPsByCount-1.0.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-11-22 09:30:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": null,
    "github_project": "divyaaveerama",
    "error": "Could not fetch GitHub repository",
    "lcname": "filterreportipsbycount"
}
        
Elapsed time: 0.16513s