Author Topic: Testing build #272  (Read 21494 times)

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12949
    • View Profile
Testing build #272
« on: November 09, 2010, 05:49:53 PM »
download @ www.dovedove.it/hfs/hfs272.exe

what's new
+ new scripting command: maybe utf8
- default template: problems with "move" and non-ansi items
- AV with junctions in uploadable folders

aef

  • Guest
Re: Testing build #272
« Reply #1 on: November 11, 2010, 08:15:59 AM »
When you do an upload seems that everything is fine but in the end says not allowed and does not write anything

aries87

  • Guest
Re: Testing build #272
« Reply #2 on: November 12, 2010, 12:08:07 PM »
this version already stable or not?

Offline jerome

  • Occasional poster
  • *
  • Posts: 36
    • View Profile
Re: Testing build #272
« Reply #3 on: November 23, 2010, 06:31:17 AM »
Hello
i discover a strange surprise using the last mcafee stinger...on it.(normally nothing wrong with HFS)




i have destroy the suspicious file and check a scan from a new downloaded exe to see what happend.
the time to load the vfs...and scan, but it is idem.

i hope i am the only one unlucky...  ;D
« Last Edit: November 23, 2010, 06:52:45 AM by jerome »

Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
  • Posts: 1240
  • ....... chut ! shh!
    • View Profile
Re: Testing build #272
« Reply #4 on: November 23, 2010, 08:27:24 AM »
False positive... Allow this file... if McAfee allow you to do it!
It's an server, not a trojan! ;D

On the McAfee forum I read a little; it seems that it's a habit of detecting some variant of Artemis in softwares that doesn't contain anything suspicious.
Their only common point is having to use a port for external access... as a trojan (or an server  ;))

https://community.mcafee.com/community/security/malware_discussion

Some antivirus display a warning more explicit and less ridiculous... and nothing for MacAfee (2010.11.22) :-\
Update your soft.

http://www.virustotal.com/file-scan/report.html?id=4c7eb5d44ae9a27aa309fd0862404730b17818c4eb12dc7056eb535711ecaf52-1290498723
« Last Edit: November 23, 2010, 08:47:10 AM by SilentPliz »

Offline timteka

  • Occasional poster
  • *
  • Posts: 18
    • View Profile
Re: Testing build #272
« Reply #5 on: November 24, 2010, 04:12:50 PM »
Same problem as AEF. Cannot upload anything. Logs "Upload failed, Not allowed" for every attempt

Offline r][m

  • Tireless poster
  • ****
  • Posts: 347
    • View Profile
Re: Testing build #272
« Reply #6 on: November 25, 2010, 06:21:03 AM »
I too have seen upload problems with 272,
however it seems to be intermittent here.
I'm on Ubuntu / Wine so I have too many
variables to isolate the cause easily.

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12949
    • View Profile
Re: Testing build #272
« Reply #7 on: November 29, 2010, 04:16:47 PM »
i will try the upload asap

Offline Mars

  • Operator
  • Tireless poster
  • *****
  • Posts: 1893
    • View Profile
Re: Testing build #272 patch before build 273
« Reply #8 on: November 29, 2010, 11:27:43 PM »
There is a defect in the use of NO LOG and PRIVATE in sections, for every different section the last one of the same name is taken into account.

[name]
[+name|no log]
[+name|private]
[+name]

then "private" and "no log"  are always ignored, except when they are defined in the last line so that it works

[name]
[+name]
[+name]
[+name|no log|private]

So that the system works correctly it is enough to modify the code source(spring), and it is so possible to place "no log" and "private" wherever

[name]
[noname]
[+name=+noname|no log]
[+name]
[+noname|private]

with this example
 by  [+name=+noname|no log]  the two sections are defined as no log
 by [+noname|private]   only the whole section noname is private

Quote
 procedure saveInSection();
  var
    ss: TStringDynArray;
    s, other: string;
    i, si: integer;
    base: TtplSection;
    till: pchar;
    prepend, nolog, nourl: boolean;
  begin
  till:=pred(bos);
  if till = NIL then till:=pred(strEnd(ptxt));
  if till^ = #10 then dec(till);
  if till^ = #13 then dec(till);

  base.txt:=getStr(ptxt, till);
  // there may be flags after |
  s:=cur_section;
  cur_section:=chop('|', s);
 nolog:=ansiPos('no log', s) > 0;
  nourl:=ansiPos('private', s) > 0;

  // there may be several section names separated by =
  ss:=split('=', cur_section);
  // handle the main section specific case
  if ss = NIL then addString('', ss);
  // assign to every name the same txt
  for i:=0 to length(ss)-1 do
    begin
    s:=trim(ss[i]);
    prepend:=ansiStartsStr('+', s);
    if prepend then
      begin
      delete(s,1,1);
      other:=getTxt(s);
      end;
    base.name:=s;
    si:=createIdx(s);
   base.nolog:=sections[si].nolog or nolog;
    base.nourl:=sections[si].nourl or nourl;

    sections[si]:=base;
    if prepend then
      insert(other, sections[si].txt, 1);
    end;
  end; // saveInSection

private note to rejetto: all sections SPECIAL:xxx  are always PRIVATE not necessary  to add it in the template
[special:xxx|private]
 ;)
« Last Edit: November 30, 2010, 08:12:01 PM by Mars »

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12949
    • View Profile
