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 - LeoNeeson

Pages: [1] 2 3 ... 35
1
HFS ~ HTTP File Server / Re: ban on the run
« on: December 10, 2018, 07:26:20 AM »
@Snoop: Welcome to the forum. It's not totally clear how you want to "send a command to HFS to add a ban" using your own program. May I ask you what type of program you want to use?. If you add more details it would be easier to help you. If you need to issue a ban from an external connection (because you are not sitting behind the HFS server), perhaps using some HFS's macro you could do the same and much easier. Please add more details.

@Mars: If I'm not mistaken, this user wants to 'add a ban' using an external program (or from an external connection). But if he externally edits the .ini settings file, HFS won't read those configurations until HFS is restarted. He needs a 'live' way to issue a ban from an external program (and not using HFS's menu option). OR perhaps he wants to issue a ban from an external connection, and using a macro this could be more easier to achieve (it would require an admin login that executes a macro that adds to HFS the IP to be banned).

2
HTML & templates / Adding a captcha function to HFS
« on: December 03, 2018, 10:50:42 PM »
@bmartino1: Yeah, Google reCAPTCHA could be used, but the beauty of HFS is not to depend on external services.



Possible solutions (for adding in the source code):

- Create a captcha with Delphi.
- Using an Image control to draw the Captcha.
- Tutorial on How to Install a Captcha on Delphi.

This gives me an idea that something like this could be used to make a "captive portal", so the user is obliged to solve the captcha before access is granted to any file or resource.

(I think all this should be "moved" to a new thread, since it's not related to the 'Chat for HFS' thing)

3
HTML & templates / Re: Chat for HFS.
« on: December 03, 2018, 10:44:45 AM »
Is there possible to using any captcha when some random user do uploading the files to UPLOAD folder??
I guess it could be done using a macro that calls a command-line utility that generates a captcha. But it will be complex (at least for me, it's beyond my knowledge and time).

4
HFS ~ HTTP File Server / Re: Version 2.3k missing on sourceforge
« on: December 03, 2018, 10:38:33 AM »
The reason is pretty easy: I'm just doing some vulnerability research, I can build hfs by myself of course, but I also need the official compiled one.
Every useful stuff I'll eventually find will be submitted to the owner.
Ethical vuln research only.
OK. I guess it's OK for Rejetto if I share it here, as long as you report any vulnerability you may find (sending a private message directly to Rejetto). You can also test the latest v2.4 Beta 6, here.

The download link for HFS v2.3m is:
Code: [Select]
https://www23.zippyshare.com/v/rWV5Nu6I/file.html
(this link expires after 30 days without downloads)
MD5 Checksum: 369B251EB6D24F63C95273F357359669

If you don't find any vulnerability, it's also good to know it, so please report back your results here (in a few days or weeks), even if no vulnerabilities are found. It's always nice to hear that HFS has been proven to be safe. ;)

Cheers,
Leo.-

5
HFS ~ HTTP File Server / Re: Version 2.3k missing on sourceforge
« on: December 01, 2018, 09:32:24 PM »
Hello mariobb, welcome to the forum! :)

I have the version your need, but could you please explain us WHY do you need that specific version? What have v2.3k of special that v2.3m doesn't have? Your answer is important to enhance or fix HFS (if there is something that doesn't work properly or that was better on that version).
I'm awaiting your reply...

Cheers,
Leo.-

6
Beta / Re: version 2.4
« on: November 21, 2018, 09:04:16 AM »
if that's not enough, come back to me  ;)
Thank you, I appreciate your reply, but it's much better what you have proposed here: having automatic 'template revision' detection (without needed to modify any template). So, if TR2 is detected, then use old jQuery of v2.3m, and if TR3 is detected, then use new jQuery of v2.4. Even if I currently don't needed this change, programming is fun. 8)

Since now I can compile HFS by myself, I would like to experiment adding whatever idea comes to my mind, no matter how crazy the idea is. That's the fun of having your own fork or modification of something: experiment. That's why I've asked if you can share again (that) file, but if you don't have it (or whatever), don't worry, it's OK :) (I will try to implement it by myself).

7
Español / Re: [Tutorial] Cómo compilar el código fuente de HFS
« on: November 21, 2018, 09:02:45 AM »
(This space is reserved for future use, please ignore this)
[Espacio reservado para uso futuro, ignora este mensaje]

