Skip to content

Detect String Encoding type with CodeQL after String extraction #5441

Open
@samstack6

Description

@samstack6

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C++questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions