sickduck Posted July 8, 2012 Share Posted July 8, 2012 Pineapple Hardware Version (ex: Mark III, Mark IV, etc.): Mark IV Pineapple Software Version (ex: Shmoocon Beta, 1.0, etc.): 2.31 OS used to connect to the pineapple: Windows 7 All the tools/options that are running on the pineapple when the issue happened: No, fresh reflash Is the problem repeatable (Yes/No): Yes Steps taken which created the problem: http://forums.hak5.org/index.php?showtopic=25882 Error Messages: scp: /root/php4-cgi_4.4.7-1_mips.ipk: No space left on device Log file information: I followed the instructions at http://forums.hak5.org/index.php?showtopic=25882 to enable USB swap. I tried to instal the phish-pineapple stuff from http://hak5.org/hack/pineapple-phishing and I always get a "No space left on device" error when I SCP the install files to the pineapple. df confirms that it is full but I thought by using the USB swap it would allow it more space. root@Pineapple:~# mount rootfs on / type rootfs (rw) /dev/root on /rom type squashfs (ro,relatime) proc on /proc type proc (rw,noatime) sysfs on /sys type sysfs (rw,noatime) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=14764k) tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755) devpts on /dev/pts type devpts (rw,noatime,mode=600) /dev/mtdblock3 on /overlay type jffs2 (rw,noatime) overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay) debugfs on /sys/kernel/debug type debugfs (rw,relatime) /dev/sda1 on /usb type ext4 (rw,sync,relatime,user_xattr,barrier=1,data=ordered) none on /proc/bus/usb type usbfs (rw,relatime) root@Pineapple:~# df -h Filesystem Size Used Available Use% Mounted on rootfs 896.0K 220.0K 676.0K 25% / /dev/root 5.3M 5.3M 0 100% /rom tmpfs 14.4M 100.0K 14.3M 1% /tmp tmpfs 512.0K 0 512.0K 0% /dev /dev/mtdblock3 896.0K 220.0K 676.0K 25% /overlay overlayfs:/overlay 896.0K 220.0K 676.0K 25% / /dev/sda1 2.8G 106.3M 2.5G 4% /usb root@Pineapple:~# free total used free shared buffers Mem: 29524 24344 5180 0 3360 -/+ buffers: 20984 8540 Swap: 980216 0 980216 root@Pineapple:~# After I attempt to SCP the files to /root I get the error "scp: /root/php4-cgi_4.4.7-1_mips.ipk: No space left on device" and df shows root@Pineapple:/usb/modules/sslstrip# df -h Filesystem Size Used Available Use% Mounted on rootfs 896.0K 888.0K 8.0K 99% / /dev/root 5.3M 5.3M 0 100% /rom tmpfs 14.4M 1.8M 12.6M 12% /tmp tmpfs 512.0K 0 512.0K 0% /dev /dev/mtdblock3 896.0K 888.0K 8.0K 99% /overlay overlayfs:/overlay 896.0K 888.0K 8.0K 99% / /dev/sda1 2.8G 125.6M 2.5G 5% /usb Is there something wrong with my setup? Or is the Pineapple Phishing tutorial no longer valid on the MK4? Must I install everything on the USB? Quote Link to comment Share on other sites More sharing options...
Molotof Posted July 8, 2012 Share Posted July 8, 2012 (edited) If you take a second look at your post and see mount / which is root you will see that the space left on it is 8.0 KB. You can SCP to /usb or /tmp then opkg install --dest usb any ipk you like. Edit : on second thought PHP is already installed on the mk4 , do a opkg --list and you will see what is already installed so you would not mess up your pineapple, the tutorial is a guideline not to be taken as step by step for mk4, was ment for the Fon 2100. Edited July 8, 2012 by Molotof Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted July 8, 2012 Share Posted July 8, 2012 Do not install php. It is pre-installed and configured. Otherwise, scp to /tmp/ or /usb/ Swap will increase RAM. So no, it does not give you more storage on your "/" partition. Best, Sebkinne Quote Link to comment Share on other sites More sharing options...
sickduck Posted July 8, 2012 Author Share Posted July 8, 2012 Thank you all very much. I think I got it working partly. I didn't install any of the packages. I just copied the HTML and PHP files to /www and the other folders (Such as facebook_files) to /usb/www/ then created a symbolic link in /www to the /usb/www folder. However, I cannot get it to redirect properly. I have DNS spoof running and on my test machine when I go to http://www.facebook.com for example it takes me to the redirect.php page and displays the Peets landing page and does not redirect to facebook.html like it should with "if (strpos($ref, "facebook")) { header('Location: facebook.html'); }" 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.