PineDominator Posted March 9, 2012 Share Posted March 9, 2012 does anyone know how to make a symbolic link in the /www/ folder? also php needs to be compatible I want to use the NYAN cat just like I've used the Rick roll on the mark3. here is what I want to do make a ext4 usb with 2 folders rick-roll and nyan-cats with the bigger files inside or maybe all the files? not sure how the symbolic link would work? is that at all possible? I am wanting to do this to place all or most of the custom websites/pages on the usb and keep as much space on the pineapple as possible. Thanks in advance:-) Quote Link to comment Share on other sites More sharing options...
telot Posted March 9, 2012 Share Posted March 9, 2012 (edited) does anyone know how to make a symbolic link in the /www/ folder? also php needs to be compatible I want to use the NYAN cat just like I've used the Rick roll on the mark3. here is what I want to do make a ext4 usb with 2 folders rick-roll and nyan-cats with the bigger files inside or maybe all the files? not sure how the symbolic link would work? is that at all possible? I am wanting to do this to place all or most of the custom websites/pages on the usb and keep as much space on the pineapple as possible. Thanks in advance:-) ln -s folder1 folder2 ln -s /var/www/rick /usb/www/rick ln -s /var/www/ /usb/www/nyan Having never done the DNSpoofing on the pineapple (I'm in it for the packets bro), I have no idea if you can folderize your DNS switcharoo, but if you can this is how it would go. Lemme know if it works! EDIT: Just saw your picture - awesome! telot Edited March 9, 2012 by telot Quote Link to comment Share on other sites More sharing options...
PineDominator Posted March 9, 2012 Author Share Posted March 9, 2012 ln -s folder1 folder2 ln -s /var/www/rick /usb/www/rick ln -s /var/www/ /usb/www/nyan Having never done the DNSpoofing on the pineapple (I'm in it for the packets bro), I have no idea if you can folderize your DNS switcharoo, but if you can this is how it would go. Lemme know if it works! EDIT: Just saw your picture - awesome! telot thanks:-) I will try this once I receive my mark4, hopefully soon. Quote Link to comment Share on other sites More sharing options...
PineDominator Posted March 10, 2012 Author Share Posted March 10, 2012 (edited) Ok so I got it working and so excited about putting full videos of rick rolles and whatever else we can think of. make a ext4 usb with all the files "nyan.html nyan.mp3 rickroll.html ect..." you can place them into a directory as well. then ssh into pineapple and issue this command ln -s /usb/htmlfiles/* /www/ this will make every file thats in htmlfiles a symbolic link in /www/ last thing you have to do is in the landing page script replace "redirect.php" with "nyan.html" or whatever you want to be redirected too:-D EDIT. use ln -s /usb/httpfiles/ /www/ with this command it keeps the /www/ folder a bit more organized just remember to change redirect.php in the landing page script to httpfiles/rickroll.html :-D Edited March 10, 2012 by petertfm Quote Link to comment Share on other sites More sharing options...
telot Posted March 10, 2012 Share Posted March 10, 2012 Ok so I got it working and so excited about putting full videos of rick rolles and whatever else we can think of. make a ext4 usb with all the files "nyan.html nyan.mp3 rickroll.html ect..." you can place them into a directory as well. then ssh into pineapple and issue this command ln -s /usb/htmlfiles/* /www/ this will make every file thats in htmlfiles a symbolic link in /www/ last thing you have to do is in the landing page script replace "redirect.php" with "nyan.html" or whatever you want to be redirected too:-D Swoot! Glad you got it working and thank you for sharing the results! telot Quote Link to comment Share on other sites More sharing options...
PineDominator Posted March 12, 2012 Author Share Posted March 12, 2012 (edited) I am using a modified version of nyan cats canadian taco uploaded here: http://forums.hak5.o...ndpost&p=197009 <HTML> <head> <Title>NYAN CAT!!! </Title> </head> <body bgcolor="#053366"> <center> <img src="nyancat.gif" align="middle" width="600" height="600" /> </center> <EMBED SRC=NYAN.mp3 AUTOSTART=true WIDTH=1 HEIGHT=1 LOOP=3> </body> </HTML> update index.html to the code above and include the posted image called nyancat.gif + NYAN.mp3 Edited March 12, 2012 by petertfm Quote Link to comment Share on other sites More sharing options...
CanadianTaco Posted March 12, 2012 Share Posted March 12, 2012 (edited) I am using a modified version of nyan cats canadian taco uploaded here: http://forums.hak5.o...ndpost&p=197009 <HTML> <head> <Title>NYAN CAT!!! </Title> </head> <body bgcolor="#053366"> <center> <img src="nyancat.gif" align="middle" width="600" height="600" /> </center> <EMBED SRC=NYAN.mp3 AUTOSTART=true WIDTH=1 HEIGHT=1 LOOP=3> </body> </HTML> update index.html to the code above and include the posted image called nyancat.gif + NYAN.mp3 Yea, my original one needed some editing/cleaning up, I think I made that for the MK2 back in the day... But anyway, I was just wondering how to go about doing all this, now you could potentially embed more content. I also noticed this info was also added to the wiki: http://wifipineapple.com/doku.php?id=usbdrive Now to fancy this all up with some CSS and whatnot! Thanks! -EDIT- Went back and found my original nyan cat thread: http://forums.hak5.org/index.php?showtopic=20651 and also noticed the nyan cat in the Cnet news article with Darren: http://news.cnet.com/8301-27080_3-57394887-245/sxsw-hot-spot-honeypot-hackers-heaven Edited March 12, 2012 by CanadianTaco Quote Link to comment Share on other sites More sharing options...
telot Posted March 12, 2012 Share Posted March 12, 2012 Yea, my original one needed some editing/cleaning up, I think I made that for the MK2 back in the day... But anyway, I was just wondering how to go about doing all this, now you could potentially embed more content. I also noticed this info was also added to the wiki: http://wifipineapple.com/doku.php?id=usbdrive Now to fancy this all up with some CSS and whatnot! Thanks! -EDIT- Went back and found my original nyan cat thread: http://forums.hak5.org/index.php?showtopic=20651 and also noticed the nyan cat in the Cnet news article with Darren: http://news.cnet.com/8301-27080_3-57394887-245/sxsw-hot-spot-honeypot-hackers-heaven Rofl from the article: "Kitchen sells his WiFi Pineapple for $90, mostly to governments and security professionals that are hired by corporations to do penetration testing of their own networks as part of security audits." Hehe telot Quote Link to comment Share on other sites More sharing options...
PineDominator Posted March 12, 2012 Author Share Posted March 12, 2012 Yea, my original one needed some editing/cleaning up, I think I made that for the MK2 back in the day... But anyway, I was just wondering how to go about doing all this, now you could potentially embed more content. I also noticed this info was also added to the wiki: http://wifipineapple...php?id=usbdrive Now to fancy this all up with some CSS and whatnot! Thanks! -EDIT- Went back and found my original nyan cat thread: http://forums.hak5.o...showtopic=20651 and also noticed the nyan cat in the Cnet news article with Darren: http://news.cnet.com...-hackers-heaven haha I also ripped a .mp4 video off youtube and then realized the video is just a .gif that repeats so looked and found the .gif used, also not sure if anyone has a fix for this but when using embed in html on my android phone does not work, I tried so many things to get it to work. rickroll and nyancat sound or video does not play:-( Quote Link to comment Share on other sites More sharing options...
PineDominator Posted March 12, 2012 Author Share Posted March 12, 2012 Be careful with permissions on the USB your making a symbolic link to. Assuming that you run into someone who knows a thing or two about computers when your out "pineappl-ing", he wil be able to access your USB which you symbolically link... So just be aware of the security. thanks for the heads up, will be on my mind when linking Morfir would a person have more access than read only? in this case from the http server should I make my http files read only? Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted March 12, 2012 Share Posted March 12, 2012 Remember everything runs as root on the pineapple. Best, Sebkinne Quote Link to comment Share on other sites More sharing options...
Whiskey Posted March 13, 2012 Share Posted March 13, 2012 I use the pineapple for nyan-catting as well! I've been doing it since the Mark II. Nothing quite as fun as hearing that song blasting from all over the Panera. Anyway, I created a full page scrape using chrome and modified it to work the way it should on the pineapple. I have included a link below. Functions identically to the actual website. non-stop nyan (7-zip file) (This link should be a public link, please inform me if it is non-functional, thanks.) Long time Pineapple user/forum lurker. This post made me come out of hiding. Enjoy! -Whiskey Quote Link to comment Share on other sites More sharing options...
PineDominator Posted March 13, 2012 Author Share Posted March 13, 2012 I use the pineapple for nyan-catting as well! I've been doing it since the Mark II. Nothing quite as fun as hearing that song blasting from all over the Panera. Anyway, I created a full page scrape using chrome and modified it to work the way it should on the pineapple. I have included a link below. Functions identically to the actual website. non-stop nyan (7-zip file) (This link should be a public link, please inform me if it is non-functional, thanks.) Long time Pineapple user/forum lurker. This post made me come out of hiding. Enjoy! -Whiskey Yours is the BEST:-D lol I love it, tons of java-script to make the whole page dance. mew mew mew Quote Link to comment Share on other sites More sharing options...
Whiskey Posted March 13, 2012 Share Posted March 13, 2012 Yours is the BEST:-D lol I love it, tons of java-script to make the whole page dance. mew mew mew Haha! Thanks. Happy to contribute. Quote Link to comment Share on other sites More sharing options...
Alias1 Posted March 15, 2012 Share Posted March 15, 2012 LOVE IT !!! 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.