Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
ahmia-site — 基于 Django 的搜索引擎和爬虫栈,用于索引 Tor 网络上的 .onion 隐藏服务,为暗网内容发现提供可搜索的元数据。 | Kitploit
工具/GitHubGitHub/ahmia/ahmia-site
OSINT (开源情报)侦察信息收集Web安全隐私保护网络爬虫
GitHubahmia/ahmia-site

ahmia-site

基于 Django 的搜索引擎和爬虫栈,用于索引 Tor 网络上的 .onion 隐藏服务,为暗网内容发现提供可搜索的元数据。

查看仓库
7901143720天前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
网站

https://ahmia.fi/

Ahmia 是 Tor 匿名网络上 .onion 域名的搜索引擎。它由 Juha Nurmi 领导,总部位于芬兰。本仓库包含 Ahmia 搜索引擎所使用的爬虫。

兼容性

最新版本的 Ahmia 使用 Python 3、Django 5 和 Elasticsearch 8 构建。 你需要了解这些技术才能搭建可用的 Ahmia 安装环境。 Ahmia 使用 ahmia-crawler 进行爬取。

先决条件

ahmia-index 应已安装并正在运行

安装指南

pip install -r requirements.txt

配置

这是本地(开发)和生产环境共用的一个步骤。

cp ahmia/example.env ahmia/.env

请修改 .env 中的值,以符合你的需求。如果你使用生产环境设置,至少必须指定 postgresql 凭据。

搭建网站

迁移数据库

python manage.py makemigrations ahmia
python manage.py migrate

生成静态文件

python manage.py collectstatic

将 Elasticsearch CA 证书复制到相应位置

/usr/local/share/ca-certificates/http_ca.crt

以开发模式运行网站

启动开发服务器

开发设置使用 sqlite 作为数据库。 默认设置应当开箱即用。

python manage.py runserver

生产环境 -- Nginx

注意:如果你的部署目录不是 /usr/local/lib/ahmia-site,请相应替换

  • 配置并运行 nginx:
# Check the confs and *.map filtering files you plan to utilise
cp *.map /etc/nginx/
cp conf/nginx/nginx.conf /etc/nginx/nginx.conf
cp conf/nginx/django-ahmia /etc/nginx/sites-enabled/django-ahmia
service nginx start

增加 /etc/nginx/nginx.conf 中的 worker_connections:

events {
        worker_connections 2048;
}

生产环境 -- Gunicorn

任选其一:

  • 通过 bash 脚本运行 gunicorn(以守护进程方式运行 ~ 编辑文件以更改):
bash ./bin/run-ahmia.sh
bash ./bin/run-ahmia-onion.sh

或者

  • 配置并以 systemd 守护进程方式运行 gunicorn(已使用 gunicorn==21.2.0 测试)
cp conf/gunicorn/*.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable ahmia.service
systemctl status ahmia.service
systemctl enable ahmia-onion.service
systemctl status ahmia-onion.service
systemctl restart gunicorn

编辑你的 /lib/systemd/system/nginx.service 以添加 ahmia-site.service ahmia-site-onion.service

systemctl edit nginx

[Unit]
After=network-online.target remote-fs.target nss-lookup.target ahmia.service ahmia-onion.service
Requires=ahmia.service ahmia-onion.service

systemctl daemon-reload
systemctl cat nginx

每周删除一次新增的 onion

# Every three days
40 5 */3 * * cd /usr/local/lib/ahmia-site && venv/bin/python manage.py deleteonions >> weeklydelete.log 2>&1

许可证

Ahmia 采用 3-clause BSD license 许可。

下载工具