利用 notepad++ 初步净化 HaE Linkfinder 规则所提取的内容(仅留下接口行)

去掉接口的带参部分

regexp 复制代码
\?.*

去掉文件行

regexp 复制代码
.*\.(docx|doc|xlsx|xls|txt|xml|html|pdf|ppt|pptx|odt|ods|odp|rtf|md|epub|css|scss|less|sass|styl|png|jpg|jpeg|gif|svg|ico|bmp|tiff|webp|heic|dds|raw|vue|js|ts|mp4|avi|mov|wmv|mkv|flv|webm|mp3|wav|aac|flac|ogg|m4a).*(\r\n)?

去掉域名行

regexp 复制代码
(^\/\/|https:\/\/|http:\/\/|wss:).*(\r\n)?

去掉日期行

regexp 复制代码
([0-9]+)?(\/[0-9]{1,4}(?!\w))+(\r\n)?

去掉带"/"的非接口行

文本类型

regexp 复制代码
(text\/plain)|(text\/html)|(text\/xml)|(text\/css)|(text\/javascript)|(text\/typescript)|(text\/scss)|(text\/x-scss)|(text\/x-jshtm)|(text\/csv)|(text\/ng-template)(\r\n)?

图片类型

regexp 复制代码
(image\/png)|(image\/jpg)|(image\/jpeg)|(image\/webp)|(image\/gif)|(image\/bmp)|(image\/tiff)|(image\/svg)|(image\/svg\+xml)|(image\/avif)|(image\/x-.*)(\r\n)?

应用类型

regexp 复制代码
(application\/ntko-plug)|(application\/json)|(application\/xml)|(application\/x-www-form-urlencoded)|(application\/pdf)|(application\/graphql)|(application\/x-print-lodop)|(application\/octet-stream)|(application\/x-xlsx)|(application\/x-yaml)|(application\/javascript)|(application\/x-msdownload)|(application\/unknown)|(multipart\/form-data)|(application\/zip)|(application\/ofd)(\r\n)?

音频类型

regexp 复制代码
(audio\/x-wav)|(audio\/ogg)|(audio\/mp3)|(audio\/flac)|(audio\/aac)(\r\n)?

视频类型

regexp 复制代码
(video\/mp4)|(video\/webm)|(video\/ogg)|(video\/x-ms-wmv)|(video\/x-flv)|(video\/x-matroska)(\r\n)?

日期格式

regexp 复制代码
(YYYY\/M\/D)|(M\/D\/YYYY)|(MM\/DD\/YYYY)|(YYYY\/MM\/DD)|(MM\/D\/YYYY)|(D\/M\/YYYY)|(DD\/M\/YYYY)|(DD\/MM\/YYYY)|(YYYY-MM-DD)|(M\/D\/yy)(\r\n)?

modules相关

regexp 复制代码
(modules\/counter)|(modules\/toolbar)|(modules\/table)|(modules\/syntax)|(modules\/uploader)|(modules\/history)|(modules\/clipboard)|(modules\/image)|(modules\/video)|(modules\/formula)|(modules\/link)|(modules\/text-align)|(modules\/color)|(modules\/keyboard)|(modules\/scrollbar)|(modules\/resize)|(modules\/selection)|(modules\/drag-drop)|(modules\/content)|(modules\/theme)|(modules\/custom)|(modules\/api)|(modules\/localization)|(modules\/placeholder)(\r\n)?

themes相关

regexp 复制代码
(themes\/snow)|(themes\/bubble)|(themes\/dark)|(themes\/light)|(themes\/custom)|(themes\/modern)|(themes\/retro)|(themes\/minimal)|(themes\/classic)|(themes\/flat)|(themes\/material)|(themes\/bootstrap)|(themes\/semantic)|(themes\/elegant)|(themes\/gradient)|(themes\/customizable)|(themes\/responsive)|(themes\/colorful)|(themes\/animated)|(themes\/flat-ui)|(themes\/simple)(\r\n)?

ui相关

regexp 复制代码
(ui\/tooltip)|(ui\/icon-picker)|(ui\/picker)|(ui\/color-picker)|(ui\/icons)|(ui\/dropdown)|(ui\/modal)|(ui\/button)|(ui\/input)|(ui\/textarea)|(ui\/slider)|(ui\/checkbox)|(ui\/radio)|(ui\/table)|(ui\/pagination)|(ui\/tabs)|(ui\/accordion)|(ui\/alert)|(ui\/toast)|(ui\/dialog)|(ui\/progress)|(ui\/badge)|(ui\/carousel)|(ui\/menu)|(ui\/tree)|(ui\/badge)|(ui\/spinner)|(ui\/overlay)|(ui\/loader)|(ui\/notification)(\r\n)?

formats相关

