- 博客(17)
- 收藏
- 关注
原创 detect http content in https context, IE: mixed content no secure alert.
http://stackoverflow.com/questions/96382/how-to-tell-what-files-ie-thinks-are-nonsecurewww.bayden.com/dl/scriptfreesetup.exetr
2011-08-25 10:08:35
476
原创 FreeBSD/Linux shared library dependency
objdump -p $filename | awk '/ NEEDED / { print $2 }
2011-08-24 17:49:41
401
原创 bitnami redmine how to
<br /> <br />1. configure a static IP for ubuntu<br /> <br />cat /etc/network/interfaces# This file describes the network interfaces available on your system# and how to activate them. For more information, see interfaces(5).# The loopback network in
2011-03-03 16:06:00
875
原创 use phpmyadmin to manage a remote mysql on bitnami redmine
<br /> 1. modify config.inc.php, add the following to let phpmyadmin be aware of the remote mysql$i++;$cfg['Servers'][$i]['verbose'] = 'bitnami';$cfg['Servers'][$i]['host'] = 'localhost';$cfg['Servers'][$i]['port'] = '4306';$cfg['Servers'][$i]['soc
2011-03-03 15:33:00
1028
原创 SP2 develop tips
killall uproxy ; sleep 5 ; mv /ca/bin/uproxy /ca/bin/uproxy.bak ; scp daniel@10.3.18.222:/home/daniel/nww_sp2/amp/uproxy/driver/uproxy /ca/bin/uproxy ; ls -l /ca/bin/uproxy* ; (/ca/bin/uproxy http 2 3 &)scp -r daniel@10.3.18.222:/home/daniel/nww_sp2/amp/
2011-02-23 15:45:00
561
原创 script for sp2
<br />scp -r daniel@10.3.18.222:/home/daniel/nww_sp2/amp/uproxy .<br /> <br />(cd proxy/lite ; make) ; (cd ui/backend/ ; make ) ; make package-only ; buildname<br /> <br />
2011-02-18 09:48:00
252
原创 .dmg to .iso
<br />Under MacOS, <br /> <br />hdiutil convert ~/Desktop/'filename.dmg' -format UDTO -o ~/Desktop/'filename.iso'
2011-02-16 23:29:00
323
原创 live messenger offline download
<br />http://www.mydigitallife.info/2009/01/07/download-windows-live-essentials-messenger-version-2009-for-windows-7/<br /> <br />http://g.live.com/1rewlive3/zh-chs/wlsetup-all.exe<br /> <br />
2011-02-09 14:24:00
390
原创 pexpect: run interactive remote ssh commands
bash$ cat ~/bin/sp1rep #!/usr/local/bin/pythonimport pexpectimport syschild = pexpect.spawn('ssh -l test 10.3.18.37');child.logfile = sys.stdoutchild.expect('assword:');child.sendline('click1');child.sendline('');child.expect('#');child
2010-11-23 18:28:00
857
原创 sudoer, run privileged program without entering password
<br />sudo visudo<br /> <br />daniel ALL=NOPASSWD : /etc/acpi/hibernate.shdaniel ALL=NOPASSWD : /usr/sbin/update-java-alternatives
2010-11-07 22:57:00
278
原创 fix screen scrolling in ubuntu xterm when used with GNU screen
termcapinfo xterm* ti@:te@
2010-11-07 22:52:00
298
原创 hacking android build process
<br />make SHOW_COMMANDS=a;<br /> <br />If SHOW_COMMANDS is a non-empty string, the android build system will print the commands themselves when running 'make'<br />
2010-11-07 22:50:00
308
原创 infosec porting
<br />19414 - <br />18560 - Downloading Status<br />19576 bug16724, bug18339, bug18533
2010-11-07 14:01:00
280
原创 aaa using radius, localdb, with group mapping and default group.
<br /><br />CLI Config: <br /> <br />aaa on <br />aaa radius accounting off <br />aaa method radius 1 <br />aaa method localdb 2 <br />aaa radius host 10.3.18.19 1812 "XXXXXdGVzdGluZ3Nw" 5 5<br />aaa ldap idletimeout 600<br />aaa radius group 20<br />aaa l
2010-10-27 16:18:00
6243
原创 freeradius on Ubuntu
<br /> <br /> <br />sudo apt-get install freeradius<br /> <br /> <br />$ netstat -an|grep 181<br />udp 0 0 0.0.0.0:1812 0.0.0.0:* <br />udp 0 0 0.0.0.0:1813 0.0.0.0:*
2010-10-27 16:12:00
266
原创 Compile ASOP Froyo for Dream on Ubuntu 10.4
1. Install Java5 & Java6Edit /etc/apt/sources.list and add these lines on the end:deb pl.archive.ubuntu.com/ubuntu/ jaunty multiversedeb pl.archive.ubuntu.com/ubuntu/ jaunty universe Run sudo apt-get install sun-java5-jdk sun-java6-jdk
2010-10-21 15:49:00
318
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人