Jump to content

Disk is full - How do I clean it up


StealthNet

Recommended Posts

Posted

So after issues with C2, I deleted the device.config and wanted to do a local recon. I made a change to the interfaces and got an "exit status 1" and the change didn't take. I checked and the disk is full, not sure how I only have Evil Portal and HTTP Peek on it.

My question is how (and what) do I cleanup the root so I can make config changes and run a recon?

 

Thanks in advance

Posted

Difficult to say not having the full picture, but the easiest way is probably to do a factory reset/firmware recovery and start over from scratch instead of trying to find whatever has filled the storage of the Pineapple.

What's the output if you run the df command?

df -h

 

Posted

I would do that but I can't get my USB cable to act like Ethernet so no way to get to it once in reset mode. I have deleted all packages off the device but disk is still full...

 

Directory query is:

 

root@SNS-Pine1:~# df -h

Filesystem                Size      Used Available Use% Mounted on

/dev/root                21.8M     21.8M         0 100% /rom

tmpfs                   123.7M      2.9M    120.8M   2% /tmp

/dev/mmcblk0              1.8G      1.8G         0 100% /overlay

overlayfs:/overlay        1.8G      1.8G         0 100% /

tmpfs                   512.0K         0    512.0K   0% /dev

Posted
4 hours ago, dark_pyrro said:

Try some other cables in the case the one you are using is "power only" (or defective in some way).

Can you give me an idea of what cables? I have USB to Ethernet and it works fine, but USB to USB does not come up as an Ethernet adapter.

 

Thanks

Posted

USB to Ethernet won't cut the cake. You can try a USB-C to USB-C or USB-C to Type A depending on what port you have available on the computer you're connecting the Pineapple to. What OS are you using on the computer?

  • 4 weeks later...
Posted

If you have access to the booted pineapple, check the /root/loot/ directory (as that's typically where all the recon and other stuff goes).

du -h /root/loot

should show you the size of your loot directory at the end of the list of other contained folders. there's a log.db and recon.db that is in the /root/ folder itself which could get pretty big.

secondly, the usbc to usbc cable that came with it should work fine. you just have to manually define the networking on your host computer so you can interface properly https://docs.hak5.org/wifi-pineapple/setup/connecting-to-the-wifi-pineapple-on-windows

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...