Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Mars

Pages: 1 [2] 3 4 ... 124
16
HTML & templates / Re: Responsive small screen template
« on: April 12, 2019, 05:30:16 AM »
hfs.diff.tpl
Code: [Select]
[+]
{.add to log| main section from diff template.}

[+files]
{.add to log| list section from diff template.}

[+file=link=folder]
{.add to log| item section from diff template.}

Uses this example, your log must become several lines of comments

Otherwise, in the text box of the Diff Template tab of the ROOT property, put on a single line without a carriage return the full name of the file that will be added as a diff template.

If the file with absolute path exists then it will be used,

otherwise with relative path
-  the file will be searched first from hfs.exe folder,
- and then from the resource item if this item is real folder.
- by default the line will be displayed on the web page as a string


note that if you fill the tab "Diff template" with some sections, and that there is a hfs.diff.tpl in the associated real directory, the diff.tpl will be loaded then the content of "Diff template" will be added

Code: ("DIFF Template") [Select]
[+]
{.add to log| main section from "DIFF Template".}

[+files]
{.add to log| list section from "DIFF Template".}

[+file=link=folder]
{.add to log| item section from "DIFF Template".}


Code: ("hfs.diff.tpl") [Select]
[+]
{.add to log| main section from "hfs.diff.tpl".}

[+files]
{.add to log| list section from "hfs.diff.tpl".}

[+file=link=folder]
{.add to log| item section from "hfs.diff.tpl".}

17
Beta / Re: version 2.4
« on: March 27, 2019, 10:36:51 AM »
as long as a definitive solution is not adopted to manage the languages, only a few will serve as support for the study of the translation.Later a wider choice will be available for those who wish to participate in the translation. 

18
Beta / Re: version 2.4
« on: March 25, 2019, 07:06:33 PM »
This was the error shown (see screenshot):
Error: {.break|result=bad session}
ok

It is not a real bug, it comes from a syntax error in the model at the level of the section of the alias which appears only under very particular conditions because most of the time the text is considered as a comment

we notice that the message of the error does not represent a complete macro

Quote
[special:alias]
check session=if|{.{.cookie|HFS_SID_.} != {.postvar|token.}.}|{:{.cookie|HFS_SID_|value=|expires=-1.} {.break|result=bad session}:}

lit's not new and the problem is present in the default model since the 2.3f, which use cookie to check session

19
Beta / Re: version 2.4 - bug
« on: March 25, 2019, 06:20:51 PM »
"Switch On" and "Switch Off" button is reversed

update:
either only I have the error or nobody has noticed
Find the mistake between the two pictures! Image shows server turned on

only texts OFF & ON  are reversed, the icons and the function is correct

reversed, the icons and the function is correct

Code: [Select]
SwitchON1.imageIndex:=if_(srv.active, 11, 4);
SwitchON1.caption:='Switch '+if_(srv.active, 'OFF', 'ON');

and managed from these lines until the rb5, since this there may have been a false manipulation in the sources

I'm arguing that something has been changed to look like this

Code: [Select]
SwitchON1.caption:=if_(srv.active, 'Switch ON', 'Switch OFF');
exactly
  S_OFF = 'Switch OFF';
  S_ON = 'Switch ON';
  SwitchON1.caption:=if_(srv.active, S_ON, S_OFF);

should be
  SwitchON1.caption:=if_(srv.active, S_OFF, S_ON);

in order to facilitate the literal translations and no longer fragmented, but that there was a misleading text

I fiddled the exe to correct the inversion pending the new version

http://dl.free.fr/vAaA050dO




20
Beta / Re: version 2.4
« on: March 25, 2019, 12:33:04 AM »
could not reproduce the bug with Anonymous, 
Quote
[]
{.$common-head.}
   <title>{.!HFS.} %folder%</title>
   {.add to log|{.if|%user%|{.!User.} %user%|{.!Anonymous.}.} {.!renamed.} "{.^x.}" {.!to.} "{.^yn.}".}
    <script type="text/javascript" src="/?mode=jquery"></script>

01:30:21 127.0.0.1:1567 Got 397 bytes
01:30:22 127.0.0.1:1567 Anonymous renamed "" to ""
01:30:22 127.0.0.1:1567 Requested GET /

