With HP Jetdirect printers and Lexmark Markport printers this is cool
command-with-output | telnet laserprinterip 9100
This is analogous to the old
doscommand > prn
doscommand > lpt1
But of course the printer handles postscript and PCL output.
I wonder what happens if I do a
xwd | telnet printer 9100 ....
socks:~# xwd | telnet m110laser 9100
Trying 192.168.1.30...
Connected to m110laser.avonside.school.nz.
Escape character is '^]'.
telnet>
telnet: buffer overflow, losing data, sorry
telnet: ring.cc:143: int ringbuf::flush(): Assertion `top-bot > 0 &&
top-bot <= count' failed.
telnet> Abort
socks:~#
And piles of SOP come out the printer...
However this works nicely (cos its postscript)
pdf2ps 1400.pdf | telnet m110laser 9100
What else is there to portscan? The copier!
socks:/usr/tmp# nmap -O copier1
Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
WARNING: RST from port 21 -- is this port really open?
Insufficient responses for TCP sequencing (0), OS detection may be less
accurate
Interesting ports on copier1 (192.168.1.20):
(The 1596 ports scanned but not shown below are in state: closed)
Port State Service
21/tcp open ftp
23/tcp open telnet
80/tcp open http
515/tcp open printer
10000/tcp open snet-sensor-mgmt
No exact OS matches for host.
Rule of thumb - if it has an IP portscan it! (I didn't know the copier
had an embedded web server)
On Fri, 2002-11-22 at 13:56, Yuri de Groot wrote:
> If Mr Rooney or someone else is willing, I would love to
> hear a talk (and demo?) of using telnet to the pop port
> and other ports to do fancy trickery.
>
> If someone is willing to point me to a good tutorial I'll
> learn it myself and give the talk mid 2003, if I get around
> to learning it.
>
> I have managed to send emails by telneting to a smtp port
> and typing HELO etc.
>
> yuri
>
> Thus spake Helmut Walle on this Fri, 22 Nov 2002 :
> ] On Fri, 22 Nov 2002, Wayne Rooney wrote:
> ] ...
> ] >> You can get some of the benefits of IMAP from POP3 by using telnet. And
> ] > it's a damm site faster than using the ISP's web based mail too.
> ]
> ] Hi Wayne,
> ]
> ] Very good comment; using telnet on the POP port is good for
> ] low-bandwidth connections, and it also is a good way of playing with
> ] POP and getting acquainted with the matter. The interactivity,
> ] however, comes from telnet, and not from POP in this case, if I
> ] understand it correctly?