2009年2月5日星期四

Google Hacks

Google Hacks:
1.Network Camera
inurl:"viewerframe?mode=motion"
intitle:"Live View / - AXIS"
inurl:IndexFrame.shtml "Axis Video Server"
inurl:LvAppl intitle:liveapplet
intitle:"WJ-NT104 Main"
intitle:"snc-rz30 home"
inurl:/view/index.shtml

2.Home Camera
intitle:"snc-rz30 home"
3.Upload photos
inurl:"phphotoalbum/upload"
4.Printers
inurl:"port_255" -htm
5.Calculate
half a cup in tablespoons
5*9+(sqrt 10)^3=
the answer to life, the universe and everything
6.easter egg
google easter egg
7.More about google(I'm feeling lucky)
google zeitgeist
google bearshare
google loco
google gothic
google linux
google l33t
google ewmew
xx-klingon
xx-piglatin
google bsd
google mozilla
google gizoogle

8.Hack
intitle:phpMyAdmin "Welcome to phpMyAdmin ***" "running on * as root@*"
intitle:index of ws_ftp.ini
intitle:"index of" passwd passwd.bak
intitle:index.of passwd
intitle:”Index.of..etc” passwd
intitle:index.of pwd.db passwd
intitle:index.of people.lst
intitle:index.of passlist
intitle:index.of .htpasswd
intitle:index.of “.htpasswd” htpasswd.bak filetype:reg reg
intext:”internet account manager“ filetype:mdb
inurl:profiles “http://*:*@www” “Apache/1.3.28 Server at”
intitle:index.of >> Apache 1.3.28 “Apache/2.0 Server at”
intitle:index.of >> Apache 2.0 “Apache/* Server at” i
ntitle:index.of >> any version of Apache “Microsoft-IIS/4.0 Server at” intitle:index.of >> Microsoft Internet Information Services 4.0 “Microsoft-IIS/5.0 Server at” intitle:index.of >> Microsoft Internet Information Services 5.0 “Microsoft-IIS/6.0 [...]

9.download file
-inurl:htm -inurl:html -inurl:asp intitle:*index of" (wmv|mpg|avi) ufo


Unsearchable Pages
"robots.txt" "disallow:" filetype:txt
Unknown
inurl:_vti_pvt "service.pwd"

2009年2月3日星期二

蓝牙语音和音乐传输浅析



蓝牙可同时发送语音(Voice)和数据(Data)两种类型。主要原因是其支持电路交换(Circuit-switch)与包交换(Packet-switch)两种数据传输方式。电路交换的传输称为SCO链路,主要用来传送语音,包交换的传输称为ACL链路,主要用来传送数据。

SCO链路
面向连接的同步传输(Synchronous Connection-Oriented, SCO)是属于电路交换的同步传输类型。电路交换是当主从设备的连接一旦建立,不管有无数据传送,系统都会预留固定间隔的时隙给主从设备,其它从设备不能利用此时隙来传送数据。SCO链路属于点对点的对称连接,即建立在一个主设备与从设备间。一旦SCO链路建立,主设备无需事先询问,主从设备可直接发送SCO包。每一个SCO链路支持64Kb/s的语音通信。

ACL链路
无连接的异步传输(Asynchronous Connection-Less, ACL)是属于包交换的异步传输类型。ACL链路只在SCO不使用的时隙上传输,当物理通道上的时隙没有任何SCO链路时,ACL链路可占用任何时隙来传送数据。

语音编码
蓝牙中的语音编码支持脉冲编码调制(Pulse Code Modulation, PCM)和连续变化斜率比较调制(Continous Variable Slop Delta Modulation, CVSD)。

The Advanced Audio Distribution Profile (A2DP) defines the protocols and proceduresthat realize distribution of audio content of high-quality in mono or stereo on ACL channels.
The A2DP mandates low complexity subband codec (SBC) to ensure the
interoperability. The device shall implement a SBC encoder when the device is the SRC,and a SBC decoder when the device is the SNK.


SBC(Subband Codec) Encoding Processes

SBC(Subband Codec) Decoding Processes

2009年2月1日星期日

解压deb和rpm包

$cat unpack_deb.sh
#!/bin/bash
for i in `ls *.deb`;
do
dpkg-deb --fsys-tarfile $i | cpio -idv
done
mv *.deb deb


$cat unpack_rpm.sh
#!/bin/bash
for i in `ls *.rpm`;
do
rpm2cpio $i | cpio -idv
done
mv *.rpm rpm