[ILUG] Linux Virus reported by file/magic!
John A. Kinsella
John.Kinsella at ul.ie
Tue Apr 17 15:52:08 IST 2001
Hi.
A student brought me a short text file on a floppy (dos format).
Mounted floppy, & printed file
get blank sheet!
When I ran /usr/bin/file on txt file, get
file /tmp/a.mm
/tmp/a.mm: fsav (linux) virus (29545-120)
Had a look at /usr/share/magic & find
grep -i virus /usr/share/magic
# fsav: file(1) magic for datafellows fsav virus definition files
0 beshort 0x1575 fsav (linux) macro virus
>11 leshort >0 fsav (linux) virus (%d-
What gives?
I take it that some garbage in file is confusing "file"?
Any thots?
John
PS
I am embedding file here as ilug doesnt allow attachments in postings.
mu = 1;
xlist = [];
x0 = [2,2];
xlist = x0;
k=1;
lambda = 1;
kmax = 100;
options = optimset('Largescale','off');
while k<kmax %&(gradient =0)
con = (x.^2 + y.^2 - 1);
%con = (x(1)^2 + x(2)^2 - 1);
abs(con)>=sqrt(eps);
[x,fval,lambda,exitflag,output]=fmincon('objworking',x0,options,[],[],[],[],[],[],'confun33');
mu = mu*2;
lambdanew = lambda +2*mu*con;
xlist=[xlist' x']';
k=k+1;
end
John A. Kinsella Ph: +353-61-202148 (Direct)
+353-61-333644 x 2148 (Switch)
Mathematics Dept. e-mail: John.Kinsella at ul.ie
University of Limerick FAX: +353-61-334927
IRELAND Web: http://jkcray.maths.ul.ie
More information about the ILUG
mailing list