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 摘要。