Skip to content

Commit

Permalink
Updated 000webhostapp.com rules
Browse files Browse the repository at this point in the history
While working with #358, #354 & https://github.com/mitchellkrogza/Phishing.Database/issues/840 

I found that the hosting company also uses the HTTP code 428 for disabled (Website is archived.) 

Example URI

```css
http://httpmwankaiwqkcom.000webhostapp.com/
http://https244577889078564546464534353date.000webhostapp.com/
```
  • Loading branch information
spirillen authored and funilrys committed Mar 26, 2024
1 parent 73e7fe5 commit f4a689d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyFunceble/checker/availability/extras/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class ExtraRulesHandler(ExtraRuleHandlerBase):
def __init__(self, status: Optional[AvailabilityCheckerStatus] = None) -> None:
self.regex_active2inactive = {
r"\.000webhostapp\.com": [
(self.switch_to_down_if_status_code, 410),
(self.switch_to_down_if_status_code, {410, 424}),
],
r"\.24\.eu$": [(self.switch_to_down_if_status_code, 503)],
r"\.altervista\.org$": [(self.switch_to_down_if_status_code, 403)],
Expand Down

0 comments on commit f4a689d

Please sign in to comment.