diff options
Diffstat (limited to 'src/usr.bin/nc/data/pmap-dump.d')
-rw-r--r-- | src/usr.bin/nc/data/pmap-dump.d | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/src/usr.bin/nc/data/pmap-dump.d b/src/usr.bin/nc/data/pmap-dump.d deleted file mode 100644 index 98d6142001..0000000000 --- a/src/usr.bin/nc/data/pmap-dump.d +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
1 | # $OpenBSD: pmap-dump.d,v 1.2 2001/01/29 01:58:11 niklas Exp $ | ||
2 | |||
3 | # portmap dump request: like "rpcinfo -p" but via UDP instead | ||
4 | # send to UDP 111 and hope it's not a logging portmapper! | ||
5 | # split into longwords, since rpc apparently only deals with them | ||
6 | |||
7 | 001 # 0x01 # . # XID: 4 trash bytes | ||
8 | 002 # 0x02 # . | ||
9 | 003 # 0x03 # . | ||
10 | 004 # 0x04 # . | ||
11 | |||
12 | 000 # 0x00 # . # MSG: int 0=call, 1=reply | ||
13 | 000 # 0x00 # . | ||
14 | 000 # 0x00 # . | ||
15 | 000 # 0x00 # . | ||
16 | |||
17 | 000 # 0x00 # . # pmap call body: rpc version=2 | ||
18 | 000 # 0x00 # . | ||
19 | 000 # 0x00 # . | ||
20 | 002 # 0x02 # . | ||
21 | |||
22 | 000 # 0x00 # . # pmap call body: prog=PMAP, 100000 | ||
23 | 001 # 0x01 # . | ||
24 | 134 # 0x86 # . | ||
25 | 160 # 0xa0 # . | ||
26 | |||
27 | 000 # 0x00 # . # pmap call body: progversion=2 | ||
28 | 000 # 0x00 # . | ||
29 | 000 # 0x00 # . | ||
30 | 002 # 0x02 # . | ||
31 | |||
32 | 000 # 0x00 # . # pmap call body: proc=DUMP, 4 | ||
33 | 000 # 0x00 # . | ||
34 | 000 # 0x00 # . | ||
35 | 004 # 0x04 # . | ||
36 | |||
37 | # with AUTH_NONE, there are 4 zero integers [16 bytes] here | ||
38 | |||
39 | 000 # 0x00 # . # auth junk: cb_cred: auth_unix = 1; NONE = 0 | ||
40 | 000 # 0x00 # . | ||
41 | 000 # 0x00 # . | ||
42 | 000 # 0x00 # . | ||
43 | |||
44 | 000 # 0x00 # . # auth junk | ||
45 | 000 # 0x00 # . | ||
46 | 000 # 0x00 # . | ||
47 | 000 # 0x00 # . | ||
48 | |||
49 | 000 # 0x00 # . # auth junk | ||
50 | 000 # 0x00 # . | ||
51 | 000 # 0x00 # . | ||
52 | 000 # 0x00 # . | ||
53 | |||
54 | 000 # 0x00 # . # auth junk | ||
55 | 000 # 0x00 # . | ||
56 | 000 # 0x00 # . | ||
57 | 000 # 0x00 # . | ||
58 | |||
59 | # The reply you get back contains your XID, int 1 if "accepted", and | ||
60 | # a whole mess of gobbledygook containing program numbers, versions, | ||
61 | # and ports that rpcinfo knows how to decode. For the moment, you get | ||
62 | # to wade through it yourself... | ||