79 Commits

Author SHA1 Message Date
fab
af94e34764
Update README.md
Caddy support removed. Please check and contribute to the caddy-waf project [here](https://github.com/fabriziosalmi/caddy-waf).
2025-01-02 19:08:12 +01:00
fab
e6b1df2016
Delete waf_patterns/caddy directory 2025-01-02 19:05:52 +01:00
fab
25bae0e731
Delete owasp2caddy.py 2025-01-02 19:05:36 +01:00
fab
62e615c33b
Delete import_caddy_waf.py 2025-01-02 19:05:22 +01:00
fab
46a5414dcf
Update README.md 2025-01-02 13:56:42 +01:00
github-actions[bot]
a98af4e049 Update: [Wed Jan 1 11:56:40 UTC 2025] 2025-01-01 11:56:40 +00:00
fab
9f1266f81f
Update badbots.py
parsing fixes
2025-01-01 12:56:12 +01:00
github-actions[bot]
0c9e469587 Update: [Wed Jan 1 00:28:50 UTC 2025] 2025-01-01 00:28:50 +00:00
github-actions[bot]
9c9068b34e Update: [Tue Dec 31 00:25:45 UTC 2024] 2024-12-31 00:25:45 +00:00
github-actions[bot]
204e19f8c2 Update: [Mon Dec 30 00:27:08 UTC 2024] 2024-12-30 00:27:08 +00:00
github-actions[bot]
3760d3dcde Update: [Sun Dec 29 23:20:18 UTC 2024] 2024-12-29 23:20:18 +00:00
fab
36f08db3eb
Update owasp.py
- verify github function fixed
2024-12-30 00:18:50 +01:00
fab
a3065eb405
Update README.md 2024-12-30 00:11:41 +01:00
fab
f347ac2817
Update badbots.py
- Introduced concurrency with ThreadPoolExecutor for faster bot list fetching.
- Added rate limiting and exponential backoff for resilient fetch operations.
- Expanded bot list sources to include new datasets for improved coverage.
- Implemented GitHub token authentication for rate-limited endpoints.
- Refactored file generation to use pathlib for better path management.
- Replaced os.path with Path for consistency and readability.
- Modularized retry logic and enhanced error handling for robustness.
- Ensured bot lists are aggregated and deduplicated across sources.
- Improved logging for better visibility into fetch and write operations.
2024-12-30 00:08:12 +01:00
fab
7f7f7fecd4
Update owasp.py
- Added exponential backoff and retry logic for GitHub API requests to handle rate limits and transient errors.
- Introduced SHA verification for fetched blobs to ensure data integrity.
- Implemented optional GitHub token support for authenticated requests.
- Improved handling of the latest matching tag by dynamically sorting and selecting the newest available version.
- Reorganized functions for better modularity and readability.
- Added error handling for blob fetching and decoding with base64 processing.
- Directory creation for output files now ensured, improving save reliability.
2024-12-29 23:50:29 +01:00
github-actions[bot]
1e4bb70b5d Update: [Sun Dec 22 00:28:28 UTC 2024] 2024-12-22 00:28:28 +00:00
fab
b05a7d87c2
Merge pull request #4 from Sebagabones/apacheFixes
import_caddy|apache|nginx_waf.py fixes love this approach Seba <3
2024-12-21 17:55:33 +01:00
Seb
c58a1b486f Added fixes to Caddy and Ngnix
Did the same fixes that have been done to Apache to Caddy and Nginx
2024-12-21 23:03:25 +08:00
Seb
6c267fbb63 Tidied the code a bit
Whoops, forgot to actually clean the code in my haste, apologies
2024-12-21 22:59:50 +08:00
Sebastian Gazey
d34ec3ecf5 seems to work 2024-12-21 22:51:02 +08:00
Seb
613f77c538 Fixed astrix not being passed to shell
Initially tried to add all files ending in .conf in correct dir to a
string in {a,b,c,d} form for cp, but ran into a char limit for cp so
sadly went with the slower for loop method
2024-12-21 22:43:34 +08:00
fab
e652bccf66
Update owasp.py
Minor improvements.
2024-12-21 11:31:31 +01:00
fab
2763bbc13b
Update badbots.py
Fix for fallback #1 URL which lands nowhere (404).
2024-12-21 11:29:45 +01:00
fab
4fa74ecb89
Update README.md 2024-12-21 11:24:39 +01:00
fab
6c76dbeff2
Update README.md 2024-12-21 10:32:01 +01:00
fab
160dc7541a
Update README.md 2024-12-21 10:00:37 +01:00
fab
b8f3f0f312
Update README.md 2024-12-21 10:00:11 +01:00
fab
57a404ccf3
Update README.md 2024-12-21 09:14:46 +01:00
fab
4f238e10a2
Create import_haproxy_waf.py 2024-12-21 09:08:22 +01:00
fab
a76150763a
Create import_traefik_waf.py 2024-12-21 09:07:35 +01:00
fab
1974e98a13
Create import_apache_waf.py 2024-12-21 09:05:54 +01:00
fab
caa5d3a192
Create import_caddy_waf.py 2024-12-21 09:05:37 +01:00
fab
3f42ce22d8
Create import_nginx_waf.py 2024-12-21 09:05:16 +01:00
fab
e9fed02b96
Update README.md 2024-12-21 02:07:02 +01:00
github-actions[bot]
5852b0ab4d Update: [Sat Dec 21 01:02:14 UTC 2024] 2024-12-21 01:02:14 +00:00
fab
016badd14e
Update update_patterns.yml 2024-12-21 02:01:55 +01:00
fab
16aa0c409f
Update update_patterns.yml 2024-12-21 01:59:01 +01:00
fab
df34f762c3
Update badbots.py 2024-12-21 01:57:55 +01:00
fab
4c459d6e03
Create README.md 2024-12-21 01:57:30 +01:00
fab
b8cabcd3ee
Update update_patterns.yml 2024-12-21 01:56:34 +01:00
fab
ad5e6cd789
Create owasp2haproxy.py 2024-12-21 01:55:56 +01:00
fab
95b3411231
Create owasp2traefik.py 2024-12-21 01:55:34 +01:00
fab
f7d6bb9070
Create README.md 2024-12-21 01:55:07 +01:00
fab
d3e8a8ab8b
Update README.md 2024-12-21 01:50:43 +01:00
github-actions[bot]
8d55569a01 Automated update: OWASP CRS to Caddy and Nginx WAF rules [Sat Dec 21 00:48:06 UTC 2024] 2024-12-21 00:48:06 +00:00
fab
dfce75bf1a
Update update_patterns.yml 2024-12-21 01:47:27 +01:00
fab
c9ef0751e1
Create badbots.py 2024-12-21 01:46:33 +01:00
fab
1fa768b966
Update README.md 2024-12-21 01:41:49 +01:00
fab
b98230ca52
Update README.md 2024-12-21 01:41:06 +01:00
github-actions[bot]
c87f286fa0 Automated update: OWASP CRS to Caddy and Nginx WAF rules [Sat Dec 21 00:35:03 UTC 2024] 2024-12-21 00:35:03 +00:00