Search the Community
Showing results for tags 'evilportal'.
-
I am trying to use the evil portal module to open an external URL, but a message always appears saying that the connection is not secure and the web does not open. I tried adding this script to index.php: <script> window.location.href = "https://google.com"; </script> And also tried this: <form action="https://www.google.com">" I don't know what can happen, whenever I want to open an external URL from the captive portal, the security error appears, as if I couldn't use https, but my website does have https. Normal portals do work for me, the problem is when putting an external url. I have never created captive portals and my failure is probably silly, if anyone knows what can happen, I would really appreciate it. (sorry for my english, i use a translator 😅)
-
Hey there, I need some help with coding a redirect to a specific website after a user authenticates through my wireless AP via EvilPortal. You know with the code: <form method="POST" action="/captiveportal/index.php" onsubmit="redirect()"> <input type="hidden" name="target" value="<?=$destination?>"> <button type="submit">Press here to Connect</button> </form> The user clicks the button to authenticate the connect and is re-directed to a white landing page that displays random texts like "Success, You Have been authorized, etc". Right so, I'm trying to input a code to where after the user reaches this page, they're redirected to a website but having trouble doing this. I've tried using <a href="(website)</a> .... window.location.href ,etc. am I not doing it right? I've done this before in the past but cannot remember how I've done it. Please help, Thanks!
-
- redirect
- html redirect
-
(and 1 more)
Tagged with:
-
Hi, i have gone through the tutorials for the evilportal module, and now wanted to create a portal on my own for my needs.... I followed the tutorial from frozenjava (which was posted in the forums quite some time ago...), but im having trouble "bending" the code for my needs (basiclly im trying to: get input from "user" and "pass" text field from index.php and print it to a file in /www )... code in index.php: <snip> code in capture.php: <?php $user = $_GET["user"]; $pass = $_GET["pass"]; $redir = $_GET["redir"]; $file = fopen("stored.txt", "a"); fwrite($file, $user . "\n"); fwrite($file, $pass . "\n"); fclose($file); echo '<script type="text/javascript">window.location = "' . $redir . '"</script>'; ?> I think im messing things up with the variables, but im very inexperienced thus i need some help... (oh btw: i didnt get that myportal.php replaced capture.php (i think) at first, so that i manually created my captured.php...) Thanks in advance ;)
- 4 replies
-
- evilportal
- javascript
-
(and 2 more)
Tagged with: