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 ... 56
1
?
https://duo.com/
https://duo.com/docs/duoweb

is it posible to html code in hfs yes, i'm not familura with duo nor its web api.

from what i see:

First Steps
Before starting:

Sign up for a Duo account.
Log in to the Duo Admin Panel and navigate to Applications.
Click Protect an Application and locate Web SDK in the applications list. Click Protect this Application to get your integration key, secret key, and API hostname. (See Getting Started for help.)
Download and install a supported client library (Python, Ruby, Classic ASP, ASP.NET, Java, PHP, Node.js, ColdFusion, Perl).
Use NTP to ensure that your server's time is correct.

you need to download and setup a client libary. (id recomend java)
and use the iframe souce form the document

--------------
The problem, HFS at the moment doen't support php, not is ther a predeveloped webcode form there site for hfs to intergrate. you wil lahve to manualy code or contact them for html coding support to intergrate it into hfs.

Contact Support
support@duo.com
Call Sales
1.866.760.4247
Email Sales
Contact Sales

2
so yes this can be macro coded. My curent working theory on the mater. as i don't have time to test and cod such a thing...

you will have to have Your iot device send the data via htmp Fake php strings... add url secondary data via a ? and post url red write data via & ...

-----------------
This is why i also sent you to a working post method
i sent you leo simple contact template as that has the codes you will need to modify for the macro code/hfs side to accept the url string.

------------------

Hfs base line:
You will have to create a vitural folder in HFS

You will have to code a Macro script form

----------------------
You wil lhave to setup the iot to talk to the vitural folder sending a url full string example:
(Pulled form a sucessful post of the url data sent to hfs via macro write - with is wht you would use to post upload)

you will send the requested data via example: /Contact/?name=Brandon+Martino&email=my@test.com&subject=ff&message=pass+pass+pas&SubmitMessage=something
**********

so your sending data via the field on your virtual folder script.
[DEVICE_UUID\signal_log\DATE\]