8
Español / [Tutorial] Cómo compilar el código fuente de HFS
« on: November 21, 2018, 09:00:23 AM »
[Tutorial] Cómo compilar el código fuente de HFS

Por primera vez en la historia de este foro, me gustaría compartir con ustedes el proceso de compilar el código fuente de HFS, de la manera más simple posible para que cualquiera de ustedes pueda realizarlo sin problemas. Se recomienda previamente ver ESTE video tutorial (en formato GIF animado, de 1,56 MB que también puedes descargar de aquí), para poder previsualizar en apenas 5 minutos todo el proceso completo. Luego puedes seguir las instrucciones que dejo a continuación.

Simplemente sigan estos pasos:

1] Descarga el 'Portable Turbo Delphi Lite v1.0d', de aquí.
2] Descarga el 'Paquete de componentes' requeridos HFS, de aquí.
3] Descarga el 'Código fuente' de la última versión de HFS, de aquí.
4] Instala y/o descomprime el ejecutable del paso uno, en: C:\Portable\TDLite
5] Descomprime el archivo del paso dos, en esta carpeta: C:\Portable\TDLite\lib
6] Descomprime el código fuente de HFS, del paso tres, aqui: C:\Portable\TDLite\Projects\HFS
7] Inicia Turbo Delphi abriendo "TDrun.exe" o utilizando el acceso directo del escritorio.
8] Ve al menú 'Tools' y haz click en 'Options...' y se abrirá una nueva ventana.
     Allí, ve a: 'Environment Options' > 'Delphi Options' > 'Library - Win32'.
     Ahora en 'Directories' > 'Library path:' reemplázalo con la siguiente ruta:

Code: [Select]
$(BDS)\lib;$(BDS)\lib\Obj;$(BDS)\Imports;$(BDS)\lib\DelphiZLib.128;$(BDS)\lib\FastMM4991;$(BDS)\lib\GifImaged2010b;$(BDS)\lib\JCL1_22\source;$(BDS)\lib\Kdl32;$(BDS)\lib\OverbyteIcsV7Gold\Delphi\Vc32;$(BDS)\lib\TRegExpr\Source;$(BDS)\Projects\HFS;
9] Ahora ve al menu 'File' y haz click en 'Open Project...' y abre el archivo 'hfs.bdsproj'.
10] Luego ve al menu 'Project' y haz click en 'Options...' y se abrirá una nueva ventana.
       Allí, haz click en 'Compiler Messages' y luego en 'Warnings', desmarca o deselecciona los siguientes items:

Code: [Select]
    - Deprecated Symbol
    - Platform Symbol
    - Return value of function might be undefined

(Este paso número 10 es enteramente opcional, pero se recomienda hacerlo. Si no lo haces, encontrarás 32 o 33 advertencias ó 'Warnings' de Delphi, al momento de compilar, pero ésto no afecta en absoluto el proceso de compilación y obtendrás el mismo y funcional ejecutable. Éstas advertencias no son importantes, sino informativas).

11] Finalmente, ve al menu 'Project' y haz click en 'Build hfs' y todo se compilará.
       Una vez compilado, verás (en un texto en negrita): 'Done: Build All', haz click en 'OK' y habrás concluído.
       Encontrarás tu nuevo ejecutable hfs.exe en ésta carpeta: C:\Portable\TDLite\Projects\HFS

12] Que lo disfrutes! :)

Si necesitas un programa para descomprimir, puedes utilizar 7-Zip.

Si necesitas o deseas instalar todo en otra carpeta (para tener todo en un pendrive USB), es mejor que completes los pasos uno al seis desde las ubicaciones indicadas, y que luego antes de efectuar el paso siete, muevas toda la carpeta al dispositivo USB que quieras. De ésta manera, te aseguras de no equivocarte con las ubicaciones de carpeta. Desde luego, si eliges otra carpeta deberás cambiarla en todos los pasos, EXCEPTO que no debes modificar la ruta del paso ocho (ya que el programa auto-detectará la nueva ubicación).

