Loading...

文章背景图

AlliN 保姆级部署教程:A flexible scanner

2026-11-09
0
- 字
- 分钟
|

AlliN

项目简介

A flexible scanner

AlliN

  • 项目地址:P1-Team/AlliN
  • Stars:1284
  • 主语言:Python
  • 主题标签:#python #python3 #scan #security-tools

基本使用

克隆仓库后阅读 README 文档,按照项目说明进行配置和运行。本项目开源免费,欢迎 Star 和贡献代码。

注意事项

  1. 请前往项目主页查看最新版本和文档
  2. 部分项目需要配合 API Key 或配置文件使用
  3. 建议在隔离环境中测试后再部署到生产环境

本文由自动化整理发布,项目信息来自 GitHub。如有疑问请参考项目官方文档。

安装部署(实操步骤)

1. 前置准备

  • 项目仓库:P1-Team/AlliN(https://github.com/P1-Team/AlliN)
  • 需要本机具备 Git;按项目语言准备对应运行时(Python / Node.js / Go / Java 等)
  • 建议先在本机或测试服务器上跑通,再部署到生产环境
  • 遇到依赖版本问题时,以仓库 README 与 Releases 说明为准

2. 官方安装 / 启动命令(摘自项目 README,可直接复制执行)

#!/bin/bash

while read line
do
    project=`echo $line | awk -F " " '{print $1}'`
    host=`echo $line | awk -F " " '{print $2}'`
    echo $host,$project
    python AlliN.py --host $host -q "(domain=\"$host\" || cert=\"$host\"  || title=\"$project\") &&  country=\"CN\" && region!=\"HK\" && region!=\"TW\" && region!=\"MO\"" -m sfscan --timeout 6 --project $project -t 100
done < target.txt
### -t

Number of threads, default is 200

Sample:

`-t 200`



### -o

Name of the report file

Sample:

`-o answer.txt`


### --oJ

Name of the report json file

Sample:

`--oJ answer.json`


### --nocert

Scanning without cert identification.

Sample:

`python AlliN.py --host 192.168.1.1/24 -p 443 --nocert`

Report with cert identification
### --nobar

Close the processing bar

`python AlliN.py --host 192.168.1.1/24 --nobar`


### --only-show

Only displays the status codes which are allowed.

Sample:

`--only-show 200,301`


### --hidden

Filter specifies status code.


Sample:


`--hidden 404,400`



### --hiddensize

Filter the length of response

Sample:

`--hiddensize 27,5367`  # Filter the responses which length is 26 and 5367



### --dd

Header scan model
### --fs

Size of each result number by fofa scan, default is 10,000

### --noscan

Fetch the fofa result only without scanning


### --hts
Total results of hunter scan, default is 100

### -m

Method of scan, default is tscan



#### oxid

Obtain the address of the remote host network card

`python AlliN.py -m oxid --host 192.168.129.130`

Port is 135
#### bakscan

Scan the backup of a site

`python AlliN.py --host 192.168.1.1/24 -p 443 -m bakscan`

`python AlliN.py --host 192.168.1.1/24 -p 443 -m bakscan -f dic.txt`

or use with the header model

`python AlliN.py --host 192.168.1.1/24 -p 443 -m bakscan --dd`



#### sfscan

Combine with subscan and fofascan

`python AlliN.py -q 'domain="xx.com"' --host xxx.com -m sfscan`


Use for several domains

`python AlliN.py -q 'domain="xx.com"' --host xxx.com,yyy.com -m sfscan`


#### shscan
Brute the key of shiro, only support CBC encryption currently

`python AlliN.py --host example.com -m shscan`


#### ddscan

Fuzz subdomain, it will replace the [fuzz] to host

Sample:

3. 部署流程

  1. 克隆仓库:git clone https://github.com/P1-Team/AlliN
  2. 进入目录后按上面的官方命令安装依赖
  3. 参考 README 的配置说明填写配置文件或环境变量
  4. 按官方说明启动服务,确认监听端口与访问地址
  5. 浏览器访问验证功能,确认无报错后再开放外网

4. 常见问题排查

  • 依赖安装失败:先升级包管理器,再确认运行时版本符合 README 要求
  • 启动报端口占用:修改配置中的端口或释放被占用端口
  • 页面打不开:检查防火墙 / 安全组是否放行对应端口
  • 功能异常:查看运行日志,对照 Issues 中同类问题处理

5. 官方链接

评论交流

文章目录