Virtualbox in a restricted environment

# Virtualbox in a restricted environment
# gist: 

# download proxychains via http and install
sudo dpkg -i libproxychains4_4.12-1_amd64.deb
sudo dpkg -i proxychains4_4.12-1_amd64.deb



# add these repos
sudo add-apt-repository universe
sudo add-apt-repository multiverse


# build our socks5h proxy REQUIRES PASSWORD OR KEY
ssh -D 8888 user@shell.host&
# virtualbox repo
echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian eoan contrib"
  sudo tee -a /etc/apt/sources.list  
sudo apt-key adv --fetch-keys \
  https://www.virtualbox.org/download/oracle_vbox_2016.asc

# proxychains conf
sudo cat > /etc/proxychains4.conf <<EOF
[ProxyList]
socks5  127.0.0.1 8888
EOF

# apt update
sudo proxychains4 apt \
  -o Acquire::Check-Valid-Until=false \
  -o Acquire::Check-Date=false update



# apt install (virtualbox)
sudo proxychains4 apt \
  -o Acquire::Check-Valid-Until=false \
  -o Acquire::Check-Date=false install \
  libpng16-16 libqt5core5a libqt5printsupport5 \
  libqt5widgets5 libqt5x11extras5 virtualbox-6.1












#NEXT


# idevicerestore Ubuntu 18.04 in a restricted environment

# obtain your firmware ipsw via telegram to @rJailbreakBot
/device iphone10,6
#(download)


# dupe



# prerequisites

proxychains4 apt \
  -o Acquire::Check-Valid-Until=false \
  -o Acquire::Check-Date=false install \
  libssl-dev openssl libcurl-ocaml.dev \
  libzip-dev build-essential automake libtool

proxychains4 apt \
  -o Acquire::Check-Valid-Until=false \
  -o Acquire::Check-Date=false install \
  ideviceinstaller python-imobiledevice \
  libimobiledevice-utils libimobiledevice6 \
  libplist3 python-plist ifuse usbmuxd \
  libusbmuxd-dev libplist++ libpython-dev \
  python-dev libreadline-dev libusb-1.0

# compile libi//
proxychains4 git clone https://github.com/libimobiledevice/libplist  
proxychains4 git clone https://github.com/libimobiledevice/libusbmuxd
proxychains4 git clone https://github.com/libimobiledevice/libmobidevice
proxychains4 git clone https://github.com/libimobiledevice/idevicerestore                                     




# for each above
./autogen.sh
make; make install 

# plug in iPhone in dfu mode and obtain ECID
dmesg|grep ECID

idevicerestore --ecid xxxx -e iPhone10,3,iPhone10,6_13.4.1_17E262_Restore.ipsw





# optional checkm8 exploit jailbreaK
echo "deb https://assets.checkra.in/debian /" | \
  sudo tee -a /etc/apt/sources.list
  sudo apt-key adv --fetch-keys https://assets.checkra.in/debian/archive.key
  sudo apt update
  sudo proxychains4 apt \
    -o Acquire::Check-Valid-Until=false \
    -o Acquire::Check-Date=false install \
    checkra1n #pack







Comments

Popular Posts