VIP Open Access: 热点问题
http://viplab.fudan.edu.cn/vip/
http://viplab.fudan.edu.cn/vip/vip/favicon.ico
2020-04-22T06:37:45Z
VIP : Video & Image Processor Research Lab
Redmine
热点问题: RE: Linux中毒解决方案 - 挖矿木马 wlvly
http://viplab.fudan.edu.cn/vip/boards/6/topics/35640?r=35641#message-35641
2020-04-22T06:37:45Z
范 益波
<p><strong>/root/.wlvly.sh 无法删除</strong></p>
<p>原文:linux root用户无法删除文件,提示permission denied<br /><a class="external" href="https://www.cnblogs.com/youxin/p/11100449.html">https://www.cnblogs.com/youxin/p/11100449.html</a></p>
<p>解决方案:<br /><pre>
chattr -i filename
rm -rf filename
</pre></p>
<pre>
我用root用户登录,删除一个普通的文件,怎么删也删不了。最后用lsattr命令查看,原来是被保护了。lsattr查看一个文件
1. chattr权限简介
chattr - change file attributes on a Linux file system.
也就是说chattr命令的作用是改变linux文件系统中指定的文件的属性。
chatrr权限是一种非常特殊的权限,它设置的属性对超级用户root也有效。只不过,它设置的属性也可以通过root来删除。
归根结底,chattr的作用是防止用户(包括root)对文件或目录进行误操作(比如修改或删除)的一种保险手段。
2. chattr命令格式
chattr [+-=][选项] 文件或目录名
+:增加权限(属性)
-:删除权限(属性)
=:设置权限(属性)
1
a :设置a之后,这个文件将只能增加数据,而不能删除也不能修改数据,只有root才能设置这个属性。
i :它可以让一个文件不能被删除、改名,设置连接也无法写入或添加数据。只有root才能设置这个属性。
问题,已经去掉了某个文件的i属性和a属性,为什么还是不能删除???
原因在于该文件的所在目录的属性也要去掉。
如果去掉文件或目录的隐藏属性之后还是不能删除,那么查看父目录是否配置了不可删除的隐藏属性,若父目录有配置,文件也是不能删除的,需要逐级往上查看。
查看文件的系统属性
命令格式:lsattr [选项] 文件名
[root@localhost tmp]# lsattr a.txt
----i--------e- a.txt
可以发现,小写字母i表示该文件被设置了i属性
如果您想给一个文件多加点保护,可以使用命令:chattr +i filename
</pre>
热点问题: Linux中毒解决方案 - 挖矿木马 wlvly
http://viplab.fudan.edu.cn/vip/boards/6/topics/35640
2020-04-22T06:34:50Z
范 益波
<p>原文:菜鸟硬杠挖矿木马“rvlss”,“bffbe”,“wlvly”<br /><a class="external" href="https://blog.csdn.net/weixin_42097690/article/details/105354736">https://blog.csdn.net/weixin_42097690/article/details/105354736</a></p>
<p>解决思路</p>
<pre>
#首先利用htop,将占用最高的6位随机码进程f9然后回车 kill掉。
#清理.ssh 文件夹,删除所有的免密登录
#第二步键入命令,然后清除不明的定时执行,例如下面三项:
# * * * * /root/.bffbe > /dev/null 2>&1 &
#* * * * /root/.wlvly.sh > /dev/null 2>&1 &
#* * * * /root/.rvlss.sh > /dev/null 2>&1 &
crontab -e
#第三步,同样清楚定时执行,(文件形式)
rm -rf /etc/cron.d/0rvlss
rm -rf /etc/cron.d/0bffbe
rm -rf /etc/cron.d/0wlvly
#尝试停掉,定时执行的目录写入权限,这个不清楚有没有效果
#本人因为时间原因还没有详细了解定时执行的逻辑
chmod -R 400 /etc/cron.d
#ls /etc/cron.d
#删除生成的脚本文件
#ps:上面代码执行有一段需要从网络上下载脚本,在删除下载脚本的时候,提示无权限, 后来查到隐藏属性
# 查看隐藏属性的命令
lsattr .rvlss
#清理隐藏属性,并删除脚本(三个,服务器可能中的是其中的一种)
chattr -i /root/*.rvlss*
rm -rf /root/*.rvlss*
chattr -i /opt/*rvlss*
rm -rf /opt/*rvlss*
chattr -i /root/*bffbe*
rm -rf /root/*bffbe*
chattr -i /opt/*bffbe*
rm -rf /opt/*bffbe*
chattr -i /root/*wlvly*
rm -rf /root/*wlvly*
chattr -i /opt/*wlvly*
rm -rf /opt/*wlvly*
#脚本在感染宿主机后,会从网络上下载脚本,且,挖矿要连接矿池
#所以此处屏蔽了脚本中所有的域名
#事实证明,这一步其实是起着关键的作用,如果从网络入口进行屏蔽,效果显著。(此处是主机上脚本)
echo 0.0.0.0 tor2web.io tor2web.in tor2web.to tor2socks.in d2web.org onion.mn onion.to >> /etc/hosts
echo 0.0.0.0 onion.glass onion.in.net onion.ly onion.pet onion.ws 4tor.ml civiclink.network >> /etc/hosts
echo 0.0.0.0 tor2web.su doh.centraleu.pi-dns.com dns.twnic.tw dns.rubyfish.cn doh.dns.sb trumpzwlvlyrvlss.onion >>/etc/hosts
#脚本有检测hosts屏蔽的功能, 在下一步未执行的时候
#三项其中的两项会被病毒删掉。(侧面证明网络屏蔽域名确实有效)
#所以才有下一步的操作,需要ps -aux 查询所有的进程
#删掉5-6位随机码的一异常进程,此步操作至关重要,解决了大8成的服务器病毒重启。
#剩下的两成,因本人学艺不精,仍然存在问题,后来删掉dns服务器地址解决,临时方法
————————————————
版权声明:本文为CSDN博主「一只蛋黄」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/weixin_42097690/java/article/details/105354736
</pre>
热点问题: Cadence Palladium Z1 资料分享
http://viplab.fudan.edu.cn/vip/boards/6/topics/35618
2020-02-25T05:51:03Z
范 益波
<p>Cadence Palladium Z1 资料分享</p>
热点问题: 实验室网站域名更新
http://viplab.fudan.edu.cn/vip/boards/6/topics/35617
2020-02-25T03:19:59Z
范 益波
<p>原域名:soc.fudan.edu.cn<br />新域名:viplab.fudan.edu.cn</p>
<p>如果在本系统中发现有些链接无法打开,尝试修改一下链接的域名</p>
热点问题: RE: Systemc Setup
http://viplab.fudan.edu.cn/vip/boards/6/topics/527?r=34885#message-34885
2017-10-30T03:03:56Z
魏 家聪
16210720090@fudan.edu.cn
<p>在 Visual Studio 环境下,Release 与 Debug 分别依赖相应的 SystemC 库,故须分别编译 Release 与 Debug 版本的 SystemC 库。</p>
热点问题: opencv 3.0
http://viplab.fudan.edu.cn/vip/boards/6/topics/34456
2016-11-23T10:02:26Z
范 益波
<a name="Install"></a>
<h2 >Install<a href="#Install" class="wiki-anchor">¶</a></h2>
<a name="macOS"></a>
<h3 >macOS<a href="#macOS" class="wiki-anchor">¶</a></h3>
<p>原文:http://blog.csdn.net/gubenpeiyuan/article/details/50597004</p>
<pre>
This formula is keg-only, which means it was not symlinked into /usr/local.
opencv3 and opencv install many of the same files.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/opencv3/lib
CPPFLAGS: -I/usr/local/opt/opencv3/include
PKG_CONFIG_PATH: /usr/local/opt/opencv3/lib/pkgconfig
If you need Python to find bindings for this keg-only formula, run:
echo /usr/local/opt/opencv3/lib/python2.7/site-packages >> /usr/local/lib/python2.7/site-packages/opencv3.pth
==> Summary</pre>
热点问题: ISP
http://viplab.fudan.edu.cn/vip/boards/6/topics/34443
2016-11-11T11:05:19Z
范 益波
<ol>
<li><a class="external" href="https://github.com/01org/libxcam">https://github.com/01org/libxcam</a></li>
</ol>
热点问题: RE: LDAP
http://viplab.fudan.edu.cn/vip/boards/6/topics/33639?r=34394#message-34394
2016-10-11T11:55:40Z
范 益波
<ol>
<li>用Apache+SVN+LDAP的额外设置--svn 出现"Couldn't perform atomic initialization"
<ol>
<li>很大的可能是目前的SVN版本为1.6+ 而客户端版本则为1.6- <a class="external" href="http://snowing11812.iteye.com/blog/1703665">http://snowing11812.iteye.com/blog/1703665</a><br /> 可采用以下命令重新创建repo 来实现兼容<br /><pre>
svnadmin create --fs-type fsfs --pre-1.6-compatible /path/to/svnrepo
</pre> </li>
<li>有时候提示“ Can't open file '/opt/svn/test/db/txn-current-lock': Permission denied”<br /> 需要修改版本库目录权限<br /><pre>
chmod -R o+w /path/to/svnrepo
</pre></li>
</ol></li>
</ol>
热点问题: Computational Photography
http://viplab.fudan.edu.cn/vip/boards/6/topics/34324
2016-05-17T10:16:33Z
范 益波
<a name="Tutorial"></a>
<h2 >Tutorial<a href="#Tutorial" class="wiki-anchor">¶</a></h2>
<ol>
<li>Stanford computational imaging: <a class="external" href="http://www.computationalimaging.org/research-overview/">http://www.computationalimaging.org/research-overview/</a></li>
<li>Computational Imaging and Display: <a class="external" href="http://stanford.edu/class/ee367/">http://stanford.edu/class/ee367/</a></li>
</ol>
<a name="Demo"></a>
<h2 >Demo<a href="#Demo" class="wiki-anchor">¶</a></h2>
<ol>
<li>Nvidia: Near-Eye Light Field Displays, <a class="external" href="https://research.nvidia.com/publication/near-eye-light-field-displays">https://research.nvidia.com/publication/near-eye-light-field-displays</a></li>
<li>Magic Leap:</li>
</ol>
<a name="Blogs"></a>
<h2 >Blogs<a href="#Blogs" class="wiki-anchor">¶</a></h2>
<ol>
<li><a class="external" href="http://www.cnblogs.com/frombeijingwithlove/category/647104.html">http://www.cnblogs.com/frombeijingwithlove/category/647104.html</a></li>
</ol>
热点问题: Squid代理服务器配置
http://viplab.fudan.edu.cn/vip/boards/6/topics/34290
2016-04-28T07:52:13Z
范 益波
<p>参考:<br /><a class="external" href="http://blog.csdn.net/zzulp/article/details/17763527">http://blog.csdn.net/zzulp/article/details/17763527</a><br /><a class="external" href="https://www.cnblogs.com/cherishry/p/5706736.html">https://www.cnblogs.com/cherishry/p/5706736.html</a></p>
<ul>
<li>示例1: 只允许192.168.0.0/16内网访问3128的代理服务<br />编辑 /etc/squid/squid.conf<br /><pre>
acl localnet src 192.168.0.0/16
acl ProxyPort port 3128
http_access allow localnet ProxyPort
http_access deny localnet
</pre> <br />启动:/etc/init.d/squid start/stop/restart/reload</li>
</ul>
<ul>
<li>只允许192.168.x.x网段访问<br /><pre>
acl localnet src 192.168.0.0/16
</pre></li>
</ul>
<ul>
<li>只允许192.168.69.x网段访问<br /><pre>
acl localnet src 192.168.69.0/24
</pre></li>
</ul>
<ul>
<li>只允许192.168.69.100 IP访问<br /><pre>
acl localnet src 192.168.69.100
</pre></li>
</ul>
热点问题: Nodejs
http://viplab.fudan.edu.cn/vip/boards/6/topics/34271
2016-04-22T07:58:26Z
范 益波
<a name="安装"></a>
<h2 >安装<a href="#安装" class="wiki-anchor">¶</a></h2>
<ol>
<li>你可以通过运行以下命令安装 EPEL 源,<a href="http://www.tuicool.com/articles/nYNVBbF" class="external">关于EPEL</a><br /><pre>
sudo yum install epel-release
</pre></li>
<li>现在可以使用yum命令安装Node.js了。<br /><pre>
sudo yum install nodejs
</pre></li>
<li>因为在开发过程中我需要管理节点包,我还要安装新公共管理的软件包管理器,使用以下命令。<br /><pre>
sudo yum install npm
</pre></li>
</ol>
<a name="教程"></a>
<h2 >教程<a href="#教程" class="wiki-anchor">¶</a></h2>
<ol>
<li>RUNOOB.com: <a class="external" href="http://www.runoob.com/nodejs/nodejs-callback.html">http://www.runoob.com/nodejs/nodejs-callback.html</a></li>
</ol>
热点问题: Google Cardboard SDK
http://viplab.fudan.edu.cn/vip/boards/6/topics/34176
2016-02-05T01:47:11Z
范 益波
<p>Google Cardboard SDK</p>
热点问题: Adblock Plus添加
http://viplab.fudan.edu.cn/vip/boards/6/topics/34043
2015-10-27T08:10:34Z
范 益波
<ol>
<li>下载地址<br /><a class="external" href="https://downloads.adblockplus.org/devbuilds/adblockpluschrome/">https://downloads.adblockplus.org/devbuilds/adblockpluschrome/</a></li>
<li>Chrome“无法添加来自此网站的应用”的解决办法<br />直接将下载好的Chrome应用*.crx或者脚本**.js文件拖到扩展程序界面(浏览器地址chrome://extensions/)就好了。</li>
</ol>
热点问题: 虚拟现实VR
http://viplab.fudan.edu.cn/vip/boards/6/topics/33978
2015-09-08T00:36:55Z
范 益波
<a name="产品"></a>
<h2 >产品<a href="#产品" class="wiki-anchor">¶</a></h2>
<ol>
<li><a class="external" href="http://ocam.cc/">http://ocam.cc/</a></li>
<li>大朋VR <a class="external" href="http://www.deepoon.com/product.html">http://www.deepoon.com/product.html</a></li>
<li>小蚁运动相机 <a class="external" href="http://www.xiaoyi.com/specs.html">http://www.xiaoyi.com/specs.html</a></li>
<li>酷景网 <a class="external" href="http://www.is360.com/is360/index.html">http://www.is360.com/is360/index.html</a></li>
<li>Upano <a class="external" href="http://www.upano.cn/">http://www.upano.cn/</a></li>
<li>Lairit淘宝店 天狗全景4K摄相机 <a class="external" href="https://rnsw.taobao.com/index.htm?spm=a1z10.1-c.w5002-681836398.2.OkYhlT">https://rnsw.taobao.com/index.htm?spm=a1z10.1-c.w5002-681836398.2.OkYhlT</a></li>
<li>3D打印模具淘宝店 <a class="external" href="http://item.taobao.com/item.htm?spm=a1z10.1-c.w4004-10124508295.16.7roAn5&id=43775179442">http://item.taobao.com/item.htm?spm=a1z10.1-c.w4004-10124508295.16.7roAn5&id=43775179442</a></li>
<li>3D打印一号店 <a class="external" href="https://shop68201979.taobao.com/?spm=2013.1.1000126.2.e1ZqYF">https://shop68201979.taobao.com/?spm=2013.1.1000126.2.e1ZqYF</a></li>
<li>知乎 <a class="external" href="http://www.zhihu.com/question/22338168">http://www.zhihu.com/question/22338168</a></li>
</ol>
<ul>
<li>gopro 全景支架</li>
</ul>
<ul>
<li>360heros</li>
</ul>
<ul>
<li>Google Jump</li>
</ul>
<ul>
<li>gopro 全景 拍摄</li>
</ul>
<a name="播放器"></a>
<h2 >播放器<a href="#播放器" class="wiki-anchor">¶</a></h2>
<ol>
<li>WebGL 实现网页播放<br /> <a class="external" href="http://www.utovr.com/">http://www.utovr.com/</a></li>
</ol>
<ol>
<li>VR Player 开源VR播放器</li>
</ol>
<a name="Easydarwin-开源方案包括开源摄像机开源流媒体服务器开源播放器开源CMS管理-httpwwweasydarwinorg"></a>
<h2 >Easydarwin 开源方案:包括开源摄像机、开源流媒体服务器、开源播放器、开源CMS管理<br /> <a class="external" href="http://www.easydarwin.org/">http://www.easydarwin.org/</a><a href="#Easydarwin-开源方案包括开源摄像机开源流媒体服务器开源播放器开源CMS管理-httpwwweasydarwinorg" class="wiki-anchor">¶</a></h2>
热点问题: iscas2015
http://viplab.fudan.edu.cn/vip/boards/6/topics/33943
2015-05-31T01:35:12Z
范 益波
<ol>
<li><a class="external" href="http://diy.eueueu.com/Step.mvc/StepOne_AttractionList/29">http://diy.eueueu.com/Step.mvc/StepOne_AttractionList/29</a></li>
</ol>