Hack Forums
Sentry MBA - I agree pop up before accessing login page - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4)
+---- Thread: Sentry MBA - I agree pop up before accessing login page (/showthread.php?tid=5706119)



Sentry MBA - I agree pop up before accessing login page - David Laid - Aug 29, 2017

Hello,
im having problem with sentry i need to accept terms before accessing the login page.
any ideas?


* - ᴅɪᴤʀᴜᴘᴛɪᴠᴇ. - Aug 29, 2017

Uhm yeah. The state of the checkbox is sent, as the rest of the form, in an HTTP POST request. So you can just use another stage (e.g. with variables) to sent that data and then redirect.


* - David Laid - Aug 29, 2017

(Aug 29, 2017 11:33 AM)ᴅɪᴤʀᴜᴘᴛɪᴠᴇ. Wrote:  Uhm yeah. The state of the checkbox is sent, as the rest of the form, in an HTTP POST request. So you can just use another stage (e.g. with variables) to sent that data and then redirect.

Thanks for help, still cant figure this out.. variables damn i hate them...
I set stage to "Post Action" but after that im really not sure what to do...

Part of source code:
PHP Code

<?php 
<section id="content">
                                                        <
div id="myModal" class="reveal-modal"> 
                                                            <
h2>Enter site</h2>
                                                            <
p>You must be XX years .</p>
                                                            <
p>Please accept or disagree</p>

                                                            <
button id="agreeee" class="button close-it" type="button">YES proceed</button>
                                                            <
button id="disagreee" class="button" type="button"><a href="http://yahoo.com">No</a></button>
                                                        </
div>