(typ string)
| 32 | |
| 33 | |
| 34 | func loadEmbeddedConfig(typ string) []byte { |
| 35 | if typ == "spray_rule" { |
| 36 | return encode.MustDeflateDeCompress(sprayRuleData) |
| 37 | }else if typ == "spray_common" { |
| 38 | return encode.MustDeflateDeCompress(sprayCommonData) |
| 39 | }else if typ == "spray_dict" { |
| 40 | return encode.MustDeflateDeCompress(sprayDictData) |
| 41 | }else if typ == "extract" { |
| 42 | return encode.MustDeflateDeCompress(extractData) |
| 43 | }else if typ == "proton_rules" { |
| 44 | return encode.MustDeflateDeCompress(protonRulesData) |
| 45 | }else if typ == "found_keys" { |
| 46 | return encode.MustDeflateDeCompress(foundKeysData) |
| 47 | }else if typ == "port" { |
| 48 | return encode.MustDeflateDeCompress(portData) |
| 49 | } |
| 50 | return nil |
| 51 | } |
no outgoing calls
no test coverage detected