利用 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
相关推荐
follycat4 小时前
[极客大挑战 2019]HTTP 1
网络·网络协议·http·网络安全
Lionhacker18 小时前
网络工程师这个行业可以一直干到退休吗?
网络·数据库·网络安全·黑客·黑客技术
centos0820 小时前
PWN(栈溢出漏洞)-原创小白超详细[Jarvis-level0]
网络安全·二进制·pwn·ctf
程序员小予1 天前
如何成为一名黑客?小白必学的12个基本步骤
计算机网络·安全·网络安全
蜗牛学苑_武汉1 天前
Wazuh入侵检测系统的安装和基本使用
网络·网络安全
乐茵安全1 天前
linux基础
linux·运维·服务器·网络·安全·网络安全
如光照1 天前
Linux与Windows中的流量抓取工具:wireshark与tcpdump
linux·windows·测试工具·网络安全
follycat1 天前
2024强网杯Proxy
网络·学习·网络安全·go
黑色叉腰丶大魔王1 天前
《运维网络安全》
运维·网络·网络安全