Debian Codegraph @

paolo_ov3.crm

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 #! /usr/bin/crm
2 #
3 # paolo_ov3.crm - paolo test script
4
5 # Copyright 2009 William S. Yerazunis.
6 # This file is under GPLv3, as described in COPYING.
7
8 window
9 alter (:_dw:) /Return-path: \nEnvelope-to: \nDelivery-date:\nReceived: from\n by paranoia with esmtp\n id 1E24Zm-0008Pl-Bq\nReceived: from\nX-Identity-Key: id1\nDate: Mon\nFrom: International Medical Corporation\nX-Accept-Language: en-us, en\nMIME-Version: 1.0\nTo: [email protected]\nSubject: You have some free time?\nContent-Type: multipart\/related; boundary="------------000708090009050006030006"\nMessage-Id: <[email protected]>\nX-CRM114-Version: 20050415.BlameTheIRS\nX-CRM114-Status: SPAM\nContent-Length: 21549\n\nThis is a multi-part message in MIME format.\n--------------000708090009050006030006\nContent-Type: text\/html; charset=us-ascii\nContent-Transfer-Encoding: 7bit\n\n<html><head><meta http-equiv="Content-Type" content="text\/html; charset=iso-8859-1"><\/head><body bgcolor="#FFFFF4" text="#F2C2E6"><p><a href="xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"><IMG SRC="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" border="0" ALT=""><\/a><\/p><p><font color="#FFFFFD">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx<\/font><\/p><p><font color="#FFFFF4">wwwwwwwwwww? xxxxx<\/font><\/p><\/body><\/html>\n\n--------------000708090009050006030006\nContent-Type: image\/gif;\n name="clonic.GIF"\nContent-Transfer-Encoding: base64\nContent-ID: <iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii>\nContent-Disposition: inline;\n filename="clonic.GIF"\n\noooooooooooooooooooooooo\/\/\/\/\/oooooooooooooooooooooooooooooo\/oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo\nooooooooooooooooooooooooooooo\/oooooooooooooooooooooooooooooooooooooooooooooooooo\n...more garbage follows...\n\n--------------000708090009050006030006--\n\n\n/
10
11 {
12 match (:: :headers: :body:) /(.*?)\n\n(.*)/
13 }
14
15 isolate (:headers:)
16 {
17 match <nomultiline> [:headers:] /^Content-Type: .* boundary="(.+)"/ \
18 (:x: :boundary:)
19 output /:boundary:=:*:boundary:\n/
20 }
21
22 isolate (:c:) /0/
23 {
24 eval (:c:) /:@::*:c:+1:/
25 match <fromend> [:body:] (:x: :headers:) /\n--:*:boundary:\n(.+?)\n\n/
26 output /:c:=:*:c:\n:*:headers:\n\n/
27 liaf
28 }