Search the Community
Showing results for tags 'Chroot'.
Hi, I have a nexus 5 and I've installed Kali nethunter on there with no problems but I've tried to run commands such as apt-get update, apt-get install ect.. but it always says err 404 and the E: failed to fetch some archives maybe run apt-get update or try with --fix-missing? Can anyone please help explain how I can fix this, thanks
My first thread here on Hak5, so bare with me I don't follow rules. If I violate anything please ask me to stop, within reason I will comply. I'm just going to say this one time: I'm not responsible for your poor decision to do this. You break it, youre buying a new one, not me. Blame me for anything and I will laugh in your face, and make fun of you to my friends. That being said, lets start hacking some Pineapples! Goals: I want to construct a chroot environment discussed here by Matt Burch https://www.optiv.com/blog/pineapple-corporate-toolkit-part-1 Where he discusses capturing enterprise credentials from RADIUS servers using EAP authentication. We begin by sshing to the pineapple and sending the update command opkg update And setting up fstab with an external powered usb hub and a 16gb thumbdrive. In linux, format the drive as an extended partition. Setting the majority of the drive as ext4 and the remaining portion as swap space.Here is a copy of my fstab config global automount option from_fstab 1 option anon_mount 1 config global autoswap option from_fstab 1 option anon_swap 1 config mount option target /usb option device /dev/sda5 option fstype ext4 option options rw,sync option enabled 1 option enabled_fsck 0 config swap option device /dev/sda6 option enabled 1 From what I understand so far, we are going to need a copy of the Hak5 Tetra firmware.bin So pulling the git to my linux machine, my layout looks like this: git clone https://github.com/WiFiPineapple/openwrt-pineapple-tetra.git ~/Desktop/PINESHIT/pineGIT There are several prerequisites for the host nix machine that are not always easy to find/fix. For example, to get the required libz-dev and libc headers I had to install sudo aptitude build-dep nginx Open ~/Desktop/PINESHIT/pineGIT/openwrt-pineapple-tetra and run sudo make-config This will open the GUI for building a custom image for the Tetra. So there are about 2000 customization options. If you chose something that the pineapple dosent like, you may end up with a fruity brick. Study and understand what you are building, and what the options are. Start with blind compiling an image just to make sure that it builds. Meaning dont chose any options, just complete a build, not be saved, used or tested. If it completes, then our build space is solid and we can start understanding the build requirements to ensure full awesomeness. My init build took about 4 hours on Ubuntu 16.04.1 LTS 2gb RAM 2 i7 4770R @3.20GHz. It completed, but the next 2 didn't because I didnt invoke with sudo. sudo make -j1 V=s Also, I'm stuck with chroot giving me unhelpful feedback. root@BDU_Fruit:~# chroot /usb/chroot chroot: can't execute '/bin/ash': No such file or directory root@BDU_Fruit:~# Until I can get passed the chroot my project is dead in the water. I ask the community to help me finish! Hows that go.... apt-get help
Hey all, I have been using my Chromebook as my daily driver and using a Kali XFCE4 chroot as my pentest distro. I was wondering if anyone knew how I could install Gnome Ubuntu, on crouton. I tried to install it with targets Gnome, Gnome-Desktop, and Ubuntu Xenial, but it came up with an error: This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: gnome-session-flashback E: Package 'gnome-session-fallback' has no installation candidate Failed to complete chroot setup. Does anyone know what I can do? Here are my laptop specs: Chrome OS - ASUS C200 Version 48.0.2564.109 (64-bit) Developer Mode Enabled 8Gb Storage 2Gb Ram The crouton command I have been trying to use is as follows: sudo sh -e ~/Downloads/crouton -r xenial -t audio,xorg,xiwi,extension,gnome,gnome-desktop,gtk-extra,x11,keyboard -n test Any would be greatly appreciated