21
Beta / Re: version 2.4
« on: March 24, 2019, 01:53:03 AM »
I am in favor of these, exepted modifications for two things
line 448 -> HFS is the fixed name of the program, do not use {.! HFS.}
line 556 -> Anonymous is an account name, do not translate it with {.! Anonymous.}.}

23
HFS ~ HTTP File Server / Re: New Version 2.3m download message
« on: March 20, 2019, 07:18:10 PM »
download this version which presents less alert on virustotal, 3 instead of 18, see if your antivirus also rejects it

http://dl.free.fr/wzJCUoBet

it is quite possible that the difference in the number of viral alerts correspond to the versions of the modules used during the compilation of the program, which may differ from one computer to another



24
Programmers corner / Re: setClip for user comfort ;)
« on: March 18, 2019, 05:12:03 PM »
I always resisted this forced way to put a value in the clipboard because it leaves no choice to the user

 I often happened to lose important data from the clipboard between two applications because of a passage Stealth by hfs to check information, and that changed the content.

it would be wiser to put a dialog box with two buttons, one to recover the value, the other to ignore it to preserve its clipboard

25
HFS ~ HTTP File Server / Re: HFS including SSl tools
« on: March 08, 2019, 12:52:33 AM »
the not valid win32application message is present due to bad compression with upx 3.95


UPX 3.95w       Markus Oberhumer, Laszlo Molnar & John Reiser   Aug 26th 2018

        File size         Ratio      Format      Name
   --------------------   ------   -----------   -----------
upx: hfs.293m.exe: CantUnpackException: header corrupted

Unpacked 0 files.


it is necessary to know the version used  upx-3.95-win32 or upx-3.95-win64 of this program

compile the sources either even gives a functional version of hfs

waiting for the Silentpliz fix.


26
Bug reports / Re: HFS is not working with hostname plus domain name
« on: January 24, 2019, 09:05:50 PM »
http://rejetto.com/forum/index.php?topic=5881.msg1034820#msg1034820

You have to use an external proxy server  to connect you to your DNS name

https://www.proxynova.com/proxy-server-list/


27
HFS ~ HTTP File Server / Re: Real folder not updating contents?
« on: January 02, 2019, 09:34:34 AM »
Clear your browser cache  every time

28
HFS ~ HTTP File Server / Re: SSL without Stunnel
« on: December 29, 2018, 09:52:39 PM »
for those who want to use SSL without spending time trying to do the configuration, here is the latest version that made Silentpliz integrating SSL management.

 http://dl.free.fr/bEuQ8K456   (the link remains valid approximately thirty days)

you have to install SLL then launch this HFS from directory dedicated to your hfs. when everything is set, just leave this version and then launch the last official on the forum




29
HFS ~ HTTP File Server / Re: ban on the run
« on: December 10, 2018, 09:02:39 AM »
if it is necessary to send the addition of a ban ip remotely, it must be sended a form to an hfs script that will support the addition of the value using the macro {.set ini | .} but it is delicate from a safe point of view

you must retrieve the set using {.get ini | ban-list.}
but the data in return are in the form
192.168.1.1#banned|193.169.10.2#not allowed|255.3.45.36 # NO!|

including pipes and making the management pretty tricky because of the macros.

it is probably necessary to use these macros, but I do not know the exact effects in the handling of text strings

     'no pipe'        replace '|'  by '{:|:}'
     'no pipe'        replace '{:|:}'  by '|'

the fields must be separated and then reassembled to be fed back into the configuration, which will have to be saved automatically at the output or at regular intervals or in force by means of a macro.
everything that includes remote hfs configuration management is a risk for hacking, especially when the exchanges are not done in SSL

it must be remembered that mishandling or erroneous data may create a ban rendering hfs unreachable

I do not know if there is an equivalent in English but as we say in France, "the game is not worth the candle"

30
HFS ~ HTTP File Server / Re: ban on the run
« on: December 09, 2018, 01:36:07 AM »
 Start HFS
In Menu/Limits/Bans…, enter the ip you will to be banned  example “192.168.1.10” without the quotation marks and yoy can check “Disconnect with no reply”

Apply + OK --> that's all!  ;)

Pages: 1 [2] 3 4 ... 124