» RENUNCIA DE RESPONSABILIDAD: No me hago responsable de ningún daño o desconfiguración de su PC. Siempre haga una copia de seguridad primero y tenga en cuenta que este tutorial se realizó en una computadora con un Windows recién instalado. Si ya tiene instalada alguna versión de Delphi, tenga en cuenta que ejecutar esta versión portátil de 'Turbo Delphi' podría ocasionarle problemas (así que evite usarla en una PC con Delphi instalada). Mis archivos subidos no fueron modificados por mí, y están libres de virus, pero debe comprobar las sumas de verificación MD5 para asegurarse que los archivos que ha bajado sean los mismos:

Quote
hfs2.3m.src.zip / MD5: AE2C3025B36FFF2BC72DB5FF7784C4BD
HFS.Libraries.zip / MD5: 7751002A930B7C211BFC1F9C7AA1853C
PortableTurboDelphiLiteInstaller10d.exe / MD5: 9B24FA6BD91FAF9ACA8AEA78B90AEF07
(Puedes utilizar el freeware HashCheck para verificar las sumas de comprobación MD5 de los archivos que has descargado)

» HFS.Libraries.zip / Enlaces de descarga:
https://www.4shared.com/s/fsY2jRS7Tda
http://www.mediafire.com/?z32tkfzezfx36i7

Siéntete libre de dejar cualquier comentario o pregunta si tienes alguna duda, y por favor reporta cualquier error o problema que encuentres al momento de compilar. Se aprecia todo tipo de comentarios, críticas constructivas, o sugerencias de cualquier tipo (tu comentario me da más ánimo para seguir publicando nuevos tutoriales).

Saludos,
Leo.-

9
Programmers corner / Re: [Tutorial] How to compile the HFS's Source code
« on: November 21, 2018, 08:12:55 AM »
With this, I could say that I'm a 'virtual member' of the group of users who can compile HFS, and I hope I could contribute in the future (to Rejetto) with small and tested modifications (that's in the case he likes something I could do, but if he don't, at least I will publish it here so anyone could benefit of it). For the time being, I don't plan to implement any change (I currently don't have too much free time, and I've spent too much time and energy on getting everything working, along with doing this tutorial for the benefit of anyone who could be interested on compile HFS).

I encourage that any member, with a basic level of Pascal/Delphi knowledge, feel free to join the virtual group of 'compilers/programmers', contributing (here on the forum) with any change, modification or enhancement that could have in mind (even leaving new ideas). That doesn't mean Rejetto automatically would incorporate those new ideas in HFS, but perhaps if something is good enough, he could take some of those contributions. Team work is always positive in the open source world. ;)

Cheers,
Leo.-

10
Programmers corner / Re: [Tutorial] How to compile the HFS's Source code
« on: November 21, 2018, 07:15:04 AM »
(This space is reserved for future use, please ignore this)

11
Programmers corner / [Tutorial] How to compile the HFS's Source code
« on: November 21, 2018, 07:04:05 AM »
[Tutorial] How to compile the HFS's Source code

As the result of this, and for the first time ever, I would like to publish the complete process of compiling the HFS's Source code (as simple as possible, step by step, so everyone could do it). It's recomended to watch first THIS video tutorial (download size: 1.56 MB, in GIF format), to see the enterelly compilation process. Then, just follow these steps:

1] Download 'Portable Turbo Delphi Lite v1.0d', from here.
2] Download the 'Library pack' required by HFS, from here.
3] Download the latest 'Source code' file of HFS, from here.
4] Install and/or unrar the exe of the step one, on: C:\Portable\TDLite
5] Unzip the file from the step two, on this exact folder: C:\Portable\TDLite\lib
6] Unzip the source code file of HFS, from step three, here: C:\Portable\TDLite\Projects\HFS
7] Start Turbo Delphi by opening the file "TDrun.exe" or using the shortcut on your desktop.
8] Go to the menu 'Tools' and click on 'Options...' and the 'Options' window will open.
     There, on go to: 'Environment Options' > 'Delphi Options' > 'Library - Win32'.
     Now on 'Directories' > 'Library path:' replace it with the following path:

