[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GSoC: Adding a web interface similar to the Hydra web interface
From: |
Danny Milosavljevic |
Subject: |
Re: GSoC: Adding a web interface similar to the Hydra web interface |
Date: |
Sun, 13 May 2018 21:54:22 +0200 |
Hi Tatiana,
> I have taken a look at Danny's Cuirass frontend application. Now I try to
> run it locally. I have already figured out that I need to change URLPREFIX
> and name of the repository and the branch in the code. But I still can't
> get it working. According to the browser console, all the queries to
> localhost sent by js receive following error:
>
> "No 'Access-Control-Allow-Origin' header is present on the requested
> resource. Origin 'null' is therefore not allowed access."
>
> But similar queries work well if I enter them manually via the browser or
> curl. Could you give me any hints on that?
You're trying to run it as a file from your local computer, right?
Then it's security settings in your web browser preventing cross-site scripting
attacks.
If you use icecat, please install this extension:
https://addons.mozilla.org/de/firefox/addon/cors-everywhere/
There's an square icon at the top right of the icecat window then (it says
"cors").
If you click on it it will toggle between green and red.
When it's green it means that it will let all requests pass. WHEN IT'S GREEN,
DON'T USE ONLINE BANKING or similar in the same session.
But the index.html frontend application will work just fine then :)
When it's red it means that cross-site scripting attack protection is online.
If in doubt, leave it red. It should be red most of the time.
I myself develop like that:
For testing,
* Switch CorsE to green
* Refresh Cuirass frontend index.html page
* Try some stuff
* Close Cuirass frontend index.html page
* Switch CorsE to red
- GSoC: Adding a web interface similar to the Hydra web interface, Tatiana Sholokhova, 2018/05/03
- Re: GSoC: Adding a web interface similar to the Hydra web interface, Maxim Cournoyer, 2018/05/03
- Re: GSoC: Adding a web interface similar to the Hydra web interface, Ludovic Courtès, 2018/05/04
- Re: GSoC: Adding a web interface similar to the Hydra web interface, Ricardo Wurmus, 2018/05/05
- Re: GSoC: Adding a web interface similar to the Hydra web interface, Danny Milosavljevic, 2018/05/08
- Re: GSoC: Adding a web interface similar to the Hydra web interface, Ricardo Wurmus, 2018/05/09
- Re: GSoC: Adding a web interface similar to the Hydra web interface, Tatiana Sholokhova, 2018/05/13
- Re: GSoC: Adding a web interface similar to the Hydra web interface, Gábor Boskovits, 2018/05/13
- Re: GSoC: Adding a web interface similar to the Hydra web interface, Tonton, 2018/05/13
- Re: GSoC: Adding a web interface similar to the Hydra web interface,
Danny Milosavljevic <=
- Re: GSoC: Adding a web interface similar to the Hydra web interface, Ricardo Wurmus, 2018/05/14
- Re: GSoC: Adding a web interface similar to the Hydra web interface, Tatiana Sholokhova, 2018/05/17
- Re: GSoC: Adding a web interface similar to the Hydra web interface, Ricardo Wurmus, 2018/05/18
- Re: GSoC: Adding a web interface similar to the Hydra web interface, Tatiana Sholokhova, 2018/05/21
- Re: GSoC: Adding a web interface similar to the Hydra web interface, Ricardo Wurmus, 2018/05/22
- Re: GSoC: Adding a web interface similar to the Hydra web interface, Tatiana Sholokhova, 2018/05/23
- Re: GSoC: Adding a web interface similar to the Hydra web interface, Ricardo Wurmus, 2018/05/24
- Message not available
- Re: GSoC: Adding a web interface similar to the Hydra web interface, Ricardo Wurmus, 2018/05/28
- Re: GSoC: Adding a web interface similar to the Hydra web interface, Ludovic Courtès, 2018/05/29
- Re: GSoC: Adding a web interface similar to the Hydra web interface, Gábor Boskovits, 2018/05/29