| | 49 | <%= start_form_tag %> |
|---|
| | 50 | |
|---|
| | 51 | <% @tmod.options.each { |name, option| |
|---|
| | 52 | next if (option.advanced?) |
|---|
| | 53 | next if (option.evasion?) %> |
|---|
| | 54 | <%= name %> |
|---|
| | 55 | <%= (option.required?) ? "Required" : "Optional" %> |
|---|
| | 56 | <%= option.type %> |
|---|
| | 57 | <input type='text' name="opt_<%= html_escape(name) %>" value="<%= html_escape(option.default || '') %>"/> |
|---|
| | 58 | <%= html_escape(option.desc) %> |
|---|
| | 59 | <% } %> |
|---|
| | 60 | |
|---|
| | 61 | Max Size: |
|---|
| | 62 | <input type="text" name="max_size" size="10"/> |
|---|
| | 63 | Restricted Characters (format: 0x00 0x01): |
|---|
| | 64 | <input type="text" name='badchars' size='45' value='0x00 '/> |
|---|
| | 65 | Selected Encoder:<br/> |
|---|
| | 66 | <select name="encoder" size='1'> |
|---|
| | 67 | <option value='__default'>Default |
|---|
| | 68 | <% @tmod.compatible_encoders.each { |encname, mod| %> |
|---|
| | 69 | <option><%= encname %> |
|---|
| | 70 | <% } %> |
|---|
| | 71 | </select> |
|---|
| | 72 | |
|---|
| | 73 | Format:<br/> |
|---|
| | 74 | <select name='format' size='1'> |
|---|
| | 75 | <option value='c'>C |
|---|
| | 76 | <option value='ruby'>Ruby |
|---|
| | 77 | <option value='perl'>Perl |
|---|
| | 78 | <option value='raw'>Raw |
|---|
| | 79 | </select> |
|---|
| | 80 | |
|---|
| | 81 | <%= submit_tag %> |
|---|
| | 82 | <%= end_form_tag %> |
|---|