Content
<p align="center">
<a href="https://github.com/wgpsec/ENScan_GO">
<img src="README/logo.png" alt="Logo" width="80" height="80">
</a>
<h3 align="center">ENScan Go</h3>
<p align="center">
Solve various domestic enterprise information collection problems encountered in HW/SRC scenarios
<br />
<br />
<a href="https://github.com/wgpsec/ENScan_GO/stargazers"><img alt="GitHub stars" src="https://img.shields.io/github/stars/wgpsec/ENScan_GO"/></a>
<a href="https://github.com/wgpsec/ENScan_GO/releases"><img alt="GitHub releases" src="https://img.shields.io/github/release/wgpsec/ENScan_GO"/></a>
<a href="https://github.com/wgpsec/ENScan_GO/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"/></a>
<a href="https://github.com/wgpsec/ENScan_GO/releases"><img alt="Downloads" src="https://img.shields.io/github/downloads/wgpsec/ENScan_GO/total?color=brightgreen"/></a>
<a href="https://goreportcard.com/report/github.com/wgpsec/ENScan_GO"><img alt="Go Report Card" src="https://goreportcard.com/badge/github.com/wgpsec/ENScan_GO"/></a>
<a href="https://twitter.com/wgpsec"><img alt="Twitter" src="https://img.shields.io/twitter/follow/wgpsec?label=Followers&style=social" /></a>
<br>
<br>
<a href="https://github.com/wgpsec/ENScan_GO/discussions"><strong>Explore More Tricks »</strong></a>
<br/>
<br />
<a href="https://github.com/wgpsec/ENScan_GO?tab=readme-ov-file#%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97">🧐How to use</a>
·
<a href="https://github.com/wgpsec/ENScan_GO/releases">⬇️Download</a>
·
<a href="https://github.com/wgpsec/ENScan_GO/issues">❔Bug Feedback</a>
·
<a href="https://github.com/wgpsec/ENScan_GO/discussions">🍭Submit Requirements</a>
</p>
## 🤷♂️Disclaimer
The technologies, ideas, and tools involved in this article are only for learning and communication for security purposes. No one may use them for illegal purposes and profit-making purposes, otherwise they will be responsible for the consequences.
All are public data, **do not provide cracking and bypassing protection methods**, using the program may cause ⌈account abnormality⌋
**If this program affects or infringes your legitimate rights and interests, please contact us** admin#wgpsec.org(#replace with @)
## ⚒️Tool List

