# Welcome to WebScan

### 法律免责声明

{% hint style="danger" %}
未经事先双方同意，使用 WebScan 攻击目标是非法的。 WebScan 仅用于安全测试目的，请遵守[《网络安全法》](http://www.cac.gov.cn/2016-11/07/c_1119867116.htm)。
{% endhint %}

### **使用方法**

* **plugins：**&#x8FDB;入插件选择界面
  * **show：**&#x5C55;示所有插件
  * **run：**&#x8FD0;行已选插件
  * **quit：**&#x9000;出
  * **use name：**&#x4F7F;用插件
    * **set option value：**&#x8BBE;置选项
    * **show：**&#x5C55;示参数
    * **quit：**&#x9000;出设置
* **scrapy：**&#x722C;虫设置界面
  * **show**：展示参数
  * **set option value**：设置参数
  * **quit**：退出设置
* **run**：运行爬虫和已选插件

### **运行流程：**

<figure><img src="https://1394149150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLRbIBw3TIxnLy9Gp27wy%2Fuploads%2FEhzJDOu0Lk7X5fp265O2%2F%E8%BF%90%E8%A1%8C%E6%B5%81%E7%A8%8B.png?alt=media&#x26;token=12d12595-de0f-4c71-84bc-749e769f24e5" alt=""><figcaption><p>运行流程</p></figcaption></figure>

### 目录结构

<pre><code>─myproject
<strong>    ├─setup.py                    //启动文件
</strong>    ├─start_scrapy.py             //scrapy启动文件
    ├─History                     //新建项目工作文件夹
    │  └─mypro                    //项目mypro工作文件夹，下面是每一个
    │      ├─Nmap
    │      ├─scrapy
    │      └─SqlInject
    ├─lib
    │  └─HTMLExtractor.py         //HTML提取器
    │  └─Self_Defining_Extractor.py      //自定义提取器
    │  └─URLExtractor.py          //URL提取器
    │  └─Recorder.py              //记录器实现逻辑
    │  └─storage.py               //存储器实现逻辑
    │  └─mysql_setting.py         //数据库配置
    ├─myproject                   //scrapy文件夹
    │  ├─spiders                  //spider文件夹
    │  │  └─myspider
    │  └─items                    //定义spider中提取内容的数据结构
    │  └─middlewares              //中间件负责随机ua头的实现，以及代理添加
    │  └─pipelines                //pipeline用于处理、存储提取内容
    ├─PluginSystem                //插件系统文件夹
    │  ├─MessageManager.py        //插件消息管理器
    │  ├─PluginManager.py         //插件管理器
    │  ├─Plugins.json             //各个插件信息
    │  ├─Plugins                  //插件文件夹
    │  ├─PluginSys_setting.py     //插件系统配置文件
    │  │  ├─Nmap                  //Nmap插件的文件夹
    │  │  │  ├─Nmap.py            //Nmap插件实现的主要逻辑
    │  │  │  ├─info.json          //该插件的信息
    │  │  │  ├─requirements.txt   //该插件需要的第三方库
    │  │  ├─SqlInject     
    │  │  │  ├─SqlInject.py
    │  │  │  ├─info.json   
    │  │  │  ├─requirements.txt
    │  │  │  └─—
    │  │  └─—
    │  └─—
    └─—      
</code></pre>

{% content-ref url="gai-shu/webscan-gong-neng-jie-shao" %}
[webscan-gong-neng-jie-shao](https://doc.why403.cn/gai-shu/webscan-gong-neng-jie-shao)
{% endcontent-ref %}

{% content-ref url="gai-shu/yi-lai-mo-kuai-shi-xian" %}
[yi-lai-mo-kuai-shi-xian](https://doc.why403.cn/gai-shu/yi-lai-mo-kuai-shi-xian)
{% endcontent-ref %}

{% content-ref url="gai-shu/cha-jian-xi-tong-shi-xian" %}
[cha-jian-xi-tong-shi-xian](https://doc.why403.cn/gai-shu/cha-jian-xi-tong-shi-xian)
{% endcontent-ref %}

{% content-ref url="gai-shu/cha-jian-bian-xie-gui-fan" %}
[cha-jian-bian-xie-gui-fan](https://doc.why403.cn/gai-shu/cha-jian-bian-xie-gui-fan)
{% endcontent-ref %}

{% content-ref url="gai-shu/cha-jian-an-li" %}
[cha-jian-an-li](https://doc.why403.cn/gai-shu/cha-jian-an-li)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.why403.cn/welcome-to-webscan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
