diff --git a/javascript/udp/detection/tftp-detect.yaml b/javascript/udp/detection/tftp-detect.yaml index 4dcf989e3f..e0505d53be 100644 --- a/javascript/udp/detection/tftp-detect.yaml +++ b/javascript/udp/detection/tftp-detect.yaml @@ -12,9 +12,7 @@ info: shodan-query: "port:69" tags: js,tftp,udp,network javascript: - - pre-condition: | - isPortOpen(Host,Port); - code: | + - code: | let packet = bytes.NewBuffer(); let message = "1.txt" let data = message; @@ -33,4 +31,5 @@ javascript: - type: word words: - "Unknown transfer ID" -# digest: 4a0a00473045022100c512c1a23c479681469c4b6a1e1e7a5740dfee043f58cb2a1d79767822cbb32802203dfa42884afa515fb2ac6dd0e0075422bc1f3ece618c6538164c8b9b09062e46:922c64590222798bb761d5b6d8e72950 \ No newline at end of file + case-insensitive: true +# digest: 4a0a00473045022100c512c1a23c479681469c4b6a1e1e7a5740dfee043f58cb2a1d79767822cbb32802203dfa42884afa515fb2ac6dd0e0075422bc1f3ece618c6538164c8b9b09062e46:922c64590222798bb761d5b6d8e72950