HomoHabilis Posted May 9, 2011 Share Posted May 9, 2011 (edited) Greetings fellow pineapple lovers! I don’t know if it is any useful to you (I would love to have what I’m writing right now a few days ago anyways). Before we start, know if you cannot undo changes you've done to your pineapple consider reflashing it (reflash guide on the hak5.org homepage) or Here. *Note :If you have changed your pineapple IP to something else than 192.168.1.1, after the flashing utility closes, change the static ip of your Ethernet adapter to IP : 192.168.1.(any value int that ip range not 0 not 255) ex: 192.168.1.113 MASK: 255.255.255.0 Gateway: 192.168.1.1 (your pineapple IP) since the default ip of the pineapple after reflash is 192.168.1.1 First of all, if you want to follow the tutorial, take note of the weird corruption inside wireless file. Erase everything above this line root@OpenWrt:/etc/config# cat wireless Including the line ;) if the wireless file looks like this: config wifi-device wifi0 option type atheros option channel 5 option mode '11bg' option diversity '0' option disabled '0' config wifi-iface option device wifi0 option network lan option mode ap option ssid 'Get RickRolld' option encryption none option hidden '0' option isolate '0' option txpower '0' option bgscan '0' option wds '0' than no need to remove anything ;) Secondly, the dhcp file doesn’t allow a client to acquire an IP adress... So,I screwd it up a little … you can try this one : config dhcp option interface lan option start 100 option limit 150 option leasetime '720m' config dhcp option interface wan option ignore '1' option start '100' option limit '150' option leasetime '720m' config dnsmasq option authoritative '1' option domain 'lan' option local '/lan/' option boguspriv '0' option filterwin2k '0' option localise_queries '1' option expandhosts '1' option nonegcache '0' option readethers '1' option leasefile '/tmp/dhcp.leases' Thirdly, if you have webif, before moving Rick’s index.html into /www Change webif’s index.html to any .html filename you like…. In case you need webif after… http://yourPineappleIP/nameOFwebIf.html Finally, take note, https:// URLs from bookmarks and even “aaaa” typed in the browser will give an error, wouldn’t it be nice to set 404 error to the /www/index.html? touch /etc/rrhttpd.conf echo "E404:/www/index.html" > /etc/rrhttpd.conf open up /etc/init.d/httpd above thos line: eval "$HTTPD_BIN $args" add the line append args "-c /etc/rrhttpd.conf" UPD: I think editing the httpd doesn't require system reboot, anyways try: /etc/init.d/httpd restart Modified (a little) Source for this final step are from guide :by Psychosis Note: if you do this Webif will print out a page saying "Permission denied" if you want to modify something using webif just comment the line in /etc/init.d/httpd by adding a pound, like this: #append args "-c /etc/rrhttpd.conf" Note: everytime you modify the file you need to rebot or restart httpd hope this would help n00bs just likemyself. Edited May 15, 2011 by HomoHabilis Quote Link to comment Share on other sites More sharing options...
VoodooTorture Posted May 12, 2011 Share Posted May 12, 2011 HH Thanks so much for this. However I am having one problem that I was hoping you may know or at least point me in the right direction. I did all the config steps for my RickRoll Pineapple. Everything works except for the fact that if I go to 192.168.1.1 I am prompted for the webif password. If I enter it in, I will get the RickRoll page. I want it to not prompt for a password and to automatically bring up the page. I think I need to stop webif but I'm not sure how to do this. Anyone else having this issue? Still pretty new to linux so if the solution is "obvious" my apologies. Thanks! Quote Link to comment Share on other sites More sharing options...
VoodooTorture Posted May 13, 2011 Share Posted May 13, 2011 Ok, I got it working. The problem was I still had the old build on there so I reflashed the pineapple and redid the steps and all is well. I guess if all else fails...reflash. Quote Link to comment Share on other sites More sharing options...
HomoHabilis Posted May 15, 2011 Author Share Posted May 15, 2011 (edited) I've reflashed my fon 3 times the day before writing this topic... Reflash is an option if you screw something up, but don't reflash too often. UPD: Pineapple is a nice toy, however it requires a basic(maybe Intermediate) knowledge in Networking All tutorials and stuff assume that a pineapple owner knows such things as - what network mask is used for - what is the ip class - what is the gateway etc.. so for a Brand new person, I would recommend to study basic networking first Edited May 15, 2011 by HomoHabilis Quote Link to comment Share on other sites More sharing options...
PC646 Posted May 16, 2011 Share Posted May 16, 2011 When I log in and look at the ROOT level I see 15+ directories vs. on the episode I don't see any directories or files in the root access. Should I delete them? Am I looking in the wrong area? Thanks Quote Link to comment Share on other sites More sharing options...
HomoHabilis Posted May 17, 2011 Author Share Posted May 17, 2011 (edited) Did you reflash pineapple or installed something on it? I presume you are talking about this take note : /root .Its root home, if my memory doesn't fail on me. If you are in / which is root level than its probably like this? Edited May 17, 2011 by HomoHabilis Quote Link to comment Share on other sites More sharing options...
chiva Posted November 11, 2011 Share Posted November 11, 2011 Just wanted to add a custom payload I did a while back (and its on the link HomoHabilis references in the first post), based on the Nyan Cat. I have just done a couple of fixes to it and also built a custom firmware, based on the Jasager, with everything ready to flash and go, so there is no place for error. Would be nice if you could test it and suggest improvements as everything works in one's own hardware. Here is the project page: https://github.com/chiva/Nyager Thanks! Quote Link to comment Share on other sites More sharing options...
TheAbraxas Posted October 7, 2013 Share Posted October 7, 2013 So I started following the guide for this on a new pineapple...which is apparently a very different version. It did not work. At all. (I did change the IP information from 192.... like this is to the 172... the current version is using but that was not sufficient) Anyone have a guide to get this to work on modern pineapples? Quote Link to comment Share on other sites More sharing options...
deathdealerxx Posted October 7, 2013 Share Posted October 7, 2013 So I started following the guide for this on a new pineapple...which is apparently a very different version. It did not work. At all. (I did change the IP information from 192.... like this is to the 172... the current version is using but that was not sufficient) Anyone have a guide to get this to work on modern pineapples? There are things called infusions that will allow what your asking. However if your running the new 3.0 firmware then you will not be able to install that infusion due to the fact that it has not been ported from 2.x.x to 3.0 If you are running 3.0 you need to downgrade to 2.8.x and install the rickroll infusion and its pretty straight forward once you get the infusion installed. If you need more help let us know and I'm sure someone can walk you through all steps. Also read this... https://forums.hak5.org/index.php?/topic/27380-randomroll/ Quote Link to comment Share on other sites More sharing options...
TheAbraxas Posted October 7, 2013 Share Posted October 7, 2013 Thanks so much! I might have bricked mine after the reboot command (definitely should've read more instead of being like 'OMG SO COOL IM GOING TO DO THIS RIGHT NOW') so after I get home I'll see what the state of things are and then get back to you. Thanks so much for the quick reply! 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.