/// <summary> ///This component is optional and therefore the API will only work if it is installed /// </summary> /// <returns></returns> public IApiResponse reveal() { Dictionary <string, string> parameters = null; return(api.CallApi("reveal", "view", "reveal", parameters)); }
/// <summary> ///Returns full details of all of the rules ///This component is optional and therefore the API will only work if it is installed /// </summary> /// <returns></returns> public IApiResponse rules() { Dictionary <string, string> parameters = null; return(api.CallApi("replacer", "view", "rules", parameters)); }
/// <summary> /// /// </summary> /// <returns></returns> public IApiResponse status(string scanid) { Dictionary <string, string> parameters = null; parameters = new Dictionary <string, string>(); parameters.Add("scanId", scanid); return(api.CallApi("spider", "view", "status", parameters)); }
/// <summary> ///Tells whether or not the passive scan should be performed only on messages that are in scope. /// </summary> /// <returns></returns> public IApiResponse scanOnlyInScope() { Dictionary <string, string> parameters = null; return(api.CallApi("pscan", "view", "scanOnlyInScope", parameters)); }
/// <summary> ///Returns all of the registered web socket channels ///This component is optional and therefore the API will only work if it is installed /// </summary> /// <returns></returns> public IApiResponse channels() { Dictionary <string, string> parameters = null; return(api.CallApi("websocket", "view", "channels", parameters)); }
public void When_CallApi_Is_Called_IApiResponse_IsReturned() { var response = zap.CallApi("authentication", "view", "getSupportedAuthenticationMethods", null); Assert.IsInstanceOfType(response, typeof(IApiResponse)); }