github / github/codeql

Detect String Encoding type with CodeQL after String extraction

Offen
#5,441 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
C++ question
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.