Skip to content

Commit

Permalink
Introduction of repository structure
Browse files Browse the repository at this point in the history
  • Loading branch information
funilrys committed Mar 12, 2018
1 parent e261568 commit 883b03f
Show file tree
Hide file tree
Showing 26 changed files with 1,092 additions and 0 deletions.
105 changes: 105 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
.static_storage/
.media/
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
38 changes: 38 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
env:
global:
- secure: LWfhCa866KWCgQTDr8671yb5KCo5xttShvlT0x2UVntXy6rKSPOpkZxR6tTUdQhvMkaH1XUZscwwLVeV79o3TtgM99RYd9LpN5Wq0jCJ4h4wcMLUebrmlQh1o3gNQS+QBGz494qYVUyVGNdsA/fzuY374city+bBvnUFg6N7v6NdhWKcIL5i8fpA7wZ3x0mQDOOy9hoKlwJXBVUcg8IO3q6bEeSvwrlmVDuaEKuUwD50F0GQMaH5u8WRhZd2RnTd+ASI+blVM/MT3xabGt46KGxUGE8S9L37rGHhRdU2wGkRVpGLR10SFIpWGc/x1Q+xCD/QNvFBBTLKudZqCFl11WAFH+K+qSyKGYbobIOG+nHkfD0QdnMqAAqk7QkOJDIbPifOAMchO8AVLqeHPWYpu+5R5RqWTHXj1u7EvSazFx04tzD841Z5c9rwktfexru5iEWOBxde7V42Jrz1d/wLrNWqUszOJY0GJo1f2BRlr9TRQCa8NHcSatTCUlQtevh89oXs98J3Ef7JsdGN/R6LYENvB9svU19cbt7hpww7QqIPGKdWnAdW7lPABE9AAwygoQVQ9wNLNQt0IA5zEW+yk+ZEAEWklvtE1g+VE1CRFYLhj2wKM85KEI6lLaDFoClngapw1VXLQgsD8g0iW+mH/7Hi7CF9wdnTYBOfh4lRs8w=
- GIT_NAME: Travis CI
- GIT_EMAIL: [email protected]
- TRAVIS_REPO_SLUG: Ultimate-Hosts-Blacklist/Top-Attacking-IP-Addresses-Against-Wordpress-Sites
- GIT_BRANCH: master

language: python

python:
- "3.6"

matrix:
fast_finish: true

cache:
- apt
- pip

sudo: required

before_install:
- sudo apt-get -y install python3-pip
- sudo apt-get -y install dos2unix
- pip3 install colorama

script:
- export TRAVIS_BUILD_DIR=${TRAVIS_BUILD_DIR}
- export GH_TOKEN=${GH_TOKEN}
- export TRAVIS_REPO_SLUG=${TRAVIS_REPO_SLUG}
- export GIT_BRANCH=${GIT_BRANCH}
- export GIT_EMAIL=${GIT_EMAIL}
- export GIT_NAME=${GIT_NAME}
- python3 ./update.py

notifications:
email: false
3 changes: 3 additions & 0 deletions .trigger
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
1520630971
1520687477
1520687866
54 changes: 54 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# About Top-Attacking-IP-Addresses-Against-Wordpress-Sites

