Tag Archives: irc

IRC proxy-ing

Sometime ago, I’ve received SSH access to a host which was quite restricted. Lots of executables are denied execution, as it was supposed to be only for learning, so no network access curl/wget/nc/socat/ssh -(L|D|R), or compilers, but then it’s got bash. Here is a tiny hack to connect to IRC from that host:

1. Create a file irc.sh on $host:

#!bash
exec 3<>/dev/tcp/irc.freenode.net/7070
cat <&3 &
cat >&3

2. Add following line to inetd/xinetd (or netcat):

sua     stream  tcp     nowait          $localuser    /usr/bin/ssh    ssh -i $privatekey -l $user $host bash irc.sh

3. Now connect your IRC client to localhost:sua (localhost:14001).

This is only a fun hack, and not something used to regularly circumvent access. 😛

The Three Lost Cases

<rishi> arjun: :-)
<rishi> abbe: :-)
<abbe> rishi, :-)
<abbe> arjun, :-)
<arjun> rishi: :-)
<arjun> abbe: :-)

The group photo with all three Lost Cases smiling (at god knows what!). An event like this is quite rare, and I’m lucky to be part of it. Posting here, for one day I’ll feel nostalgic seeing it.

Merry Christmas!

Some Christmas wishes from around the world:

<yoklov> rudybot: eval (for-each displayln(append(map(λ(m)(build-string 20(λ(n)(if(< m(abs(+(- 20 m)(- m(* 2 n)))))#\space#\#))))(append(build-list 10 add1)'(1))) '(";;; Merry Christmas!")))
<rudybot> yoklov: ; stdout: "          #         \n         ###        \n         ###        \n        #####       \n        #####       \n       #######      \n       #######      \n      #########
              \n      #########     \n     ###########    \n          #         \n;;; Merry Christmas!\n"
* yoklov sighs
<yoklov> that figures, worth a shot though
<jonrafkind> what was that suposed to do
<jonrafkind> merry christmas wraped in #'s?
<jrslepak> ASCII art of a tree?
<yoklov> yup
<jonrafkind> oh heh good call
<duckdown> MERRY CHRISTMAS
<pertplus> merry chirstmas
<pertplus> and to all a good night
<vragnaroda> pertplus: 베리 크리스마스.
<pertplus> whats that
<vragnaroda> lol, google transliterates it as “meli keuliseumaseu” but it's “merry christmas”
<LumberCartel> Seasons Greetings to everyone!
<roarde> Which seasons?
<LumberCartel> All of them!  =)
<vjacob> happy holidays
<MightyMu> stabnburrrn: https://farm8.staticflickr.com/7018/6567749225_5405e2951d.jpg
<MightyMu> KITTEH
<Fieldy> yes hello
<stabnburrrn> haha
<stabnburrrn> who puts a card in a stocking though
<MightyMu> THIS GUY
<GeJ> Merry Christmas everyone.
<abbe> Merry Christmas to 10 kinds of people those who're reading it, and those who're not.

And now time for some fortune:

Real Programmers always confuse Christmas and Halloween because Oct31 == Dec25.
         -- Andrew Rutherford