- using
pkgutil
# list all your installed packages
pkgutil --pkgs
# show your package info
pkgutil --pkg-info
# If the server has ffmpeg: | |
## For the server: | |
ffmpeg -f fbdev -i /dev/fb0 -f avi pipe:1 | nc -l -p 1234 | |
## For the viewer: | |
nc 127.0.0.1 1234 | ffplay -i pipe:0 | |
# If the server doesn't have ffmpeg: | |
## For the server: | |
sudo cat /dev/fb0 | nc -l -p 1234 | |
## For the viewer (replace 1920x1080 with the server's resolution): |
The CySCA organizers have released a VM image with most of the challenges from CySCA 2014, which you can grab from http://goo.gl/6ftZ39 to play with. Here are my solutions to the Web Application Pentest section.
Only VIP and registered users are allowed to view the Blog. Become VIP to gain access to the Blog to reveal the hidden flag.
gnome-shell -r --display=:0 |
# Gitlab install instructions: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md | |
# Cross-compiling on Rpi: https://raspberrypi.stackexchange.com/questions/1/how-do-i-build-a-gcc-4-7-toolchain-for-cross-compiling | |
apt-get update -y | |
apt-get upgrade -y | |
apt-get install -y sudo | |
apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl openssh-server redis-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev logrotate | |
apt-get install -y git-core |
ssh -A -t -p 23 server1 ssh -A server2 |
参考了以下两篇文献: http://blog.ch3n2k.com/2013/09/openwrt.html http://www.right.com.cn/forum/thread-128967-1-1.html
tomato路由器上已经成功部署,并且一直很稳定,openwrt的部署步骤是我按照上面的两篇文献以及tomato上的部署经验写的,但我没有真正搭建过。下面是详细的解决方案:
#一、tomato路由器
1、设置好jffs和ipkg安装环境;把附件中的geoip压缩包的内容放入/opt/etc/geoip
(或者/jffs/opt/etc/geoip
)目录下。
2、在系统管理——脚本设置——wan连线中输入以下内容:
# disable secure boot in the bios, in menu security | |
# downlad and unzip refind-bin-0.7.8.zip | |
# install refind, assuming your ESP partition is /dev/sda1 and mounted in /boot/efi | |
cd refind-bin-0.7.8 | |
./install.sh | |
# type y and go ahead | |
# at that time your boot entry should look like that |
var oHead = document.getElementsByTagName('HEAD').item(0); | |
var oScript= document.createElement("script"); | |
oScript.type = "text/javascript"; | |
oScript.src="https://code.jquery.com/jquery-2.1.4.min.js"; | |
oScript.onload = function() { | |
jQuery('input[value="5"], input[value="优秀"]').each(function() { | |
console.log(jQuery(this)); | |
jQuery(this).click(); | |
}); | |
$('#Button1').click(); |
去武汉三天,终于回来。其实,大家要相信,在杭州上学真的还是挺幸福的 除了有时候连续下一个星期的雨,有时候感觉春如四季…… 不过,去了不一样的地方,接触不同的人,多多观察,思考,总是好的。
这三天对我来说意义非凡。去旅游不算什么,黄鹤楼不算什么,带回鸭脖也不算什么……重要的是和站长、BaBa 等 那些管理层一起相处了三天,一起思考,互相交流;还有和冰岩人一起开的3个会议,我们了解,探讨,争论,然后开开玩笑。。。 去之前我回味了几遍 偶像JZ大人 上次去后回来写的感言,想起前冰岩总管 段磊 被求是潮采访时候我心中对他的无线仰慕的场景,心中便不由得忐忑不安——貌似他们好强啊!!