摘要:
john有个参数可以设置破解时间,比如破解5秒则设置:--max-run-time=5,可以利用这个参数批量破解 for i in *;do (echo $i>>out;john --max-run-time=5 $i >>out;echo>>out);done for i in *;do (ech 阅读全文
摘要:
今天帮小左写个去重的方法。 几行shell 方法一: cat a b >>c for i in `cat c`;do j=$(grep $i c | wc -l)if [ $j -eq 1 ]; then echo $i; fidone 方法二: cat a b >>c sort c | uniq 阅读全文
摘要:
预编译方式,即PreparedStatement,可以防注入:#{id} <select id="getBlogById" resultType="Blog"parameterType=”int”> select id,title,author,content from blog where id= 阅读全文