Code: [Select]
$(BDS)\lib;$(BDS)\lib\Obj;$(BDS)\Imports;$(BDS)\lib\DelphiZLib.128;$(BDS)\lib\FastMM4991;$(BDS)\lib\GifImaged2010b;$(BDS)\lib\JCL1_22\source;$(BDS)\lib\Kdl32;$(BDS)\lib\OverbyteIcsV7Gold\Delphi\Vc32;$(BDS)\lib\TRegExpr\Source;$(BDS)\Projects\HFS;
9] Go to the menu 'File' and click on 'Open Project...' and locate the file 'hfs.bdsproj'.
10] Go to the menu 'Project' and click on 'Options...' and the 'Project Options' will open.
       There, click on 'Compiler Messages' and on 'Warnings', uncheck the following items:

Code: [Select]
    - Deprecated Symbol
    - Platform Symbol
    - Return value of function might be undefined

(This entirely step 10 is optional, but recommended. If you don't do it, you will encounter 32 or 33 Warnings on compiling time, but this doesn't affect the compilation process and you will get the very same functional executable. Those warnings are not important, but informative).

11] Finally, go to the menu 'Project' and click on 'Build hfs' and wait the process to finish.
       Once finished, you will see (in bold text): 'Done: Build All', click on 'OK' and it's done.
       You will find the new executable hfs.exe on this folder: C:\Portable\TDLite\Projects\HFS

12] Enjoy! :)

If you need a tool to unzip/uncompress, you can use 7-Zip.

If you want to use another folder path location (for example to run it from a USB drive), it's better you complete steps one to six from those locations, and then move that folder to the USB before running step seven. This way, you don't mess up with folder locations. Of course, if you choose another folder, you need to change the path in all the steps, but do NOT change the path of step eight (since it will auto-detect the new location).

» DISCLAIMER: I'm not making me responsible for any damage or miss-configuration on your PC. Always backup first, and keep in mind this tutorial was done on fresh installed Windows computer. If you already have any version of Delphi, running this portable version of 'Turbo Delphi' could lead you to problems, so avoid using it on a PC with Delphi installed. My uploads are untouched and virus free, but you must re-check that the MD5 file checksums are the same, as follows:

Quote
hfs2.3m.src.zip / MD5: AE2C3025B36FFF2BC72DB5FF7784C4BD
HFS.Libraries.zip / MD5: 7751002A930B7C211BFC1F9C7AA1853C
PortableTurboDelphiLiteInstaller10d.exe / MD5: 9B24FA6BD91FAF9ACA8AEA78B90AEF07
(You could use the freeware HashCheck to verify the MD5 file checksums)

» HFS.Libraries.zip Download link:
https://www.4shared.com/s/fsY2jRS7Tda
http://www.mediafire.com/?z32tkfzezfx36i7

Feel free to leave a comment or ask any question if you have doubts, and also report if you find any problem when compiling, or if you need further help.

Cheers,
Leo.-

12
Programmers corner / Re: Friendly petition to Mars and or to any programmer
« on: November 21, 2018, 07:00:02 AM »
I'm barely having free time to build/compile HFS, but one day I promise I'll be testing all this.
...and today WAS the day! :)
Result: EPIC WIN! :D

               

...and now feel the taste of my favorite victory song!
...or more modern victory song that reflects my attitude.
...and the same song, but a version exclusively made for Mars.

(This is just joking, I know compiling a software is not a big deal, but those third-party components drove me crazy)



The danger is to see versions pirate of hfs with bugs or viruses, it is preferable that only rejetto is capable of compiling hfs exept to help him to developphis program
Got you!! Now I clearly do understand the reason of all your "kind" and silent collaboration! (everything fits like a puzzle). Ohhh, are you worried now? Now I can compile HFS too!...


Congratulations Mars, you've earned this certificate!
YES!! Now this thread makes sense and can be closed!
[Just a joke, I know Mars & Rejetto could open it again]

I know that message is ten years old, but you seem to keep that idea still today. Following your idea, you could also find a pirate versions of Firefox, FileZilla, ReactOS, and literally hundreds of thousands of another open source software (even more in the Linux world, where is common to build your own software, or compile the kernel). I don't understand what meaning you give to the word "pirate", but if it's because malware, you don't need to build/compile a software to infect it. Any programmer (like you are), should already know that.

