/ Univers Interactif 3
/ INTERACTIF.BIN / pc / planeten / internet / machttp2.sit / MacHTTP 2.0 / MacHTTP Software & Docs / Tutorials / Examples / test.script ![]() | < prev |
MacBinary | 1994-11-27 | 2.3 KB | [TEXT/ToyS] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, Sun Nov 27 09:57:01 1994, modified Sun Nov 27 09:57:01 1994, creator 'ToyS', type ASCII, 1687 bytes "test.script" , at 0x717 330 bytes resource | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [ToyS] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 74 65 73 74 2e 73 | 63 72 69 70 74 00 00 00 |..test.s|cript...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 54 6f 79 | 53 00 00 00 00 00 00 00 |.TEXTToy|S.......|
|00000050| 00 00 00 00 00 06 97 00 | 00 01 4a aa fe 4e bd aa |........|..J..N..|
|00000060| fe 4e bd 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.N......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a1 60 00 00 |........|.....`..|
|00000080| 2d 2d 20 56 61 72 69 61 | 62 6c 65 73 20 61 76 61 |-- Varia|bles ava|
|00000090| 69 6c 61 62 6c 65 20 66 | 6f 72 20 75 73 65 3a 0d |ilable f|or use:.|
|000000a0| 2d 2d 20 68 74 74 70 5f | 73 65 61 72 63 68 5f 61 |-- http_|search_a|
|000000b0| 72 67 73 20 2d 20 73 74 | 75 66 66 20 69 6e 20 74 |rgs - st|uff in t|
|000000c0| 68 65 20 55 52 4c 20 61 | 66 74 65 72 20 61 20 3f |he URL a|fter a ?|
|000000d0| 0d 2d 2d 20 70 6f 73 74 | 5f 61 72 67 73 20 2d 20 |.-- post|_args - |
|000000e0| 73 74 75 66 66 20 69 6e | 20 74 68 65 20 55 52 4c |stuff in| the URL|
|000000f0| 20 61 66 74 65 72 20 61 | 20 24 0d 2d 2d 20 6d 65 | after a| $.-- me|
|00000100| 74 68 6f 64 20 2d 20 47 | 45 54 2c 20 50 4f 53 54 |thod - G|ET, POST|
|00000110| 2c 20 65 74 63 2e 20 55 | 73 65 64 20 74 6f 20 74 |, etc. U|sed to t|
|00000120| 65 6c 6c 20 69 66 20 70 | 6f 73 74 5f 61 72 67 73 |ell if p|ost_args|
|00000130| 20 61 72 65 20 76 61 6c | 69 64 0d 2d 2d 20 63 6c | are val|id.-- cl|
|00000140| 69 65 6e 74 5f 61 64 64 | 72 65 73 73 20 2d 20 49 |ient_add|ress - I|
|00000150| 50 20 61 64 64 72 65 73 | 73 20 6f 72 20 64 6f 6d |P addres|s or dom|
|00000160| 61 69 6e 20 6e 61 6d 65 | 20 6f 66 20 72 65 6d 6f |ain name| of remo|
|00000170| 74 65 20 63 6c 69 65 6e | 74 27 73 20 68 6f 73 74 |te clien|t's host|
|00000180| 0d 2d 2d 20 66 72 6f 6d | 5f 75 73 65 72 20 2d 20 |.-- from|_user - |
|00000190| 6e 6f 6e 2d 73 74 61 6e | 64 61 72 64 2e 20 65 2d |non-stan|dard. e-|
|000001a0| 6d 61 69 6c 20 61 64 64 | 72 65 73 73 20 6f 66 20 |mail add|ress of |
|000001b0| 72 65 6d 6f 74 65 20 75 | 73 65 72 0d 2d 2d 20 75 |remote u|ser.-- u|
|000001c0| 73 65 72 6e 61 6d 65 20 | 2d 20 61 75 74 68 65 6e |sername |- authen|
|000001d0| 74 69 63 61 74 65 64 20 | 75 73 65 72 20 6e 61 6d |ticated |user nam|
|000001e0| 65 0d 2d 2d 20 70 61 73 | 73 77 6f 72 64 20 2d 20 |e.-- pas|sword - |
|000001f0| 61 75 74 68 65 6e 74 69 | 63 61 74 65 64 20 70 61 |authenti|cated pa|
|00000200| 73 73 77 6f 72 64 0d 2d | 2d 20 73 65 72 76 65 72 |ssword.-|- server|
|00000210| 5f 6e 61 6d 65 20 2d 20 | 6e 61 6d 65 20 6f 72 20 |_name - |name or |
|00000220| 49 50 20 61 64 64 72 65 | 73 73 20 6f 66 20 74 68 |IP addre|ss of th|
|00000230| 69 73 20 73 65 72 76 65 | 72 0d 2d 2d 20 73 65 72 |is serve|r.-- ser|
|00000240| 76 65 72 5f 70 6f 72 74 | 20 2d 20 54 43 50 2f 49 |ver_port| - TCP/I|
|00000250| 50 20 70 6f 72 74 20 6e | 75 6d 62 65 72 20 62 65 |P port n|umber be|
|00000260| 69 6e 67 20 75 73 65 64 | 20 62 79 20 74 68 69 73 |ing used| by this|
|00000270| 20 73 65 72 76 65 72 0d | 2d 2d 20 73 63 72 69 70 | server.|-- scrip|
|00000280| 74 5f 6e 61 6d 65 20 2d | 20 55 52 4c 20 6e 61 6d |t_name -| URL nam|
|00000290| 65 20 6f 66 20 74 68 69 | 73 20 73 63 72 69 70 74 |e of thi|s script|
|000002a0| 0d 2d 2d 20 72 65 66 65 | 72 65 72 20 2d 20 74 68 |.-- refe|rer - th|
|000002b0| 65 20 55 52 4c 20 6f 66 | 20 74 68 65 20 70 61 67 |e URL of| the pag|
|000002c0| 65 20 72 65 66 65 72 65 | 6e 63 69 6e 67 20 74 68 |e refere|ncing th|
|000002d0| 69 73 20 64 6f 63 75 6d | 65 6e 74 0d 2d 2d 20 75 |is docum|ent.-- u|
|000002e0| 73 65 72 5f 61 67 65 6e | 74 20 2d 20 74 68 65 20 |ser_agen|t - the |
|000002f0| 6e 61 6d 65 20 61 6e 64 | 20 76 65 72 73 69 6f 6e |name and| version|
|00000300| 20 6f 66 20 74 68 65 20 | 57 57 57 20 63 6c 69 65 | of the |WWW clie|
|00000310| 6e 74 20 73 6f 66 74 77 | 61 72 65 20 62 65 69 6e |nt softw|are bein|
|00000320| 67 20 75 73 65 64 0d 2d | 2d 20 63 6f 6e 74 65 6e |g used.-|- conten|
|00000330| 74 5f 74 79 70 65 20 2d | 20 4d 49 4d 45 20 63 6f |t_type -| MIME co|
|00000340| 6e 74 65 6e 74 20 74 79 | 70 65 20 6f 66 20 70 6f |ntent ty|pe of po|
|00000350| 73 74 5f 61 72 67 73 0d | 0d 73 65 74 20 63 72 6c |st_args.|.set crl|
|00000360| 66 20 74 6f 20 28 41 53 | 43 49 49 20 63 68 61 72 |f to (AS|CII char|
|00000370| 61 63 74 65 72 20 31 33 | 29 20 26 20 28 41 53 43 |acter 13|) & (ASC|
|00000380| 49 49 20 63 68 61 72 61 | 63 74 65 72 20 31 30 29 |II chara|cter 10)|
|00000390| 0d 0d 2d 2d 74 68 69 73 | 20 62 75 69 6c 64 73 20 |..--this| builds |
|000003a0| 74 68 65 20 6e 6f 72 6d | 61 6c 20 48 54 54 50 20 |the norm|al HTTP |
|000003b0| 68 65 61 64 65 72 20 66 | 6f 72 20 72 65 67 75 6c |header f|or regul|
|000003c0| 61 72 20 61 63 63 65 73 | 73 0d 73 65 74 20 68 74 |ar acces|s.set ht|
|000003d0| 74 70 5f 31 30 5f 68 65 | 61 64 65 72 20 74 6f 20 |tp_10_he|ader to |
|000003e0| 22 48 54 54 50 2f 31 2e | 30 20 32 30 30 20 4f 4b |"HTTP/1.|0 200 OK|
|000003f0| 22 20 26 20 63 72 6c 66 | 20 26 20 22 53 65 72 76 |" & crlf| & "Serv|
|00000400| 65 72 3a 20 4d 61 63 48 | 54 54 50 22 20 26 20 63 |er: MacH|TTP" & c|
|00000410| 72 6c 66 20 26 20 c2 0d | 09 22 4d 49 4d 45 2d 56 |rlf & ..|."MIME-V|
|00000420| 65 72 73 69 6f 6e 3a 20 | 31 2e 30 22 20 26 20 63 |ersion: |1.0" & c|
|00000430| 72 6c 66 20 26 20 22 43 | 6f 6e 74 65 6e 74 2d 74 |rlf & "C|ontent-t|
|00000440| 79 70 65 3a 20 74 65 78 | 74 2f 68 74 6d 6c 22 20 |ype: tex|t/html" |
|00000450| 26 20 63 72 6c 66 20 26 | 20 63 72 6c 66 0d 0d 72 |& crlf &| crlf..r|
|00000460| 65 74 75 72 6e 20 68 74 | 74 70 5f 31 30 5f 68 65 |eturn ht|tp_10_he|
|00000470| 61 64 65 72 20 26 20 22 | 3c 74 69 74 6c 65 3e 54 |ader & "|<title>T|
|00000480| 65 73 74 20 53 43 52 49 | 50 54 3c 2f 74 69 74 6c |est SCRI|PT</titl|
|00000490| 65 3e 3c 68 32 3e 54 65 | 73 74 20 53 43 52 49 50 |e><h2>Te|st SCRIP|
|000004a0| 54 3c 2f 68 32 3e 3c 75 | 3e 53 43 52 49 50 54 20 |T</h2><u|>SCRIPT |
|000004b0| 61 72 67 75 6d 65 6e 74 | 73 20 73 65 6e 74 3a 3c |argument|s sent:<|
|000004c0| 2f 75 3e 22 20 26 20 c2 | 0d 09 22 3c 62 72 3e 3c |/u>" & .|.."<br><|
|000004d0| 62 3e 70 61 74 68 3a 3c | 2f 62 3e 20 22 20 26 20 |b>path:<|/b> " & |
|000004e0| 70 61 74 68 5f 61 72 67 | 73 20 26 20 c2 0d 09 22 |path_arg|s & ..."|
|000004f0| 3c 62 72 3e 3c 62 3e 73 | 65 61 72 63 68 3a 3c 2f |<br><b>s|earch:</|
|00000500| 62 3e 20 22 20 26 20 68 | 74 74 70 5f 73 65 61 72 |b> " & h|ttp_sear|
|00000510| 63 68 5f 61 72 67 73 20 | 26 20 c2 0d 09 22 3c 62 |ch_args |& ..."<b|
|00000520| 72 3e 3c 62 3e 70 6f 73 | 74 5f 61 72 67 73 3a 3c |r><b>pos|t_args:<|
|00000530| 2f 62 3e 20 22 20 26 20 | 70 6f 73 74 5f 61 72 67 |/b> " & |post_arg|
|00000540| 73 20 26 20 c2 0d 09 22 | 3c 62 72 3e 3c 62 3e 6d |s & ..."|<br><b>m|
|00000550| 65 74 68 6f 64 3a 3c 2f | 62 3e 20 22 20 26 20 6d |ethod:</|b> " & m|
|00000560| 65 74 68 6f 64 20 26 20 | c2 0d 09 22 3c 62 72 3e |ethod & |..."<br>|
|00000570| 3c 62 3e 61 64 64 72 65 | 73 73 3a 3c 2f 62 3e 20 |<b>addre|ss:</b> |
|00000580| 22 20 26 20 63 6c 69 65 | 6e 74 5f 61 64 64 72 65 |" & clie|nt_addre|
|00000590| 73 73 20 26 20 c2 0d 09 | 22 3c 62 72 3e 3c 62 3e |ss & ...|"<br><b>|
|000005a0| 75 73 65 72 3a 3c 2f 62 | 3e 20 22 20 26 20 75 73 |user:</b|> " & us|
|000005b0| 65 72 6e 61 6d 65 20 26 | 20 c2 0d 09 22 3c 62 72 |ername &| ..."<br|
|000005c0| 3e 3c 62 3e 70 61 73 73 | 77 6f 72 64 3a 3c 2f 62 |><b>pass|word:</b|
|000005d0| 3e 20 22 20 26 20 70 61 | 73 73 77 6f 72 64 20 26 |> " & pa|ssword &|
|000005e0| 20 c2 0d 09 22 3c 62 72 | 3e 3c 62 3e 66 72 6f 6d | ..."<br|><b>from|
|000005f0| 3a 3c 2f 62 3e 20 22 20 | 26 20 66 72 6f 6d 5f 75 |:</b> " |& from_u|
|00000600| 73 65 72 20 26 20 c2 0d | 09 22 3c 62 72 3e 3c 62 |ser & ..|."<br><b|
|00000610| 3e 73 65 72 76 65 72 5f | 6e 61 6d 65 3a 3c 2f 62 |>server_|name:</b|
|00000620| 3e 20 22 20 26 20 73 65 | 72 76 65 72 5f 6e 61 6d |> " & se|rver_nam|
|00000630| 65 20 26 20 c2 0d 09 22 | 3c 62 72 3e 3c 62 3e 73 |e & ..."|<br><b>s|
|00000640| 65 72 76 65 72 5f 70 6f | 72 74 3a 3c 2f 62 3e 20 |erver_po|rt:</b> |
|00000650| 22 20 26 20 73 65 72 76 | 65 72 5f 70 6f 72 74 20 |" & serv|er_port |
|00000660| 26 20 c2 0d 09 22 3c 62 | 72 3e 3c 62 3e 73 63 72 |& ..."<b|r><b>scr|
|00000670| 69 70 74 5f 6e 61 6d 65 | 3a 3c 2f 62 3e 20 22 20 |ipt_name|:</b> " |
|00000680| 26 20 73 63 72 69 70 74 | 5f 6e 61 6d 65 20 26 20 |& script|_name & |
|00000690| c2 0d 09 22 3c 62 72 3e | 3c 62 3e 72 65 66 65 72 |..."<br>|<b>refer|
|000006a0| 65 72 3a 3c 2f 62 3e 20 | 22 20 26 20 72 65 66 65 |er:</b> |" & refe|
|000006b0| 72 65 72 20 26 20 c2 0d | 09 22 3c 62 72 3e 3c 62 |rer & ..|."<br><b|
|000006c0| 3e 75 73 65 72 20 61 67 | 65 6e 74 3a 3c 2f 62 3e |>user ag|ent:</b>|
|000006d0| 20 22 20 26 20 75 73 65 | 72 5f 61 67 65 6e 74 20 | " & use|r_agent |
|000006e0| 26 20 c2 0d 09 22 3c 62 | 72 3e 3c 62 3e 63 6f 6e |& ..."<b|r><b>con|
|000006f0| 74 65 6e 74 5f 74 79 70 | 65 3a 3c 2f 62 3e 20 22 |tent_typ|e:</b> "|
|00000700| 20 26 20 63 6f 6e 74 65 | 6e 74 5f 74 79 70 65 20 | & conte|nt_type |
|00000710| 26 20 63 72 6c 66 0d 00 | 00 00 00 00 00 00 00 00 |& crlf..|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 01 00 00 00 01 18 | 00 00 00 18 00 00 00 32 |........|.......2|
|00000790| ff ff ff ff ff ff ff ff | ff ff ff ff d8 02 00 9a |........|........|
|000007a0| ff b0 33 f5 04 00 71 00 | 96 00 92 00 9f 3f fe 04 |..3...q.|.....?..|
|000007b0| 0b 74 65 73 74 2e 73 63 | 72 69 70 74 02 00 00 00 |.test.sc|ript....|
|000007c0| 50 61 72 74 53 49 54 21 | 00 00 00 00 00 00 00 00 |PartSIT!|........|
|000007d0| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 ab 1b ac 62 00 00 | 00 00 00 00 01 4a 04 67 |.....b..|.....J.g|
|00000800| 09 44 01 b9 42 01 01 ce | 27 34 01 ff a9 fe 04 6f |.D..B...|'4.....o|
|00000810| 09 3f 01 01 01 01 01 01 | 01 01 05 02 f5 00 ce 00 |.?......|........|
|00000820| 51 00 19 00 54 6a 0d ff | 8b ff 8a ff d3 00 91 00 |Q...Tj..|........|
|00000830| 90 ff 89 00 d1 00 8d 00 | d0 00 cf ff ab 00 5b 00 |........|......[.|
|00000840| 56 ee 02 00 31 ff 88 46 | e8 4f 01 00 2f 26 04 00 |V...1..F|.O../&..|
|00000850| 87 00 5a ff 9f ff 84 54 | fe 04 52 0f c2 fe f4 e2 |..Z....T|..R.....|
|00000860| 03 ff fe ed d5 04 f8 ff | 04 33 f7 03 00 54 ff c7 |........|.3...T..|
|00000870| ff a9 33 06 ff 8e ff 88 | ff 91 00 8d 00 8e ff e1 |..3.....|........|
|00000880| 00 00 00 14 00 2b 00 04 | 02 2b 02 81 00 2b 00 04 |.....+..|.+...+..|
|00000890| 02 6b 02 81 00 00 00 00 | 00 00 01 00 00 00 01 18 |.k......|........|
|000008a0| 00 00 00 18 00 00 00 32 | 00 45 a2 dc 1e da 00 00 |.......2|.E......|
|000008b0| 00 1c 00 32 00 00 57 50 | 6f 73 00 00 00 0a 00 80 |...2..WP|os......|
|000008c0| ff ff 00 00 00 00 00 45 | a0 6c 00 00 00 00 00 00 |.......E|.l......|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+