Skip to content

Instantly share code, notes, and snippets.

w3af 核心插件 discovery、audit、attack 三者。
1:discovery plugins 查找 URL、表单和网站的可注入点 injection points
2:audit plugins 针对1 找到的injection points 传入特殊的 input data 分析注入点( SQL Injection、XSS 等)
3:attack plugins 针对2 攻击了 例如 remote shell、SQL table dump、a proxy 等
除了上述三个,w3af 已有超过 130 个 plugins:
分别分为以下几大类
1: discovery:查找网页中的 injection points
2: audit:由 discovery plugins 产生的结果查找网站弱点
@liuxiong21
liuxiong21 / gist:586371b634089d1703fd
Created September 12, 2014 10:49
Java thread同步
package org.freeman.shared;
import java.util.concurrent.*;
/**
* Created by freeman on 14-9-12.
*/
public class ThreadSynchronized {
@vincentjiang
vincentjiang / mina
Last active March 13, 2017 08:41
rails 4.1.0 -- mina + unicorn + nginx
# config/deploy.rb
require 'mina/bundler'
require 'mina/rails'
require 'mina/git'
require 'mina/rvm'
# ter_mode 这个要设置,不然在 mac 下输密码有问题
set :term_mode, nil
set :rvm_path, '/usr/local/rvm/bin/rvm'
@sing1ee
sing1ee / gist:3e644b666eb212ad20c6
Created October 4, 2013 16:36
leetcode candy

###糖果分析

####原题 N个孩子站成一排,每个人分给一个权重。按照如下的规则分配糖果:

  1. 每个孩子至少有一个糖果
  2. 所分配权重较高的孩子,会比他的邻居获得更多的糖果

问题是,最少需要多少个糖果?