Sam Trenholme's webpage
This article was posted to the Usenet group alt.hackers in 1995; any technical information is probably outdated.

Re: Test w\ obhack

Article: 7255 of alt.hackers
From: (Michael Jarvis)
Newsgroups: alt.hackers
Subject: Re: Test w\ obhack
Date: 28 Jan 1995 18:19:48 GMT
Organization: Questar Network Services
Lines: 27
Approved: by Barney the Dinosaur
Message-ID: 3ge1s4$
X-Newsreader: TIN [version 1.2 PL2]
Status: RO wrote:
: How'd I do?  Please reply and tell me what I can do to fix this up.


Obhack:  I was working on a Lantastic 6.0 network, and was writing a batch
file to create a log of who used an application.  I was wanting to echo
the NetBIOS machine name to a text file.  I started trying to use a
bletcherous combination of piping NET SHOW through FIND, but realized
what I needed was the Unix 'whoami' command.  So I wrote a 126-byte .com
file that uses the Function 5E00h of Int 21h to echo the right-trimmed
Machine Name to stdout.  It works great on Lantastic, and SHOULD work on
other NetBIOS networks, but I've tested it only on Lantastic.  Email me
if you want the 80x86 assembly (TASM) source...

begin 755

Michael Jarvis   |  Finger for PGP Public key  |   QNSnet Technical Support  | |   Questar Network Services
GCS d H- s+++:- g? p2+ au a25 w+ v C++++$ UL+++ P+ L++>+++ 3- E--- N++ K W+
M- !V po Y+ t+ 5+ j R G+ tv b+++ D++ B- e+>++ u+ h---(*) f+ r+++ !n y+++(*)


Back to index