diff --git a/transformations/phpArgsNames.json b/transformations/phpArgsNames.json deleted file mode 100644 index dd7feb2..0000000 --- a/transformations/phpArgsNames.json +++ /dev/null @@ -1,93 +0,0 @@ -[ - { - "input" : "abc", - "name" : "phpArgsNames", - "type" : "tfn", - "ret" : 0, - "output" : "abc" - }, - { - "input" : "a_bc", - "name" : "phpArgsNames", - "type" : "tfn", - "ret" : 0, - "output" : "a_bc" - }, - { - "input" : "a_b.c", - "name" : "phpArgsNames", - "type" : "tfn", - "ret" : 1, - "output" : "a_b_c" - }, - { - "input" : "a[_b c.", - "name" : "phpArgsNames", - "type" : "tfn", - "ret" : 1, - "output" : "a__b c." - }, - { - "input" : ". a_b]c", - "name" : "phpArgsNames", - "type" : "tfn", - "ret" : 1, - "output" : "__a_b]c" - }, - { - "input" : "a_b c d_", - "name" : "phpArgsNames", - "type" : "tfn", - "ret" : 1, - "output" : "a_b_c_d_" - }, - { - "input" : "[a_[b][]c d_", - "name" : "phpArgsNames", - "type" : "tfn", - "ret" : 1, - "output" : "" - }, - { - "input" : "a_[b][ ]c d_", - "name" : "phpArgsNames", - "type" : "tfn", - "ret" : 1, - "output" : "a_[b][]" - }, - { - "input" : "][ ", - "name" : "phpArgsNames", - "type" : "tfn", - "ret" : 1, - "output" : "]_ " - }, - { - "input" : "][ a.", - "name" : "phpArgsNames", - "type" : "tfn", - "ret" : 1, - "output" : "]_ a." - }, - { - "input" : " ] [a][c][f. _ ]", - "name" : "phpArgsNames", - "type" : "tfn", - "ret" : 1, - "output" : "]_[a][c][f. _ ]" - }, - { - "input" : "a[]b", - "name" : "phpArgsNames", - "type" : "tfn", - "ret" : 1, - "output" : "a[]" - }, - { - "input" : "sc ript._[a[_xss]", - "name" : "phpArgsNames", - "type" : "tfn", - "ret" : 1, - "output" : "sc_ript__[a[_xss]" - } -] diff --git a/transformations/sqlHexDecode.json b/transformations/sqlHexDecode.json index 744fc2a..c459de9 100644 --- a/transformations/sqlHexDecode.json +++ b/transformations/sqlHexDecode.json @@ -5,5 +5,40 @@ "type" : "tfn", "name" : "sqlHexDecode", "output" : "ABC" + }, + { + "ret" : 1, + "input" : "ABC", + "type" : "tfn", + "name" : "sqlHexDecode", + "output" : "ABC" + }, + { + "ret" : 1, + "input" : "00x414243", + "type" : "tfn", + "name" : "sqlHexDecode", + "output" : "0ABC" + }, + { + "ret" : 1, + "input" : "0xz0x414243", + "type" : "tfn", + "name" : "sqlHexDecode", + "output" : "0xzABC" + }, + { + "ret" : 1, + "input" : "0x4142430x434241", + "type" : "tfn", + "name" : "sqlHexDecode", + "output" : "ABCCBA" + }, + { + "ret" : 1, + "input" : "0x4142430x0x434241", + "type" : "tfn", + "name" : "sqlHexDecode", + "output" : "ABC0xCBA" } ]