diff options
author | niklas <> | 2001-01-29 01:58:13 +0000 |
---|---|---|
committer | niklas <> | 2001-01-29 01:58:13 +0000 |
commit | 68c2927b4d7475ddf9a91438c0df0a7d9802de22 (patch) | |
tree | 10c67593dede55bcdae3d042703f1bc8d7be7b69 /src/usr.bin/nc/data | |
parent | 46a814f96f796de57f11453f27b50a067b7702c3 (diff) | |
download | openbsd-68c2927b4d7475ddf9a91438c0df0a7d9802de22.tar.gz openbsd-68c2927b4d7475ddf9a91438c0df0a7d9802de22.tar.bz2 openbsd-68c2927b4d7475ddf9a91438c0df0a7d9802de22.zip |
$OpenBSD$
Diffstat (limited to 'src/usr.bin/nc/data')
-rw-r--r-- | src/usr.bin/nc/data/Makefile | 2 | ||||
-rw-r--r-- | src/usr.bin/nc/data/data.c | 2 | ||||
-rw-r--r-- | src/usr.bin/nc/data/dns-any.d | 2 | ||||
-rw-r--r-- | src/usr.bin/nc/data/nfs-0.d | 2 | ||||
-rw-r--r-- | src/usr.bin/nc/data/pm.d | 2 | ||||
-rw-r--r-- | src/usr.bin/nc/data/pmap-dump.d | 2 | ||||
-rw-r--r-- | src/usr.bin/nc/data/pmap-mnt.d | 2 | ||||
-rw-r--r-- | src/usr.bin/nc/data/rip.d | 2 | ||||
-rw-r--r-- | src/usr.bin/nc/data/rservice.c | 2 | ||||
-rw-r--r-- | src/usr.bin/nc/data/showmount.d | 2 | ||||
-rw-r--r-- | src/usr.bin/nc/data/xor.c | 2 |
11 files changed, 22 insertions, 0 deletions
diff --git a/src/usr.bin/nc/data/Makefile b/src/usr.bin/nc/data/Makefile index 65cf185358..817cbabca9 100644 --- a/src/usr.bin/nc/data/Makefile +++ b/src/usr.bin/nc/data/Makefile | |||
@@ -1,3 +1,5 @@ | |||
1 | # $OpenBSD: Makefile,v 1.2 2001/01/29 01:58:11 niklas Exp $ | ||
2 | |||
1 | all: data rservice xor | 3 | all: data rservice xor |
2 | 4 | ||
3 | data: data.c | 5 | data: data.c |
diff --git a/src/usr.bin/nc/data/data.c b/src/usr.bin/nc/data/data.c index 4d5ef4a041..206945eed2 100644 --- a/src/usr.bin/nc/data/data.c +++ b/src/usr.bin/nc/data/data.c | |||
@@ -1,3 +1,5 @@ | |||
1 | /* $OpenBSD: data.c,v 1.3 2001/01/29 01:58:11 niklas Exp $ */ | ||
2 | |||
1 | /* primitive arbitrary-data frontend for netcat. 0.9 960226 | 3 | /* primitive arbitrary-data frontend for netcat. 0.9 960226 |
2 | only handles one value per ascii line, but at least parses 0xNN too | 4 | only handles one value per ascii line, but at least parses 0xNN too |
3 | an input line containing "%r" during "-g" generates a random byte | 5 | an input line containing "%r" during "-g" generates a random byte |
diff --git a/src/usr.bin/nc/data/dns-any.d b/src/usr.bin/nc/data/dns-any.d index 77b014cf70..40ef3cba48 100644 --- a/src/usr.bin/nc/data/dns-any.d +++ b/src/usr.bin/nc/data/dns-any.d | |||
@@ -1,3 +1,5 @@ | |||
1 | # $OpenBSD: dns-any.d,v 1.2 2001/01/29 01:58:11 niklas Exp $ | ||
2 | |||
1 | # dns "any for ." query, to udp 53 | 3 | # dns "any for ." query, to udp 53 |
2 | # if tcp: precede with 2 bytes of len: | 4 | # if tcp: precede with 2 bytes of len: |
3 | # 0 | 5 | # 0 |
diff --git a/src/usr.bin/nc/data/nfs-0.d b/src/usr.bin/nc/data/nfs-0.d index 0360938227..c6d51827b7 100644 --- a/src/usr.bin/nc/data/nfs-0.d +++ b/src/usr.bin/nc/data/nfs-0.d | |||
@@ -1,3 +1,5 @@ | |||
1 | # $OpenBSD: nfs-0.d,v 1.2 2001/01/29 01:58:11 niklas Exp $ | ||
2 | |||
1 | # UDP NFS null-proc call; finds active NFS listeners on port 2049. | 3 | # UDP NFS null-proc call; finds active NFS listeners on port 2049. |
2 | # If you get *something* back, there's an NFS server there. | 4 | # If you get *something* back, there's an NFS server there. |
3 | 5 | ||
diff --git a/src/usr.bin/nc/data/pm.d b/src/usr.bin/nc/data/pm.d index fe327693a9..2d006a032f 100644 --- a/src/usr.bin/nc/data/pm.d +++ b/src/usr.bin/nc/data/pm.d | |||
@@ -1,3 +1,5 @@ | |||
1 | # $OpenBSD: pm.d,v 1.2 2001/01/29 01:58:11 niklas Exp $ | ||
2 | |||
1 | # obligatory duplicate of dr delete's Livingston portmaster crash, aka | 3 | # obligatory duplicate of dr delete's Livingston portmaster crash, aka |
2 | # telnet break. Fire into its telnet listener. An *old* bug by now, but | 4 | # telnet break. Fire into its telnet listener. An *old* bug by now, but |
3 | # consider the small window one might obtain from a slightly out-of-rev PM | 5 | # consider the small window one might obtain from a slightly out-of-rev PM |
diff --git a/src/usr.bin/nc/data/pmap-dump.d b/src/usr.bin/nc/data/pmap-dump.d index bc6b63277d..98d6142001 100644 --- a/src/usr.bin/nc/data/pmap-dump.d +++ b/src/usr.bin/nc/data/pmap-dump.d | |||
@@ -1,3 +1,5 @@ | |||
1 | # $OpenBSD: pmap-dump.d,v 1.2 2001/01/29 01:58:11 niklas Exp $ | ||
2 | |||
1 | # portmap dump request: like "rpcinfo -p" but via UDP instead | 3 | # portmap dump request: like "rpcinfo -p" but via UDP instead |
2 | # send to UDP 111 and hope it's not a logging portmapper! | 4 | # send to UDP 111 and hope it's not a logging portmapper! |
3 | # split into longwords, since rpc apparently only deals with them | 5 | # split into longwords, since rpc apparently only deals with them |
diff --git a/src/usr.bin/nc/data/pmap-mnt.d b/src/usr.bin/nc/data/pmap-mnt.d index 00588ba41f..0dc3ffc55e 100644 --- a/src/usr.bin/nc/data/pmap-mnt.d +++ b/src/usr.bin/nc/data/pmap-mnt.d | |||
@@ -1,3 +1,5 @@ | |||
1 | # $OpenBSD: pmap-mnt.d,v 1.2 2001/01/29 01:58:11 niklas Exp $ | ||
2 | |||
1 | # portmap request for mountd [or whatever; see where prog=MOUNT] | 3 | # portmap request for mountd [or whatever; see where prog=MOUNT] |
2 | # send to UDP 111 and hope it's not a logging portmapper! | 4 | # send to UDP 111 and hope it's not a logging portmapper! |
3 | # split into longwords, since rpc apparently only deals with them | 5 | # split into longwords, since rpc apparently only deals with them |
diff --git a/src/usr.bin/nc/data/rip.d b/src/usr.bin/nc/data/rip.d index da505e2143..51be878454 100644 --- a/src/usr.bin/nc/data/rip.d +++ b/src/usr.bin/nc/data/rip.d | |||
@@ -1,3 +1,5 @@ | |||
1 | # $OpenBSD: rip.d,v 1.2 2001/01/29 01:58:11 niklas Exp $ | ||
2 | |||
1 | # struct netinfo { | 3 | # struct netinfo { |
2 | # struct sockaddr rip_dst; /* destination net/host */ | 4 | # struct sockaddr rip_dst; /* destination net/host */ |
3 | # int rip_metric; /* cost of route */ | 5 | # int rip_metric; /* cost of route */ |
diff --git a/src/usr.bin/nc/data/rservice.c b/src/usr.bin/nc/data/rservice.c index 1085d9cb78..d6794df941 100644 --- a/src/usr.bin/nc/data/rservice.c +++ b/src/usr.bin/nc/data/rservice.c | |||
@@ -1,3 +1,5 @@ | |||
1 | /* $OpenBSD: rservice.c,v 1.2 2001/01/29 01:58:12 niklas Exp $ */ | ||
2 | |||
1 | /* generate ^@string1^@string2^@cmd^@ input to netcat, for scripting up | 3 | /* generate ^@string1^@string2^@cmd^@ input to netcat, for scripting up |
2 | rsh/rexec attacks. Needs to be a prog because shells strip out nulls. | 4 | rsh/rexec attacks. Needs to be a prog because shells strip out nulls. |
3 | 5 | ||
diff --git a/src/usr.bin/nc/data/showmount.d b/src/usr.bin/nc/data/showmount.d index 499794bc8a..77700a70ce 100644 --- a/src/usr.bin/nc/data/showmount.d +++ b/src/usr.bin/nc/data/showmount.d | |||
@@ -1,3 +1,5 @@ | |||
1 | # $OpenBSD: showmount.d,v 1.2 2001/01/29 01:58:12 niklas Exp $ | ||
2 | |||
1 | # UDP mountd call. Use as input to find mount daemons and avoid portmap. | 3 | # UDP mountd call. Use as input to find mount daemons and avoid portmap. |
2 | # Useful proc numbers are 2, 5, and 6. | 4 | # Useful proc numbers are 2, 5, and 6. |
3 | # UDP-scan around between 600-800 to find most mount daemons. | 5 | # UDP-scan around between 600-800 to find most mount daemons. |
diff --git a/src/usr.bin/nc/data/xor.c b/src/usr.bin/nc/data/xor.c index 9feead0cba..515e225a1e 100644 --- a/src/usr.bin/nc/data/xor.c +++ b/src/usr.bin/nc/data/xor.c | |||
@@ -1,3 +1,5 @@ | |||
1 | /* $OpenBSD: xor.c,v 1.2 2001/01/29 01:58:12 niklas Exp $ */ | ||
2 | |||
1 | /* Generic xor handler. | 3 | /* Generic xor handler. |
2 | 4 | ||
3 | With no args, xors stdin against 0xFF to stdout. A single argument is a | 5 | With no args, xors stdin against 0xFF to stdout. A single argument is a |