github / github/codeql

Detect String Encoding type with CodeQL after String extraction

未关闭
#5,441 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
C++ question
主要语言
CodeQL
星标
10.1k
派生
2.1k
平均合并
2 天 15 小时
30 天内合并 PR
141

描述

Hello there!

I want to know is there any specific way to detect if a extracted string with codeql has a specific type of encoding?

For example :

We're collecting a string from a function in C/C++ :
`if (strcmp(str1, "ENCODED_BASE64_STRING")) `

the collected string is : "`ENCODED_BASE64_STRING`" .Is there anyway to detect if this string is Base64 Encoded on the fly by CodeQL and it's not of any other Encoding type?

Any support for this?

Thanks

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。