home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
You can browse this item here: security.txt
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Swift 3D 3D Graphic (poly/swift3D3DGraphic)
| ext
| Unsupported |
1%
| dexvert
| Boost Text serialization (other/boostTextSerialization)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| gt2
| Textdatei (UNIX)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4d 65 73 73 61 67 65 2d | 49 64 3a 20 3c 31 39 39 |Message-|Id: <199|
|00000010| 34 30 39 31 36 31 35 33 | 37 2e 52 41 41 30 37 37 |40916153|7.RAA077|
|00000020| 38 34 40 63 68 61 6d 70 | 61 67 6e 65 2e 69 6e 72 |84@champ|agne.inr|
|00000030| 69 61 2e 66 72 3e 0a 54 | 6f 3a 20 45 61 72 6c 20 |ia.fr>.T|o: Earl |
|00000040| 48 6f 6f 64 20 3c 65 68 | 6f 6f 64 40 63 6f 6e 76 |Hood <eh|ood@conv|
|00000050| 65 78 2e 63 6f 6d 3e 0a | 53 75 62 6a 65 63 74 3a |ex.com>.|Subject:|
|00000060| 20 70 65 72 6c 57 57 57 | 20 43 47 49 20 65 78 61 | perlWWW| CGI exa|
|00000070| 6d 70 6c 65 73 20 73 65 | 63 75 72 69 74 79 20 70 |mples se|curity p|
|00000080| 72 6f 62 6c 65 6d 73 0a | 4d 69 6d 65 2d 56 65 72 |roblems.|Mime-Ver|
|00000090| 73 69 6f 6e 3a 20 31 2e | 30 0a 43 6f 6e 74 65 6e |sion: 1.|0.Conten|
|000000a0| 74 2d 54 79 70 65 3a 20 | 74 65 78 74 2f 70 6c 61 |t-Type: |text/pla|
|000000b0| 69 6e 3b 20 63 68 61 72 | 73 65 74 3d 22 75 73 2d |in; char|set="us-|
|000000c0| 61 73 63 69 69 22 0a 44 | 61 74 65 3a 20 46 72 69 |ascii".D|ate: Fri|
|000000d0| 2c 20 31 36 20 53 65 70 | 20 31 39 39 34 20 31 37 |, 16 Sep| 1994 17|
|000000e0| 3a 33 37 3a 35 33 20 2b | 30 32 30 30 0a 46 72 6f |:37:53 +|0200.Fro|
|000000f0| 6d 3a 20 4a 43 20 54 6f | 75 76 65 74 20 3c 4a 65 |m: JC To|uvet <Je|
|00000100| 61 6e 2d 43 68 72 69 73 | 74 6f 70 68 65 2e 54 6f |an-Chris|tophe.To|
|00000110| 75 76 65 74 40 69 6e 72 | 69 61 2e 66 72 3e 0a 0a |uvet@inr|ia.fr>..|
|00000120| 0a 20 45 61 72 6c 2c 0a | 0a 20 66 69 72 73 74 20 |. Earl,.|. first |
|00000130| 6f 66 20 61 6c 6c 2c 20 | 49 20 77 61 6e 74 20 74 |of all, |I want t|
|00000140| 6f 20 74 68 61 6e 6b 20 | 79 6f 75 20 61 20 6c 6f |o thank |you a lo|
|00000150| 74 20 66 6f 72 20 74 68 | 69 73 20 77 6f 6e 64 65 |t for th|is wonde|
|00000160| 72 66 75 6c 20 70 61 63 | 6b 61 67 65 2e 20 49 74 |rful pac|kage. It|
|00000170| 27 73 0a 72 65 61 6c 6c | 79 20 61 20 67 72 65 61 |'s.reall|y a grea|
|00000180| 74 20 6a 6f 62 2e 20 53 | 6f 20 67 72 65 61 74 20 |t job. S|o great |
|00000190| 74 68 61 74 20 69 6d 6d | 65 64 69 61 74 65 6c 79 |that imm|ediately|
|000001a0| 20 61 66 74 65 72 20 74 | 72 79 69 6e 67 20 6d 61 | after t|rying ma|
|000001b0| 6e 32 68 74 6d 6c 2c 20 | 49 20 6d 61 6e 61 67 65 |n2html, |I manage|
|000001c0| 64 0a 74 6f 20 69 6e 73 | 74 61 6c 6c 20 72 65 6c |d.to ins|tall rel|
|000001d0| 61 74 65 64 20 43 47 49 | 20 73 63 72 69 70 74 73 |ated CGI| scripts|
|000001e0| 20 69 6e 20 6d 79 20 48 | 54 54 50 20 73 65 72 76 | in my H|TTP serv|
|000001f0| 65 72 3b 20 74 68 69 73 | 20 69 73 20 77 68 65 72 |er; this| is wher|
|00000200| 65 20 74 68 65 20 73 74 | 6f 72 79 0a 73 74 61 72 |e the st|ory.star|
|00000210| 74 73 2e 0a 0a 20 49 27 | 64 20 6c 69 6b 65 20 74 |ts... I'|d like t|
|00000220| 6f 20 66 6f 63 75 73 20 | 79 6f 75 72 20 61 74 74 |o focus |your att|
|00000230| 65 6e 74 69 6f 6e 20 61 | 62 6f 75 74 20 73 65 72 |ention a|bout ser|
|00000240| 69 6f 75 73 20 73 65 63 | 75 72 69 74 79 20 70 72 |ious sec|urity pr|
|00000250| 6f 62 6c 65 6d 73 20 69 | 66 20 74 68 6f 73 65 0a |oblems i|f those.|
|00000260| 73 63 72 69 70 74 73 2e | 20 49 6e 20 66 61 63 74 |scripts.| In fact|
|00000270| 2c 20 73 6f 6d 65 20 66 | 69 6c 65 68 61 6e 64 6c |, some f|ilehandl|
|00000280| 65 73 20 61 72 65 20 6f | 70 65 6e 65 64 20 74 6f |es are o|pened to|
|00000290| 20 61 20 70 69 70 65 20 | 77 68 69 63 68 20 61 72 | a pipe |which ar|
|000002a0| 67 75 6d 65 6e 74 73 20 | 63 6f 6d 65 0a 64 69 72 |guments |come.dir|
|000002b0| 65 63 74 6c 79 20 66 72 | 6f 6d 20 75 73 65 72 27 |ectly fr|om user'|
|000002c0| 73 20 71 75 65 72 79 2e | 0a 0a 20 46 6f 72 20 65 |s query.|.. For e|
|000002d0| 78 61 6d 70 6c 65 2c 20 | 69 6e 20 22 6d 61 6e 70 |xample, |in "manp|
|000002e0| 61 67 65 22 2c 20 77 65 | 20 68 61 76 65 3a 0a 0a |age", we| have:..|
|000002f0| 09 24 6d 61 6e 63 6f 6d | 6d 61 6e 64 20 20 20 3d |.$mancom|mand =|
|00000300| 20 22 6d 61 6e 20 24 6d | 61 6e 66 6c 61 67 73 20 | "man $m|anflags |
|00000310| 24 74 6f 70 69 63 22 3b | 0a 0a 20 61 6e 64 20 6c |$topic";|.. and l|
|00000320| 61 74 65 72 3a 0a 0a 09 | 6f 70 65 6e 20 28 4d 41 |ater:...|open (MA|
|00000330| 4e 2c 20 22 24 6d 61 6e | 63 6f 6d 6d 61 6e 64 20 |N, "$man|command |
|00000340| 32 3e 20 2f 64 65 76 2f | 6e 75 6c 6c 20 7c 22 29 |2> /dev/|null |")|
|00000350| 0a 0a 20 4e 6f 77 2c 20 | 69 66 20 74 68 65 20 75 |.. Now, |if the u|
|00000360| 73 65 72 20 73 75 62 6d | 69 74 73 3a 0a 0a 09 6c |ser subm|its:...l|
|00000370| 73 20 3b 20 72 6d 20 2d | 72 66 20 2f 0a 0a 20 61 |s ; rm -|rf /.. a|
|00000380| 73 20 61 20 74 6f 70 69 | 63 2c 20 74 68 65 20 77 |s a topi|c, the w|
|00000390| 68 6f 6c 65 20 63 6f 6d | 6d 61 6e 64 20 22 6d 61 |hole com|mand "ma|
|000003a0| 6e 20 6c 73 20 3b 20 72 | 6d 20 2d 72 66 20 2f 22 |n ls ; r|m -rf /"|
|000003b0| 20 69 73 20 65 78 65 63 | 75 74 65 64 20 3a 2d 28 | is exec|uted :-(|
|000003c0| 0a 0a 20 41 73 20 73 75 | 67 67 65 73 74 65 64 20 |.. As su|ggested |
|000003d0| 69 6e 20 74 68 65 20 22 | 63 61 6d 65 6c 20 62 6f |in the "|camel bo|
|000003e0| 6f 6b 22 2c 20 49 20 72 | 65 70 6c 61 63 65 64 20 |ok", I r|eplaced |
|000003f0| 74 68 6f 73 65 20 63 6f | 6d 6d 61 6e 64 73 20 77 |those co|mmands w|
|00000400| 69 74 68 20 73 6f 6d 65 | 74 68 69 6e 67 20 61 73 |ith some|thing as|
|00000410| 3a 0a 0a 09 6f 70 65 6e | 20 28 4d 41 4e 2c 22 2d |:...open| (MAN,"-|
|00000420| 7c 22 29 20 7c 7c 20 65 | 78 65 63 20 27 6d 61 6e ||") || e|xec 'man|
|00000430| 27 2c 24 6d 61 6e 66 6c | 61 67 73 2c 24 74 6f 70 |',$manfl|ags,$top|
|00000440| 69 63 3b 0a 0a 20 77 68 | 69 63 68 20 69 73 20 6d |ic;.. wh|ich is m|
|00000450| 6f 72 65 20 73 65 63 75 | 72 65 2e 0a 0a 20 45 78 |ore secu|re... Ex|
|00000460| 63 75 73 65 20 6d 65 20 | 69 66 20 49 20 77 61 73 |cuse me |if I was|
|00000470| 74 65 64 20 79 6f 75 72 | 20 74 69 6d 65 2e 20 43 |ted your| time. C|
|00000480| 68 65 65 72 73 2c 0a 0a | 20 20 20 20 2d 4a 43 54 |heers,..| -JCT|
|00000490| 2d 0a | |-. | |
+--------+-------------------------+-------------------------+--------+--------+