Skip to content

Commit

Permalink
update 1.7.6
Browse files Browse the repository at this point in the history
  • Loading branch information
qiwentaidi committed Dec 23, 2024
1 parent 50ed455 commit e6d4f42
Show file tree
Hide file tree
Showing 89 changed files with 814 additions and 2,523 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
<a href="https://github.com/qiwentaidi/Slack/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98">常见问题</a>
<a href="https://github.com/qiwentaidi/Slack/wiki/%E7%BD%91%E7%AB%99%E6%89%AB%E6%8F%8F%E8%A7%84%E5%88%99%E4%BA%8C%E6%AC%A1%E6%8B%93%E5%B1%95">规则拓展</a>
<a href="https://github.com/qiwentaidi/Slack/wiki/%E4%BA%8C%E6%AC%A1%E5%BC%80%E5%8F%91">二次开发</a>
<a href="https://github.com/qiwentaidi/Slack/wiki/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97">更新日志</a>
<a href="https://github.com/qiwentaidi/Slack/releases">更新日志</a>
</p>




# 支持的平台

- Windows 10/11 AMD64/ARM64
Expand Down Expand Up @@ -80,7 +81,7 @@ create-dmg --volname "Slack" --window-pos 200 120 --window-size 800 400 --icon-s

## 网站扫描

目前内置8800+指纹,3100+POC,引擎使用的Nuclei v3,得益于Nulcei强大的社区及丰富的POC易用可扩展,以及多种格式报告导出。
目前内置8900+指纹,3300+POC,引擎使用的Nuclei v3,得益于Nulcei强大的社区及丰富的POC易用可扩展,以及多种格式报告导出。

![image-20241115124501303](assets/image-20241115124501303.png)

Expand Down Expand Up @@ -124,14 +125,16 @@ create-dmg --volname "Slack" --window-pos 200 120 --window-size 800 400 --icon-s

可通过下载`CyberChef`集成环境实现本地调用

![image-20240907172017116](assets/image-20240907172017116.png)
![image-20241221135416001](assets/image-20241221135416001.png)

## 数据处理
## Fscan&数据处理

针对日常工作中一些常见的数据进行处理,例如提取Fscan结果、提取IP、数据去重等
针对日常工作中一些常见的数据进行处理,例如提取Fscan结果、提取IP、数据去重、密码解密等

![image-20241102165307715](assets/image-20241102165307715.png)

![image-20241221135523227](assets/image-20241221135523227.png)

## 应用启动器

用于管理繁琐的脚本,可以自定义启动命令,支持`cmd`打开文件所在命令行、`java``java -jar`命令启动`java GUI`应用、`App`打开`exe GUI`
Expand Down
Binary file removed assets/image-20240907172017116.png
Binary file not shown.
Binary file added assets/image-20241221135416001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image-20241221135523227.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion core/info/tianyancha.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"fmt"
"slack-wails/lib/clients"
"slack-wails/lib/gologger"
"slack-wails/lib/gomessage"
"slack-wails/lib/structs"
"slack-wails/lib/util"
"sync"
Expand Down Expand Up @@ -46,13 +47,14 @@ func GetCompanyID(ctx context.Context, company string) (string, string) {
}
var qs structs.TycSearchID
if err = json.Unmarshal(body, &qs); err != nil {
gomessage.Error(ctx, fmt.Sprintf("[tianyancha] company %s 请求过快导致触发人机校验", company))
gologger.Error(ctx, fmt.Sprintf("[tianyancha] company %s 请求过快导致触发人机校验", company))
}
if len(qs.Data) > 0 { // 接口会自动进行 商标信息匹配 > 股票简称匹配 > 公司名称匹配 > 公司品牌匹配 > 公司信息匹配 五种规则的匹配
company_id = qs.Data[0].GraphID
company_name = qs.Data[0].ComName
}
time.Sleep(time.Second * 2)
time.Sleep(util.SleepRandTime(2))
return company_id, company_name
}

Expand Down
13 changes: 13 additions & 0 deletions core/tools/finereport.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package core

import (
"strings"
)

func cleanEncodedString(encoded string) string {
encoded = strings.ReplaceAll(encoded, "\\u000d", "\r")
encoded = strings.ReplaceAll(encoded, "\\u000a", "\n")
encoded = strings.ReplaceAll(encoded, "\\r\\n", "\n")
encoded = strings.ReplaceAll(encoded, "\\=", "=")
return encoded
}
2 changes: 1 addition & 1 deletion core/webscan/infoscan.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ func (s *FingerScanner) NewActiveFingerScan(rootPath bool) {
StatusCode: resp.StatusCode,
}
result := s.FingerScan(s.ctx, ti, fp.Fpe)
if len(result) > 0 {
if len(result) > 0 && ti.StatusCode != 404 {
s.mutex.Lock()
s.basicURLWithFingerprint[fp.URL.String()] = append(s.basicURLWithFingerprint[fp.URL.String()], result...)
s.mutex.Unlock()
Expand Down
12 changes: 0 additions & 12 deletions core/webscan/rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,18 +128,6 @@ func (config *Config) InitActiveScanPath(activefingerFile string) error {
return nil
}

func FullPocName(pocs []string) []string {
var news []string
for _, poc := range pocs {
if !strings.HasSuffix(poc, ".yaml") {
poc = poc + ".yaml"
}
poc = util.HomeDir() + "/slack/config/pocs/" + poc
news = append(news, poc)
}
return news
}

func ParseRule(rule string) []RuleData {
var result []RuleData
empty := RuleData{}
Expand Down
Loading

0 comments on commit e6d4f42

Please sign in to comment.