Showing posts from February, 2015

Install metasploit from github on Ubuntu

I need metasploit but download from too big, and i don`t need use pro version. So i chosed developer version from: Install dependency package: #apt-get install build-essential libreadline-dev libssl-dev libpq5 libpq-dev libreadline5 libsqlite3-dev libpcap-dev openjdk-7-jre subversion git-core autoconf postgresql pgadmin3 curl zlib1g-dev libxml2-dev libxslt1-dev vncviewer libyaml-dev ruby1.9.3 ruby-dev #gem install wirble sqlite3 bundler #curl -L | bash -s stable --autolibs=enabled --ruby=1.9.3 #source /usr/local/rvm/scripts/rvm #rvm install ruby-2.1.5 #gem install rake -v '10.4.2' Clone from github: #git clone #bundle install Note: From metasploit 4.11, required ruby >= 2.1 #rvm list knows #rvm use 2.1 --default #rvm -v #chmod o+r /usr/local/rvm/gems/ruby-2.1.5/g

Fix Wrong sources.list entry or malformed file after install skype on Ubuntu 64bit

Today, after install skype (32bit) on Ubuntu 14.04 64 bit used gdedi, i have some error: After "apt-get update": Unable to find expected entry 'main/binary-i386sudo/Packages' in Release file (Wrong sources.list entry or malformed file) So i can not update my Ubuntu. You can fix it using this method: #dpkg --print-foreign-architectures You can get i386 i38 i386sudo ... Remove wrong architecture: #dpkg --remove-architecture i386 You can use: #sudo apt-get remove --purge `dpkg --get-selections | grep i386 | awk '{print $1}'` and #dpkg -l | grep i386 to find i386 packet to remove Then apt-get update now. ----------------------------------------------------------- Thanks for reading -------------------------------------------------------------------------- Security Research All my Lab: Linux Lab -- window and Cisco Lab to be continued - I will update more.