معرفی شرکت ها


find-and-check-hosts-0.1.3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Find hostnames and IPv4 addresses in text files and check them against a set of rules
ویژگی مقدار
سیستم عامل -
نام فایل find-and-check-hosts-0.1.3
نام find-and-check-hosts
نسخه کتابخانه 0.1.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده six-two
ایمیل نویسنده pip@six-two.dev
آدرس صفحه اصلی https://gitlab.com/six-two/find-and-check-hosts
آدرس اینترنتی https://pypi.org/project/find-and-check-hosts/
مجوز MIT License
# find-and-check-hosts [![PyPI version](https://img.shields.io/pypi/v/find-and-check-hosts)](https://pypi.org/project/find-and-check-hosts/) ![License](https://img.shields.io/pypi/l/find-and-check-hosts) ![Python versions](https://img.shields.io/pypi/pyversions/find-and-check-hosts) Searches files for IPs and hostnames and checks them against a rule list to prevent accidentially leaking sensitive information. ## Installation This repo can now be installed with pip: ``` pip install find-and-check-hosts ``` Or you can install it manually by following these steps: 1. Clone this repository 2. Install the dependencies listed in `./requirements.txt` with pip 3. (Optional) Do a `pip install .` to add the `find-and-check-hosts` command to your PATH ## Usage If you did the pip installation, you should be able to just call the installed script: ``` find-and-check-hosts <arguments> ``` If you just cloned it, you need to call it by path: ``` ./src/main.py <arguments> ``` ## Notable changes ### Version 0.1.3 - Added flags that can be used to check if results were returned (`--assert-results` and `--assert-no-results`). - Made regexes case insensitive, so that they can find and properly handle domains such as `eXampLe.coM`. ### Version 0.1.2 - Added a `domain` filter, that will match a domain and any subdomains. For example `domain: example.com` will match `example.com`, `my.subdomain.example.com`, but not `my-example.com` or `example-com`. - Allowed the `regex`, `glob` and `domain` fields to also accept a list of values. For example: ``` hostname_rules: - status: ok - domain: - example.com - example.org ``` ## Tests ```bash find-and-check-hosts -c src/find_and_check_hosts/example-config.yaml tests/ ```


نیازمندی

مقدار نام
>=5.4.0 PyYAML
>=0.7.0 schema
>=1.1.0 termcolor


زبان مورد نیاز

مقدار نام
>=3.9 Python


نحوه نصب


نصب پکیج whl find-and-check-hosts-0.1.3:

    pip install find-and-check-hosts-0.1.3.whl


نصب پکیج tar.gz find-and-check-hosts-0.1.3:

    pip install find-and-check-hosts-0.1.3.tar.gz