利用 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
相关推荐
Clockwiseee10 小时前
php伪协议
windows·安全·web安全·网络安全
Lspecialnx_14 小时前
文件解析漏洞中间件(iis和Apache)
网络安全·中间件
学习溢出16 小时前
【网络安全】逆向工程 练习示例
网络·安全·网络安全·渗透测试·逆向工程
孤独的履行者19 小时前
入门靶机:DC-1的渗透测试
数据库·python·网络安全
Blankspace学20 小时前
Wireshark软件下载安装及基础
网络·学习·测试工具·网络安全·wireshark
CVE-柠檬i1 天前
Yakit靶场-高级前端加解密与验签实战-全关卡通关教程
网络安全
轨迹H1 天前
kali设置中文输入法
linux·网络安全·渗透测试·kali
cr.sheeper1 天前
Vulnhub靶场Apache解析漏洞
网络安全·apache
Autumn.h2 天前
文件解析漏洞
web安全·网络安全·中间件