如何在Ubuntu安装 12.04上安装Androguard

当前位置:
教你如何在Ubuntu 12.04上安装IEs4Linux
有朋友说谷歌浏览器不能使用网银,那么我们可以用IEs4Linux。现在我就教大家怎么在Ubuntu 12.04上安装IEs4Linux的具体步骤吧!一、安装IEs4Linux1、wine环境安装,需要安装wine和cabextract两个软件。我之前安装了wine-qq,顺带安装好了wine1.4.0,所以此步骤省略。sudo apt-get install wine cabextract2、下载IEs4Linux并解压,现在最新的就是ies4linux-latest.tar.gzwget .br/ies4linux/downloads/ies4linux-latest.tar.gztar zxvf ies4linux-latest.tar.gz最新的是ies4linux-2.99.0.1,假设解压到~/ies4linux-2.99.0.13、安装IE6和IE7。安装出现错误提示的解决方案详见问题二进入目录 cd ies4linux-*最好运行 。/ies4linux --no-gui --beta-install-ie7 --locale CN --install-corefonts也可以运行 。/ies4linux --no-gui --install-ie6 --locale CN --install-corefonts注1:安装的话,不推荐直接运行。/ies4linux,因为GUI版的不是很稳定,可能会在安装过程中出问题。如果安装出现错误,解决错误后重新安装即可。如果还是卡住,你到~/bin/里看有没有ie6。有就运行 ~/bin/ie6。注2: --no-gui 表示终端方式安装,--beta-install-ie7 表示安装IE7Beta版本和IE6两个版本,--install-ie6表示就安装IE6一个版本,-locale CN 表示本地语言是中文简体, --install-corefonts表示安装微软的字体(很重要)如果不装的话有些网页内容看不到,看到的是口口口口,全是方框。注3:程序默认下载到~/.ies4linux/downloads,而文件包地址都在install.sh里有,图快的可以自个用迅雷啥的下了挪进去;我把我的这个文件夹打包上传。可以把这个包解压以后放到 ~/.ies4linux/downloads内,省去下载之苦。二、解决安装出现的问题1、安装IEs4Linux,在最后一步总是提示Your wine does not have wineprefixcreate installed错误。由于Wine1.4使用了Winepath代替wineprefixcreate,所以在安装会提示Wine版本太旧,可以通过修改ies4linux2.99.0.1/lib目录中的functions.sh install.sh来解决IE6的安装问题。在install.sh 426行左右subsection $MSG_CREATING_PREFIXset_wine_prefix “$BASEDIR/ie1/”wineprefixcreate &》 /dev/nullclean_tmp改为:subsection $MSG_CREATING_PREFIXset_wine_prefix “$BASEDIR/ie1/”winepath &》 /dev/nullclean_tmp在functions.sh 242行左右function create_wine_prefix {if which wineprefixcreate &》 /dev/ then( wineprefixcreate 2》&1 ) | debugPipeelseerror $MSG_ERROR_NO_WINEPREFIXCREATEfi}改为:function create_wine_prefix {if which winepath &》 /dev/ then( winepath 2》&1 ) | debugPipeelseerror $MSG_ERROR_NO_WINEPREFIXCREATEfi}2、解决IE6按钮不显示中文问题这个问题由于涉及到wine的乱码所以另外撰文详细说明3、 安装过程中下载太慢,或者下载经常掉线的解决办法改下源代码,否则安装过程你会非常痛苦:修改:~/ies4linux-2.99.0.1/lib/install.shLine-119:download “http://internap.dl.sourceforge.net/sourceforge/corefonts/$font”替换成download “http://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/$font”原路径基本无法解析···用台湾镜像,快很多修改:~/ies4linux-2.99.0.1/lib/functions.shLine-126:error $MSG_ERROR_DOWNLOADING $DIR$FILENAME替换成#error $MSG_ERROR_DOWNLOADING $DIR$FILENAMEdownload $URL这样下载中断就会继续下,有点断点续传的意思哈,免得重新执行无数次无数次命令三、建立IE的桌面快捷方式安装成功以后默认不会在桌面建立快捷方式,但是在/home/你的用户名/bin/ie文件夹中有快捷方式,你可以双击打开或者拷贝到桌面使用。还可以用命令打开wine iexplore.exe 2》&1上面就是Ubuntu安装IEs4Linux的方法介绍了,本文还对IEs4Linux桌面快捷方式的创建和安装过程中遇到的问题作了简单的介绍,解决大家安装IEs4Linux的困恼。在Ubuntu下面安装Androguard - furnace09的专栏 - CSDN博客
在Ubuntu下面安装Androguard
最近在研究android恶意程序方面的东西,看到在静态分析领域很多研究都是基于Androguard来做的。所以也想捣鼓捣鼓Androgurad,能够在此期间产生点好的想法是再好不过的了。
说到Androguard,首先必须从安装开始。安装的话就是从官网上看安装文档,然后一步步跟着做就行了。(官网的安装文档地址 )
这边把我的安装步骤贴出来,其实和官网上的一样。
1.安装必要的工具包
$ sudo apt-get install mercurial python python-setuptools g++
$ sudo apt-get install python-dev python-bzutils libbz2-dev libmuparser-dev libsparsehash-dev python-ptrace python-pygments python-pydot graphviz liblzma-dev libsnappy-dev
$ sudo easy_install ipython
$ wget http://sourceforge.net/projects/pyfuzzy/files/latest/download?source=files
$ tar xvfz pyfuzzy-0.1.0.tar.gz
$ cd pyfuzzy-0.1.0
$ sudo python setup.py install
$ git clone git:///ahupp/python-magic.git
$ cd python-magic
$ sudo python setup.py install
进行到这儿的时候是十分顺利的,但是在安装mercury的时候,进行到第三步的时候老是报错。
官网的安装步骤:
$ mkdir mercury
$ wget http
:///assets/254/mercury-v1.0.zip
$ unzip mercury-v1.0.zip
$ cd &ANDROGUARDDIR&
$ ln -s &PATH&/mercury ./mercury
报错信息如下:
$ unzip mercury-v1.1.zip Archive:
mercury-v1.1.zip
End-of-central-directory signature not found.
Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive.
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
cannot find zipfile directory in one of mercury-v1.1.zip or
mercury-v1.1.zip.zip, and cannot find mercury-v1.1.zip.ZIP, period.这个出错的原因在安装的页面上有人评论了,就是现在人家不叫这个名字了,改叫drozer了。
Mercury is now known as Drozer. It took a while to find out haha
就从github上给克隆下来了。
git clone /mwrlabs/drozer
相关文章推荐

我要回帖

更多关于 ubuntu安装 的文章

 

随机推荐