2010年9月22日 星期三

Linux Command - wget,curl

some tools can communicate(get/post) with the web server (and others) without needing of user interaction

wget
can simulate the get/post client actions
>> wget example
# wget -v --proxy=on --passive-ftp -nd http://www.buildroot.org/downloads/$BUILDROOT_NAME.tar.bz2

>> guessing the cookie (userid=??) assigned by the web server
curl -sb userid=123456789 http://192.168.0.1/login.jsp | grep

沒有留言: