Skip to content

Instantly share code, notes, and snippets.

@matterpreter
Last active September 14, 2019 12:44
Show Gist options
  • Save matterpreter/1adebbc7029e2e3fcb53f22130ef8211 to your computer and use it in GitHub Desktop.
Save matterpreter/1adebbc7029e2e3fcb53f22130ef8211 to your computer and use it in GitHub Desktop.
Build tao-utils to use on Ubuntu for decoding IORs
#!/bin/bash
sudo apt install -y libace-6.3.3 libc6 libgcc1 libstdc++6 libtao-2.0.1 liblzo2-2 zlib1g libssl1.0.0
mkdir debs && cd debs
#Pull all the required packages from Launchpad for Ubunutu
wget -nv http://launchpadlibrarian.net/74750902/libace-6.0.1_6.0.1-3_amd64.deb
wget -nv http://launchpadlibrarian.net/74750904/libace-ssl-6.0.1_6.0.1-3_amd64.deb
wget -nv http://launchpadlibrarian.net/74750910/libace-htbp-6.0.1_6.0.1-3_amd64.deb
wget -nv http://launchpadlibrarian.net/74750917/libacexml-6.0.1_6.0.1-3_amd64.deb
wget -nv http://launchpadlibrarian.net/74750919/libkokyu-6.0.1_6.0.1-3_amd64.deb
wget -nv http://launchpadlibrarian.net/74750931/libtao-2.0.1_6.0.1-3_amd64.deb
wget -nv http://launchpadlibrarian.net/74750933/libtao-orbsvcs-2.0.1_6.0.1-3_amd64.deb
wget -nv http://launchpadlibrarian.net/74750949/tao-utils_6.0.1-3_amd64.deb
wget -nv http://launchpadlibrarian.net/79672841/libzzip-0-13_0.13.56-1ubuntu1_amd64.deb
#Build them in order of dependencies
sudo dpkg -i libzzip-0-13_0.13.56-1ubuntu1_amd64.deb &&
sudo dpkg -i libace-6.0.1_6.0.1-3_amd64.deb &&
sudo dpkg -i libkokyu-6.0.1_6.0.1-3_amd64.deb &&
sudo dpkg -i libace-ssl-6.0.1_6.0.1-3_amd64.deb &&
sudo dpkg -i libace-htbp-6.0.1_6.0.1-3_amd64.deb &&
sudo dpkg -i libacexml-6.0.1_6.0.1-3_amd64.deb &&
sudo dpkg -i libtao-2.0.1_6.0.1-3_amd64.deb &&
sudo dpkg -i libtao-orbsvcs-2.0.1_6.0.1-3_amd64.deb &&
sudo dpkg -i tao-utils_6.0.1-3_amd64.deb
#Cleanup
rm ./*.deb
cd .. && rmdir debs
#Test to make sure everything worked
tao_catior -h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment