one way to solve apache not start in netbeans IDE

http://stackoverflow.com/questions/22225764/starting-of-tomcat-failed-from-netbeans
 
the path should like C:\Program Files\Apache Software Foundation\Apache Tomcat 8.0.27\bin
Find the bellow configuration in your catalina.bat file.

:noJuliConfig
set "JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%"
:noJuliManager
set "JAVA_OPTS=%JAVA_OPTS% %LOGGING_MANAGER%"

Just remove the double quotes

:noJuliConfig
set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%
:noJuliManager
set JAVA_OPTS=%JAVA_OPTS% %LOGGING_MANAGER%

our wretchedness consists in the disproportion between our desires and our powers

Every feeling of hardship is inseparable from the desire to escape from it; every idea of pleasure from the desire to enjoy it. All desire implies a want, and all wants are painful; hence our wretchedness consists in the disproportion between our desires and our powers. A conscious being whose powers were equal to his desires would be perfectly happy.

Emile——Jean-Jacques Rousseau

I used to think it was said by 王小波

无题

来生
听了太多静茹,打算下辈子做女人;
身体和内心都是软的,透明且坚韧;童年时赤脚跑过积水街道,少年时穿白色男式衬衫;在绽放的青春里看着你傻笑发呆;你不要赚很多钱,要有很多时间陪我,不大声对我吼,不笑话我的泪;白发苍苍时听我唠叨,暴跳如雷,吃光我烤糊的饼干,死在我后面。
by 马天夫

Burp Suite的一次应用

某网站借贷宝本来只能用借记卡付款,以工商银行借记卡为例:
正常的流程是:E->调用第三方支付网站kingpass.cn->kingpass调用银联支付接口95516.com->调用银联网关chinapay.com->调用工商银行网银(只能用借记卡)
但是在银联支付接口95516.com->调用银联网关chinapay.com 这个流程中,某个牛逼人士发现这个对于返回的参数没校验。
以工行为例burpsuite修改postdata
这里如果上传postdata的时候删掉这个id,就会导致chinapay.com不跳转到下一步,可以自由选择支付方式,很多人用来信用卡套现。
 

some information of SENTRI

前一阵子3798论坛上突然流行起来申请SENTRI了,这是一个类似NEXUS之类的快速通关项目。但是非美国公民、绿卡、加国公民只能享受其中的TSA Pre-check和注册陆路进入墨西哥的汽车。Global Entry是无法用的。但是对于经常在美国飞的人来说还是挺实用的。