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 ... 122
1
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"

2
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!  ;)

3
Beta / Re: version 2.4
« on: November 19, 2018, 05:03:27 PM »
I do not know which version it was, but we can work around the problem more simply to perform compatibility tests (as could have suggest rejetto)

add a JQUERY folder to the vfs by configuring it as HIDE

put the two files jquery.min.js jquery2.min.js inside

change the reference in every template
<script type="text/javascript" src="/?mode=jquery"></script>

towards
<script type="text/javascript" src="/jquery/jquery.min.js"></script>    -->  hfs23.tpl
or
<script type="text/javascript" src="/jquery/jquery2.min.js"></script>  -->  hfs24.tpl

so it is not necessary to make a change in the exe

if that's not enough, come back to me  ;)


4
Programmers corner / Re: Friendly petition to Mars and or to any programmer
« on: November 15, 2018, 03:27:27 PM »
I will check your lib.zip file, but as I've read here, you had problems trying to compile HFS. That's why I've I asked Mars for help, because he had compiled HFS successfully.

Perhaps rejetto knows the motive of the sudden silence of Mars (I'm surprised of his attitude and also worried, since Mars logins two or three times every single day, but remains without giving a response).

@LeoNeeson

I put myself in your place and understand your impatience,
 in my beginnings on hfs there were no shared sources, then came the time when rejetto finally agreed to share, so it was a long time that I had a simple text editor like companion to try to understand the functioning of HFS according to the phylosophy of Rejetto and this is only a tiny part.
 By dint of imagining virtually the improvements and novelties that could be made, and an incalculable number of compilations asked the big manitou, the time had come for me to evolve in semi freedom, at the time there was no version portable turbo delphi, I was an old only initiated to the turbo-pascal of my years FAC, it opened in month a new mode.

Proposing improvements was not so simple, it had to be simple and useful without it fundamentally change HFS, It was necessary above all to convince the grand chief of the need and what some changes could render as services to future users,

Other names such as Silentpliz, TSG, Giant Eagle and Bacter (for the main ones), as well as others have greatly contributed to the changes. The old team has been drastically reduced in recent years for various reasons, be they professional, sanitary, or exhausting interest in the subject. All or part has been stored in a drawer or in an archive. it is not easy to dust off so many years of work, you have to sort out what can be useful and put aside what was futile.

The current version of Delphi in its portable version is not 100% "conform" to the one that rejetto and I used to compile the final version of HFS, and I often have big bugs when I run hfs. hence my prudence to provide as is what I use, I must first redo a very clean installation and add only the bare necessities. The time is far away when I spent hours in the process of dissecting the procedures and functions, my priorities and my availability have changed, hfs is a distant project that has its rules that it is imperative to respect, the introduction of javascript in its current wording has been a "brake" for me and I sometimes just relaunch the subject to provide old solutions that fit the news. Over the years I had to learn to think like rejetto, and not let myself go to imagine additions not essential, the version of Silentpliz reflects some of these eccentricities.
it takes time to find the various elements of improvement, to analyze them, and to retain only the essential ones by verifying that this can be included in the current sources without causing instability in the program. Rejetto no longer has the availability to track requests, everything is now idling.

5
HFS ~ HTTP File Server / Re: hide directorys for users with less rights
« on: November 12, 2018, 03:11:27 PM »
Menu -> Virtual file system -> List protected items only for allowed users  :D

will only show items for which the user has access rights

6
good news, the macro works as indicated by rejetto, I checked the wording in the exe, it's good base64decode
Code: [Select]
{.set|encoded| {.base64|this object will store some %symbols% in the javascript space, so that libs can read them.}.}
{.^encoded.}
<hr>
{.base64decode|{.^encoded.}.}
<hr>
{.base64decode| VGhpcyBpcyBhIHNhbXBsZSB0ZXh0.}
<hr>
{.base64decode|dGhpcyBvYmplY3Qgd2lsbCBzdG9yZSBzb21lICVzeW1ib2xzJSBpbiB0aGUgamF2YXNjcmlwdCBzcGFjZSwgc28gdGhhdCBsaWJzIGNhbiByZWFkIHRoZW0= .}
<hr>

concerning your MP, I took note but it's a big recovery work and my upload is not that high,
  we will have to wait, wait and wait  ;D

7
And with {.base64 decode| blablabla.} ??

8
Beta / Re: version 2.4
« on: November 04, 2018, 07:38:34 PM »
 may be wrong but it must be about the compatibility of old default template with the new version of jquery

9
HTML & templates / Re: base64 Re: Responsive small screen template
« on: November 03, 2018, 11:09:47 PM »
it is already very late and I have to get up early, we will continue much later if it does not hurry you  ;)

10
HTML & templates / Re: base64 Re: Responsive small screen template
« on: November 03, 2018, 10:57:39 PM »
it's enough for me to check that minor improvements work for hfs, but I know that basically I can not guarantee an executable free of defects, it's just to propose to rejetto the result of modifications
the only times I share the exe is to show the result we can have to use

11
HTML & templates / Re: base64 Re: Responsive small screen template
« on: November 03, 2018, 10:34:33 PM »
I do not bother to compare or install packages, I just have PAS files accessible in Delphi and functional.

12
HTML & templates / Re: base64 Re: Responsive small screen template
« on: November 03, 2018, 10:09:37 PM »
If you lack the resources to complete your installation, I will be able to provide them but in a few days, the time to get your hands on the archives

13
HTML & templates / Re: base64 Re: Responsive small screen template
« on: November 03, 2018, 09:47:49 PM »
@LeoNeeson
do you have what it takes on your machine to compile hfs sources and create your executable?

14
HTML & templates / Re: base64 Re: Responsive small screen template
« on: November 03, 2018, 09:36:01 PM »
it seems that I'm not up to date I'm only with OverbyteIcsV6
Quote
// ============================================================================
// D5-implementation of "US Secure Hash Algorithm 1 (SHA1)" (RFC3174)
// Copyright (c) 2001, Juergen Haible.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.
// ============================================================================

{------------------------------------------------------------------------------
Update by F. Piette for ICS (http://www.overbyte.be)
Jan 10, 2004 Defined uint32_t as LongWord instead of LongInt
Jul 23, 2004 Revised SHA1Reset to check for nil reference to comply with RFC-3174
             Made the unit compatible with Delphi 2
May 08, 2007 Added a few casts to uint32_t to constants.
Jul 30, 2007 V2.00 Updated for .NET
Mar 24, 2008 V2.01 Made some changes to prepare code for Unicode
                   Use only AnsiString

------------------------------------------------------------------------------}


 with a portable vesion of Borland® Delphi® for Microsoft® Windows™ Version 10.0.2558.35231

all the resources I add are placed in a separate subdirectory in lib and added to the options in the form $ (BDS) \ lib \ ... ,  this allows my delphi to be transferred to any media as usb key for use  it on any machine

15
HTML & templates / Re: base64 Re: Responsive small screen template
« on: November 03, 2018, 09:07:54 PM »
for my use I would just add aliases  ;D

encode64=base64|$1
decode64=base64decode|$1
encodemd5=md5|$1

I was based on these two macros, encodeuri and decodeuri,  which was in the sense of continuity

do not confuse the md5 and md5 file macros that have different uses


Pages: [1] 2 3 ... 122