/// <summary> ///Returns the HTTP messages, in HAR format, that match the given regular expression in the URL optionally filtered by URL and paginated with 'start' position and 'count' of messages. /// </summary> /// <returns></returns> public byte[] HarByUrlRegex(string regex, string baseUrl, string start, string count) { var parameters = new Dictionary <string, string> { { "regex", regex }, { "baseUrl", baseUrl }, { "start", start }, { "count", count } }; return(_api.CallApiOther("search", "other", "harByUrlRegex", parameters)); }
public byte[] harByUrlRegex(string regex, string baseurl, string start, string count) { Dictionary <string, string> parameters = null; parameters = new Dictionary <string, string>(); parameters.Add("regex", regex); parameters.Add("baseurl", baseurl); parameters.Add("start", start); parameters.Add("count", count); return(api.CallApiOther("search", "other", "harByUrlRegex", parameters)); }
/// <summary> ///This component is optional and therefore the API will only work if it is installed /// </summary> /// <returns></returns> public byte[] pnh(string apikey) { Dictionary <string, string> parameters = null; parameters = new Dictionary <string, string>(); if (!string.IsNullOrWhiteSpace(apikey)) { parameters.Add("apikey", apikey); } return(api.CallApiOther("pnh", "other", "pnh", parameters)); }
public byte[] harByUrlRegex(string apikey, string regex, string baseurl, string start, string count) { Dictionary <string, string> parameters = null; parameters = new Dictionary <string, string>(); if (!string.IsNullOrWhiteSpace(apikey)) { parameters.Add("apikey", apikey); } parameters.Add("regex", regex); parameters.Add("baseurl", baseurl); parameters.Add("start", start); parameters.Add("count", count); return(api.CallApiOther("search", "other", "harByUrlRegex", parameters)); }
/// <summary> ///Generate a form for testing lack of anti-CSRF tokens - typically invoked via ZAP /// </summary> /// <returns></returns> public byte[] genForm(string hrefid) { Dictionary <string, string> parameters = null; parameters = new Dictionary <string, string>(); parameters.Add("hrefId", hrefid); return(api.CallApiOther("acsrf", "other", "genForm", parameters)); }
/// <summary> ///This component is optional and therefore the API will only work if it is installed /// </summary> /// <returns></returns> public byte[] OtherPostModSecurityAuditEvent(string auditeventstring) { Dictionary <string, string> parameters = null; parameters = new Dictionary <string, string>(); parameters.Add("AuditEventString", auditeventstring); return(api.CallApiOther("importLogFiles", "other", "OtherPostModSecurityAuditEvent", parameters)); }
/// <summary> ///This component is optional and therefore the API will only work if it is installed /// </summary> /// <returns></returns> public byte[] OtherPostModSecurityAuditEvent(string auditEventString) { var parameters = new Dictionary <string, string> { { "AuditEventString", auditEventString } }; return(_api.CallApiOther("importLogFiles", "other", "OtherPostModSecurityAuditEvent", parameters)); }
/// <summary> ///Generate a form for testing lack of anti-CSRF tokens - typically invoked via ZAP /// </summary> /// <returns></returns> public byte[] GenForm(string hrefId) { var parameters = new Dictionary <string, string> { { "hrefId", hrefId } }; return(_api.CallApiOther("acsrf", "other", "genForm", parameters)); }
/// <summary> ///This component is optional and therefore the API will only work if it is installed /// </summary> /// <returns></returns> public byte[] OtherPostModSecurityAuditEvent(string apikey, string auditeventstring) { Dictionary <string, string> parameters = null; parameters = new Dictionary <string, string>(); if (!string.IsNullOrWhiteSpace(apikey)) { parameters.Add("apikey", apikey); } parameters.Add("AuditEventString", auditeventstring); return(api.CallApiOther("importLogFiles", "other", "OtherPostModSecurityAuditEvent", parameters)); }
/// <summary> ///Generate a form for testing lack of anti CSRF tokens - typically invoked via ZAP ///This component is optional and therefore the API will only work if it is installed /// </summary> /// <returns></returns> public byte[] genForm(string apikey, string hrefid) { Dictionary <string, string> parameters = null; parameters = new Dictionary <string, string>(); if (string.IsNullOrWhiteSpace(apikey)) { parameters.Add("apikey", apikey); } parameters.Add("hrefId", hrefid); return(api.CallApiOther("acsrf", "other", "genForm", parameters)); }
public byte[] proxypac() { Dictionary <string, string> parameters = null; return(api.CallApiOther("core", "other", "proxy.pac", parameters)); }
/// <summary> ///This component is optional and therefore the API will only work if it is installed /// </summary> /// <returns></returns> public byte[] pnh() { Dictionary <string, string> parameters = null; return(api.CallApiOther("pnh", "other", "pnh", parameters)); }
/// <summary> ///This component is optional and therefore the API will only work if it is installed /// </summary> /// <returns></returns> public byte[] PnhMethod() { return(_api.CallApiOther("pnh", "other", "pnh", null)); }
/// <summary> /// /// </summary> /// <returns></returns> public byte[] ProxyPac() { return(_api.CallApiOther("core", "other", "proxy.pac", null)); }