Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.advocacy > #470591 > unrolled thread
| Started by | DFS <nospam@nospam.com> |
|---|---|
| First post | 2018-10-04 10:08 -0400 |
| Last post | 2018-10-10 10:36 -0400 |
| Articles | 20 on this page of 158 — 15 participants |
Back to article view | Back to comp.os.linux.advocacy
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: slrn is trembling DFS <nospam@nospam.com> - 2018-10-04 10:08 -0400
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-04 08:51 -0700
Re: slrn is trembling DFS <nospam@nospam.com> - 2018-10-04 13:50 -0400
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-04 11:59 -0700
Re: slrn is trembling DFS <nospam@nospam.com> - 2018-10-04 21:23 -0400
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-05 08:12 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-05 08:21 -0700
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-05 09:55 -0700
Re: slrn is trembling DFS <nospam@nospam.com> - 2018-10-05 13:51 -0400
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-05 11:16 -0700
"Path:" is the only line that's never fake. Jeff-Relf.Me @. - 2018-10-14 01:41 -0700
Re: "Path:" is the only line that's never fake. "Sir Gregory Hall, Esq." <greghall@yacht_maester.fake> - 2018-10-14 11:16 -0400
Re: "Path:" is the only line that's never fake. Steve Carroll <frelwizzen@gmail.com> - 2018-10-14 08:38 -0700
Re: "Path:" is the only line that's never fake. snipeco.2@gmail.com (Sn!pe) - 2018-10-14 16:40 +0100
Re: "Path:" is the only line that's never fake. "Sir Gregory Hall, Esq." <greghall@yacht_maester.fake> - 2018-10-14 11:43 -0400
Re: "Path:" is the only line that's never fake. snipeco.2@gmail.com (Sn!pe) - 2018-10-14 17:12 +0100
Re: "Path:" is the only line that's never fake. "Sir Gregory Hall, Esq." <greghall@yacht_maester.fake> - 2018-10-14 12:23 -0400
Re: "Path:" is the only line that's never fake. snipeco.2@gmail.com (Wader of Doom) - 2018-10-14 18:01 +0100
No one can do "a perfect forgery" of my posts. Jeff-Relf.Me @. - 2018-10-14 14:29 -0700
Re: No one can do "a perfect forgery" of my posts. "Sir Gregory Hall, Esq." <greghall@yacht_maester.fake> - 2018-10-14 17:33 -0400
Re: No one can do "a perfect forgery" of my posts. snipeco.2@gmail.com (Sn!pe) - 2018-10-14 22:47 +0100
Re: No one can do "a perfect forgery" of my posts. "Sir Gregory Hall, Esq." <greghall@yacht_maester.fake> - 2018-10-14 17:53 -0400
Re: No one can do "a perfect forgery" of my posts. snipeco.2@gmail.com (Sn!pe) - 2018-10-14 22:58 +0100
Re: No one can do "a perfect forgery" of my posts. Steve Carroll <frelwizzen@gmail.com> - 2018-10-14 14:56 -0700
Re: No one can do "a perfect forgery" of my posts. Steve Carroll <frelwizzen@gmail.com> - 2018-10-14 14:41 -0700
Re: "Path:" is the only line that's never fake. Steve Carroll <frelwizzen@gmail.com> - 2018-10-14 08:54 -0700
Re: slrn is trembling DFS <nospam@nospam.com> - 2018-10-14 11:26 -0400
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-14 09:23 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-14 18:53 +0000
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-14 13:27 -0700
Re: slrn is trembling Melzzzzz <Melzzzzz@zzzzz.com> - 2018-10-14 20:55 +0000
Pipelining "Article" commands. Jeff-Relf.Me @. - 2018-10-14 14:23 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-15 13:49 +0000
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-15 07:34 -0700
Re: slrn is trembling DFS <nospam@nospam.com> - 2018-10-15 21:54 -0400
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-15 19:15 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-15 21:51 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-16 03:16 +0000
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-15 20:33 -0700
Re: slrn is trembling DFS <nospam@nospam.com> - 2018-10-16 10:26 -0400
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-16 07:44 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-16 15:17 +0000
Re: slrn is trembling DFS <nospam@nospam.com> - 2018-10-16 12:26 -0400
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-16 09:46 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-16 10:21 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-16 14:00 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-16 16:49 +0000
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-04 12:35 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-04 20:44 +0000
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-04 14:09 -0700
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-04 14:50 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-04 22:32 +0000
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-04 23:03 +0000
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-04 16:28 -0700
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-04 16:54 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-05 00:02 +0000
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-04 17:20 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-04 17:31 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-05 00:32 +0000
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-04 17:41 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-05 00:54 +0000
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-04 18:02 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-05 01:07 +0000
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-04 18:11 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-04 18:48 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-05 02:06 +0000
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-05 08:01 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-05 15:35 +0000
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-05 08:37 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-05 08:53 -0700
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-05 08:57 -0700
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-05 09:17 -0700
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-05 09:19 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-05 09:41 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-05 16:19 +0000
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-05 09:23 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-05 16:40 +0000
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-05 09:41 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-05 17:39 +0000
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-05 11:07 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-05 18:14 +0000
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-05 11:41 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-05 18:52 +0000
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-06 08:46 -0700
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-06 11:29 -0700
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-06 11:48 -0700
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-06 11:51 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-06 12:19 -0700
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-06 15:34 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-08 21:27 +0000
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-08 17:49 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-08 18:13 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-09 07:31 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-09 13:45 +0000
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-09 07:55 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-09 15:55 +0000
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-09 09:20 -0700
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-09 09:39 -0700
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-09 09:41 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-09 10:23 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-09 23:38 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-09 17:47 +0000
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-09 11:09 -0700
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-10 09:04 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-10 13:56 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-11 05:02 -0700
Re: slrn is trembling DFS <nospam@nospam.com> - 2018-10-10 10:33 -0400
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-10 19:21 +0000
Re: slrn is trembling DFS <nospam@nospam.com> - 2018-10-12 20:46 -0400
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-12 23:50 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-08 18:44 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-06 14:08 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-05 11:32 -0700
Re: slrn is trembling "F. Russell" <fr@random.info> - 2018-10-05 00:32 +0000
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-04 17:46 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-05 00:55 +0000
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-05 01:17 +0000
Re: slrn is trembling chrisv <chrisv@nospam.invalid> - 2018-10-05 06:59 -0500
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-05 05:14 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-05 12:48 +0000
Re: slrn is trembling chrisv <chrisv@nospam.invalid> - 2018-10-05 11:17 -0500
Re: slrn is trembling DFS <nospam@nospam.com> - 2018-10-05 13:35 -0400
Re: slrn is trembling Silicon Vee <siliconvee1945@yahoo.com> - 2018-10-11 01:36 +0200
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-04 17:07 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-05 00:12 +0000
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-04 17:21 -0700
Re: slrn is trembling SilverSlimer <silver@slim.er> - 2018-10-05 12:01 +0000
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-05 05:30 -0700
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-05 08:13 -0700
Re: slrn is trembling DFS <nospam@nospam.com> - 2018-10-05 12:50 -0400
Re: slrn is trembling Steve Carroll <fretwizzer@gmail.com> - 2018-10-05 10:35 -0700
Re: slrn is trembling chrisv <chrisv@nospam.invalid> - 2018-10-10 08:51 -0500
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-10 07:09 -0700
Re: slrn is trembling Sam O'Nella <poison@donteatit.net> - 2018-10-05 16:43 -0400
Re: slrn is trembling DFS <nospam@nospam.com> - 2018-10-10 10:34 -0400
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-10 07:56 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-10 12:38 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-11 02:12 -0700
Re: slrn is trembling Snit <usenet@gallopinginsanity.com> - 2018-10-12 12:27 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-12 12:42 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-12 21:47 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-14 03:28 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-12 20:45 -0700
Re: slrn is trembling Snit <usenet@gallopinginsanity.com> - 2018-10-05 15:15 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-05 15:41 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-05 19:21 -0700
Re: slrn is trembling Snit <usenet@gallopinginsanity.com> - 2018-10-05 13:44 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-05 17:48 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-04 17:15 -0700
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-04 16:13 -0700
Re: slrn is trembling DFS <nospam@nospam.com> - 2018-10-04 20:47 -0400
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-05 01:09 +0000
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-04 18:18 -0700
Re: slrn is trembling DFS <nospam@nospam.com> - 2018-10-04 21:38 -0400
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-04 19:04 -0700
Re: slrn is trembling owl <owl@rooftop.invalid> - 2018-10-05 02:05 +0000
Re: slrn is trembling Steve Carroll <frelwizzen@gmail.com> - 2018-10-04 19:35 -0700
Re: slrn is trembling DFS <nospam@nospam.com> - 2018-10-10 10:36 -0400
Page 4 of 8 — ← Prev page 1 2 3 [4] 5 6 7 8 Next page →
| From | owl <owl@rooftop.invalid> |
|---|---|
| Date | 2018-10-05 00:54 +0000 |
| Message-ID | <z9fb08ga.a@rooftop.invalid> |
| In reply to | #470703 |
Steve Carroll <fretwizzer@gmail.com> wrote: > On Thursday, October 4, 2018 at 6:32:56 PM UTC-6, owl wrote: >> Steve Carroll <fretwizzer@gmail.com> wrote: >> > On Thursday, October 4, 2018 at 6:02:52 PM UTC-6, owl wrote: >> >> Steve Carroll <fretwizzer@gmail.com> wrote: >> >> > On Thursday, October 4, 2018 at 5:03:15 PM UTC-6, owl wrote: >> >> >> owl <owl@rooftop.invalid> wrote: >> >> >> > Steve Carroll <fretwizzer@gmail.com> wrote: >> >> >> >> On Thursday, October 4, 2018 at 2:44:21 PM UTC-6, owl wrote: >> >> >> >>> DFS <nospam@nospam.com> wrote: >> >> >> >>> > >> >> >> >>> > I just discovered something. The python 2.7 docs for nntplib say the >> >> >> >>> > article() command returns the same data as the head() command (which >> >> >> >>> > just pulls down the headers). >> >> >> >>> > >> >> >> >>> > <quote> >> >> >> >>> > NNTP.article(id) >> >> >> >>> > Send an ARTICLE command, where id has the same meaning as for stat(). >> >> >> >>> > Return as for head(). >> >> >> >>> > </quote> >> >> >> >>> > >> >> >> >>> > So I never even tried it, until just now. And it turns out it retrieves >> >> >> >>> > the entire post, headers and body! >> >> >> >>> > >> >> >> >>> > So you could use the nntplib.article() command. I just did a test with >> >> >> >>> > it and stored 100 posts in 100 files in four to six seconds. >> >> >> >>> > >> >> >> >>> >> >> >> >>> Those are standard nntp commands (article, head, body, xhdr, xpat, etc.). >> >> >> >>> You can telnet/netcat to your server and issue them. No real need for >> >> >> >>> python nntplib. I'm kind of surprised that you weren't just grabbing >> >> >> >>> everything with article commands and then parsing. >> >> >> >> >> >> >> >> If you have an acct. with them, have you ever tried telnet on eternal >> >> >> >> september? >> >> >> > >> >> >> > I don't have an account with them. >> >> >> > >> >> >> >> I just tried with no luck (same with SSH) so, for now, I'm >> >> >> >> stuck with Python, which is fine 'cuz I've been meaning to learn a bit >> >> >> >> of it anyway. >> >> >> > >> >> >> > You have to connect to the nntp port, which will be 119 if it's not >> >> >> > a nntps connection. My newsserver allows either, but my newsreader >> >> >> > doesn't do ssl, so I run stunnel from local port 119 to remote 563. >> >> >> > Then I can connect either my newsreader or a netcat/telnet to localhost >> >> >> > 119, and it's tunneled. You can also use opennssl to connect directly >> >> >> > to port 563 on the server, and it's basically the same as a telnet/netcat: >> >> >> > >> >> >> > openssl s_client -connect your.news.server:563 >> >> >> > >> >> >> >> >> >> I just set up an account with them. Works fine with either netcat >> >> >> to port 119 or openssl to port 563. Issue these commands when you >> >> >> connect: >> >> >> >> >> >> authinfo user yourusername >> >> >> authinfo pass yourpassword >> >> >> group comp.os.linux.advocacy >> >> >> >> >> >> I get this: >> >> >> 281 Authentication succeeded >> >> >> group comp.os.linux.advocacy >> >> >> 211 446777 22199 705998 comp.os.linux.advocacy >> >> > >> >> > I only have regular telnet (not all this fancy crap you have that I >> >> > don't understand), I was unable to connect using it. >> >> >> >> It doesn't matter how you connect. Telnet works too. This is all >> >> that newsreader software does when connecting. It just sends nntp >> >> commands, and the server responds. The server doesn't care how >> >> you connect. It's just listening on the port and responding to >> >> commands. It's the same with HTTP and any other internet service. >> >> Each service has its own set of commands that it understands. >> >> If you succeed in connecting to nntp, type 'help' and the server >> >> will return a list of commands that you can play with. >> > >> > DOH! I haven't been on telnet or any BBS for ages ;) >> > >> >> anon@lowtide:~$ telnet news.eternal-september.org 119 >> >> Trying 85.214.115.223... >> >> Connected to reader02.eternal-september.org. >> >> Escape character is '^]'. >> >> 200 reader02.eternal-september.org InterNetNews NNRP server INN 2.7.0 (20180513 snapshot) ready (posting ok) >> >> authinfo user XXXXXXXXX >> >> 381 Enter password >> >> authinfo pass XXXXXXXXX >> > >> > Just saw this post... but I've tried it by using every variation. >> > One of them spit back: "481 Invalid credentials" >> > >> > But it isn't invalid, I copied them out of my script where they work fine. >> > I tried with no quotes, single quotes, double quotes, using PASS in front >> > with all of the above, etc. F*cker won't let me login. LOL! >> > >> >> 281 Authentication succeeded >> >> group comp.os.linux.advocacy >> >> 211 446788 22199 706009 comp.os.linux.advocacy >> >> xhdr from 706009 >> ^^^^^^^^^^^^^^^^ >> >> >> 221 Header or metadata information for from follows (from overview) >> >> 706009 Steve Carroll <fretwizzer@gmail.com> >> > >> > *your* connection uses *my* name? >> > >> >> That's running 'xhdr' command requesting the 'from' header for >> article 706009, which was a post of yours. > > Ah, I missed that. Is it possible to get a range of posts and save them > to a local file? I'm looking through 'help' and playing around but I don't > see anything for a range (I tried OVER but that's not it). You have to script it. Hold on and I'll put something together.
[toc] | [prev] | [next] | [standalone]
| From | Steve Carroll <frelwizzen@gmail.com> |
|---|---|
| Date | 2018-10-04 18:02 -0700 |
| Message-ID | <49fd544c-c05e-4fcc-8e43-34596ea97490@googlegroups.com> |
| In reply to | #470706 |
On Thursday, October 4, 2018 at 5:54:13 PM UTC-7, owl wrote: > Steve Carroll <fretwizzer@gmail.com> wrote: > > On Thursday, October 4, 2018 at 6:32:56 PM UTC-6, owl wrote: > >> Steve Carroll <fretwizzer@gmail.com> wrote: > >> > On Thursday, October 4, 2018 at 6:02:52 PM UTC-6, owl wrote: > >> >> Steve Carroll <fretwizzer@gmail.com> wrote: > >> >> > On Thursday, October 4, 2018 at 5:03:15 PM UTC-6, owl wrote: > >> >> >> owl <owl@rooftop.invalid> wrote: > >> >> >> > Steve Carroll <fretwizzer@gmail.com> wrote: > >> >> >> >> On Thursday, October 4, 2018 at 2:44:21 PM UTC-6, owl wrote: > >> >> >> >>> DFS <nospam@nospam.com> wrote: > >> >> >> >>> > > >> >> >> >>> > I just discovered something. The python 2.7 docs for nntplib say the > >> >> >> >>> > article() command returns the same data as the head() command (which > >> >> >> >>> > just pulls down the headers). > >> >> >> >>> > > >> >> >> >>> > <quote> > >> >> >> >>> > NNTP.article(id) > >> >> >> >>> > Send an ARTICLE command, where id has the same meaning as for stat(). > >> >> >> >>> > Return as for head(). > >> >> >> >>> > </quote> > >> >> >> >>> > > >> >> >> >>> > So I never even tried it, until just now. And it turns out it retrieves > >> >> >> >>> > the entire post, headers and body! > >> >> >> >>> > > >> >> >> >>> > So you could use the nntplib.article() command. I just did a test with > >> >> >> >>> > it and stored 100 posts in 100 files in four to six seconds. > >> >> >> >>> > > >> >> >> >>> > >> >> >> >>> Those are standard nntp commands (article, head, body, xhdr, xpat, etc.). > >> >> >> >>> You can telnet/netcat to your server and issue them. No real need for > >> >> >> >>> python nntplib. I'm kind of surprised that you weren't just grabbing > >> >> >> >>> everything with article commands and then parsing. > >> >> >> >> > >> >> >> >> If you have an acct. with them, have you ever tried telnet on eternal > >> >> >> >> september? > >> >> >> > > >> >> >> > I don't have an account with them. > >> >> >> > > >> >> >> >> I just tried with no luck (same with SSH) so, for now, I'm > >> >> >> >> stuck with Python, which is fine 'cuz I've been meaning to learn a bit > >> >> >> >> of it anyway. > >> >> >> > > >> >> >> > You have to connect to the nntp port, which will be 119 if it's not > >> >> >> > a nntps connection. My newsserver allows either, but my newsreader > >> >> >> > doesn't do ssl, so I run stunnel from local port 119 to remote 563. > >> >> >> > Then I can connect either my newsreader or a netcat/telnet to localhost > >> >> >> > 119, and it's tunneled. You can also use opennssl to connect directly > >> >> >> > to port 563 on the server, and it's basically the same as a telnet/netcat: > >> >> >> > > >> >> >> > openssl s_client -connect your.news.server:563 > >> >> >> > > >> >> >> > >> >> >> I just set up an account with them. Works fine with either netcat > >> >> >> to port 119 or openssl to port 563. Issue these commands when you > >> >> >> connect: > >> >> >> > >> >> >> authinfo user yourusername > >> >> >> authinfo pass yourpassword > >> >> >> group comp.os.linux.advocacy > >> >> >> > >> >> >> I get this: > >> >> >> 281 Authentication succeeded > >> >> >> group comp.os.linux.advocacy > >> >> >> 211 446777 22199 705998 comp.os.linux.advocacy > >> >> > > >> >> > I only have regular telnet (not all this fancy crap you have that I > >> >> > don't understand), I was unable to connect using it. > >> >> > >> >> It doesn't matter how you connect. Telnet works too. This is all > >> >> that newsreader software does when connecting. It just sends nntp > >> >> commands, and the server responds. The server doesn't care how > >> >> you connect. It's just listening on the port and responding to > >> >> commands. It's the same with HTTP and any other internet service. > >> >> Each service has its own set of commands that it understands. > >> >> If you succeed in connecting to nntp, type 'help' and the server > >> >> will return a list of commands that you can play with. > >> > > >> > DOH! I haven't been on telnet or any BBS for ages ;) > >> > > >> >> anon@lowtide:~$ telnet news.eternal-september.org 119 > >> >> Trying 85.214.115.223... > >> >> Connected to reader02.eternal-september.org. > >> >> Escape character is '^]'. > >> >> 200 reader02.eternal-september.org InterNetNews NNRP server INN 2.7.0 (20180513 snapshot) ready (posting ok) > >> >> authinfo user XXXXXXXXX > >> >> 381 Enter password > >> >> authinfo pass XXXXXXXXX > >> > > >> > Just saw this post... but I've tried it by using every variation. > >> > One of them spit back: "481 Invalid credentials" > >> > > >> > But it isn't invalid, I copied them out of my script where they work fine. > >> > I tried with no quotes, single quotes, double quotes, using PASS in front > >> > with all of the above, etc. F*cker won't let me login. LOL! > >> > > >> >> 281 Authentication succeeded > >> >> group comp.os.linux.advocacy > >> >> 211 446788 22199 706009 comp.os.linux.advocacy > >> >> xhdr from 706009 > >> ^^^^^^^^^^^^^^^^ > >> > >> >> 221 Header or metadata information for from follows (from overview) > >> >> 706009 Steve Carroll <fretwizzer@gmail.com> > >> > > >> > *your* connection uses *my* name? > >> > > >> > >> That's running 'xhdr' command requesting the 'from' header for > >> article 706009, which was a post of yours. > > > > Ah, I missed that. Is it possible to get a range of posts and save them > > to a local file? I'm looking through 'help' and playing around but I don't > > see anything for a range (I tried OVER but that's not it). > > You have to script it. Hold on and I'll put something together. I am happy the person you are replying to is in my shit list. Sandman's developed an AI system with (I'd guess) the Bellman–Ford algorithm to produce texts which are made to sound like a response from Klaus Schadenfreude's. Another successful Redhat test. That is if you count making a bunch of dangerous choices nobody understands as a success. -- My Snoring Solution https://groups.google.com/forum/#!topic/comp.os.linux.advocacy/smzXrBhsWf4 Jonas Eklundh Communication AB
[toc] | [prev] | [next] | [standalone]
| From | owl <owl@rooftop.invalid> |
|---|---|
| Date | 2018-10-05 01:07 +0000 |
| Message-ID | <80a00b80ab.3y@rooftop.invalid> |
| In reply to | #470706 |
owl <owl@rooftop.invalid> wrote:
> Steve Carroll <fretwizzer@gmail.com> wrote:
>> On Thursday, October 4, 2018 at 6:32:56 PM UTC-6, owl wrote:
>>> Steve Carroll <fretwizzer@gmail.com> wrote:
>>> > On Thursday, October 4, 2018 at 6:02:52 PM UTC-6, owl wrote:
>>> >> Steve Carroll <fretwizzer@gmail.com> wrote:
>>> >> > On Thursday, October 4, 2018 at 5:03:15 PM UTC-6, owl wrote:
>>> >> >> owl <owl@rooftop.invalid> wrote:
>>> >> >> > Steve Carroll <fretwizzer@gmail.com> wrote:
>>> >> >> >> On Thursday, October 4, 2018 at 2:44:21 PM UTC-6, owl wrote:
>>> >> >> >>> DFS <nospam@nospam.com> wrote:
>>> >> >> >>> >
>>> >> >> >>> > I just discovered something. The python 2.7 docs for nntplib say the
>>> >> >> >>> > article() command returns the same data as the head() command (which
>>> >> >> >>> > just pulls down the headers).
>>> >> >> >>> >
>>> >> >> >>> > <quote>
>>> >> >> >>> > NNTP.article(id)
>>> >> >> >>> > Send an ARTICLE command, where id has the same meaning as for stat().
>>> >> >> >>> > Return as for head().
>>> >> >> >>> > </quote>
>>> >> >> >>> >
>>> >> >> >>> > So I never even tried it, until just now. And it turns out it retrieves
>>> >> >> >>> > the entire post, headers and body!
>>> >> >> >>> >
>>> >> >> >>> > So you could use the nntplib.article() command. I just did a test with
>>> >> >> >>> > it and stored 100 posts in 100 files in four to six seconds.
>>> >> >> >>> >
>>> >> >> >>>
>>> >> >> >>> Those are standard nntp commands (article, head, body, xhdr, xpat, etc.).
>>> >> >> >>> You can telnet/netcat to your server and issue them. No real need for
>>> >> >> >>> python nntplib. I'm kind of surprised that you weren't just grabbing
>>> >> >> >>> everything with article commands and then parsing.
>>> >> >> >>
>>> >> >> >> If you have an acct. with them, have you ever tried telnet on eternal
>>> >> >> >> september?
>>> >> >> >
>>> >> >> > I don't have an account with them.
>>> >> >> >
>>> >> >> >> I just tried with no luck (same with SSH) so, for now, I'm
>>> >> >> >> stuck with Python, which is fine 'cuz I've been meaning to learn a bit
>>> >> >> >> of it anyway.
>>> >> >> >
>>> >> >> > You have to connect to the nntp port, which will be 119 if it's not
>>> >> >> > a nntps connection. My newsserver allows either, but my newsreader
>>> >> >> > doesn't do ssl, so I run stunnel from local port 119 to remote 563.
>>> >> >> > Then I can connect either my newsreader or a netcat/telnet to localhost
>>> >> >> > 119, and it's tunneled. You can also use opennssl to connect directly
>>> >> >> > to port 563 on the server, and it's basically the same as a telnet/netcat:
>>> >> >> >
>>> >> >> > openssl s_client -connect your.news.server:563
>>> >> >> >
>>> >> >>
>>> >> >> I just set up an account with them. Works fine with either netcat
>>> >> >> to port 119 or openssl to port 563. Issue these commands when you
>>> >> >> connect:
>>> >> >>
>>> >> >> authinfo user yourusername
>>> >> >> authinfo pass yourpassword
>>> >> >> group comp.os.linux.advocacy
>>> >> >>
>>> >> >> I get this:
>>> >> >> 281 Authentication succeeded
>>> >> >> group comp.os.linux.advocacy
>>> >> >> 211 446777 22199 705998 comp.os.linux.advocacy
>>> >> >
>>> >> > I only have regular telnet (not all this fancy crap you have that I
>>> >> > don't understand), I was unable to connect using it.
>>> >>
>>> >> It doesn't matter how you connect. Telnet works too. This is all
>>> >> that newsreader software does when connecting. It just sends nntp
>>> >> commands, and the server responds. The server doesn't care how
>>> >> you connect. It's just listening on the port and responding to
>>> >> commands. It's the same with HTTP and any other internet service.
>>> >> Each service has its own set of commands that it understands.
>>> >> If you succeed in connecting to nntp, type 'help' and the server
>>> >> will return a list of commands that you can play with.
>>> >
>>> > DOH! I haven't been on telnet or any BBS for ages ;)
>>> >
>>> >> anon@lowtide:~$ telnet news.eternal-september.org 119
>>> >> Trying 85.214.115.223...
>>> >> Connected to reader02.eternal-september.org.
>>> >> Escape character is '^]'.
>>> >> 200 reader02.eternal-september.org InterNetNews NNRP server INN 2.7.0 (20180513 snapshot) ready (posting ok)
>>> >> authinfo user XXXXXXXXX
>>> >> 381 Enter password
>>> >> authinfo pass XXXXXXXXX
>>> >
>>> > Just saw this post... but I've tried it by using every variation.
>>> > One of them spit back: "481 Invalid credentials"
>>> >
>>> > But it isn't invalid, I copied them out of my script where they work fine.
>>> > I tried with no quotes, single quotes, double quotes, using PASS in front
>>> > with all of the above, etc. F*cker won't let me login. LOL!
>>> >
>>> >> 281 Authentication succeeded
>>> >> group comp.os.linux.advocacy
>>> >> 211 446788 22199 706009 comp.os.linux.advocacy
>>> >> xhdr from 706009
>>> ^^^^^^^^^^^^^^^^
>>>
>>> >> 221 Header or metadata information for from follows (from overview)
>>> >> 706009 Steve Carroll <fretwizzer@gmail.com>
>>> >
>>> > *your* connection uses *my* name?
>>> >
>>>
>>> That's running 'xhdr' command requesting the 'from' header for
>>> article 706009, which was a post of yours.
>>
>> Ah, I missed that. Is it possible to get a range of posts and save them
>> to a local file? I'm looking through 'help' and playing around but I don't
>> see anything for a range (I tried OVER but that's not it).
>
> You have to script it. Hold on and I'll put something together.
>
anon@lowtide:~/usenet$ ./cola 2364610 2364630
Connection closed by foreign host.
anon@lowtide:~/usenet$ grep '^Subject' out |wc -l
21
anon@lowtide:~/usenet$
Try this:
-----------------
#!/bin/bash
if [ ${#} -ne 2 ];then
echo "${0} <lowartid> <highartid>"
exit
fi
USER=your_username # <--- set this
PASS=your_password # <--- set this
GROUP=comp.os.linux.advocacy
LOW=${1}
HIGH=${2}
cat <(
echo "authinfo user ${USER}"
echo "authinfo pass ${PASS}"
echo "group ${GROUP}"
for((i=${LOW};i<=${HIGH};i++));do
echo "article ${i}"
done
echo "quit"
) - |telnet localhost 119 >out
-----------------
Set your username and password in the script. All posts will be
in the file 'out' (which you can change of course). You could script
it more and connect once to get the article range, and parse that,
blah blah whatever.
[toc] | [prev] | [next] | [standalone]
| From | Steve Carroll <fretwizzer@gmail.com> |
|---|---|
| Date | 2018-10-04 18:11 -0700 |
| Message-ID | <2e1f5e90-e3aa-47a2-b080-0e896266f2cc@googlegroups.com> |
| In reply to | #470712 |
On Thursday, October 4, 2018 at 7:07:11 PM UTC-6, owl wrote:
> owl <owl@rooftop.invalid> wrote:
> > Steve Carroll <fretwizzer@gmail.com> wrote:
> >> On Thursday, October 4, 2018 at 6:32:56 PM UTC-6, owl wrote:
> >>> Steve Carroll <fretwizzer@gmail.com> wrote:
> >>> > On Thursday, October 4, 2018 at 6:02:52 PM UTC-6, owl wrote:
> >>> >> Steve Carroll <fretwizzer@gmail.com> wrote:
> >>> >> > On Thursday, October 4, 2018 at 5:03:15 PM UTC-6, owl wrote:
> >>> >> >> owl <owl@rooftop.invalid> wrote:
> >>> >> >> > Steve Carroll <fretwizzer@gmail.com> wrote:
> >>> >> >> >> On Thursday, October 4, 2018 at 2:44:21 PM UTC-6, owl wrote:
> >>> >> >> >>> DFS <nospam@nospam.com> wrote:
> >>> >> >> >>> >
> >>> >> >> >>> > I just discovered something. The python 2.7 docs for nntplib say the
> >>> >> >> >>> > article() command returns the same data as the head() command (which
> >>> >> >> >>> > just pulls down the headers).
> >>> >> >> >>> >
> >>> >> >> >>> > <quote>
> >>> >> >> >>> > NNTP.article(id)
> >>> >> >> >>> > Send an ARTICLE command, where id has the same meaning as for stat().
> >>> >> >> >>> > Return as for head().
> >>> >> >> >>> > </quote>
> >>> >> >> >>> >
> >>> >> >> >>> > So I never even tried it, until just now. And it turns out it retrieves
> >>> >> >> >>> > the entire post, headers and body!
> >>> >> >> >>> >
> >>> >> >> >>> > So you could use the nntplib.article() command. I just did a test with
> >>> >> >> >>> > it and stored 100 posts in 100 files in four to six seconds.
> >>> >> >> >>> >
> >>> >> >> >>>
> >>> >> >> >>> Those are standard nntp commands (article, head, body, xhdr, xpat, etc.).
> >>> >> >> >>> You can telnet/netcat to your server and issue them. No real need for
> >>> >> >> >>> python nntplib. I'm kind of surprised that you weren't just grabbing
> >>> >> >> >>> everything with article commands and then parsing.
> >>> >> >> >>
> >>> >> >> >> If you have an acct. with them, have you ever tried telnet on eternal
> >>> >> >> >> september?
> >>> >> >> >
> >>> >> >> > I don't have an account with them.
> >>> >> >> >
> >>> >> >> >> I just tried with no luck (same with SSH) so, for now, I'm
> >>> >> >> >> stuck with Python, which is fine 'cuz I've been meaning to learn a bit
> >>> >> >> >> of it anyway.
> >>> >> >> >
> >>> >> >> > You have to connect to the nntp port, which will be 119 if it's not
> >>> >> >> > a nntps connection. My newsserver allows either, but my newsreader
> >>> >> >> > doesn't do ssl, so I run stunnel from local port 119 to remote 563.
> >>> >> >> > Then I can connect either my newsreader or a netcat/telnet to localhost
> >>> >> >> > 119, and it's tunneled. You can also use opennssl to connect directly
> >>> >> >> > to port 563 on the server, and it's basically the same as a telnet/netcat:
> >>> >> >> >
> >>> >> >> > openssl s_client -connect your.news.server:563
> >>> >> >> >
> >>> >> >>
> >>> >> >> I just set up an account with them. Works fine with either netcat
> >>> >> >> to port 119 or openssl to port 563. Issue these commands when you
> >>> >> >> connect:
> >>> >> >>
> >>> >> >> authinfo user yourusername
> >>> >> >> authinfo pass yourpassword
> >>> >> >> group comp.os.linux.advocacy
> >>> >> >>
> >>> >> >> I get this:
> >>> >> >> 281 Authentication succeeded
> >>> >> >> group comp.os.linux.advocacy
> >>> >> >> 211 446777 22199 705998 comp.os.linux.advocacy
> >>> >> >
> >>> >> > I only have regular telnet (not all this fancy crap you have that I
> >>> >> > don't understand), I was unable to connect using it.
> >>> >>
> >>> >> It doesn't matter how you connect. Telnet works too. This is all
> >>> >> that newsreader software does when connecting. It just sends nntp
> >>> >> commands, and the server responds. The server doesn't care how
> >>> >> you connect. It's just listening on the port and responding to
> >>> >> commands. It's the same with HTTP and any other internet service.
> >>> >> Each service has its own set of commands that it understands.
> >>> >> If you succeed in connecting to nntp, type 'help' and the server
> >>> >> will return a list of commands that you can play with.
> >>> >
> >>> > DOH! I haven't been on telnet or any BBS for ages ;)
> >>> >
> >>> >> anon@lowtide:~$ telnet news.eternal-september.org 119
> >>> >> Trying 85.214.115.223...
> >>> >> Connected to reader02.eternal-september.org.
> >>> >> Escape character is '^]'.
> >>> >> 200 reader02.eternal-september.org InterNetNews NNRP server INN 2.7.0 (20180513 snapshot) ready (posting ok)
> >>> >> authinfo user XXXXXXXXX
> >>> >> 381 Enter password
> >>> >> authinfo pass XXXXXXXXX
> >>> >
> >>> > Just saw this post... but I've tried it by using every variation.
> >>> > One of them spit back: "481 Invalid credentials"
> >>> >
> >>> > But it isn't invalid, I copied them out of my script where they work fine.
> >>> > I tried with no quotes, single quotes, double quotes, using PASS in front
> >>> > with all of the above, etc. F*cker won't let me login. LOL!
> >>> >
> >>> >> 281 Authentication succeeded
> >>> >> group comp.os.linux.advocacy
> >>> >> 211 446788 22199 706009 comp.os.linux.advocacy
> >>> >> xhdr from 706009
> >>> ^^^^^^^^^^^^^^^^
> >>>
> >>> >> 221 Header or metadata information for from follows (from overview)
> >>> >> 706009 Steve Carroll <fretwizzer@gmail.com>
> >>> >
> >>> > *your* connection uses *my* name?
> >>> >
> >>>
> >>> That's running 'xhdr' command requesting the 'from' header for
> >>> article 706009, which was a post of yours.
> >>
> >> Ah, I missed that. Is it possible to get a range of posts and save them
> >> to a local file? I'm looking through 'help' and playing around but I don't
> >> see anything for a range (I tried OVER but that's not it).
> >
> > You have to script it. Hold on and I'll put something together.
> >
>
> anon@lowtide:~/usenet$ ./cola 2364610 2364630
> Connection closed by foreign host.
>
> anon@lowtide:~/usenet$ grep '^Subject' out |wc -l
> 21
> anon@lowtide:~/usenet$
>
> Try this:
>
> -----------------
> #!/bin/bash
> if [ ${#} -ne 2 ];then
> echo "${0} <lowartid> <highartid>"
> exit
> fi
> USER=your_username # <--- set this
> PASS=your_password # <--- set this
> GROUP=comp.os.linux.advocacy
> LOW=${1}
> HIGH=${2}
> cat <(
> echo "authinfo user ${USER}"
> echo "authinfo pass ${PASS}"
> echo "group ${GROUP}"
> for((i=${LOW};i<=${HIGH};i++));do
> echo "article ${i}"
> done
> echo "quit"
> ) - |telnet localhost 119 >out
> -----------------
>
> Set your username and password in the script. All posts will be
> in the file 'out' (which you can change of course). You could script
> it more and connect once to get the article range, and parse that,
> blah blah whatever.
Dude, you just wrote "suck"! LOL!
[toc] | [prev] | [next] | [standalone]
| From | Steve Carroll <frelwizzen@gmail.com> |
|---|---|
| Date | 2018-10-04 18:48 -0700 |
| Message-ID | <efb04ea5-d666-42cc-9dbe-691e380ec2ee@googlegroups.com> |
| In reply to | #470714 |
On Thursday, October 4, 2018 at 6:11:36 PM UTC-7, Steve Carroll wrote:
> On Thursday, October 4, 2018 at 7:07:11 PM UTC-6, owl wrote:
> > owl <owl@rooftop.invalid> wrote:
> > > Steve Carroll <fretwizzer@gmail.com> wrote:
> > >> On Thursday, October 4, 2018 at 6:32:56 PM UTC-6, owl wrote:
> > >>> Steve Carroll <fretwizzer@gmail.com> wrote:
> > >>> > On Thursday, October 4, 2018 at 6:02:52 PM UTC-6, owl wrote:
> > >>> >> Steve Carroll <fretwizzer@gmail.com> wrote:
> > >>> >> > On Thursday, October 4, 2018 at 5:03:15 PM UTC-6, owl wrote:
> > >>> >> >> owl <owl@rooftop.invalid> wrote:
> > >>> >> >> > Steve Carroll <fretwizzer@gmail.com> wrote:
> > >>> >> >> >> On Thursday, October 4, 2018 at 2:44:21 PM UTC-6, owl wrote:
> > >>> >> >> >>> DFS <nospam@nospam.com> wrote:
> > >>> >> >> >>> >
> > >>> >> >> >>> > I just discovered something. The python 2.7 docs for nntplib say the
> > >>> >> >> >>> > article() command returns the same data as the head() command (which
> > >>> >> >> >>> > just pulls down the headers).
> > >>> >> >> >>> >
> > >>> >> >> >>> > <quote>
> > >>> >> >> >>> > NNTP.article(id)
> > >>> >> >> >>> > Send an ARTICLE command, where id has the same meaning as for stat().
> > >>> >> >> >>> > Return as for head().
> > >>> >> >> >>> > </quote>
> > >>> >> >> >>> >
> > >>> >> >> >>> > So I never even tried it, until just now. And it turns out it retrieves
> > >>> >> >> >>> > the entire post, headers and body!
> > >>> >> >> >>> >
> > >>> >> >> >>> > So you could use the nntplib.article() command. I just did a test with
> > >>> >> >> >>> > it and stored 100 posts in 100 files in four to six seconds.
> > >>> >> >> >>> >
> > >>> >> >> >>>
> > >>> >> >> >>> Those are standard nntp commands (article, head, body, xhdr, xpat, etc.).
> > >>> >> >> >>> You can telnet/netcat to your server and issue them. No real need for
> > >>> >> >> >>> python nntplib. I'm kind of surprised that you weren't just grabbing
> > >>> >> >> >>> everything with article commands and then parsing.
> > >>> >> >> >>
> > >>> >> >> >> If you have an acct. with them, have you ever tried telnet on eternal
> > >>> >> >> >> september?
> > >>> >> >> >
> > >>> >> >> > I don't have an account with them.
> > >>> >> >> >
> > >>> >> >> >> I just tried with no luck (same with SSH) so, for now, I'm
> > >>> >> >> >> stuck with Python, which is fine 'cuz I've been meaning to learn a bit
> > >>> >> >> >> of it anyway.
> > >>> >> >> >
> > >>> >> >> > You have to connect to the nntp port, which will be 119 if it's not
> > >>> >> >> > a nntps connection. My newsserver allows either, but my newsreader
> > >>> >> >> > doesn't do ssl, so I run stunnel from local port 119 to remote 563.
> > >>> >> >> > Then I can connect either my newsreader or a netcat/telnet to localhost
> > >>> >> >> > 119, and it's tunneled. You can also use opennssl to connect directly
> > >>> >> >> > to port 563 on the server, and it's basically the same as a telnet/netcat:
> > >>> >> >> >
> > >>> >> >> > openssl s_client -connect your.news.server:563
> > >>> >> >> >
> > >>> >> >>
> > >>> >> >> I just set up an account with them. Works fine with either netcat
> > >>> >> >> to port 119 or openssl to port 563. Issue these commands when you
> > >>> >> >> connect:
> > >>> >> >>
> > >>> >> >> authinfo user yourusername
> > >>> >> >> authinfo pass yourpassword
> > >>> >> >> group comp.os.linux.advocacy
> > >>> >> >>
> > >>> >> >> I get this:
> > >>> >> >> 281 Authentication succeeded
> > >>> >> >> group comp.os.linux.advocacy
> > >>> >> >> 211 446777 22199 705998 comp.os.linux.advocacy
> > >>> >> >
> > >>> >> > I only have regular telnet (not all this fancy crap you have that I
> > >>> >> > don't understand), I was unable to connect using it.
> > >>> >>
> > >>> >> It doesn't matter how you connect. Telnet works too. This is all
> > >>> >> that newsreader software does when connecting. It just sends nntp
> > >>> >> commands, and the server responds. The server doesn't care how
> > >>> >> you connect. It's just listening on the port and responding to
> > >>> >> commands. It's the same with HTTP and any other internet service.
> > >>> >> Each service has its own set of commands that it understands.
> > >>> >> If you succeed in connecting to nntp, type 'help' and the server
> > >>> >> will return a list of commands that you can play with.
> > >>> >
> > >>> > DOH! I haven't been on telnet or any BBS for ages ;)
> > >>> >
> > >>> >> anon@lowtide:~$ telnet news.eternal-september.org 119
> > >>> >> Trying 85.214.115.223...
> > >>> >> Connected to reader02.eternal-september.org.
> > >>> >> Escape character is '^]'.
> > >>> >> 200 reader02.eternal-september.org InterNetNews NNRP server INN 2.7.0 (20180513 snapshot) ready (posting ok)
> > >>> >> authinfo user XXXXXXXXX
> > >>> >> 381 Enter password
> > >>> >> authinfo pass XXXXXXXXX
> > >>> >
> > >>> > Just saw this post... but I've tried it by using every variation.
> > >>> > One of them spit back: "481 Invalid credentials"
> > >>> >
> > >>> > But it isn't invalid, I copied them out of my script where they work fine.
> > >>> > I tried with no quotes, single quotes, double quotes, using PASS in front
> > >>> > with all of the above, etc. F*cker won't let me login. LOL!
> > >>> >
> > >>> >> 281 Authentication succeeded
> > >>> >> group comp.os.linux.advocacy
> > >>> >> 211 446788 22199 706009 comp.os.linux.advocacy
> > >>> >> xhdr from 706009
> > >>> ^^^^^^^^^^^^^^^^
> > >>>
> > >>> >> 221 Header or metadata information for from follows (from overview)
> > >>> >> 706009 Steve Carroll <fretwizzer@gmail.com>
> > >>> >
> > >>> > *your* connection uses *my* name?
> > >>> >
> > >>>
> > >>> That's running 'xhdr' command requesting the 'from' header for
> > >>> article 706009, which was a post of yours.
> > >>
> > >> Ah, I missed that. Is it possible to get a range of posts and save them
> > >> to a local file? I'm looking through 'help' and playing around but I don't
> > >> see anything for a range (I tried OVER but that's not it).
> > >
> > > You have to script it. Hold on and I'll put something together.
> > >
> >
> > anon@lowtide:~/usenet$ ./cola 2364610 2364630
> > Connection closed by foreign host.
> >
> > anon@lowtide:~/usenet$ grep '^Subject' out |wc -l
> > 21
> > anon@lowtide:~/usenet$
> >
> > Try this:
> >
> > -----------------
> > #!/bin/bash
> > if [ ${#} -ne 2 ];then
> > echo "${0} <lowartid> <highartid>"
> > exit
> > fi
> > USER=your_username # <--- set this
> > PASS=your_password # <--- set this
> > GROUP=comp.os.linux.advocacy
> > LOW=${1}
> > HIGH=${2}
> > cat <(
> > echo "authinfo user ${USER}"
> > echo "authinfo pass ${PASS}"
> > echo "group ${GROUP}"
> > for((i=${LOW};i<=${HIGH};i++));do
> > echo "article ${i}"
> > done
> > echo "quit"
> > ) - |telnet localhost 119 >out
> > -----------------
> >
> > Set your username and password in the script. All posts will be
> > in the file 'out' (which you can change of course). You could script
> > it more and connect once to get the article range, and parse that,
> > blah blah whatever.
>
> Dude, you just wrote "suck"! LOL!
Klaus Schadenfreude must know that Steve Carroll can go get Access, right, medhead? Meanwhile, anyone can can set a KF, which renders *his* kiddie crap harmless, just like Klaus Schadenfreude.
Klaus Schadenfreude is trying (with "all they have") to project their crap onto Steve Carroll. For as long as I can remember Klaus Schadenfreude has encouraged the view that Steve Carroll needs 'backing' to point out all his dishonesty. The fact is that no one needs any documentation to do that. So Klaus Schadenfreude pulls this laughable blaming poppycock in an incompetent attempt to 'hawk' the idea that Steve Carroll is like he is. If you have 'myFile.pdf' open in a program such as LibreOffice Writer and Klaus Schadenfreude wants to change its name to 'mack.txt' via a proxy icon, Steve Carroll's video might be OK, if only to make sure file names are not the same.
I noted specific examples of Klaus Schadenfreude falsely attributing someone else's words to me, holding me accountable for the actions of others, etc. His response: to change the topic.
I don't accept that. Bewilderment is bewilderment and there are many who are of one mind with it. Some are even musicians.
--
One Smart Penny!
http://www.5z8.info/backyard-fireworks-disasters_t7w7pu_bombbuilding
https://youtu.be/HHT9SJgYsH4
Jonas Eklundh Communication AB
[toc] | [prev] | [next] | [standalone]
| From | owl <owl@rooftop.invalid> |
|---|---|
| Date | 2018-10-05 02:06 +0000 |
| Message-ID | <4x9z19b03a.39t@rooftop.invalid> |
| In reply to | #470714 |
Steve Carroll <fretwizzer@gmail.com> wrote:
> On Thursday, October 4, 2018 at 7:07:11 PM UTC-6, owl wrote:
>> owl <owl@rooftop.invalid> wrote:
>> > Steve Carroll <fretwizzer@gmail.com> wrote:
>> >> On Thursday, October 4, 2018 at 6:32:56 PM UTC-6, owl wrote:
>> >>> Steve Carroll <fretwizzer@gmail.com> wrote:
>> >>> > On Thursday, October 4, 2018 at 6:02:52 PM UTC-6, owl wrote:
>> >>> >> Steve Carroll <fretwizzer@gmail.com> wrote:
>> >>> >> > On Thursday, October 4, 2018 at 5:03:15 PM UTC-6, owl wrote:
>> >>> >> >> owl <owl@rooftop.invalid> wrote:
>> >>> >> >> > Steve Carroll <fretwizzer@gmail.com> wrote:
>> >>> >> >> >> On Thursday, October 4, 2018 at 2:44:21 PM UTC-6, owl wrote:
>> >>> >> >> >>> DFS <nospam@nospam.com> wrote:
>> >>> >> >> >>> >
>> >>> >> >> >>> > I just discovered something. The python 2.7 docs for nntplib say the
>> >>> >> >> >>> > article() command returns the same data as the head() command (which
>> >>> >> >> >>> > just pulls down the headers).
>> >>> >> >> >>> >
>> >>> >> >> >>> > <quote>
>> >>> >> >> >>> > NNTP.article(id)
>> >>> >> >> >>> > Send an ARTICLE command, where id has the same meaning as for stat().
>> >>> >> >> >>> > Return as for head().
>> >>> >> >> >>> > </quote>
>> >>> >> >> >>> >
>> >>> >> >> >>> > So I never even tried it, until just now. And it turns out it retrieves
>> >>> >> >> >>> > the entire post, headers and body!
>> >>> >> >> >>> >
>> >>> >> >> >>> > So you could use the nntplib.article() command. I just did a test with
>> >>> >> >> >>> > it and stored 100 posts in 100 files in four to six seconds.
>> >>> >> >> >>> >
>> >>> >> >> >>>
>> >>> >> >> >>> Those are standard nntp commands (article, head, body, xhdr, xpat, etc.).
>> >>> >> >> >>> You can telnet/netcat to your server and issue them. No real need for
>> >>> >> >> >>> python nntplib. I'm kind of surprised that you weren't just grabbing
>> >>> >> >> >>> everything with article commands and then parsing.
>> >>> >> >> >>
>> >>> >> >> >> If you have an acct. with them, have you ever tried telnet on eternal
>> >>> >> >> >> september?
>> >>> >> >> >
>> >>> >> >> > I don't have an account with them.
>> >>> >> >> >
>> >>> >> >> >> I just tried with no luck (same with SSH) so, for now, I'm
>> >>> >> >> >> stuck with Python, which is fine 'cuz I've been meaning to learn a bit
>> >>> >> >> >> of it anyway.
>> >>> >> >> >
>> >>> >> >> > You have to connect to the nntp port, which will be 119 if it's not
>> >>> >> >> > a nntps connection. My newsserver allows either, but my newsreader
>> >>> >> >> > doesn't do ssl, so I run stunnel from local port 119 to remote 563.
>> >>> >> >> > Then I can connect either my newsreader or a netcat/telnet to localhost
>> >>> >> >> > 119, and it's tunneled. You can also use opennssl to connect directly
>> >>> >> >> > to port 563 on the server, and it's basically the same as a telnet/netcat:
>> >>> >> >> >
>> >>> >> >> > openssl s_client -connect your.news.server:563
>> >>> >> >> >
>> >>> >> >>
>> >>> >> >> I just set up an account with them. Works fine with either netcat
>> >>> >> >> to port 119 or openssl to port 563. Issue these commands when you
>> >>> >> >> connect:
>> >>> >> >>
>> >>> >> >> authinfo user yourusername
>> >>> >> >> authinfo pass yourpassword
>> >>> >> >> group comp.os.linux.advocacy
>> >>> >> >>
>> >>> >> >> I get this:
>> >>> >> >> 281 Authentication succeeded
>> >>> >> >> group comp.os.linux.advocacy
>> >>> >> >> 211 446777 22199 705998 comp.os.linux.advocacy
>> >>> >> >
>> >>> >> > I only have regular telnet (not all this fancy crap you have that I
>> >>> >> > don't understand), I was unable to connect using it.
>> >>> >>
>> >>> >> It doesn't matter how you connect. Telnet works too. This is all
>> >>> >> that newsreader software does when connecting. It just sends nntp
>> >>> >> commands, and the server responds. The server doesn't care how
>> >>> >> you connect. It's just listening on the port and responding to
>> >>> >> commands. It's the same with HTTP and any other internet service.
>> >>> >> Each service has its own set of commands that it understands.
>> >>> >> If you succeed in connecting to nntp, type 'help' and the server
>> >>> >> will return a list of commands that you can play with.
>> >>> >
>> >>> > DOH! I haven't been on telnet or any BBS for ages ;)
>> >>> >
>> >>> >> anon@lowtide:~$ telnet news.eternal-september.org 119
>> >>> >> Trying 85.214.115.223...
>> >>> >> Connected to reader02.eternal-september.org.
>> >>> >> Escape character is '^]'.
>> >>> >> 200 reader02.eternal-september.org InterNetNews NNRP server INN 2.7.0 (20180513 snapshot) ready (posting ok)
>> >>> >> authinfo user XXXXXXXXX
>> >>> >> 381 Enter password
>> >>> >> authinfo pass XXXXXXXXX
>> >>> >
>> >>> > Just saw this post... but I've tried it by using every variation.
>> >>> > One of them spit back: "481 Invalid credentials"
>> >>> >
>> >>> > But it isn't invalid, I copied them out of my script where they work fine.
>> >>> > I tried with no quotes, single quotes, double quotes, using PASS in front
>> >>> > with all of the above, etc. F*cker won't let me login. LOL!
>> >>> >
>> >>> >> 281 Authentication succeeded
>> >>> >> group comp.os.linux.advocacy
>> >>> >> 211 446788 22199 706009 comp.os.linux.advocacy
>> >>> >> xhdr from 706009
>> >>> ^^^^^^^^^^^^^^^^
>> >>>
>> >>> >> 221 Header or metadata information for from follows (from overview)
>> >>> >> 706009 Steve Carroll <fretwizzer@gmail.com>
>> >>> >
>> >>> > *your* connection uses *my* name?
>> >>> >
>> >>>
>> >>> That's running 'xhdr' command requesting the 'from' header for
>> >>> article 706009, which was a post of yours.
>> >>
>> >> Ah, I missed that. Is it possible to get a range of posts and save them
>> >> to a local file? I'm looking through 'help' and playing around but I don't
>> >> see anything for a range (I tried OVER but that's not it).
>> >
>> > You have to script it. Hold on and I'll put something together.
>> >
>>
>> anon@lowtide:~/usenet$ ./cola 2364610 2364630
>> Connection closed by foreign host.
>>
>> anon@lowtide:~/usenet$ grep '^Subject' out |wc -l
>> 21
>> anon@lowtide:~/usenet$
>>
>> Try this:
>>
>> -----------------
>> #!/bin/bash
>> if [ ${#} -ne 2 ];then
>> echo "${0} <lowartid> <highartid>"
>> exit
>> fi
>> USER=your_username # <--- set this
>> PASS=your_password # <--- set this
>> GROUP=comp.os.linux.advocacy
>> LOW=${1}
>> HIGH=${2}
>> cat <(
>> echo "authinfo user ${USER}"
>> echo "authinfo pass ${PASS}"
>> echo "group ${GROUP}"
>> for((i=${LOW};i<=${HIGH};i++));do
>> echo "article ${i}"
>> done
>> echo "quit"
>> ) - |telnet localhost 119 >out
>> -----------------
>>
>> Set your username and password in the script. All posts will be
>> in the file 'out' (which you can change of course). You could script
>> it more and connect once to get the article range, and parse that,
>> blah blah whatever.
>
> Dude, you just wrote "suck"! LOL!
oops.
[toc] | [prev] | [next] | [standalone]
| From | Steve Carroll <fretwizzer@gmail.com> |
|---|---|
| Date | 2018-10-05 08:01 -0700 |
| Message-ID | <dbfa5042-2e0c-4d50-8c46-5f7f85f1a820@googlegroups.com> |
| In reply to | #470729 |
On Thursday, October 4, 2018 at 8:06:03 PM UTC-6, owl wrote:
(snip)
> >> Try this:
> >>
> >> -----------------
> >> #!/bin/bash
> >> if [ ${#} -ne 2 ];then
> >> echo "${0} <lowartid> <highartid>"
I assume I'm supposed to set the bracketed texts as numbers for articleIDs?
> >> exit
> >> fi
> >> USER=your_username # <--- set this
> >> PASS=your_password # <--- set this
> >> GROUP=comp.os.linux.advocacy
> >> LOW=${1}
> >> HIGH=${2}
> >> cat <(
> >> echo "authinfo user ${USER}"
> >> echo "authinfo pass ${PASS}"
> >> echo "group ${GROUP}"
> >> for((i=${LOW};i<=${HIGH};i++));do
> >> echo "article ${i}"
> >> done
> >> echo "quit"
> >> ) - |telnet localhost 119 >out
> >> -----------------
> >>
> >> Set your username and password in the script. All posts will be
> >> in the file 'out' (which you can change of course). You could script
> >> it more and connect once to get the article range, and parse that,
> >> blah blah whatever.
> >
> > Dude, you just wrote "suck"! LOL!
>
> oops.
I didn't get a chance to mess with it last night (had to go). How is this
logging into ES's server when there is no mention of the server in the
script? Not being very familiar with shell scripting, I don't know where
to enter the range nums, either. So I added this to the top...
echo "telnet news.eternal-september.org 119"
... and I tried adding a *bunch* of things to trigger the enter key, to no
avail. Python already has me cracked, I can't take much more ;)
[toc] | [prev] | [next] | [standalone]
| From | owl <owl@rooftop.invalid> |
|---|---|
| Date | 2018-10-05 15:35 +0000 |
| Message-ID | <90a0b893fa.h93@rooftop.invalid> |
| In reply to | #470798 |
Steve Carroll <fretwizzer@gmail.com> wrote:
> On Thursday, October 4, 2018 at 8:06:03 PM UTC-6, owl wrote:
>
> (snip)
>
>> >> Try this:
>> >>
>> >> -----------------
>> >> #!/bin/bash
>> >> if [ ${#} -ne 2 ];then
>> >> echo "${0} <lowartid> <highartid>"
>
> I assume I'm supposed to set the bracketed texts as numbers for articleIDs?
>
>> >> exit
>> >> fi
>> >> USER=your_username # <--- set this
>> >> PASS=your_password # <--- set this
>> >> GROUP=comp.os.linux.advocacy
>> >> LOW=${1}
>> >> HIGH=${2}
>> >> cat <(
>> >> echo "authinfo user ${USER}"
>> >> echo "authinfo pass ${PASS}"
>> >> echo "group ${GROUP}"
>> >> for((i=${LOW};i<=${HIGH};i++));do
>> >> echo "article ${i}"
>> >> done
>> >> echo "quit"
>> >> ) - |telnet localhost 119 >out
>> >> -----------------
>> >>
>> >> Set your username and password in the script. All posts will be
>> >> in the file 'out' (which you can change of course). You could script
>> >> it more and connect once to get the article range, and parse that,
>> >> blah blah whatever.
>> >
>> > Dude, you just wrote "suck"! LOL!
>>
>> oops.
>
> I didn't get a chance to mess with it last night (had to go). How is this
> logging into ES's server when there is no mention of the server in the
> script? Not being very familiar with shell scripting, I don't know where
> to enter the range nums, either. So I added this to the top...
>
I left localhost in by mistake. Change that to news.eternal-september.org.
Set your username and password. Then pass the high and low article ids
as arguments. So, using username "steve" and password "stevespass", it
would be:
-----------------------
#!/bin/bash
if [ ${#} -ne 2 ];then
echo "${0} <lowartid> <highartid>"
exit
fi
USER=steve
PASS=stevespass
GROUP=comp.os.linux.advocacy
LOW=${1}
HIGH=${2}
cat <(
echo "authinfo user ${USER}"
echo "authinfo pass ${PASS}"
echo "group ${GROUP}"
for((i=${LOW};i<=${HIGH};i++));do
echo "article ${i}"
done
printf "quit\n"
printf "\n"
) - |telnet news.eternal-september.org 119 >out
-----------------------
Then:
./cola 497101 497300
to get 300 articles in ending at 497300
> echo "telnet news.eternal-september.org 119"
>
> ... and I tried adding a *bunch* of things to trigger the enter key, to no
> avail. Python already has me cracked, I can't take much more ;)
>
What do you mean "trigger the enter key"?
[toc] | [prev] | [next] | [standalone]
| From | Steve Carroll <frelwizzen@gmail.com> |
|---|---|
| Date | 2018-10-05 08:37 -0700 |
| Message-ID | <34f8d619-6844-4f4c-8db2-a83fff0f6559@googlegroups.com> |
| In reply to | #470803 |
On Friday, October 5, 2018 at 8:35:40 AM UTC-7, owl wrote:
> Steve Carroll <fretwizzer@gmail.com> wrote:
> > On Thursday, October 4, 2018 at 8:06:03 PM UTC-6, owl wrote:
> >
> > (snip)
> >
> >> >> Try this:
> >> >>
> >> >> -----------------
> >> >> #!/bin/bash
> >> >> if [ ${#} -ne 2 ];then
> >> >> echo "${0} <lowartid> <highartid>"
> >
> > I assume I'm supposed to set the bracketed texts as numbers for articleIDs?
> >
> >> >> exit
> >> >> fi
> >> >> USER=your_username # <--- set this
> >> >> PASS=your_password # <--- set this
> >> >> GROUP=comp.os.linux.advocacy
> >> >> LOW=${1}
> >> >> HIGH=${2}
> >> >> cat <(
> >> >> echo "authinfo user ${USER}"
> >> >> echo "authinfo pass ${PASS}"
> >> >> echo "group ${GROUP}"
> >> >> for((i=${LOW};i<=${HIGH};i++));do
> >> >> echo "article ${i}"
> >> >> done
> >> >> echo "quit"
> >> >> ) - |telnet localhost 119 >out
> >> >> -----------------
> >> >>
> >> >> Set your username and password in the script. All posts will be
> >> >> in the file 'out' (which you can change of course). You could script
> >> >> it more and connect once to get the article range, and parse that,
> >> >> blah blah whatever.
> >> >
> >> > Dude, you just wrote "suck"! LOL!
> >>
> >> oops.
> >
> > I didn't get a chance to mess with it last night (had to go). How is this
> > logging into ES's server when there is no mention of the server in the
> > script? Not being very familiar with shell scripting, I don't know where
> > to enter the range nums, either. So I added this to the top...
> >
>
> I left localhost in by mistake. Change that to news.eternal-september.org.
> Set your username and password. Then pass the high and low article ids
> as arguments. So, using username "steve" and password "stevespass", it
> would be:
>
> -----------------------
> #!/bin/bash
> if [ ${#} -ne 2 ];then
> echo "${0} <lowartid> <highartid>"
> exit
> fi
> USER=steve
> PASS=stevespass
> GROUP=comp.os.linux.advocacy
> LOW=${1}
> HIGH=${2}
> cat <(
> echo "authinfo user ${USER}"
> echo "authinfo pass ${PASS}"
> echo "group ${GROUP}"
> for((i=${LOW};i<=${HIGH};i++));do
> echo "article ${i}"
> done
> printf "quit\n"
> printf "\n"
> ) - |telnet news.eternal-september.org 119 >out
> -----------------------
>
> Then:
>
> ./cola 497101 497300
>
> to get 300 articles in ending at 497300
>
>
>
> > echo "telnet news.eternal-september.org 119"
> >
> > ... and I tried adding a *bunch* of things to trigger the enter key, to no
> > avail. Python already has me cracked, I can't take much more ;)
> >
>
> What do you mean "trigger the enter key"?
Don't be insane, Michael Glasser Snit... even you have filtered that cretin. Given what he is nobody should blame anyone for seeking to be rid of his insane form of craziness. Don't get too egotistical, Klaus 'Super Troll' Schadenfreude, sometimes "seemingly intelligent people" are just that. If Klaus 'Super Troll' Schadenfreude calls having his ass handed to him left and right by everyone (and completely ruining his reputation and any reason for advocates to believe anything he has to say - for the rest of time) good 'trolling', then whatever... he is a good troll. I don't personally agree with that definition, I use another term. I call him a perfect halfwit.
--
My Snoring Solution!
http://www.5z8.info/racist-raps_r6r3wf_best-russian-sites-for-bootleg-everything
Jonas Eklundh Communication AB
[toc] | [prev] | [next] | [standalone]
| From | Steve Carroll <frelwizzen@gmail.com> |
|---|---|
| Date | 2018-10-05 08:53 -0700 |
| Message-ID | <b6d9e2d6-7a5b-4db7-bcd4-1b8164a4b902@googlegroups.com> |
| In reply to | #470803 |
On Friday, October 5, 2018 at 8:35:40 AM UTC-7, owl wrote:
> Steve Carroll <fretwizzer@gmail.com> wrote:
> > On Thursday, October 4, 2018 at 8:06:03 PM UTC-6, owl wrote:
> >
> > (snip)
> >
> >> >> Try this:
> >> >>
> >> >> -----------------
> >> >> #!/bin/bash
> >> >> if [ ${#} -ne 2 ];then
> >> >> echo "${0} <lowartid> <highartid>"
> >
> > I assume I'm supposed to set the bracketed texts as numbers for articleIDs?
> >
> >> >> exit
> >> >> fi
> >> >> USER=your_username # <--- set this
> >> >> PASS=your_password # <--- set this
> >> >> GROUP=comp.os.linux.advocacy
> >> >> LOW=${1}
> >> >> HIGH=${2}
> >> >> cat <(
> >> >> echo "authinfo user ${USER}"
> >> >> echo "authinfo pass ${PASS}"
> >> >> echo "group ${GROUP}"
> >> >> for((i=${LOW};i<=${HIGH};i++));do
> >> >> echo "article ${i}"
> >> >> done
> >> >> echo "quit"
> >> >> ) - |telnet localhost 119 >out
> >> >> -----------------
> >> >>
> >> >> Set your username and password in the script. All posts will be
> >> >> in the file 'out' (which you can change of course). You could script
> >> >> it more and connect once to get the article range, and parse that,
> >> >> blah blah whatever.
> >> >
> >> > Dude, you just wrote "suck"! LOL!
> >>
> >> oops.
> >
> > I didn't get a chance to mess with it last night (had to go). How is this
> > logging into ES's server when there is no mention of the server in the
> > script? Not being very familiar with shell scripting, I don't know where
> > to enter the range nums, either. So I added this to the top...
> >
>
> I left localhost in by mistake. Change that to news.eternal-september.org.
> Set your username and password. Then pass the high and low article ids
> as arguments. So, using username "steve" and password "stevespass", it
> would be:
>
> -----------------------
> #!/bin/bash
> if [ ${#} -ne 2 ];then
> echo "${0} <lowartid> <highartid>"
> exit
> fi
> USER=steve
> PASS=stevespass
> GROUP=comp.os.linux.advocacy
> LOW=${1}
> HIGH=${2}
> cat <(
> echo "authinfo user ${USER}"
> echo "authinfo pass ${PASS}"
> echo "group ${GROUP}"
> for((i=${LOW};i<=${HIGH};i++));do
> echo "article ${i}"
> done
> printf "quit\n"
> printf "\n"
> ) - |telnet news.eternal-september.org 119 >out
> -----------------------
>
> Then:
>
> ./cola 497101 497300
>
> to get 300 articles in ending at 497300
>
>
>
> > echo "telnet news.eternal-september.org 119"
> >
> > ... and I tried adding a *bunch* of things to trigger the enter key, to no
> > avail. Python already has me cracked, I can't take much more ;)
> >
>
> What do you mean "trigger the enter key"?
He disturbs multiple groups of people who have done nothing wrong, but that's a self-centered troll for you. What others care about isn't a factor.
These posts are clearly *not* automated, they are made by Steven Carroll who is a pill popping pervert with a personal vendetta who has way too much time on his hands (with maybe some scripted pre-processing). Steven Carroll is trying ("very" hard) to project their crap onto Jonas Eklundh. For over a decade Steven Carroll has pressed the idea that Jonas Eklundh needs 'documentation' to point out all his BS. The fact is that nobody needs any reason to do that. So Steven Carroll pulls this bizarre insulting crap in an incompetent bid to 'sell' the idea that Jonas Eklundh is like he is. Steven Carroll gets off on that Jonas Eklundh is on the other end. Imagine if Steven Carroll walked up to a footstool and delivered the punch line. It wouldn't be amusing.
Advertising is a wonderful thing and consumer ignorance is even better. After yesterday's update I no longer want to gouge out my eyeballs from the flicker of the screen.
--
Do not click this link!
http://www.5z8.info/dont-just-drizzle_y8q4ut_5waystokillwithamelon
http://www.5z8.info/freeanimalporn.com-start-download_s9j7do_dogporn
Jonas Eklundh Communication
[toc] | [prev] | [next] | [standalone]
| From | Steve Carroll <fretwizzer@gmail.com> |
|---|---|
| Date | 2018-10-05 08:57 -0700 |
| Message-ID | <71315c40-3214-4b62-ac7c-4e6bc83ec483@googlegroups.com> |
| In reply to | #470803 |
On Friday, October 5, 2018 at 9:35:40 AM UTC-6, owl wrote:
> Steve Carroll <fretwizzer@gmail.com> wrote:
> > On Thursday, October 4, 2018 at 8:06:03 PM UTC-6, owl wrote:
> >
> > (snip)
> >
> >> >> Try this:
> >> >>
> >> >> -----------------
> >> >> #!/bin/bash
> >> >> if [ ${#} -ne 2 ];then
> >> >> echo "${0} <lowartid> <highartid>"
> >
> > I assume I'm supposed to set the bracketed texts as numbers for articleIDs?
> >
> >> >> exit
> >> >> fi
> >> >> USER=your_username # <--- set this
> >> >> PASS=your_password # <--- set this
> >> >> GROUP=comp.os.linux.advocacy
> >> >> LOW=${1}
> >> >> HIGH=${2}
> >> >> cat <(
> >> >> echo "authinfo user ${USER}"
> >> >> echo "authinfo pass ${PASS}"
> >> >> echo "group ${GROUP}"
> >> >> for((i=${LOW};i<=${HIGH};i++));do
> >> >> echo "article ${i}"
> >> >> done
> >> >> echo "quit"
> >> >> ) - |telnet localhost 119 >out
> >> >> -----------------
> >> >>
> >> >> Set your username and password in the script. All posts will be
> >> >> in the file 'out' (which you can change of course). You could script
> >> >> it more and connect once to get the article range, and parse that,
> >> >> blah blah whatever.
> >> >
> >> > Dude, you just wrote "suck"! LOL!
> >>
> >> oops.
> >
> > I didn't get a chance to mess with it last night (had to go). How is this
> > logging into ES's server when there is no mention of the server in the
> > script? Not being very familiar with shell scripting, I don't know where
> > to enter the range nums, either. So I added this to the top...
> >
>
> I left localhost in by mistake. Change that to news.eternal-september.org.
> Set your username and password. Then pass the high and low article ids
> as arguments.
DOH!
> So, using username "steve" and password "stevespass", it
> would be:
>
> -----------------------
> #!/bin/bash
> if [ ${#} -ne 2 ];then
> echo "${0} <lowartid> <highartid>"
> exit
> fi
> USER=steve
> PASS=stevespass
> GROUP=comp.os.linux.advocacy
> LOW=${1}
> HIGH=${2}
> cat <(
> echo "authinfo user ${USER}"
> echo "authinfo pass ${PASS}"
> echo "group ${GROUP}"
> for((i=${LOW};i<=${HIGH};i++));do
> echo "article ${i}"
> done
> printf "quit\n"
> printf "\n"
> ) - |telnet news.eternal-september.org 119 >out
> -----------------------
>
> Then:
>
> ./cola 497101 497300
When I try like that (and using sh) I get:
<https://imgur.com/a/pPphH3O>
I created in it my home dir using Vim and the permissions read:
-rw-rw-rw-
> to get 300 articles in ending at 497300
>
>
>
> > echo "telnet news.eternal-september.org 119"
> >
> > ... and I tried adding a *bunch* of things to trigger the enter key, to no
> > avail. Python already has me cracked, I can't take much more ;)
> >
>
> What do you mean "trigger the enter key"?
To have the script emulate a keypress of the enter/return key.
[toc] | [prev] | [next] | [standalone]
| From | Steve Carroll <fretwizzer@gmail.com> |
|---|---|
| Date | 2018-10-05 09:17 -0700 |
| Message-ID | <7c58ab15-a41d-431d-b7c2-ddfa75393131@googlegroups.com> |
| In reply to | #470806 |
On Friday, October 5, 2018 at 9:57:51 AM UTC-6, Steve Carroll wrote:
> On Friday, October 5, 2018 at 9:35:40 AM UTC-6, owl wrote:
> > Steve Carroll <fretwizzer@gmail.com> wrote:
> > > On Thursday, October 4, 2018 at 8:06:03 PM UTC-6, owl wrote:
> > >
> > > (snip)
> > >
> > >> >> Try this:
> > >> >>
> > >> >> -----------------
> > >> >> #!/bin/bash
> > >> >> if [ ${#} -ne 2 ];then
> > >> >> echo "${0} <lowartid> <highartid>"
> > >
> > > I assume I'm supposed to set the bracketed texts as numbers for articleIDs?
> > >
> > >> >> exit
> > >> >> fi
> > >> >> USER=your_username # <--- set this
> > >> >> PASS=your_password # <--- set this
> > >> >> GROUP=comp.os.linux.advocacy
> > >> >> LOW=${1}
> > >> >> HIGH=${2}
> > >> >> cat <(
> > >> >> echo "authinfo user ${USER}"
> > >> >> echo "authinfo pass ${PASS}"
> > >> >> echo "group ${GROUP}"
> > >> >> for((i=${LOW};i<=${HIGH};i++));do
> > >> >> echo "article ${i}"
> > >> >> done
> > >> >> echo "quit"
> > >> >> ) - |telnet localhost 119 >out
> > >> >> -----------------
> > >> >>
> > >> >> Set your username and password in the script. All posts will be
> > >> >> in the file 'out' (which you can change of course). You could script
> > >> >> it more and connect once to get the article range, and parse that,
> > >> >> blah blah whatever.
> > >> >
> > >> > Dude, you just wrote "suck"! LOL!
> > >>
> > >> oops.
> > >
> > > I didn't get a chance to mess with it last night (had to go). How is this
> > > logging into ES's server when there is no mention of the server in the
> > > script? Not being very familiar with shell scripting, I don't know where
> > > to enter the range nums, either. So I added this to the top...
> > >
> >
> > I left localhost in by mistake. Change that to news.eternal-september.org.
> > Set your username and password. Then pass the high and low article ids
> > as arguments.
>
> DOH!
>
> > So, using username "steve" and password "stevespass", it
> > would be:
> >
> > -----------------------
> > #!/bin/bash
> > if [ ${#} -ne 2 ];then
> > echo "${0} <lowartid> <highartid>"
> > exit
> > fi
> > USER=steve
> > PASS=stevespass
> > GROUP=comp.os.linux.advocacy
> > LOW=${1}
> > HIGH=${2}
> > cat <(
> > echo "authinfo user ${USER}"
> > echo "authinfo pass ${PASS}"
> > echo "group ${GROUP}"
> > for((i=${LOW};i<=${HIGH};i++));do
> > echo "article ${i}"
> > done
> > printf "quit\n"
> > printf "\n"
> > ) - |telnet news.eternal-september.org 119 >out
> > -----------------------
> >
> > Then:
> >
> > ./cola 497101 497300
>
> When I try like that (and using sh) I get:
>
> <https://imgur.com/a/pPphH3O>
>
> I created in it my home dir using Vim and the permissions read:
> -rw-rw-rw-
>
After the fix I get:
webdev$ ./cola 704500 704510
./cola: line 19: unexpected EOF while looking for matching `"'
./cola: line 21: syntax error: unexpected end of file
But I can spot any errors.
[toc] | [prev] | [next] | [standalone]
| From | Steve Carroll <fretwizzer@gmail.com> |
|---|---|
| Date | 2018-10-05 09:19 -0700 |
| Message-ID | <3cb01c23-0a5b-4452-a6d0-6aec740caa2c@googlegroups.com> |
| In reply to | #470809 |
On Friday, October 5, 2018 at 10:17:10 AM UTC-6, Steve Carroll wrote:
> On Friday, October 5, 2018 at 9:57:51 AM UTC-6, Steve Carroll wrote:
> > On Friday, October 5, 2018 at 9:35:40 AM UTC-6, owl wrote:
> > > Steve Carroll <fretwizzer@gmail.com> wrote:
> > > > On Thursday, October 4, 2018 at 8:06:03 PM UTC-6, owl wrote:
> > > >
> > > > (snip)
> > > >
> > > >> >> Try this:
> > > >> >>
> > > >> >> -----------------
> > > >> >> #!/bin/bash
> > > >> >> if [ ${#} -ne 2 ];then
> > > >> >> echo "${0} <lowartid> <highartid>"
> > > >
> > > > I assume I'm supposed to set the bracketed texts as numbers for articleIDs?
> > > >
> > > >> >> exit
> > > >> >> fi
> > > >> >> USER=your_username # <--- set this
> > > >> >> PASS=your_password # <--- set this
> > > >> >> GROUP=comp.os.linux.advocacy
> > > >> >> LOW=${1}
> > > >> >> HIGH=${2}
> > > >> >> cat <(
> > > >> >> echo "authinfo user ${USER}"
> > > >> >> echo "authinfo pass ${PASS}"
> > > >> >> echo "group ${GROUP}"
> > > >> >> for((i=${LOW};i<=${HIGH};i++));do
> > > >> >> echo "article ${i}"
> > > >> >> done
> > > >> >> echo "quit"
> > > >> >> ) - |telnet localhost 119 >out
> > > >> >> -----------------
> > > >> >>
> > > >> >> Set your username and password in the script. All posts will be
> > > >> >> in the file 'out' (which you can change of course). You could script
> > > >> >> it more and connect once to get the article range, and parse that,
> > > >> >> blah blah whatever.
> > > >> >
> > > >> > Dude, you just wrote "suck"! LOL!
> > > >>
> > > >> oops.
> > > >
> > > > I didn't get a chance to mess with it last night (had to go). How is this
> > > > logging into ES's server when there is no mention of the server in the
> > > > script? Not being very familiar with shell scripting, I don't know where
> > > > to enter the range nums, either. So I added this to the top...
> > > >
> > >
> > > I left localhost in by mistake. Change that to news.eternal-september.org.
> > > Set your username and password. Then pass the high and low article ids
> > > as arguments.
> >
> > DOH!
> >
> > > So, using username "steve" and password "stevespass", it
> > > would be:
> > >
> > > -----------------------
> > > #!/bin/bash
> > > if [ ${#} -ne 2 ];then
> > > echo "${0} <lowartid> <highartid>"
> > > exit
> > > fi
> > > USER=steve
> > > PASS=stevespass
> > > GROUP=comp.os.linux.advocacy
> > > LOW=${1}
> > > HIGH=${2}
> > > cat <(
> > > echo "authinfo user ${USER}"
> > > echo "authinfo pass ${PASS}"
> > > echo "group ${GROUP}"
> > > for((i=${LOW};i<=${HIGH};i++));do
> > > echo "article ${i}"
> > > done
> > > printf "quit\n"
> > > printf "\n"
> > > ) - |telnet news.eternal-september.org 119 >out
> > > -----------------------
> > >
> > > Then:
> > >
> > > ./cola 497101 497300
> >
> > When I try like that (and using sh) I get:
> >
> > <https://imgur.com/a/pPphH3O>
> >
> > I created in it my home dir using Vim and the permissions read:
> > -rw-rw-rw-
> >
>
> After the fix I get:
> webdev$ ./cola 704500 704510
> ./cola: line 19: unexpected EOF while looking for matching `"'
> ./cola: line 21: syntax error: unexpected end of file
>
> But I can spot any errors.
I got it working.
[toc] | [prev] | [next] | [standalone]
| From | Steve Carroll <frelwizzen@gmail.com> |
|---|---|
| Date | 2018-10-05 09:41 -0700 |
| Message-ID | <755abd05-d67b-4918-a473-f3cd3e16afd2@googlegroups.com> |
| In reply to | #470809 |
On Friday, October 5, 2018 at 9:17:10 AM UTC-7, Steve Carroll wrote:
> On Friday, October 5, 2018 at 9:57:51 AM UTC-6, Steve Carroll wrote:
> > On Friday, October 5, 2018 at 9:35:40 AM UTC-6, owl wrote:
> > > Steve Carroll <fretwizzer@gmail.com> wrote:
> > > > On Thursday, October 4, 2018 at 8:06:03 PM UTC-6, owl wrote:
> > > >
> > > > (snip)
> > > >
> > > >> >> Try this:
> > > >> >>
> > > >> >> -----------------
> > > >> >> #!/bin/bash
> > > >> >> if [ ${#} -ne 2 ];then
> > > >> >> echo "${0} <lowartid> <highartid>"
> > > >
> > > > I assume I'm supposed to set the bracketed texts as numbers for articleIDs?
> > > >
> > > >> >> exit
> > > >> >> fi
> > > >> >> USER=your_username # <--- set this
> > > >> >> PASS=your_password # <--- set this
> > > >> >> GROUP=comp.os.linux.advocacy
> > > >> >> LOW=${1}
> > > >> >> HIGH=${2}
> > > >> >> cat <(
> > > >> >> echo "authinfo user ${USER}"
> > > >> >> echo "authinfo pass ${PASS}"
> > > >> >> echo "group ${GROUP}"
> > > >> >> for((i=${LOW};i<=${HIGH};i++));do
> > > >> >> echo "article ${i}"
> > > >> >> done
> > > >> >> echo "quit"
> > > >> >> ) - |telnet localhost 119 >out
> > > >> >> -----------------
> > > >> >>
> > > >> >> Set your username and password in the script. All posts will be
> > > >> >> in the file 'out' (which you can change of course). You could script
> > > >> >> it more and connect once to get the article range, and parse that,
> > > >> >> blah blah whatever.
> > > >> >
> > > >> > Dude, you just wrote "suck"! LOL!
> > > >>
> > > >> oops.
> > > >
> > > > I didn't get a chance to mess with it last night (had to go). How is this
> > > > logging into ES's server when there is no mention of the server in the
> > > > script? Not being very familiar with shell scripting, I don't know where
> > > > to enter the range nums, either. So I added this to the top...
> > > >
> > >
> > > I left localhost in by mistake. Change that to news.eternal-september.org.
> > > Set your username and password. Then pass the high and low article ids
> > > as arguments.
> >
> > DOH!
> >
> > > So, using username "steve" and password "stevespass", it
> > > would be:
> > >
> > > -----------------------
> > > #!/bin/bash
> > > if [ ${#} -ne 2 ];then
> > > echo "${0} <lowartid> <highartid>"
> > > exit
> > > fi
> > > USER=steve
> > > PASS=stevespass
> > > GROUP=comp.os.linux.advocacy
> > > LOW=${1}
> > > HIGH=${2}
> > > cat <(
> > > echo "authinfo user ${USER}"
> > > echo "authinfo pass ${PASS}"
> > > echo "group ${GROUP}"
> > > for((i=${LOW};i<=${HIGH};i++));do
> > > echo "article ${i}"
> > > done
> > > printf "quit\n"
> > > printf "\n"
> > > ) - |telnet news.eternal-september.org 119 >out
> > > -----------------------
> > >
> > > Then:
> > >
> > > ./cola 497101 497300
> >
> > When I try like that (and using sh) I get:
> >
> > <https://imgur.com/a/pPphH3O>
> >
> > I created in it my home dir using Vim and the permissions read:
> > -rw-rw-rw-
> >
>
> After the fix I get:
> webdev$ ./cola 704500 704510
> ./cola: line 19: unexpected EOF while looking for matching `"'
> ./cola: line 21: syntax error: unexpected end of file
>
> But I can spot any errors.
It was Peter 'The Fool' Köhlmann who stated that he and his work friends used to hack school computers all the time and it was harmless fun to his way of thinking. Too much glue for you, Gluey. I am working on a program which will blow what Linux has away.
--
"You'll notice how quickly he loses interest when everything is about him. He clearly wants the attention"
Steven Petruzzellis, making the dumbest comment ever uttered.
[toc] | [prev] | [next] | [standalone]
| From | owl <owl@rooftop.invalid> |
|---|---|
| Date | 2018-10-05 16:19 +0000 |
| Message-ID | <0a99b0a.au397g@rooftop.invalid> |
| In reply to | #470806 |
Steve Carroll <fretwizzer@gmail.com> wrote:
> On Friday, October 5, 2018 at 9:35:40 AM UTC-6, owl wrote:
>> Steve Carroll <fretwizzer@gmail.com> wrote:
>> > On Thursday, October 4, 2018 at 8:06:03 PM UTC-6, owl wrote:
>> >
>> > (snip)
>> >
>> >> >> Try this:
>> >> >>
>> >> >> -----------------
>> >> >> #!/bin/bash
>> >> >> if [ ${#} -ne 2 ];then
>> >> >> echo "${0} <lowartid> <highartid>"
>> >
>> > I assume I'm supposed to set the bracketed texts as numbers for articleIDs?
>> >
>> >> >> exit
>> >> >> fi
>> >> >> USER=your_username # <--- set this
>> >> >> PASS=your_password # <--- set this
>> >> >> GROUP=comp.os.linux.advocacy
>> >> >> LOW=${1}
>> >> >> HIGH=${2}
>> >> >> cat <(
>> >> >> echo "authinfo user ${USER}"
>> >> >> echo "authinfo pass ${PASS}"
>> >> >> echo "group ${GROUP}"
>> >> >> for((i=${LOW};i<=${HIGH};i++));do
>> >> >> echo "article ${i}"
>> >> >> done
>> >> >> echo "quit"
>> >> >> ) - |telnet localhost 119 >out
>> >> >> -----------------
>> >> >>
>> >> >> Set your username and password in the script. All posts will be
>> >> >> in the file 'out' (which you can change of course). You could script
>> >> >> it more and connect once to get the article range, and parse that,
>> >> >> blah blah whatever.
>> >> >
>> >> > Dude, you just wrote "suck"! LOL!
>> >>
>> >> oops.
>> >
>> > I didn't get a chance to mess with it last night (had to go). How is this
>> > logging into ES's server when there is no mention of the server in the
>> > script? Not being very familiar with shell scripting, I don't know where
>> > to enter the range nums, either. So I added this to the top...
>> >
>>
>> I left localhost in by mistake. Change that to news.eternal-september.org.
>> Set your username and password. Then pass the high and low article ids
>> as arguments.
>
> DOH!
>
>> So, using username "steve" and password "stevespass", it
>> would be:
>>
>> -----------------------
>> #!/bin/bash
>> if [ ${#} -ne 2 ];then
>> echo "${0} <lowartid> <highartid>"
>> exit
>> fi
>> USER=steve
>> PASS=stevespass
>> GROUP=comp.os.linux.advocacy
>> LOW=${1}
>> HIGH=${2}
>> cat <(
>> echo "authinfo user ${USER}"
>> echo "authinfo pass ${PASS}"
>> echo "group ${GROUP}"
>> for((i=${LOW};i<=${HIGH};i++));do
>> echo "article ${i}"
>> done
>> printf "quit\n"
>> printf "\n"
>> ) - |telnet news.eternal-september.org 119 >out
>> -----------------------
>>
>> Then:
>>
>> ./cola 497101 497300
>
> When I try like that (and using sh) I get:
>
> <https://imgur.com/a/pPphH3O>
>
> I created in it my home dir using Vim and the permissions read:
> -rw-rw-rw-
>
chmod 755 cola
>
>> to get 300 articles in ending at 497300
>>
>>
>>
>> > echo "telnet news.eternal-september.org 119"
>> >
>> > ... and I tried adding a *bunch* of things to trigger the enter key, to no
>> > avail. Python already has me cracked, I can't take much more ;)
>> >
>>
>> What do you mean "trigger the enter key"?
>
> To have the script emulate a keypress of the enter/return key.
Take out the '-' before the telnet pipe (that should not have been in there).
It allows stdin after the cat. I use that for a basic connect script, where
I want to enter commands after connecting.
You might also want to add a sleep to make sure it doesn't quit before you
get all the messages. Try this:
----------------
#!/bin/bash
if [ ${#} -ne 2 ];then
echo "${0} <lowartid> <highartid>"
exit
fi
USER=steve
PASS=stevespass
GROUP=comp.os.linux.advocacy
LOW=${1}
HIGH=${2}
cat <(
echo "authinfo user ${USER}"
echo "authinfo pass ${PASS}"
echo "group ${GROUP}"
for((i=${LOW};i<=${HIGH};i++));do
echo "article ${i}"
done
sleep 2
printf "quit\n"
printf "\n"
)|telnet news.eternal-september.org 119 >owl_telnet.txt
----------------
[toc] | [prev] | [next] | [standalone]
| From | Steve Carroll <fretwizzer@gmail.com> |
|---|---|
| Date | 2018-10-05 09:23 -0700 |
| Message-ID | <7bcd0825-8522-41d3-9bff-0b3bfaed9590@googlegroups.com> |
| In reply to | #470812 |
On Friday, October 5, 2018 at 10:19:51 AM UTC-6, owl wrote:
> Steve Carroll <fretwizzer@gmail.com> wrote:
> > On Friday, October 5, 2018 at 9:35:40 AM UTC-6, owl wrote:
> >> Steve Carroll <fretwizzer@gmail.com> wrote:
> >> > On Thursday, October 4, 2018 at 8:06:03 PM UTC-6, owl wrote:
> >> >
> >> > (snip)
> >> >
> >> >> >> Try this:
> >> >> >>
> >> >> >> -----------------
> >> >> >> #!/bin/bash
> >> >> >> if [ ${#} -ne 2 ];then
> >> >> >> echo "${0} <lowartid> <highartid>"
> >> >
> >> > I assume I'm supposed to set the bracketed texts as numbers for articleIDs?
> >> >
> >> >> >> exit
> >> >> >> fi
> >> >> >> USER=your_username # <--- set this
> >> >> >> PASS=your_password # <--- set this
> >> >> >> GROUP=comp.os.linux.advocacy
> >> >> >> LOW=${1}
> >> >> >> HIGH=${2}
> >> >> >> cat <(
> >> >> >> echo "authinfo user ${USER}"
> >> >> >> echo "authinfo pass ${PASS}"
> >> >> >> echo "group ${GROUP}"
> >> >> >> for((i=${LOW};i<=${HIGH};i++));do
> >> >> >> echo "article ${i}"
> >> >> >> done
> >> >> >> echo "quit"
> >> >> >> ) - |telnet localhost 119 >out
> >> >> >> -----------------
> >> >> >>
> >> >> >> Set your username and password in the script. All posts will be
> >> >> >> in the file 'out' (which you can change of course). You could script
> >> >> >> it more and connect once to get the article range, and parse that,
> >> >> >> blah blah whatever.
> >> >> >
> >> >> > Dude, you just wrote "suck"! LOL!
> >> >>
> >> >> oops.
> >> >
> >> > I didn't get a chance to mess with it last night (had to go). How is this
> >> > logging into ES's server when there is no mention of the server in the
> >> > script? Not being very familiar with shell scripting, I don't know where
> >> > to enter the range nums, either. So I added this to the top...
> >> >
> >>
> >> I left localhost in by mistake. Change that to news.eternal-september.org.
> >> Set your username and password. Then pass the high and low article ids
> >> as arguments.
> >
> > DOH!
> >
> >> So, using username "steve" and password "stevespass", it
> >> would be:
> >>
> >> -----------------------
> >> #!/bin/bash
> >> if [ ${#} -ne 2 ];then
> >> echo "${0} <lowartid> <highartid>"
> >> exit
> >> fi
> >> USER=steve
> >> PASS=stevespass
> >> GROUP=comp.os.linux.advocacy
> >> LOW=${1}
> >> HIGH=${2}
> >> cat <(
> >> echo "authinfo user ${USER}"
> >> echo "authinfo pass ${PASS}"
> >> echo "group ${GROUP}"
> >> for((i=${LOW};i<=${HIGH};i++));do
> >> echo "article ${i}"
> >> done
> >> printf "quit\n"
> >> printf "\n"
> >> ) - |telnet news.eternal-september.org 119 >out
> >> -----------------------
> >>
> >> Then:
> >>
> >> ./cola 497101 497300
> >
> > When I try like that (and using sh) I get:
> >
> > <https://imgur.com/a/pPphH3O>
> >
> > I created in it my home dir using Vim and the permissions read:
> > -rw-rw-rw-
> >
>
> chmod 755 cola
>
> >
> >> to get 300 articles in ending at 497300
> >>
> >>
> >>
> >> > echo "telnet news.eternal-september.org 119"
> >> >
> >> > ... and I tried adding a *bunch* of things to trigger the enter key, to no
> >> > avail. Python already has me cracked, I can't take much more ;)
> >> >
> >>
> >> What do you mean "trigger the enter key"?
> >
> > To have the script emulate a keypress of the enter/return key.
>
> Take out the '-' before the telnet pipe (that should not have been in there).
> It allows stdin after the cat. I use that for a basic connect script, where
> I want to enter commands after connecting.
>
> You might also want to add a sleep to make sure it doesn't quit before you
> get all the messages. Try this:
>
> ----------------
> #!/bin/bash
> if [ ${#} -ne 2 ];then
> echo "${0} <lowartid> <highartid>"
> exit
> fi
> USER=steve
> PASS=stevespass
> GROUP=comp.os.linux.advocacy
> LOW=${1}
> HIGH=${2}
> cat <(
> echo "authinfo user ${USER}"
> echo "authinfo pass ${PASS}"
> echo "group ${GROUP}"
> for((i=${LOW};i<=${HIGH};i++));do
> echo "article ${i}"
> done
> sleep 2
> printf "quit\n"
> printf "\n"
> )|telnet news.eternal-september.org 119 >owl_telnet.txt
> ----------------
I got it working... but something is weird... it's HELLA fast!
It took a few seconds for 1000 posts. Can this be right?
[toc] | [prev] | [next] | [standalone]
| From | owl <owl@rooftop.invalid> |
|---|---|
| Date | 2018-10-05 16:40 +0000 |
| Message-ID | <a0vb80ba.303@rooftop.invalid> |
| In reply to | #470813 |
Steve Carroll <fretwizzer@gmail.com> wrote:
> On Friday, October 5, 2018 at 10:19:51 AM UTC-6, owl wrote:
>> Steve Carroll <fretwizzer@gmail.com> wrote:
>> > On Friday, October 5, 2018 at 9:35:40 AM UTC-6, owl wrote:
>> >> Steve Carroll <fretwizzer@gmail.com> wrote:
>> >> > On Thursday, October 4, 2018 at 8:06:03 PM UTC-6, owl wrote:
>> >> >
>> >> > (snip)
>> >> >
>> >> >> >> Try this:
>> >> >> >>
>> >> >> >> -----------------
>> >> >> >> #!/bin/bash
>> >> >> >> if [ ${#} -ne 2 ];then
>> >> >> >> echo "${0} <lowartid> <highartid>"
>> >> >
>> >> > I assume I'm supposed to set the bracketed texts as numbers for articleIDs?
>> >> >
>> >> >> >> exit
>> >> >> >> fi
>> >> >> >> USER=your_username # <--- set this
>> >> >> >> PASS=your_password # <--- set this
>> >> >> >> GROUP=comp.os.linux.advocacy
>> >> >> >> LOW=${1}
>> >> >> >> HIGH=${2}
>> >> >> >> cat <(
>> >> >> >> echo "authinfo user ${USER}"
>> >> >> >> echo "authinfo pass ${PASS}"
>> >> >> >> echo "group ${GROUP}"
>> >> >> >> for((i=${LOW};i<=${HIGH};i++));do
>> >> >> >> echo "article ${i}"
>> >> >> >> done
>> >> >> >> echo "quit"
>> >> >> >> ) - |telnet localhost 119 >out
>> >> >> >> -----------------
>> >> >> >>
>> >> >> >> Set your username and password in the script. All posts will be
>> >> >> >> in the file 'out' (which you can change of course). You could script
>> >> >> >> it more and connect once to get the article range, and parse that,
>> >> >> >> blah blah whatever.
>> >> >> >
>> >> >> > Dude, you just wrote "suck"! LOL!
>> >> >>
>> >> >> oops.
>> >> >
>> >> > I didn't get a chance to mess with it last night (had to go). How is this
>> >> > logging into ES's server when there is no mention of the server in the
>> >> > script? Not being very familiar with shell scripting, I don't know where
>> >> > to enter the range nums, either. So I added this to the top...
>> >> >
>> >>
>> >> I left localhost in by mistake. Change that to news.eternal-september.org.
>> >> Set your username and password. Then pass the high and low article ids
>> >> as arguments.
>> >
>> > DOH!
>> >
>> >> So, using username "steve" and password "stevespass", it
>> >> would be:
>> >>
>> >> -----------------------
>> >> #!/bin/bash
>> >> if [ ${#} -ne 2 ];then
>> >> echo "${0} <lowartid> <highartid>"
>> >> exit
>> >> fi
>> >> USER=steve
>> >> PASS=stevespass
>> >> GROUP=comp.os.linux.advocacy
>> >> LOW=${1}
>> >> HIGH=${2}
>> >> cat <(
>> >> echo "authinfo user ${USER}"
>> >> echo "authinfo pass ${PASS}"
>> >> echo "group ${GROUP}"
>> >> for((i=${LOW};i<=${HIGH};i++));do
>> >> echo "article ${i}"
>> >> done
>> >> printf "quit\n"
>> >> printf "\n"
>> >> ) - |telnet news.eternal-september.org 119 >out
>> >> -----------------------
>> >>
>> >> Then:
>> >>
>> >> ./cola 497101 497300
>> >
>> > When I try like that (and using sh) I get:
>> >
>> > <https://imgur.com/a/pPphH3O>
>> >
>> > I created in it my home dir using Vim and the permissions read:
>> > -rw-rw-rw-
>> >
>>
>> chmod 755 cola
>>
>> >
>> >> to get 300 articles in ending at 497300
>> >>
>> >>
>> >>
>> >> > echo "telnet news.eternal-september.org 119"
>> >> >
>> >> > ... and I tried adding a *bunch* of things to trigger the enter key, to no
>> >> > avail. Python already has me cracked, I can't take much more ;)
>> >> >
>> >>
>> >> What do you mean "trigger the enter key"?
>> >
>> > To have the script emulate a keypress of the enter/return key.
>>
>> Take out the '-' before the telnet pipe (that should not have been in there).
>> It allows stdin after the cat. I use that for a basic connect script, where
>> I want to enter commands after connecting.
>>
>> You might also want to add a sleep to make sure it doesn't quit before you
>> get all the messages. Try this:
>>
>> ----------------
>> #!/bin/bash
>> if [ ${#} -ne 2 ];then
>> echo "${0} <lowartid> <highartid>"
>> exit
>> fi
>> USER=steve
>> PASS=stevespass
>> GROUP=comp.os.linux.advocacy
>> LOW=${1}
>> HIGH=${2}
>> cat <(
>> echo "authinfo user ${USER}"
>> echo "authinfo pass ${PASS}"
>> echo "group ${GROUP}"
>> for((i=${LOW};i<=${HIGH};i++));do
>> echo "article ${i}"
>> done
>> sleep 2
>> printf "quit\n"
>> printf "\n"
>> )|telnet news.eternal-september.org 119 >owl_telnet.txt
>> ----------------
>
> I got it working... but something is weird... it's HELLA fast!
> It took a few seconds for 1000 posts. Can this be right?
Could be. Run this and make sure:
grep '^From' owl_telnet.txt |wc -l
If it didn't get them all, add the sleep. The '-' that I said take
out also helps get them all. Just have to hit enter when you get the
'Connection closed by foreign host' message. With my slow-ass connection,
I get 1000 messages in about 4.5 secs.
[toc] | [prev] | [next] | [standalone]
| From | Steve Carroll <fretwizzer@gmail.com> |
|---|---|
| Date | 2018-10-05 09:41 -0700 |
| Message-ID | <951b2220-bb7e-43ec-b862-1485d3e466ff@googlegroups.com> |
| In reply to | #470813 |
On Friday, October 5, 2018 at 10:23:48 AM UTC-6, Steve Carroll wrote:
> On Friday, October 5, 2018 at 10:19:51 AM UTC-6, owl wrote:
> > Steve Carroll <fretwizzer@gmail.com> wrote:
> > > On Friday, October 5, 2018 at 9:35:40 AM UTC-6, owl wrote:
> > >> Steve Carroll <fretwizzer@gmail.com> wrote:
> > >> > On Thursday, October 4, 2018 at 8:06:03 PM UTC-6, owl wrote:
> > >> >
> > >> > (snip)
> > >> >
> > >> >> >> Try this:
> > >> >> >>
> > >> >> >> -----------------
> > >> >> >> #!/bin/bash
> > >> >> >> if [ ${#} -ne 2 ];then
> > >> >> >> echo "${0} <lowartid> <highartid>"
> > >> >
> > >> > I assume I'm supposed to set the bracketed texts as numbers for articleIDs?
> > >> >
> > >> >> >> exit
> > >> >> >> fi
> > >> >> >> USER=your_username # <--- set this
> > >> >> >> PASS=your_password # <--- set this
> > >> >> >> GROUP=comp.os.linux.advocacy
> > >> >> >> LOW=${1}
> > >> >> >> HIGH=${2}
> > >> >> >> cat <(
> > >> >> >> echo "authinfo user ${USER}"
> > >> >> >> echo "authinfo pass ${PASS}"
> > >> >> >> echo "group ${GROUP}"
> > >> >> >> for((i=${LOW};i<=${HIGH};i++));do
> > >> >> >> echo "article ${i}"
> > >> >> >> done
> > >> >> >> echo "quit"
> > >> >> >> ) - |telnet localhost 119 >out
> > >> >> >> -----------------
> > >> >> >>
> > >> >> >> Set your username and password in the script. All posts will be
> > >> >> >> in the file 'out' (which you can change of course). You could script
> > >> >> >> it more and connect once to get the article range, and parse that,
> > >> >> >> blah blah whatever.
> > >> >> >
> > >> >> > Dude, you just wrote "suck"! LOL!
> > >> >>
> > >> >> oops.
> > >> >
> > >> > I didn't get a chance to mess with it last night (had to go). How is this
> > >> > logging into ES's server when there is no mention of the server in the
> > >> > script? Not being very familiar with shell scripting, I don't know where
> > >> > to enter the range nums, either. So I added this to the top...
> > >> >
> > >>
> > >> I left localhost in by mistake. Change that to news.eternal-september.org.
> > >> Set your username and password. Then pass the high and low article ids
> > >> as arguments.
> > >
> > > DOH!
> > >
> > >> So, using username "steve" and password "stevespass", it
> > >> would be:
> > >>
> > >> -----------------------
> > >> #!/bin/bash
> > >> if [ ${#} -ne 2 ];then
> > >> echo "${0} <lowartid> <highartid>"
> > >> exit
> > >> fi
> > >> USER=steve
> > >> PASS=stevespass
> > >> GROUP=comp.os.linux.advocacy
> > >> LOW=${1}
> > >> HIGH=${2}
> > >> cat <(
> > >> echo "authinfo user ${USER}"
> > >> echo "authinfo pass ${PASS}"
> > >> echo "group ${GROUP}"
> > >> for((i=${LOW};i<=${HIGH};i++));do
> > >> echo "article ${i}"
> > >> done
> > >> printf "quit\n"
> > >> printf "\n"
> > >> ) - |telnet news.eternal-september.org 119 >out
> > >> -----------------------
> > >>
> > >> Then:
> > >>
> > >> ./cola 497101 497300
> > >
> > > When I try like that (and using sh) I get:
> > >
> > > <https://imgur.com/a/pPphH3O>
> > >
> > > I created in it my home dir using Vim and the permissions read:
> > > -rw-rw-rw-
> > >
> >
> > chmod 755 cola
> >
> > >
> > >> to get 300 articles in ending at 497300
> > >>
> > >>
> > >>
> > >> > echo "telnet news.eternal-september.org 119"
> > >> >
> > >> > ... and I tried adding a *bunch* of things to trigger the enter key, to no
> > >> > avail. Python already has me cracked, I can't take much more ;)
> > >> >
> > >>
> > >> What do you mean "trigger the enter key"?
> > >
> > > To have the script emulate a keypress of the enter/return key.
> >
> > Take out the '-' before the telnet pipe (that should not have been in there).
> > It allows stdin after the cat. I use that for a basic connect script, where
> > I want to enter commands after connecting.
> >
> > You might also want to add a sleep to make sure it doesn't quit before you
> > get all the messages. Try this:
> >
> > ----------------
> > #!/bin/bash
> > if [ ${#} -ne 2 ];then
> > echo "${0} <lowartid> <highartid>"
> > exit
> > fi
> > USER=steve
> > PASS=stevespass
> > GROUP=comp.os.linux.advocacy
> > LOW=${1}
> > HIGH=${2}
> > cat <(
> > echo "authinfo user ${USER}"
> > echo "authinfo pass ${PASS}"
> > echo "group ${GROUP}"
> > for((i=${LOW};i<=${HIGH};i++));do
> > echo "article ${i}"
> > done
> > sleep 2
> > printf "quit\n"
> > printf "\n"
> > )|telnet news.eternal-september.org 119 >owl_telnet.txt
> > ----------------
>
> I got it working... but something is weird... it's HELLA fast!
> It took a few seconds for 1000 posts. Can this be right?
I added start and end text but it's not showing up in the output.
for((i=${LOW};i<=${HIGH};i++));do
echo "--START OF POST--"
echo "article ${i}"
echo "--END OF POST--"
done
This shows up (from the server):
500 What?
500 What?
And twice each time. BTW, if I remove that dash you suggested, the
script won't run. Is the Python nntplib really *that* slow? We're talking
150 seconds compared to 5 for this shell script.
[toc] | [prev] | [next] | [standalone]
| From | owl <owl@rooftop.invalid> |
|---|---|
| Date | 2018-10-05 17:39 +0000 |
| Message-ID | <ksz0b8z0b3.aho3@rooftop.invalid> |
| In reply to | #470817 |
Steve Carroll <fretwizzer@gmail.com> wrote:
> On Friday, October 5, 2018 at 10:23:48 AM UTC-6, Steve Carroll wrote:
>> On Friday, October 5, 2018 at 10:19:51 AM UTC-6, owl wrote:
>> > Steve Carroll <fretwizzer@gmail.com> wrote:
>> > > On Friday, October 5, 2018 at 9:35:40 AM UTC-6, owl wrote:
>> > >> Steve Carroll <fretwizzer@gmail.com> wrote:
>> > >> > On Thursday, October 4, 2018 at 8:06:03 PM UTC-6, owl wrote:
>> > >> >
>> > >> > (snip)
>> > >> >
>> > >> >> >> Try this:
>> > >> >> >>
>> > >> >> >> -----------------
>> > >> >> >> #!/bin/bash
>> > >> >> >> if [ ${#} -ne 2 ];then
>> > >> >> >> echo "${0} <lowartid> <highartid>"
>> > >> >
>> > >> > I assume I'm supposed to set the bracketed texts as numbers for articleIDs?
>> > >> >
>> > >> >> >> exit
>> > >> >> >> fi
>> > >> >> >> USER=your_username # <--- set this
>> > >> >> >> PASS=your_password # <--- set this
>> > >> >> >> GROUP=comp.os.linux.advocacy
>> > >> >> >> LOW=${1}
>> > >> >> >> HIGH=${2}
>> > >> >> >> cat <(
>> > >> >> >> echo "authinfo user ${USER}"
>> > >> >> >> echo "authinfo pass ${PASS}"
>> > >> >> >> echo "group ${GROUP}"
>> > >> >> >> for((i=${LOW};i<=${HIGH};i++));do
>> > >> >> >> echo "article ${i}"
>> > >> >> >> done
>> > >> >> >> echo "quit"
>> > >> >> >> ) - |telnet localhost 119 >out
>> > >> >> >> -----------------
>> > >> >> >>
>> > >> >> >> Set your username and password in the script. All posts will be
>> > >> >> >> in the file 'out' (which you can change of course). You could script
>> > >> >> >> it more and connect once to get the article range, and parse that,
>> > >> >> >> blah blah whatever.
>> > >> >> >
>> > >> >> > Dude, you just wrote "suck"! LOL!
>> > >> >>
>> > >> >> oops.
>> > >> >
>> > >> > I didn't get a chance to mess with it last night (had to go). How is this
>> > >> > logging into ES's server when there is no mention of the server in the
>> > >> > script? Not being very familiar with shell scripting, I don't know where
>> > >> > to enter the range nums, either. So I added this to the top...
>> > >> >
>> > >>
>> > >> I left localhost in by mistake. Change that to news.eternal-september.org.
>> > >> Set your username and password. Then pass the high and low article ids
>> > >> as arguments.
>> > >
>> > > DOH!
>> > >
>> > >> So, using username "steve" and password "stevespass", it
>> > >> would be:
>> > >>
>> > >> -----------------------
>> > >> #!/bin/bash
>> > >> if [ ${#} -ne 2 ];then
>> > >> echo "${0} <lowartid> <highartid>"
>> > >> exit
>> > >> fi
>> > >> USER=steve
>> > >> PASS=stevespass
>> > >> GROUP=comp.os.linux.advocacy
>> > >> LOW=${1}
>> > >> HIGH=${2}
>> > >> cat <(
>> > >> echo "authinfo user ${USER}"
>> > >> echo "authinfo pass ${PASS}"
>> > >> echo "group ${GROUP}"
>> > >> for((i=${LOW};i<=${HIGH};i++));do
>> > >> echo "article ${i}"
>> > >> done
>> > >> printf "quit\n"
>> > >> printf "\n"
>> > >> ) - |telnet news.eternal-september.org 119 >out
>> > >> -----------------------
>> > >>
>> > >> Then:
>> > >>
>> > >> ./cola 497101 497300
>> > >
>> > > When I try like that (and using sh) I get:
>> > >
>> > > <https://imgur.com/a/pPphH3O>
>> > >
>> > > I created in it my home dir using Vim and the permissions read:
>> > > -rw-rw-rw-
>> > >
>> >
>> > chmod 755 cola
>> >
>> > >
>> > >> to get 300 articles in ending at 497300
>> > >>
>> > >>
>> > >>
>> > >> > echo "telnet news.eternal-september.org 119"
>> > >> >
>> > >> > ... and I tried adding a *bunch* of things to trigger the enter key, to no
>> > >> > avail. Python already has me cracked, I can't take much more ;)
>> > >> >
>> > >>
>> > >> What do you mean "trigger the enter key"?
>> > >
>> > > To have the script emulate a keypress of the enter/return key.
>> >
>> > Take out the '-' before the telnet pipe (that should not have been in there).
>> > It allows stdin after the cat. I use that for a basic connect script, where
>> > I want to enter commands after connecting.
>> >
>> > You might also want to add a sleep to make sure it doesn't quit before you
>> > get all the messages. Try this:
>> >
>> > ----------------
>> > #!/bin/bash
>> > if [ ${#} -ne 2 ];then
>> > echo "${0} <lowartid> <highartid>"
>> > exit
>> > fi
>> > USER=steve
>> > PASS=stevespass
>> > GROUP=comp.os.linux.advocacy
>> > LOW=${1}
>> > HIGH=${2}
>> > cat <(
>> > echo "authinfo user ${USER}"
>> > echo "authinfo pass ${PASS}"
>> > echo "group ${GROUP}"
>> > for((i=${LOW};i<=${HIGH};i++));do
>> > echo "article ${i}"
>> > done
>> > sleep 2
>> > printf "quit\n"
>> > printf "\n"
>> > )|telnet news.eternal-september.org 119 >owl_telnet.txt
>> > ----------------
>>
>> I got it working... but something is weird... it's HELLA fast!
>> It took a few seconds for 1000 posts. Can this be right?
>
> I added start and end text but it's not showing up in the output.
>
> for((i=${LOW};i<=${HIGH};i++));do
> echo "--START OF POST--"
> echo "article ${i}"
> echo "--END OF POST--"
> done
>
> This shows up (from the server):
> 500 What?
> 500 What?
>
You're sending that "--START/END OF POST--" to the server. It doesn't
know what you're asking. There are delimiters in the article file
already. A '.' on a line by itself marks the end of an article.
So you can grep for that: '^\.$', but ^From is just easier to type.
You can also grep for the last article id number (or loop the whole
sequence), which will be in the Xref header.
> And twice each time. BTW, if I remove that dash you suggested, the
> script won't run. Is the Python nntplib really *that* slow? We're talking
> 150 seconds compared to 5 for this shell script.
I don't know.
[toc] | [prev] | [next] | [standalone]
| From | Steve Carroll <fretwizzer@gmail.com> |
|---|---|
| Date | 2018-10-05 11:07 -0700 |
| Message-ID | <f89b5e86-b22f-4f5d-ad99-8187a22a8385@googlegroups.com> |
| In reply to | #470827 |
On Friday, October 5, 2018 at 11:39:47 AM UTC-6, owl wrote: (snip) > You're sending that "--START/END OF POST--" to the server. Again... DOH! (lifts track shoe off of dick) > It doesn't > know what you're asking. There are delimiters in the article file > already. A '.' on a line by itself marks the end of an article. I saw those. They can never be carried over from an actual line of text? IOW, are they 100% reliable for delineation? > So you can grep for that: '^\.$', but ^From is just easier to type. > You can also grep for the last article id number (or loop the whole > sequence), which will be in the Xref header. I'm not yet sure what I'm gonna do here as I have to shoot these various pieces of data into multiple tables. Remember, you're talking to a guy who didn't even realize he was sending the above text to the server (I really gotta start looking at this stuff ;) > > And twice each time. BTW, if I remove that dash you suggested, the > > script won't run. Is the Python nntplib really *that* slow? We're talking > > 150 seconds compared to 5 for this shell script. > > I don't know. What else could it be (I've run both a number of times, the speeds are always roughly what I've reported)? It's probably faster to even do the next step in a shell script but I really do want to learn Python and DFS has helped me a *lot* with it and MySQL so I'll stay on that path. I may, after I get that happening, try it in the shell (I assume there's a way to do it). In any event, thanks for all the help (and to you, too, DFS).
[toc] | [prev] | [next] | [standalone]
Page 4 of 8 — ← Prev page 1 2 3 [4] 5 6 7 8 Next page →
Back to top | Article view | comp.os.linux.advocacy
csiph-web