Sitelet
https://github.com/ZMDProgrom/hihttps/blob/master/README.TXT
Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
ZMDProgrom
hihttps
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
hihttps
/
README.TXT
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
53 lines (40 loc) · 2.18 KB
master
Breadcrumbs
hihttps
/
README.TXT
Copy path
Top
File metadata and controls
Code
Blame
53 lines (40 loc) · 2.18 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
一、HiHTTPS是一款完整源码的高性能SSL WEB应用防火墙( SSL WAF),采用epoll模式支持高并发,并且兼容ModSecurity正则规则。
[开源版提供完整的防护功能]
1. 恶意Web漏洞扫描
2. 数据库SQL注入
3. 跨站脚本攻击(XSS)
4、CC & DDOS防护
5、密码暴力破解
6. URL黑白名单
7. 危险文件上传检测
8. 非法URL/文件访问
9. 兼容OWASP的ModSecurity正则规则
10.epoll模型单核3万+的HTTPS并发连接
.....
二、安装步骤
1. 安装OpenSSL和libpcre
CentOS :
yum install openssl openssl-devel
yum install -y pcre pcre-devel
Debian/Ubuntu:
sudo apt-get install openssl libssl-dev
apt-get install libpcre3 libpcre3-dev
2.编译
解压到任意目录,make后生成可执行文件hihttps.
3.规则
规则放在和hihttps同一级的rules目录即可,注意后缀是.conf或者.rule,更多规则请在
https://github.com/SpiderLabs/owasp-modsecurity-crs/下载,根据需求配置。
具体请看rules/main.conf详细说明。
默认已经开启了DDOS & CC防御,要测试并发请求,可以临时停用DDOS规则。
4.运行
通常是hihttps前端运行443(https)端口,后端反向代理80端口。
首先保证Web服务器80端口运行正常,443端口没占用(或者端口在config.cfg里改变配置)
./hihttps默认读取当前目录下的confg.cfg文件, 或者./hihttps --config /dir/config.cfg
具体请看config.cfg详细说明, 如果成功打印加载了rules目录下的规则,代表运行成功。
5.测试
rules/main.rule默认加载了一条SQL语句检测规则,可以访问https://ip/select.html?testsql=delete * from test
或者用WEB漏洞扫描器nikto运行:./nikto -host ip -ssl -port 443 -C all
如果产生了报警记录,则代表正常!相关图片在doc目录。
三、机器学习
hihttps机器学习商业版也是免费的,实战显示机器学习自主网络对抗,在防御SQL注入/XSS/恶意扫描等效果远好于传统规则。
http://www.hihttps.com/ 免费下载, QQ/微信:4108863 邮件:4108863@qq.com
You can’t perform that action at this time.