regexp 复制代码
(formats\/video)|(formats\/script)|(formats\/image)|(formats\/strike)|(formats\/bold)|(formats\/direction)|(formats\/italic)|(formats\/blockquote)|(formats\/background)|(formats\/code)|(formats\/list)|(formats\/font)|(formats\/color)|(formats\/header)|(formats\/code-block)|(formats\/indent)|(formats\/align)|(formats\/formula)|(formats\/size)|(formats\/link)|(formats\/underline)|(formats\/font-size)|(formats\/font-family)|(formats\/text-align)|(formats\/text-indent)|(formats\/line-height)|(formats\/text-shadow)|(formats\/letter-spacing)|(formats\/word-spacing)|(formats\/text-transform)|(formats\/white-space)|(formats\/overflow)|(formats\/border)|(formats\/margin)|(formats\/padding)|(formats\/opacity)(\r\n)?

blots相关

regexp 复制代码
(blots\/embed)|(blots\/block)|(blots\/container)|(blots\/cursor)|(blots\/break)|(blots\/text)|(blots\/inline)|(blots\/image)|(blots\/video)|(blots\/header)|(blots\/list)|(blots\/formula)|(blots\/blockquote)|(blots\/code)|(blots\/link)|(blots\/table)|(blots\/custom)|(blots\/clean)|(blots\/divider)|(blots\/icon)|(blots\/horizontal-rule)(\r\n)?

attributors相关

regexp 复制代码
(attributors\/class\/color)|(attributors\/class\/align)|(attributors\/class\/size)|(attributors\/class\/background)|(attributors\/class\/direction)|(attributors\/class\/font)|(attributors\/style\/direction)|(attributors\/style\/size)|(attributors\/style\/color)|(attributors\/style\/font)|(attributors\/style\/align)|(attributors\/style\/background)|(attributors\/attribute\/direction)|(attributors\/attribute\/font)|(attributors\/attribute\/color)|(attributors\/attribute\/size)|(attributors\/attribute\/background)|(attributors\/attribute\/align)|(attributors\/attribute\/border)|(attributors\/attribute\/margin)|(attributors\/attribute\/padding)|(attributors\/attribute\/text-decoration)|(attributors\/attribute\/opacity)|(attributors\/attribute\/visibility)(\r\n)?

core相关

regexp 复制代码
(core\/theme)|(core\/module)|(core\/editor)|(core\/clipboard)|(core\/selection)|(core\/formats)|(core\/quill)|(core\/logger)|(core\/delta)|(core\/events)|(core\/ui)|(core\/register)|(core\/import)|(core\/export)|(core\/interactions)(\r\n)?

x相关

regexp 复制代码
(x\/component)|(x\/widget)|(x\/plugin)|(x\/service)|(x\/module)|(x\/view)|(x\/layout)|(x\/pattern)|(x\/library)|(x\/theme)|(x\/adapter)|(x\/factory)|(x\/utility)|(x\/handler)|(x\/action)|(x\/controller)|(x\/middleware)|(x\/route)|(x\/store)|(x\/provider)(\r\n)?

templates相关

(templates\/basic)|(templates\/advanced)|(templates\/responsive)|(templates\/grid)|(templates\/form)|(templates\/dashboard)|(templates\/article)|(templates\/gallery)|(templates\/portfolio)|(templates\/blog)|(templates\/e-commerce)|(templates\/landing)|(templates\/email)|(templates\/resume)|(templates\/invoice)|(templates\/custom)|(templates\/wizard)|(templates\/popup)|(templates\/carousel)|(templates\/tabs)|(templates\/stepper)|(templates\/profile)|(templates\/settings)(\r\n)?

去掉所有行末尾的"/"

regexp 复制代码
\/\r\n

去掉空行

regexp 复制代码
(?<!\S)\r\n
相关推荐
计算机科研之友(Friend)1 小时前
物联网(一)——CMC特刊推荐
开发语言·人工智能·深度学习·物联网·计算机视觉·网络安全
sleepywin6 小时前
【BUUCTF N1BOOK】[第一章 web入门]
web安全·网络安全
newxtc9 小时前
【社保通-注册安全分析报告-滑动验证加载不正常导致安全隐患】
安全·web安全·网络安全·安全威胁分析
燕雀安知鸿鹄之志哉.13 小时前
玄机:第五章 linux实战-挖矿 二
linux·运维·服务器·安全·web安全·网络安全
小春学渗透14 小时前
安全服务面试总结
安全·网络安全·中间件·安全服务
SRC_BLUE_1714 小时前
Authentication Lab | JWT None Algorithm
网络安全·靶场笔记
燕雀安知鸿鹄之志哉.14 小时前
玄机:第九章-algo
网络·经验分享·安全·web安全·网络安全·github
qmx_0720 小时前
MISC - 第11天(练习)
web安全·网络安全