| | 26 | To delete a series of tickets (for longer spam runs that weren't filtered, for example), you can use the following bash command: |
| | 27 | {{{ |
| | 28 | for ticket in {871..1023}; do wget --no-cookies --header "Accept-Language: en-us,en;q=0.5" --header "Cookie: trac_form_token=812e1fe19363c2b277750348; trac_auth=c146290e778e919de054c842ccf67535" --post-data="__FORM_TOKEN=812e1fe19363c2b277750348&ticketid=$ticket" http://trac.fonosfera.org/fon-ng/admin/ticket/delete -O /dev/null; done |
| | 29 | }}} |
| | 30 | |
| | 31 | Here, {{{871..1023}}} is the range of tickets to delete (inclusive). You'll have to get the {{{trac_form_token}}} and {{{trac_auth}}} values from your browser cookies after logging in. Note that there's two places in the above command where you should put the form token. |
| | 32 | |