[![Build Status](https://travis-ci.org/Ultimate-Hosts-Blacklist/Top-Attacking-IP-Addresses-Against-Wordpress-Sites.svg?branch=master)](https://travis-ci.org/Ultimate-Hosts-Blacklist/Top-Attacking-IP-Addresses-Against-Wordpress-Sites)

--------------------------------------------------------------------------------

# About Ultimate-Hosts-Blacklist

[Ultimate-Hosts-Blacklist](https://github.com/Ultimate-Hosts-Blacklist) serve a place to test and keep a track on each input sources that are present into [Ultimate Hosts Blacklist](https://github.com/mitchellkrogza/Ultimate.Hosts.Blacklist).

As [Ultimate Hosts Blacklist](https://github.com/mitchellkrogza/Ultimate.Hosts.Blacklist) grew up it became impossible to test the whole repository, as it takes weeks to finish. That's why we use the GitHub organization system in order to create different repository for each list that are present into [Ultimate Hosts Blacklist](https://github.com/mitchellkrogza/Ultimate.Hosts.Blacklist).

--------------------------------------------------------------------------------

# About PyFunceble

PyFunceble like [Funceble](https://github.com/funilrys/funceble) is A tool to check domains or IP availability by returning 3 possible [status](https://github.com/funilrys/PyFunceble/wiki/Columns#status): ACTIVE, INACTIVE or INVALID.

It also has been described by one of its most active user as:

> [An] excellent script for checking ACTIVE, INACTIVE and EXPIRED domain names.
If you need further informations about PyFunceble or Funceble please report to our [Wiki page](https://github.com/funilrys/PyFunceble/wiki) and/or if you don't find any answer feel free to create an issue into one of the [Dead Hosts](https://github.com/search?q=user%3Adead-hosts&type=Repositories&utf8=%E2%9C%93)'s or [Py-Funceble](https://github.com/search?utf8=%E2%9C%93&q=funceble+user%3Afunilrys&type=)'s repositories.

## About the status returned by PyFunceble

For an up to date version of this part please report to the [Status](https://github.com/funilrys/PyFunceble/wiki/Columns#status) section of our Wiki.

### ACTIVE

This status is returned when **one of the following cases** is met:

- We can extract the expiration date from `Lookup().whois()`.

- _Please note that we don't check if the date is in the past._

- `Lookup().nslookup()` don't return `server can't find domain-name.me: NXDOMAIN`.

- `HTTOCode().get()` return one the following code `[100, 101, 200, 201, 202, 203, 204, 205, 206]`.

### INACTIVE

This status is returned when **all the following cases** are met:

- We can't extract the expiration date from `Lookup().whois()`.
- `Lookup().nslookup()` return `server can't find domain-name.me: NXDOMAIN`.

### INVALID

This status is returned when **the following case** is met:

- Domain extension has an invalid format or is unregistered in **[IANA](https://www.iana.org/domains/root/db) Root Zone Database**.

- Understand by this that the extension **is not present into the `iana-domains-db.json` file**.
22 changes: 22 additions & 0 deletions info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"arguments": [
"--travis",
"-a",
"-ex",
"--plain",
"--split",
"-t 2",
"--share-logs"
],
"autosave_minutes": "10",
"clean_list_file": "clean.list",
"clean_original": "1",
"commit_autosave_message": "Testing for Ultimate Hosts Blacklist",
"currently_under_test": "0",
"days_until_next_test": "2",
"last_test": "0",
"list_name": "domains.list",
"name": "Domain Status Testing for Ultimate Hosts Blacklist",
"raw_link": "https://raw.githubusercontent.com/mitchellkrogza/Top-Attacking-IP-Addresses-Against-Wordpress-Sites/master/wordpress-attacking-ips.txt",
"stable": "0"
}
12 changes: 12 additions & 0 deletions output/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
*
!.gitignore
# We don't ignore the domains directory
!/domains/
# We don't ignore the hosts directory
!/hosts/
# We don't ignore the HTTP_Analytic directory
!/HTTP_Analytic/
# We don't ignore the logs directory
!/logs/
# We don't ignore the splited directory
!/splited/
5 changes: 5 additions & 0 deletions output/HTTP_Analytic/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*
!.gitignore
!/ACTIVE/
!/POTENTIALLY_ACTIVE/
!/POTENTIALLY_INACTIVE/
2 changes: 2 additions & 0 deletions output/HTTP_Analytic/ACTIVE/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
2 changes: 2 additions & 0 deletions output/HTTP_Analytic/POTENTIALLY_ACTIVE/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
2 changes: 2 additions & 0 deletions output/HTTP_Analytic/POTENTIALLY_INACTIVE/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
5 changes: 5 additions & 0 deletions output/domains/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*
!.gitignore
!/ACTIVE/
!/INACTIVE/
!/INVALID/
2 changes: 2 additions & 0 deletions output/domains/ACTIVE/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
2 changes: 2 additions & 0 deletions output/domains/INACTIVE/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
2 changes: 2 additions & 0 deletions output/domains/INVALID/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
5 changes: 5 additions & 0 deletions output/hosts/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*
!.gitignore
!/ACTIVE/
!/INACTIVE/
!/INVALID/
2 changes: 2 additions & 0 deletions output/hosts/ACTIVE/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
2 changes: 2 additions & 0 deletions output/hosts/INACTIVE/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
2 changes: 2 additions & 0 deletions output/hosts/INVALID/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
6 changes: 6 additions & 0 deletions output/logs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*
!.gitignore
!/date_format/
!/no_referer/
!/percentage/
!/whois/
2 changes: 2 additions & 0 deletions output/logs/date_format/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
2 changes: 2 additions & 0 deletions output/logs/no_referer/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
2 changes: 2 additions & 0 deletions output/logs/percentage/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
2 changes: 2 additions & 0 deletions output/logs/whois/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
2 changes: 2 additions & 0 deletions output/splited/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
requests==2.18.4
colorama==0.3.9
Loading

0 comments on commit 883b03f

Please sign in to comment.