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

Pages: [1] 2 3 ... 59
HTML & templates / Re: Watchdog, Keep-Alive, No-Freeze script
« on: February 20, 2020, 06:26:37 PM »
Sure, here it is.
Code: [Select]
@echo off
timeout /t 10 > nul
VER > nul
wget --output-document=nul --quiet
TASKKILL /IM hfs.exe /F
timeout /t 3
start "" "hfs.exe"
Watchdog and wget in same folder as hfs.exe
filename is hfs.exe (you can edit both)
port 80 (you can edit)

Windows 7, 8, 8+1, 10 can run it.  Watchdog and wget are in the attachment.
If all is well, it says nothing on-screen (next version may get a decoration). 
Test:  Exit hfs while watchdog is running, to see it start hfs in a few seconds.

Binary and depenancy download for Windows w get


we we talk about true networking.

You testing the response form hfs via the lan and how fast it loads and responds to data in and out.

Atm chrome web console will sow in mill seconds the response and speed time.
BUT the actual network connection time would need to be monitored by a packet group
IE nmap or wireshark

the problem:
network adapter driver setting and registry can affect  network speed, access , and data limits to and from adapters

becasue windwows mess with theses constanly, windowws has a built in base version:

but in regards to windows that is true...

to test hfs you would need to see them all and test it on you hardware

so i lan  to lan connection speed test with wireshark sniff.
and subtract the # generated form windows claimed that is you degradation to hfs.


but know using :)

you could use html 5 built in html code to run a speed test (some html code dowlading and sharing)

it looks like you were trying to hfs macro code a limit test to log something similar.

back in my first forum days, i was an ISP service provider ( i have tested hfs on a variety of machine and on gigabit fiber backbone 10 gb up down connection with out issues. ) i have found that the limitation and issue occur not from hfs but the hardware from witch it runs.

and with the variety of machine i have found discrepancy with the hardware and drivers, because windows manipulates the network adapted.

Wish you the best of luck.

Everything else / Re: 2020
« on: January 08, 2020, 07:53:52 PM »
Happy new year (belated)

HFS ~ HTTP File Server / Re: Question regarding cookies
« on: December 22, 2019, 03:27:52 PM »

Not 100% sure of an answer, mby a hfs file menu setting

Or hfs macro code

The cookie only has the hfs Sid for that connection

A test vitural folder did temp with this code will show you the cookie
Code: [Select]
data.token = getCookie('HFS_SID');

Pulled from other site about cookies, mby HTML/macro code like:
Code: [Select]

HFS ~ HTTP File Server / Re: Question regarding cookies
« on: December 17, 2019, 10:38:05 PM »
appache has a html php coded login site, while HFS has  delphi / pascal built in auth system

while html is using basic authentication

because HFS ( for security ) doent have a site or pin point html locaiton, apahce is able to php comand and acess vs hfs

if need id recomend a appache reverse proxy

HFS ~ HTTP File Server / Re: Uploading file from PHP
« on: December 17, 2019, 10:34:33 PM »
the answer is yes, but atm its out of my time frame and scope to do so

see here and other places on the fourm for remot uplad and lookint curl requests

HFS ~ HTTP File Server / Re: i've been hacked
« on: December 17, 2019, 10:33:04 PM »
request head is exactly that, just request the url header

in html

is only retrieved here

this would included cooki sid / encryption and other info to what webserver your using and other,
its normaly to see head request followed by other networking and request

in the white hacker ethical hacking course, this is an atempt to see what is running and what replies with what.

given the hack atempt, i would asume that the request was to see what version of hfs you were runnning with what web client and how they would atmpet a dos atack to your site

HFS ~ HTTP File Server / Re: Get Connections
« on: November 11, 2019, 06:06:07 PM »
i remember something with the hfs log and macro ...

something like macro command 
append %ip%

might have to become an hfs event
like syslog watch dog

Append log.txt %time% %ip%

something like that...

have you tried RMC(right mouse click) the house/root within hfs.

RMC > Properties > Different template tab

and pasting the myhfs.tpl code with the permissions you need.

then save the vfs file?

It doesn't matter what the name of hfs different template is.

But rejeto set it up to load dif.hfs.tpl next in line.

Surprised your running it though hfs via cmd execution.

Name doesn't matter aslo g as you opened hfs and told it to use etc name.tpl

(This might be a acl permissions issue or cmd copy while in use)

2 questions,

one InI file?
Did you save hfs as file to generate the ini file?

And is cmd ran as administrator?

i'm new to post man, so i'm not sure it is possible with post man.

I know that html post request and curl commands work to send raw data, so it should be possible, but i'm unaware of those setups and capabilities.

This would be more of a mars/rejeto as idk how hfs answers that raw data input.
the 200 Ok means that it at least authenticated and hit its link, so i don't think hfs (with out some macro code or other tpl html data) handled that raw input correctly.

the only other account i have found with getting a 200 OK response and a upload fail is here:;board=hfs-~-http-file-server;topic=changing-http-response-header.0

I vaguely remember having to add a html head for it to hit in response.

You might need to add a hfs diferent template or add some html code:

Code: [Select]
{.add to log|{.add header|Server:APACHE.}Macro ADD HEADER executed.}

is it apart of a separate tpl file?

i would edit the hfs default template, make a copy of it as a dif.hfs.tpl file to copy over and have hfs load the dif.hfs.tpl

could be a issue with copy while in use or a security thin when copied.

hard to tell with info provided.

not sure, but even with raw being forward ed, you have to define the contianer other wise its lost in transltion.

How are you sending this to hfs? a post request? xhtml post? curl?

more info is need for me to test. this might be a rejeto/mars question

or a template question...

HFS ~ HTTP File Server / Re: Maybe... Websockets?!!
« on: October 26, 2019, 09:41:10 PM »
may be with ubuntu wine and some iptable/ firewall commands.

Pages: [1] 2 3 ... 59