From 68c2927b4d7475ddf9a91438c0df0a7d9802de22 Mon Sep 17 00:00:00 2001 From: niklas <> Date: Mon, 29 Jan 2001 01:58:13 +0000 Subject: $OpenBSD$ --- src/usr.bin/nc/scripts/alta | 2 ++ src/usr.bin/nc/scripts/bsh | 2 ++ src/usr.bin/nc/scripts/dist.sh | 2 ++ src/usr.bin/nc/scripts/irc | 2 ++ src/usr.bin/nc/scripts/iscan | 2 ++ src/usr.bin/nc/scripts/ncp | 2 ++ src/usr.bin/nc/scripts/probe | 2 ++ src/usr.bin/nc/scripts/web | 2 ++ src/usr.bin/nc/scripts/webproxy | 2 ++ src/usr.bin/nc/scripts/webrelay | 2 ++ src/usr.bin/nc/scripts/websearch | 2 ++ 11 files changed, 22 insertions(+) (limited to 'src/usr.bin/nc/scripts') diff --git a/src/usr.bin/nc/scripts/alta b/src/usr.bin/nc/scripts/alta index 7a091767e8..ed4bd3917c 100644 --- a/src/usr.bin/nc/scripts/alta +++ b/src/usr.bin/nc/scripts/alta @@ -1,4 +1,6 @@ #! /bin/sh +# $OpenBSD: alta,v 1.2 2001/01/29 01:58:12 niklas Exp $ + ## special handler for altavista, since they only hand out chunks of 10 at ## a time. Tries to isolate out results without the leading/trailing trash. ## multiword arguments are foo+bar, as usual. diff --git a/src/usr.bin/nc/scripts/bsh b/src/usr.bin/nc/scripts/bsh index 796e480354..808e8f9968 100644 --- a/src/usr.bin/nc/scripts/bsh +++ b/src/usr.bin/nc/scripts/bsh @@ -1,4 +1,6 @@ #! /bin/sh +# $OpenBSD: bsh,v 1.2 2001/01/29 01:58:12 niklas Exp $ + ## a little wrapper to "password" and re-launch a shell-listener. ## Arg is taken as the port to listen on. Define "NC" to point wherever. diff --git a/src/usr.bin/nc/scripts/dist.sh b/src/usr.bin/nc/scripts/dist.sh index 4d2534a0e3..f9519c87a6 100644 --- a/src/usr.bin/nc/scripts/dist.sh +++ b/src/usr.bin/nc/scripts/dist.sh @@ -1,4 +1,6 @@ #! /bin/sh +# $OpenBSD: dist.sh,v 1.2 2001/01/29 01:58:12 niklas Exp $ + ## This is a quick example listen-exec server, which was used for a while to ## distribute netcat prereleases. It illustrates use of netcat both as a ## "fake inetd" and a syslogger, and how easy it then is to crock up a fairly diff --git a/src/usr.bin/nc/scripts/irc b/src/usr.bin/nc/scripts/irc index 3557d7a0c6..e45942c0bc 100644 --- a/src/usr.bin/nc/scripts/irc +++ b/src/usr.bin/nc/scripts/irc @@ -1,4 +1,6 @@ #! /bin/sh +# $OpenBSD: irc,v 1.2 2001/01/29 01:58:12 niklas Exp $ + ## Shit-simple script to supply the "privmsg " of IRC typein, and ## keep the connection alive. Pipe this thru "nc -v -w 5 irc-server port". ## Note that this mechanism makes the script easy to debug without being live, diff --git a/src/usr.bin/nc/scripts/iscan b/src/usr.bin/nc/scripts/iscan index 6279bc817f..237d6b0625 100644 --- a/src/usr.bin/nc/scripts/iscan +++ b/src/usr.bin/nc/scripts/iscan @@ -1,4 +1,6 @@ #! /bin/sh +# $OpenBSD: iscan,v 1.2 2001/01/29 01:58:12 niklas Exp $ + ## duplicate DaveG's ident-scan thingie using netcat. Oooh, he'll be pissed. ## args: target port [port port port ...] ## hose stdout *and* stderr together. diff --git a/src/usr.bin/nc/scripts/ncp b/src/usr.bin/nc/scripts/ncp index 1931b03385..be87e9343b 100644 --- a/src/usr.bin/nc/scripts/ncp +++ b/src/usr.bin/nc/scripts/ncp @@ -1,4 +1,6 @@ #! /bin/sh +# $OpenBSD: ncp,v 1.2 2001/01/29 01:58:13 niklas Exp $ + ## Like "rcp" but uses netcat on a high port. ## do "ncp targetfile" on the RECEIVING machine ## then do "ncp sourcefile receivinghost" on the SENDING machine diff --git a/src/usr.bin/nc/scripts/probe b/src/usr.bin/nc/scripts/probe index c47dc3f495..0b647672ea 100644 --- a/src/usr.bin/nc/scripts/probe +++ b/src/usr.bin/nc/scripts/probe @@ -1,4 +1,6 @@ #! /bin/sh +# $OpenBSD: probe,v 1.2 2001/01/29 01:58:13 niklas Exp $ + ## launch a whole buncha shit at yon victim in no particular order; capture ## stderr+stdout in one place. Run as root for rservice and low -p to work. ## Fairly thorough example of using netcat to collect a lot of host info. diff --git a/src/usr.bin/nc/scripts/web b/src/usr.bin/nc/scripts/web index 382b18e1e3..709c5c410f 100644 --- a/src/usr.bin/nc/scripts/web +++ b/src/usr.bin/nc/scripts/web @@ -1,4 +1,6 @@ #! /bin/sh +# $OpenBSD: web,v 1.2 2001/01/29 01:58:13 niklas Exp $ + ## The web sucks. It is a mighty dismal kludge built out of a thousand ## tiny dismal kludges all band-aided together, and now these bottom-line ## clueless pinheads who never heard of "TCP handshake" want to run diff --git a/src/usr.bin/nc/scripts/webproxy b/src/usr.bin/nc/scripts/webproxy index cee2d29fd1..f670e4d644 100644 --- a/src/usr.bin/nc/scripts/webproxy +++ b/src/usr.bin/nc/scripts/webproxy @@ -1,4 +1,6 @@ #! /bin/sh +# $OpenBSD: webproxy,v 1.2 2001/01/29 01:58:13 niklas Exp $ + ## Web proxy, following the grand tradition of Web things being handled by ## gross scripts. Uses netcat to listen on a high port [default 8000], ## picks apart requests and sends them on to the right place. Point this diff --git a/src/usr.bin/nc/scripts/webrelay b/src/usr.bin/nc/scripts/webrelay index 829a8b0708..a0aa9e2a97 100644 --- a/src/usr.bin/nc/scripts/webrelay +++ b/src/usr.bin/nc/scripts/webrelay @@ -1,4 +1,6 @@ #! /bin/sh +# $OpenBSD: webrelay,v 1.2 2001/01/29 01:58:13 niklas Exp $ + ## web relay -- a degenerate version of webproxy, usable with browsers that ## don't understand proxies. This just forwards connections to a given server. ## No query logging, no access control [although you can add it to XNC for diff --git a/src/usr.bin/nc/scripts/websearch b/src/usr.bin/nc/scripts/websearch index 60c3a3356a..9391c77bde 100644 --- a/src/usr.bin/nc/scripts/websearch +++ b/src/usr.bin/nc/scripts/websearch @@ -1,4 +1,6 @@ #! /bin/sh +# $OpenBSD: websearch,v 1.2 2001/01/29 01:58:13 niklas Exp $ + ## Hit the major search engines. Hose the [large] output to a file! ## autoconverts multiple arguments into the right format for given servers -- ## usually worda+wordb, with certain lame exceptions like dejanews. -- cgit v1.2.3-55-g6feb