Re: Testing build #272
« Reply #9 on: December 01, 2010, 01:42:54 PM »
thank you mars. After much thought i came with this version

Code: [Select]
  procedure saveInSection();
  var
    ss: TStringDynArray;
    s: string;
    i, si: integer;
    base: TtplSection;
    till: pchar;
    append: boolean;
    sect: PtplSection;
  begin
  till:=pred(bos);
  if till = NIL then till:=pred(strEnd(ptxt));
  if till^ = #10 then dec(till);
  if till^ = #13 then dec(till);

  base.txt:=getStr(ptxt, till);
  // there may be flags after |
  s:=cur_section;
  cur_section:=chop('|', s);
  base.nolog:=ansiPos('no log', s) > 0;
  base.nourl:=ansiPos('private', s) > 0;
  // there may be several section names separated by =
  ss:=split('=', cur_section);
  // handle the main section specific case
  if ss = NIL then addString('', ss);
  // assign to every name the same txt
  for i:=0 to length(ss)-1 do
    begin
    s:=trim(ss[i]);
    append:=ansiStartsStr('+', s);
    si:=getIdx(s);
    if si < 0 then // not found
      sect:=newSection(s)
    else
      begin
      sect:=@sections[si];
      if append then
        begin
        sect.txt:=sect.txt+base.txt;
        continue;
        end;
      end;
    sect^:=base;
    sect.name:=s; // restore this lost attribute
    end;
  end; // saveInSection

// this is replacing createIdx()
function Ttpl.newSection(section:string):PtplSection;
var
  i: integer;
begin
// add
i:=length(sections);
setLength(sections, i+1);
result:=@sections[i];
result.name:=section;
// getIdx just filled 'last' with not-found, so we must update
last.section:=section;
last.idx:=i;
// manage file.EXT sections
if not ansiStartsText('file.', section) then exit;
i:=length(fileExts);
setLength(fileExts, i+2);
delete(section, 1, 4);
fileExts[i]:=section;
fileExts[i+1]:=str_(last.idx);
lastExt.section:=section;
lastExt.idx:=last.idx;
end; // newSection

« Last Edit: December 01, 2010, 01:47:27 PM by rejetto »

Offline Mars

  • Operator
  • Tireless poster
  • *****
  • Posts: 1893
    • View Profile
Re: Testing build #272
« Reply #10 on: December 01, 2010, 04:56:47 PM »
you version create a bug with %list% , all section with + are not added
and that not resolve  the problem of private-nolog >:

(
Quote
procedure saveInSection();
  var
    ss: TStringDynArray;
    s: string;
    i, si: integer;
    base: TtplSection;
    till: pchar;
    append: boolean;
    sect: PtplSection;
  begin
  till:=pred(bos);
  if till = NIL then till:=pred(strEnd(ptxt));
  if till^ = #10 then dec(till);
  if till^ = #13 then dec(till);

  base.txt:=getStr(ptxt, till);
  // there may be flags after |
  s:=cur_section;
  cur_section:=chop('|', s);

  base.nolog:=ansiPos('no log', s) > 0;
  base.nourl:=ansiPos('private', s) > 0;
  // there may be several section names separated by =
  ss:=split('=', cur_section);
  // handle the main section specific case
  if ss = NIL then addString('', ss);
  // assign to every name the same txt
  for i:=0 to length(ss)-1 do
    begin
    s:=trim(ss);
    append:=ansiStartsStr('+',s);
   if append then delete(s,1,1);  //this is missing
    si:=getIdx(s);
    if si < 0 then // not found
      sect:=newSection(s)
    else
      begin
      sect:=@sections[si];
      if append then
        begin
        sect.txt:=sect.txt+base.txt;
        sect.nolog:= sect.nolog or base.nolog;
        sect.nourl:= sect.nourl or base.nourl;

        continue;
        end;
      end;
    sect^:=base;
    sect.name:=s; // restore this lost attribute
    end;
  end; // saveInSection
« Last Edit: December 01, 2010, 11:48:41 PM by Mars »

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12949
    • View Profile
Re: Testing build #272
« Reply #11 on: December 01, 2010, 07:31:33 PM »
sorry for the upload thing, guys, but couldn't reproduce the problem.
If you find additional details on what's wrong and what's not, or even if you find by no shadow of doubt that previous build (271) has not such problem while current (272) does, please report.

Offline Mars

  • Operator
  • Tireless poster
  • *****
  • Posts: 1893
    • View Profile
Re: Testing build #272
« Reply #12 on: December 01, 2010, 08:16:17 PM »
sorry for the upload thing, guys, but couldn't reproduce the problem.
If you find additional details on what's wrong and what's not, or even if you find by no shadow of doubt that previous build (271) has not such problem while current (272) does, please report.

It is very likely that the problem seems only with characters not ansi

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12949
    • View Profile
Re: Testing build #272
« Reply #13 on: December 02, 2010, 10:37:15 AM »
@aries87
it's not considered stable, at least by me.

@mars
nope, i just tried with non-ansi characters and all went well.
fact is that if 2 persons met this problem with the same release it's likely to be a real problem and not just a blunder.
and some of the change

and thanks again for the fix, because i had fixed losing attributes, but was not accepting new ones.

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12949
    • View Profile
Re: Testing build #272
« Reply #14 on: December 10, 2010, 08:29:57 PM »