- Support the following data sources
- 爱企查
- 天眼查
- 快查
- 风鸟
- 企查查(not provided)
- 小蓝本(not provided)
- Data Plugins
- 阿拉丁 (Data feedback is relatively old and temporarily offline)
- 酷安市场
- 七麦数据
- 备案信息查询API
- Queryable information
- ICP Filing
- APP
- Weibo
- WeChat Official Account
- Holding Company
- Supplier
- Mini Program
- Public Recruitment Information
- Foreign Investment Information
- ...
- Practical functions
- Support merged export
- Regular expression filtering company
- Support deep query to collect multiple layers of sub-companies
- Support API mode to provide tool linkage
## Usage Guide
### First Use
Go to [RELEASE](https://github.com/wgpsec/ENScan_GO/releases) to download the compiled file for use
The first time you use it, you need to use the -v command to generate the configuration file and configure the Cookie
```
./enscan -v
```
### Quick Use
*If you encounter situations where you cannot access, you can try to hang up burp or proxy yourself*, if **abnormal exit** after startup, `enscan.gob` cache will be retained in the program directory, if you run new information, please manually delete it
**Default company information** (website filing, Weibo, WeChat official account, app)
```
./enscan -n 小米
```
**Batch query** (text separated by lines, optional PID mode)
```
./enscan -f f.txt
```
**Companies with 100% foreign investment**
```
./enscan -n 小米 -invest 100
```
**Combination filter**
Greater than 51% of companies, branches, as long as ICP filing information
```
./enscan -n 小米 -field icp -invest 51 --branch
```
Collect sub-companies (deep parameter, need to be used with invest) Greater than 51% of companies, branches, as long as ICP filing information
```
./enscan -n 小米 -field icp -invest 51 --branch --deep 2
```
**Use different channels**
Use Tianyancha data source (or can be set to all to combine multiple data sources)
```
./enscan -n 小米 -type tyc
```
Use multiple data sources to collect together (multi-channel + filtering is not supported temporarily)
```
./enscan -n 小米 -type aqc,tyc
```
Use plugin channels
```
./enscan -n 小米 -type aqc,miit
```
**Please set the request delay to prevent impact**
```
./enscan -n 小米 -delay 3
```
### Use MCP
Enable the MCP server, which will listen to the local http://localhost:8080
```
./enscan --mcp
```
Take Cherry Studio configuration as an example

After the configuration is complete, enable the MCP service

After the configuration is complete, you can write prompt according to your own needs. Welcome to share useful prompt [here](https://github.com/wgpsec/ENScan_GO/discussions/163)
### Cookie Configuration
**AQC**
If a security verification appears, please use the browser that obtains the cookie to pass the verification to continue. The default query is aiqicha.baidu.com
Please do not directly use `document.cookie` for Cookie information, it may not be possible to copy all of it due to the http-only option, resulting in login failure

**TYC tycid**
Configure tycid after configuring COOKIE

**TYC auth_token**
Configure auth_token after configuring COOKIE

Please refer to other Cookie acquisitions yourself
### Option Description
#### **field Get Field**
Use the parameter `field` to specify the information to be queried, you can specify multiple parameters to query together, which is convenient for quick collection
```
-n 小米 -field icp,app
```
Supports the following parameters
- `icp` Website filing information
- `weibo` Weibo
- `wechat` WeChat official account
- `app` Application information
- `job` Recruitment information
- `wx_app` WeChat mini program
- `copyright` Software copyright
- `supplier` Supplier information (determined through bidding documents)
- Other (updated according to the plugin situation)
#### **type Get Field**
Use the parameter `type` to specify the API data source
```
-n 小米 -type tyc
```
**Query Data Source**
- `aqc` 爱企查
- `tyc` 天眼查
- `kc` 快查
- `rb` 风鸟
- `all` Query all
**Plugins**
- `aldzs` 阿拉丁 (Mini Program Only)
- `coolapk` Coolapk Market (APP Only)
- `qimai` Qimai Data (APP Only)
- `miit` HG-ha 的 ICP_Query (ICP Filing, APP, Mini Program, Quick App) **Not maintained by the Wolf Team, team members please use the internal version**
#### Complete Parameters
*The document is not updated in time, please refer to the program prompt*
| Parameter | Example | Description |
| -------------- | -------------- | ------------------------------------------------------------ |
| -n | 小米 | Keyword |
| -i | 29453261288626 | Company PID (automatically identify the type) |
| -f | file.txt | Batch query, text separated by lines (optional PID mode) |
| -type | aqc | API Type |
| -o | | Folder location for result output (optional) |
| -is-merge | | Merge Export |
| -invest | | Investment Ratio |
| -field | icp | Get Field Information |
| -deep | 1 | Recursively search n layers of companies, need to be used with invest |
| -hold | | Whether to query the holding company (may require a VIP account) |
| -supplier | | Whether to query supplier information |
| -branch | | Query branch (branch) information |
| -is-branch | | Deeply query branch information (huge number) |
| -api | | Whether API Mode |
| -debug | | Whether to display debug detailed information |
| -is-show | | Whether to display information output |
| -is-group | | Query keyword is group |
| -is-pid | | Whether the batch query file is the company PID |
| -delay | | Delay per request (S) -1 is a random delay of 1-5S |
| -branch-filter | | Provide a regular expression, branch and subsidiary names matching the regular expression will be skipped |
| -proxy | | Set Proxy |
| -timeout | | Default timeout per request is 1 (minute) |
| -no-merge | | Batch query [cancel] merge export |
| -v | | Version Information |
### API Mode
**api call effect**
You can use https://enscan.wgpsec.org/api/info to experience (offline due to abuse)
🥹The plat platform has stopped maintenance, don't ask~




#### API Description
Getting information will be displayed in real time, and can be linked with other tools through API. Please note that **do not open it to the public network**
**Get Information**
```
GET /api/info?name=小米&invest=100&branch=true
```
| Parameter | Parameter | Description |
| -------- | -------------------- | -------------------------- |
| name | Text | Complete company name (choose one of two) |
| type | Text, consistent with command parameters | Data Source |
| field | Text, consistent with command parameters | Filter specified information |
| depth | Number | How many layers of companies to crawl, such as 2 for sub-companies |
| invest | Number | Filter investment ratio |
| holds | true | Filter holding companies |
| supplier | true | Filter supplier information |
| branch | true | Filter branch information |
| output | true | Export excel table download when true |
##### PRO Custom Mode (Faster)
v2.0.0 version adds pro mode, supports custom calls, does not follow scheduling logic **type is required**
```
GET /api/pro/:type&type=xxx
Example
GET /api/pro/advance_filter?name=小米&type=aqc
GET /api/pro/get_page?name=29453261288626&type=aqc&page=1&filed=icp
```
| type | Parameter | Description |
| -------------- | --------- | -------------------- |
| advance_filter | name Required | Query Keyword |
| get_ensd | | Get Mapping Field Information |
| get_base_info | pid | Get Company Basic Information |
| get_page | pid | Page through to get specified type information |
#### Startup Deployment
**golang version dependency**
```
go >= 1.22.1
```
**API Mode**
Starting the API mode will listen on port 31000 and start the api service, which can be called through the api service to read data
```
./enscan --api
```
## Communication & Feedback
Follow the official account `WgpSec狼组安全团队` reply `加群` add BOT and send `enscan` to communicate together~

[](https://starchart.cc/wgpsec/ENScan_GO)
## 404 StarLink
<img src="https://github.com/knownsec/404StarLink/raw/master/Images/logo.png" width="30%">
ENScanGo has now joined the [404 StarLink Program](https://github.com/knownsec/404StarLink)
## JetBrains OS licenses
``ENScanGo`` had been being developed with `GoLand` IDE under the **free JetBrains Open Source license(s)** granted by
JetBrains s.r.o., hence I would like to express my thanks here.
<a href="https://www.jetbrains.com/?from=wgpsec" target="_blank"><img src="https://raw.githubusercontent.com/wgpsec/.github/master/jetbrains/jetbrains-variant-4.png" width="256" align="middle"/></a>
Connection Info
You Might Also Like
markitdown
Python tool for converting files and office documents to Markdown.
markitdown
MarkItDown-MCP is a lightweight server for converting URIs to Markdown.
Filesystem
Node.js MCP Server for filesystem operations with dynamic access control.
TrendRadar
TrendRadar: Your hotspot assistant for real news in just 30 seconds.
antigravity-awesome-skills
The Ultimate Collection of 130+ Agentic Skills for Claude...
opik
Opik is a versatile tool for managing and tracking experiments in machine learning.