decoding the example log and breakdown via url sending(the ### would be the data the iot device is sending...)

THis would be example of what your iot device making the request might look like
http://hfs-ip/Vituralfolder/?field-UUID=#####&Nextfield-SignalLog=######&Nextfield-date=######&nextfield-file=file.cvs

IOT would send something like this via your previos post

http://xxx.xxx.xxx.xxx/vituralfolder/?UUID=WISE4012_1234&Signallog=signal_log&date=20190102&file=2235.csv
----------------

HFS setup:

the viturl folder can use a macro to take the field
field-UUID=#####
Nextfield-SignalLog=######
Nextfield-date=######

and creat a realfolder via macro script
http://www.rejetto.com/wiki/index.php/HFS:_scripting_commands
mkdir | A
creates the specified folder. URI is supported in A, but it must refer a real folder.

then uplaod the cvs file to hfs:
nextfield-file=file.cvs

Code: [Select]
{.save|/%folder%/Private-Message-{.time|yyyy.mm.dd'-at-'hh.nn.ss.}
you could even skip some field formt eh form for the date.

this is the best i can do for yo on short notice

3
How are you uiplading the file to HFS???

Are you going to hfs web page folder and clicking the uplaod button?

IF not, there is your problems.

Other wise we have to edit and chage some scritps to faciualt your needs by goin to a webpage selecting the file and uploading the data via a pst request:
http://rejetto.com/forum/index.php?topic=12122.msg1062964#msg1062964
*simple contact template has some solution for you to pull the code and re write.

--
you have to have these folder path in order to uplad adn the first - last folder having upload permision:
DEVICE_UUID\signal_log\DATE\

add a real folder to HFS > Righte mouse click > Protperties > permision tab > Upload tab > (set anyone for open folder to the web for upload.

LOG:
7:42:21 AM 10.0.0.50:1437 Requested GET /Upload/
7:42:21 AM 10.0.0.50:1438 Requested GET /?mode=jquery
7:42:24 AM 10.0.0.50:1439 Requested GET /Upload/
7:42:24 AM 10.0.0.50:1440 Requested GET /?mode=jquery
7:42:44 AM 10.0.0.50:1441 Uploading lock pc.bat
7:42:44 AM 10.0.0.50:1441 Fully uploaded lock pc.bat - 40 @ 7.8 KB/s
7:42:44 AM 10.0.0.50:1441 Requested POST /Upload/
7:42:59 AM 10.0.0.50:1437 Requested GET /Upload/
7:42:59 AM 10.0.0.50:1441 Requested GET /?mode=jquery

see picture for result on client side to upload...

4
HFS ~ HTTP File Server / Re: My questions regarding HFS
« on: April 04, 2019, 12:27:01 PM »
then you will need to bind hfs to the root folder. if its a real folder it should be updateing and searching that folder automaticaly.

5
HTML & templates / Re: Simple contact template
« on: March 24, 2019, 08:04:10 PM »
For witch one? I put this project aside I could fox the various bugs here and there...

Macro-Method = Using Form + Macros (without needing upload permissions)
XML-Method = Using XMLHttpRequest (needs upload permissions to anyone)
EML-Email = Same as XML-Method, but it saves in .eml format instead of .txt

Either pull from the first post on here by leo or go to my post with detail and code change (adds validation).

6
HFS ~ HTTP File Server / Re: HFS behind Nginx reverse proxy
« on: March 08, 2019, 01:23:02 PM »
follow the link http://rejetto.com/forum/index.php?topic=11379.0,fix it。

??? Nothing to fix it all in nginx setup and how you edit hfs in on top of internal hfs setting and path location...

Quote from rejeto:

it's possible, but disabled for security reasons.

You have to edit the INI file
as reported here
http://www.rejetto.com/forum/hfs-~-http-file-server/requestshow-ip-address-by-using-forwarded-ip/msg1037912/#msg1037912


save configuration to INI
quit HFS
edit INI
change the value
save
run hfs

7
HFS ~ HTTP File Server / Re: No ip, https and ssl
« on: March 02, 2019, 02:56:40 AM »
??? CSR ... https://www.noip.com/support/knowledgebase/how-do-i-create-a-csr-for-my-ssl-certificate/

No IP can't give your hfs secure tunels.
http://rejetto.com/forum/index.php?topic=11245.msg1058480#msg1058480

No IP just needs your public IP and a port for for forwarding the domain name to the site...

You will problay have to setup hfs and stunnel and run the open SSL key creation and send the cert off to no IP for https forwarding. As the domain name doesn't encrpt your traffic to the server.

8
HTML & templates / Re: Chat for HFS.
« on: March 01, 2019, 01:48:10 PM »
Quote: "
This all not working, if async = false, and need async = true ;)

_-------

So I understand a bit better for testing this?
So your having issues with the xhtml codes when trying the async option?

What tool are you using to view the header? I use Wireshark and chrome built in html console.

My next question is are you using a xhtml doc type and file format?

9
HFS ~ HTTP File Server / Re: Allowed referrer question
« on: March 01, 2019, 01:44:05 PM »
Sounds like you need to setup a spider bit text file and some other security.

Out of curiosity, why are you still running 2.2f, the latest stable version is 2.3m ?

As for the crawling bots first setup a robottxt file and at it to the root of hfs:
https://varvy.com/robottxt.html


10
Yes. You will.have to redefine mime types and check the box under the option to open directly in browser.

http://rejetto.com/forum/index.php?topic=11400.msg1059164#msg1059164

hfs > menu > Other options > mime types

put a check mark in the box ("Open directly in browser when MIME type is defined")
added/change (see picture of the mime types)
http://rejetto.com/forum/index.php?action=dlattach;topic=11400.0;attach=7601





11
HFS ~ HTTP File Server / Re: New version: 2.3m
« on: March 01, 2019, 01:37:53 PM »
I download the new version and the antivirus VirusScan found this TROIAN!!!!!!!!!!!!!!!!!!
GenericR-OSZ!2FB25BDFFB4D

Redownload I have ran multiple test and found no such problem

12
HFS ~ HTTP File Server / Re: CORS header - can't get this to work
« on: March 01, 2019, 01:33:42 PM »
i would try events instead changing the template
Menu > other options > edit event scripts
then put this
Code: [Select]
[download]
{.add header | Access-Control-Allow-Origin: * .}

More of a question for rejeto. (As I wouldn't know how to tell the full coros hand shake and see it. I'd wore shark the packet to see the header.

As long as you followed rejeto instructions this should.be working g on the stable build

13
Bug reports / Re: Exploits
« on: March 01, 2019, 01:31:47 PM »
What is this: https://www.exploit-db.com/exploits/39161
Is this fixed? How to fix this?

Yes, that was the original 2014 remote command verio . The bug was I. The search setting with the template I. Wothch special characters when searched (such as the null byte). This has been patch by multiple versions atm.

14
Bug reports / Re: Too many antivirus engine think hfs.exe is a virus...
« on: February 20, 2019, 12:00:30 AM »
Yes, but hfs is a portable excutable. No insulation windows or process.

Fhfs has a install process due to ftp filezilla.

15
HFS ~ HTTP File Server / Re: Download rate limit 2 at a time
« on: February 11, 2019, 01:56:01 PM »
i couldn't find the option in the menu anymore...

i made a setup that might work for you.
see picture

Steps is folder structure

C:/webroot/HFS.exe

C webroot has another folder in it
HFS folder (bind root to this folder)

HFS folder has a folder in it
(site 1)
Site 1 is the start of you webpage... (as a real folder)

as you can see in the folders with option you can have a view but no downloads..

(there are header redirects for download mangers) but the solution to activating) a download site is user account with access to download and add the same folder again)

Pages: [1] 2 3 ... 56