And since I've wasted almost ALL my precious saturday afternoon (again, all thanks for the kindness, gratitude and friendliness of Mars), I'm sharing now a complete, detailed and foolproof tutorial guide (for fools like me), so ANYONE could now compile HFS in just a few minutes (with no more pain). For an open source world community, directly from my hearth, click HERE...  :P

@Mars: this is the part were I give you my 'official apologies' for the jokes or comments out-of-place, but those days I felt REALLY bad and sad (and all because I was expecting way much more help from an intelligent and adult user like you). I hope you have not felt offended. The process of compiling HFS was very painfully for me (and searching the whole forum I did found other users with the same problems), and I had to deal with several errors (mostly because having incorrect component versions or putting those archives on wrong locations), and several hours were wasted before being able of getting a proper compilation. Sorry to be so hard on you, but I hope you can understand me how bad I felt because that (next time, keep in mind that an SMALL help could mark a BIG difference).



Now, the serious notes:

jclNTFS is not listed in dev-notes because it was an experiment, introduced few days ago.
i removed it, so you won't need it in next release, that will be this week.
This gave me a big headache, since this component was not listed on dev-notes ("developer notes.txt"), and IMHO it should be listed there. In that old post you said that you have removed it, but latest v2.3m was still using it. I wish you had uploaded all the libs before, since it took me some time figuring out that the "JEDI Code Library" v1.22 was necessary. Anyway, it's OK now, since I did a tutorial about compiling HFS, here. ;)

@Rejetto: As a suggestion, it would be great if you keep your dev-notes (text file) updated, with the current component versions used (in case you use another more recent versions and you haven't updated that file).

13
Beta / Re: version 2.4
« on: November 19, 2018, 10:12:05 AM »
use this link to load a demo version
@Mars: This link is down. Could you please upload/share it again?... :)

14
Programmers corner / Re: Friendly petition to Mars and or to any programmer
« on: November 16, 2018, 05:35:25 AM »
EDIT: I'm taking more time to give you a better (more detailed) answer:

I put myself in your place and understand your impatience,
Don't confuse it with being impatient (I only had the feeling of being ignored, after I've sent you two private messages, that were that were not answered). My worries were mainly because I felt you 'distant', like if my petition was not welcomed (correct me if I'm mistaken). Although I can't expect to be "loved" (in the sense of friendship) by all the members, one of the worst feelings one person could have is being ignored. That's why I always appreciate even a small reply.

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.
I always thought you had your own custom version, like SilentPliz had. But perhaps you do not consider it as important to publish it (perhaps that's why you keep it private). I do consider most of your proposed modifications over the years, as 'interesting' enough to be shared (but if you never share your own version with anyone, all the modifications suffer the risk of being forgotten and lost, and it's a pity). So, in the future, I'm always open to receive your modification, if you want to share them with me.

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.
Correct me if I'm mistaken, but this leads me to think that you are using an earlier (very old) version of Delphi (and not Turbo Delphi 2006). Is that true? If yes, then it's OK to say it, do not be ashamed to admit it.

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.
Like I've said before, I thought you already had a 'stable' custom version, with all the modifications you had proposed over the years.



My motivation for having my own version, is to have more independence and freedom, building a custom HFS to my taste and needs. I don't do this to try to 'reproduce a 100% identical version' to Rejetto's version. My messages were sent to you because you have experience on compiling HFS. But if you don't want to share something with me, it's OK, since I still do appreciate your work for the community (and this doesn't affect my opinion of you).

My message to all whom may read this, is to "keep alive the sense of community", because "sharing" is what makes a big difference, and HFS is a program about "sharing". In the open source world, a community effort "marks" the difference (for example when someone need a helping hand).

Back to my petition, I've have downloaded 100% of all the needed library components and I will try to compile the last available version of HFS in the next few days. Then, I will share the results with the community and report back if I have any problem. Stay tuned for the results... :)

Cheers,
Leo.-

15
Programmers corner / Re: Friendly petition to Mars and or to any programmer
« on: November 15, 2018, 08:20:54 AM »
Thanks bmartino, I hope you are well and get better. I appreciate your help and your good willingness to give me a hand. 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). Or even better, perhaps rejetto could directly share here the library components as a zip package (if he has some free time to help).

Anyway, I will wait until weekend to leave time to reply (I also have more free time to make tests too).

Pages: [1] 2 3 ... 35