owtf_extensions/wafbypasser/core/response_analyzer.py
def format_char(char):
    """Converts a character to printable format"""
    if char in string.ascii_letters:
        return char
    if char in string.digits:
        return char
    if char in string.punctuation:
        return char
    if char in string.whitespace:
        if char == " ":
            return "[SPACE]"
        if char == "\t":
            return "[TAB]"
        if char == "\r":
            return "[CARRIAGE RETURN]"
        if char == "\x0B":
            return "[VERTICAL TAB]"
        if char == "\x0C":
            return "[NEW PAGE - FORM FEED]"
        if char == "\n":
            return "[NEW-LINE]"
    else:
        return "[ASCII: " + str(ord(char)) + "]"
Converts a character to printable format
Converts a character to printable format
Converts a character to printable format
def format_char(char):
    if char in string.ascii_letters:
        return char
    if char in string.digits:
        return char
    if char in string.punctuation:
        return char
    if char in string.whitespace:
        if char == " ":
            return "[SPACE]"
        if char == "\t":
            return "[TAB]"
        if char == "\r":
            return "[CARRIAGE RETURN]"
        if char == "\x0B":
            return "[VERTICAL TAB]"
        if char == "\x0C":
            return "[NEW PAGE - FORM FEED]"
        if char == "\n":
            return "[NEW-LINE]"
    else:
        return "[ASCII: " + str(ord(char)) + "]"
def format_char ( char ) : if char in string . ascii_letters : return char if char in string . digits : return char if char in string . punctuation : return char if char in string . whitespace : if char == " " : return "[SPACE]" if char == "\t" : return "[TAB]" if char == "\r" : return "[CARRIAGE RETURN]" if char == "\x0B" : return "[VERTICAL TAB]" if char == "\x0C" : return "[NEW PAGE - FORM FEED]" if char == "\n" : return "[NEW-LINE]" else : return "[ASCII: " + str ( ord ( char ) ) + "]"
Converts a character to printable format
Converts a character to printable format
"""Converts a character to printable format"""
char