Solved

What does this batch file do? (if anything)

Posted on 2011-02-17
4
1,043 Views
Last Modified: 2012-05-11
I found some batch files a while back whilst working at a school in some student’s accounts on the network. This one confused me because it doesn't look like valid batch file syntax. Any idea what the student was attempting?

<c++>
<F:/ Echo on> Echo = *shut*. <restart>=<function>=<enter>.
<C:/ Minus = Memorybnk. <DIR> Scanning. =<Hunt function>
<N:/= close>
0
Comment
Question by:SnowCrash89
  • 2
4 Comments
 
LVL 1

Assisted Solution

by:Kayg_Hunter
Kayg_Hunter earned 62 total points
ID: 34914440
<F:/ Echo on> Echo = *shut*. <restart>=<function>=<enter>.


This line looks like he might be trying to call up another function - presumable called shut.. Are there any other batch files with it that might look similiar?

<c++> suggests he is writing it to work in or for another program and the syntax of the batch (f:/ as opposed to f:\) makes it look more like it is a linux or unix batch than an MS-DOS batch file.

See if there is any other batch files around it that might be relevant to it and we can take it from there maybe.
0
 
LVL 69

Accepted Solution

by:
Qlemo earned 63 total points
ID: 34914494
That does not look like anything I ever met, and I know a lot of programming and script languages on both UNIX and DOS types of OS.
0
 

Author Comment

by:SnowCrash89
ID: 34914797
Unfortunately I no longer have access to his other batch files but from what I remember they consisted of adding himself to a local admin group and issuing a shutdown command on other computers in the classroom. Perhaps this was as you say some attempt to invoke the command, hence '*shut*'.

He did manage to do this, although I guess not involving this batch file; there were problems when deploying Vista images to computers that then were unable to attach to the domain - and then students were allowed to use them. :S

Nevertheless he was caught when leaving his name in the shutdown command message!
0
 
LVL 1

Expert Comment

by:Kayg_Hunter
ID: 34914857
Pity you can't get the other batch files lol, I am back in a classroom environment atm and would love to mess around with some of the guys pcs lol...

Thanks for the points SnowCrash89

Regards,

Matt
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many reasons a PC runs slower than when it was new, ranging from malicious software intended to mess things up to simple general Windows use.  Your PC performance may slowly degrade over time without you noticing but when you buy a PC from…
TOMORROW TOMORROW.BAT is inspired by a question I get asked over and over again; that is, "How can I use batch file commands to obtain tomorrow's date?" The crux of this batch file revolves around the XCOPY command - a technique I discovered w…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question