UnDeFiNeD Posted June 10, 2011 Share Posted June 10, 2011 Hey guys, I followed the instructions to the letter, the Auto-RickRolling works, Jasager works (of course, I bought a preconfigured version) but when I tried the phishing part, I ran into a roadblock with php. Any .php file that I create (even with just plain text and no php tags) just causes the following to be displayed: No data received Unable to load the webpage because the server sent no data. Here are some suggestions: Reload this web page later. Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data. I have no clue what to do because i followed the video EXACTLY then went through the steps again from the written tut. NOTE: I am a windows user mostly and am not great with linux, but can find my way around simple commands. I would appreciate anyone helping to take that into account, thanks :) Quote Link to comment Share on other sites More sharing options...
UnDeFiNeD Posted June 10, 2011 Author Share Posted June 10, 2011 It appears the php file didnt have executable rights (wasn't green) so I chmod 755 it, still no luck... Quote Link to comment Share on other sites More sharing options...
TT0T Posted June 10, 2011 Share Posted June 10, 2011 Im having the same problem, Just got my pineapple yesterday and php won't work, all pages appear blank, at first it tried to download the file, now its always blank Quote Link to comment Share on other sites More sharing options...
baaronz Posted June 10, 2011 Share Posted June 10, 2011 I'm having the same problem. =/ Quote Link to comment Share on other sites More sharing options...
TT0T Posted June 10, 2011 Share Posted June 10, 2011 Now I just reflashed, did clean install, followed all instructions from rick roll & phish tutorial and still, everytime i try open .php it prompts to download....I'm sure darren missed something out.... Quote Link to comment Share on other sites More sharing options...
baaronz Posted June 10, 2011 Share Posted June 10, 2011 Damn... Guess i'm not reflashing then. Thanks for the warning. :P Quote Link to comment Share on other sites More sharing options...
UnDeFiNeD Posted June 10, 2011 Author Share Posted June 10, 2011 Now I just reflashed, did clean install, followed all instructions from rick roll & phish tutorial and still, everytime i try open .php it prompts to download....I'm sure darren missed something out.... That sounds like PHP isnt configured correctly. I would issue the command: "cat /etc/httpd.conf" (without quotes) and make sure that at the end of the file you see the line *.php:/usr/bin/php If it is, try "cd /www/" then "chmod 755 test.php" (replace test.php with whatever php file you are testing) to give execute rights That being said, im no expert so don't expect too much lol... Quote Link to comment Share on other sites More sharing options...
digip Posted June 10, 2011 Share Posted June 10, 2011 See here - http://forums.hak5.org/index.php?showtopic=20321 By the way, this should be put in the Jasegar forum section. Probably the reason no one has replied, as Robin aka Digininja is the one who usually helps people with jasegar stuff, and he probably follows those threads more closely than the rest of this stuff. He may have missed your questions. Quote Link to comment Share on other sites More sharing options...
TT0T Posted June 10, 2011 Share Posted June 10, 2011 See here - http://forums.hak5.org/index.php?showtopic=20321 By the way, this should be put in the Jasegar forum section. Probably the reason no one has replied, as Robin aka Digininja is the one who usually helps people with jasegar stuff, and he probably follows those threads more closely than the rest of this stuff. He may have missed your questions. no still not working, there is no . infront of my *.php Quote Link to comment Share on other sites More sharing options...
UnDeFiNeD Posted June 10, 2011 Author Share Posted June 10, 2011 Alright digip, sorry, I am kinda new, saw a forum named "Questions" and headed here first. I will repost it there. Thanks. Quote Link to comment Share on other sites More sharing options...
TT0T Posted June 10, 2011 Share Posted June 10, 2011 Alright digip, sorry, I am kinda new, saw a forum named "Questions" and headed here first. I will repost it there. Thanks. looooooooooooooooooooool I finally figured it out.... seems the echo command wasn't working out.. “echo “cgi.force_redirect 0″ >> /etc/php.ini” was showing 0 but it didnt change a thing, so I manually went on a hunt.... vi /etc/php.ini scrolled down to "; cgi.force_redirect = 0" and removed the ";" to make it look like "cgi.force_redirect = 0" soo simple, soo many hours wasted Quote Link to comment Share on other sites More sharing options...
rountrey Posted August 8, 2011 Share Posted August 8, 2011 the problem i have, that others have had, is that it wants to save the php files. i have triple checked and tested everything over and over again (i have 24 redirect.php files in my download folder). i have changed things back and forth for testing and nothing seems to work. i did follow the how-to's and tested (and backed up configs and /www after each step) everything works fine except for php my php.ini has the "cgi.force_redirect = 0", i have tried no "=" and no spaces, and even put in 1 to see what would happen. in httpd.conf i have the "*.php:/usr/bin/php", i even looked to make sure php was in /usr/bin/ but no luck with that fixing anything. i can rickroll, access jasager, or any html file just fine (moved webif to admin.html) but any php file it tries to download in chrome and firefox, ie just displays and unprocessed php file. the only thing i have left to try before a reflash is reinstalling php and php-cgi. I really don't know what else to do, so any help would be appreciated. as a side question: i cant get an ip address from the pineapple through wifi on my linux laptop (using wicd). is this common? meaning that linux cannot be tricked by the pineapple? Quote Link to comment Share on other sites More sharing options...
baaronz Posted August 9, 2011 Share Posted August 9, 2011 I got a fix for me. Don't know if it helps any of you guys. Instead of "cgi.force_redirect = 0" I put "cgi.force_redirect=0". And for "*.php:/usr/pin/php" I took out the asterisk so it looks exactly the same. Hope that helps. Quote Link to comment Share on other sites More sharing options...
WiFiN00b Posted August 31, 2011 Share Posted August 31, 2011 Been fiddling some more (another reflash and reinstall, and doing all the stuff written in this excellent forum. See my previous posts in the jasager part) but I'm as stuck as rountrey here above. baaronz trick didn't work for me either. However, I will do some more testing. I have my Pineapple hooked up via lan-cable to my pc, from where I do all the flashing etc. After a couple of weeks afk It struck me that when I try the test.php (crome, ie, firefox) and it tries to download... I do it from the cable-connected pc. Perhaps the magic only works from wifi-connections to the pineapple and not from cable-connected clients? Brb... Quote Link to comment Share on other sites More sharing options...
WiFiN00b Posted August 31, 2011 Share Posted August 31, 2011 (edited) Still no luck, same response via wifi-connection. I really need to learn more linux so I can troubleshoot this with more success. Php -v looks good, just seems that php isn't parsing the file serverside. And yes, all the mods has been done, and all(?) variants has been tested. NyanCat works like a charm, but I think that my freeloading neighbours are getting tired of it... [edit] Access rights? Since php was installed by root I guess that I dont't need to fiddle with chmod, or...? Edited August 31, 2011 by WiFiN00b Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.