All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.eshore.uas.extensions.CodeAttack Maven / Gradle / Ivy

There is a newer version: 2.0.3
Show newest version
package com.eshore.uas.extensions;

import java.util.List;

/**
 * 检查是否在爆破
 * @author eshore
 *
 */
public interface CodeAttack {
	
	/**
	 * 是否阻止
	 * @param code code
	 * @param ip ip
	 * @return is prevent
	 */
	boolean prevent(String code,String ip);
	
	/**
	 * 
	 * @param code code
	 * @param password passowrd
	 * @param ip ip 
	 * @param pass pass
	 */
	void doTry(String code,String password,String ip,boolean pass);
	
	List listFails();
	List listBlockIps();
	void blockIP(String ip);
	void removeAccount(String account);
	void removeIp(String account);
	
	boolean isBlockIp(String ip);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy