Вы находитесь на странице: 1из 2

Description.

The USB Program is designed to help prevent computers being infected by autorun
viruses.
The program is loaded into system memory, when a new removable device attachment
occurs, the program automatically renames
autorun.inf files on new device into autorun.inf_current date_time, and sets its
attribute to "normal", making it visible for the system.
As a result it isolates any infection.
Also (as an option) the user is asked about the necessity of starting autorun.in
f (USB will show the program that it requires to start)
and in the case of a positive answer, the file autorun.inf will be restored.
License.
This program is freeware and can be used under principle "as-is".
Warning! Users have no rights to replicate, disassemble or distribute parts of p
rogram without author's agreement.
Interface.
Program interface opens using system tray menu.
Abilities:
Settings
- Autostart
When checked, the program will be loaded automaticaly on system startup
for current user.
- Messages
When checked, the program will inform the user about all actions on init
iated autorun.inf files.
- Tray Icon
When checked, the program will use the tray icon for its interface. When
un checked, the program will run in "hidden" mode. It can be restor
ed only by editing usb.ini
- Run command file on removable-device connection
When checked, the program will run the command file, specified in USB.in
i.
- Select command file
Show "Open file" dialog, allows the user to specify the command file tha
t will be launched when a removable-device is connected
- Ask user
Allows a user to launch or to rename the autorun.inf file, when removabl
e-device connected
- Edit config
Opens usb.ini file using associated editor
* Additional abilities (with description) - in file usb.ini
Actions
- Check local drives
Program will check all local drives (excluding floppy) for autorun.inf f
iles.
When this file is found, the program shows a response to the user, and r
enames it's file as describted above.
- Disable autorun for all system drives
Changes system registry parameter to prevent autorun. It can be checked
or unchecked.
About
A little information about the author, and the program site.
Exit
Close program.
Additionally,the program can use command-line parameters (first and second param
eters require administrator privelege):
-i - add program to autostart (equialent of Autostart from menu)
-u - remove program from autostart
-k - close program (when it runs)
Contents of config file usb.ini:
[param]
;msgonstart=1 - informs user if the USB program is already running (or simply pr
event of loading second copy)
;msgs=1 - information about actions on autorun.inf files
;batch=1 - runs command file specified by "batchpath" parameter on the removable
device attachment event
;tray=1 - uses system tray for user interface
;batchpath - name (and path) to file, runs on new removable device attachment. A
s a parameter, command file recieves new volume name as X:\
;fs1_1=1 - Asks a question on first run, when program runs initially.
;chkautorun=1 - The program will ask the user about running the autorun.inf file
: file can be launched (and original autorun.inf will be restored) or renamed
Sample content of command file (for example, runit.cmd):
echo New drive "%1" attached at %time% %date% >> log.txt
This command line will produce a new file log.txt defining all events relating t
o a new removable device connection,including, date and time of attachment.
Copyright (c) Alexey N., 2009.
Program site: sputnik70.narod.ru

Вам также может понравиться