internal static void StartSerializingRequestBody(Request Request, FormatPlugin Plugin, string XML) { BodyFormatParamters BFP = new BodyFormatParamters(Request, Plugin, XML); RequestFormatThread = new Thread(ManualTesting.SerializeRequestBody); RequestFormatThread.Start(BFP); }
internal static void SerializeRequestBody(object BFPObject) { string PluginName = ""; try { BodyFormatParamters BFP = (BodyFormatParamters)BFPObject; Request Request = BFP.Request; FormatPlugin Plugin = BFP.Plugin; PluginName = Plugin.Name; string XML = BFP.XML; Request NewRequest = Plugin.ToRequestFromXml(Request, XML); IronUI.FillMTRequestWithNewRequestFromFormatXML(NewRequest, PluginName); } catch (ThreadAbortException) { // } catch (Exception Exp) { IronException.Report("Error Serializing 'Manual Testing' Request using Format Plugin - " + PluginName, Exp.Message, Exp.StackTrace); IronUI.ShowMTException("Error Serializing"); } }
public static void Add(FormatPlugin FP) { if ((FP.Name.Length > 0) && !(FP.Name.Equals("All") || FP.Name.Equals("None") || FP.Name.Equals("Normal"))) { if (!List().Contains(FP.Name)) { if (FP.FileName != "Internal") { FP.FileName = PluginEngine.FileName; } Collection.Add(FP); } } else { if (FP.Name.Length == 0) { IronException.Report("Invalid Format Plugin Name", "The Format Plugin's name is empty so it cannot be loaded."); } else { IronException.Report("Invalid Format Plugin Name", string.Format("The Format Plugin's name is '{0}' which is an invalid value. Set a different name.", FP.Name)); } } }
internal BodyFormatParamters(Request Request, FormatPlugin Plugin, List<bool>CheckStatus, bool CheckAll) { this.Request = Request; this.Plugin = Plugin; this.CheckStatus = CheckStatus; this.CheckAll = CheckAll; }
public void SetResponse(Response Res, Request Req) { if (this.BaseTabs.InvokeRequired) { SetResponse_d InvokeDelegate_d = new SetResponse_d(SetResponse); this.BaseTabs.Invoke(InvokeDelegate_d, new object[] { Res, Req }); } else { this.ClearData(); this.SetHeader(Res); this.SetBody(Res); this.SetRoundTrip(Res.RoundTrip); FormatPluginsGrid.Rows.Clear(); foreach (string Name in FormatPlugin.List()) { FormatPluginsGrid.Rows.Add(new object[] { false, Name }); } this.ResetAllChangedValueStatus(); this.DisplayedResponse = Res; this.RequestOfDisplayedResponse = Req; this.AutoDetectFormatAndSetBodyParameters(Res); CheckAndShowReflection(); } }
void DeserializeWithFormatPlugin(object PluginNameObject) { string PluginName = PluginNameObject.ToString(); try { Request Req = DisplayedRequest.GetClone(true); FormatPlugin FP = FormatPlugin.Get(PluginName); CurrentFormatXml = FP.ToXmlFromRequest(Req); CurrentXmlNameValueArray = FormatPlugin.XmlToArray(CurrentFormatXml); ShowStatusMsg(""); SetDeserializedDataInUi(PluginName, CurrentFormatXml, CurrentXmlNameValueArray); this.ResetBodyParametersChangedStatus(); ShowProgressBar(false); } catch (ThreadAbortException) { ShowStatusMsg(""); } catch (Exception Exp) { IronException.Report(string.Format("Error converting Request to {0}", PluginName), Exp); ShowErrorMsg(string.Format("Unable to parse Request body as {0}", PluginName)); ShowProgressBar(false); } }
void SerializeNewXmlWithFormatPlugin(object PluginNameObject) { string PluginName = PluginNameObject.ToString(); try { Request Req = DisplayedRequest.GetClone(true); FormatPlugin FP = FormatPlugin.Get(PluginName); Request NewRequest = FP.ToRequestFromXml(Req, CurrentFormatXml); this.DisplayedRequest = NewRequest; ShowStatusMsg(""); this.SetNonFormatPluginRequestFields(NewRequest); ShowProgressBar(false); } catch (ThreadAbortException) { ShowStatusMsg(""); } catch (Exception Exp) { IronException.Report(string.Format("Error converting {0} to Request", PluginName), Exp); ShowErrorMsg(string.Format("Unable to update edited values in {0}", PluginName)); ShowProgressBar(false); } }
public void SetRequest(Request Req) { if (this.BaseTabs.InvokeRequired) { SetRequest_d InvokeDelegate_d = new SetRequest_d(SetRequest); this.BaseTabs.Invoke(InvokeDelegate_d, new object[] { Req }); } else { this.ClearData(); this.SetHeader(Req); this.SetBody(Req); this.SetUrlPathPartsParameters(Req); this.SetQueryParameters(Req); this.SetCookieParameters(Req); this.SetHeadersParameters(Req); FormatPluginsGrid.Rows.Clear(); FormatPluginsGrid.Rows.Add(new object[] { false, " -- " }); foreach (string Name in FormatPlugin.List()) { FormatPluginsGrid.Rows.Add(new object[] { false, Name }); } //this.SetBodyParameters(Req); this.AutoDetectFormatAndSetBodyParameters(Req); this.ResetAllChangedValueStatus(); this.DisplayedRequest = Req; } }
internal BodyFormatParamters(Request Request, FormatPlugin Plugin, List <bool> CheckStatus, bool CheckAll) { this.Request = Request; this.Plugin = Plugin; this.CheckStatus = CheckStatus; this.CheckAll = CheckAll; }
public static BodyFormatType GetFormatType(Request Req) { if (Tools.IsSoap(Req.BodyString)) { return(BodyFormatType.Soap); } else if (Tools.IsXml(Req.BodyString)) { return(BodyFormatType.Xml); } else if (Tools.IsJson(Req.BodyString)) { return(BodyFormatType.Json); } else if (FormatPlugin.Get(BodyFormatType.Multipart).Is(Req)) { return(BodyFormatType.Multipart); } else if (Tools.IsBinary(Req.BodyArray)) { return(BodyFormatType.UnknownBinary); } else if (IsNormal(Req)) { return(BodyFormatType.UrlFormEncoded); } else { return(BodyFormatType.Unknown); } }
private void ScanSelectedWizard_Load(object sender, EventArgs e) { foreach (string Name in ActivePlugin.List()) { ScanPluginsGrid.Rows.Add(new object[] { true, Name }); } foreach (string Name in FormatPlugin.List()) { FormatGrid.Rows.Add(new object[] { true, Name }); } ScanBranchSessionPluginsCombo.Items.AddRange(SessionPlugin.List().ToArray()); if (InjectQueryCB.Checked) { QueryParametersFilterCB.Enabled = true; } if (InjectBodyCB.Checked) { BodyParametersFilterCB.Enabled = true; } if (InjectCookieCB.Checked) { CookieParametersFilterCB.Enabled = true; } if (InjectHeadersCB.Checked) { HeadersParametersFilterCB.Enabled = true; } }
internal static void LoadAllInternalFormatPlugins() { FormatPlugin.Add(new XmlFormatPlugin()); FormatPlugin.Add(new JsonFormatPlugin()); FormatPlugin.Add(new SoapFormatPlugin()); FormatPlugin.Add(new MultipartFormatPlugin()); }
private void RequestView_Load(object sender, EventArgs e) { FormatPluginsGrid.Rows.Clear(); FormatPluginsGrid.Rows.Add(new object[] { false, " -- " }); foreach (string Name in FormatPlugin.List()) { FormatPluginsGrid.Rows.Add(new object[] { false, Name }); } HideBodyFormatOptions(); }
public static void Add(FormatPlugin FP) { if ((FP.Name.Length > 0) && !(FP.Name.Equals("All") || FP.Name.Equals("None"))) { if (!List().Contains(FP.Name)) { FP.FileName = PluginStore.FileName; Collection.Add(FP); } } }
private void ResponseView_Load(object sender, EventArgs e) { FormatPluginsGrid.Rows.Clear(); foreach (string Name in FormatPlugin.List()) { FormatPluginsGrid.Rows.Add(new object[] { false, Name }); } if (!HasReflectionTab) { BaseTabs.TabPages.RemoveByKey("ReflectionsTab"); } }
public static void ScrapeUrls(Request Req, Response Res) { List <string> LocalScrapedUrls = new List <string>(); if (Res.IsHtml) { foreach (string Comment in Res.Html.Comments) { LocalScrapedUrls.AddRange(ScrapeUrls(Req, Comment)); } foreach (string Script in Res.Html.GetJavaScript()) { LocalScrapedUrls.AddRange(ScrapeUrls(Req, Script)); } } else if (Res.IsJson) { FormatParameters JsonParams = FormatPlugin.GetJsonParameters(Res); for (int i = 0; i < JsonParams.Count; i++) { LocalScrapedUrls.AddRange(ScrapeUrls(Req, JsonParams.GetValue(i))); } } else if (Res.IsJavaScript) { LocalScrapedUrls.AddRange(ScrapeUrls(Req, Res.BodyString)); } if (Res.IsRedirect) { try { HTML ResHtml = new HTML(Res.BodyString); foreach (string Link in ResHtml.Links) { string FullUrl = Req.RelativeUrlToAbsoluteUrl(Link); if (!FullUrl.Equals(Req.FullUrl)) { if (!LocalScrapedUrls.Contains(FullUrl)) { LocalScrapedUrls.Add(FullUrl); } } } } catch { } } lock (ScrapedUrls) { ScrapedUrls.AddRange(LocalScrapedUrls); } }
Scanner SetFormatPlugin(Scanner S) { Request RequestToScan = S.OriginalRequest; if (!FormatPlugin.IsNormal(RequestToScan)) { string FPName = FormatPlugin.Get(RequestToScan, FormatPlugins); if (FPName.Length > 0 && FPName != "Normal") { S.BodyFormat = FormatPlugin.Get(FPName); } } return(S); }
void SerializeNewParametersWithFormatPlugin(string[,] EditedXmlNameValueArray, string PluginName) { for (int i = 0; i < this.CurrentXmlNameValueArray.GetLength(0); i++) { if (this.CurrentXmlNameValueArray[i, 0].Equals(EditedXmlNameValueArray[i, 0])) { if (!this.CurrentXmlNameValueArray[i, 1].Equals(EditedXmlNameValueArray[i, 1])) { this.CurrentFormatXml = FormatPlugin.InjectInXml(this.CurrentFormatXml, i, EditedXmlNameValueArray[i, 1]); } } } this.CurrentXmlNameValueArray = EditedXmlNameValueArray; this.SerializeNewXmlWithFormatPlugin(this.CurrentFormatXml, PluginName); }
private void ResponseView_Load(object sender, EventArgs e) { FormatPluginsGrid.Rows.Clear(); foreach (string Name in FormatPlugin.List()) { FormatPluginsGrid.Rows.Add(new object[] { false, Name }); } if (!HasReflectionTab) { BaseTabs.TabPages.RemoveByKey("ReflectionsTab"); } ToolTip Tips = new ToolTip(); Tips.SetToolTip(RenderLbl, "Render using IE's rendering engine"); Tips.SetToolTip(ScreenshotBtn, "Screenshot mode"); }
internal static void ReloadPlugin(PluginType Type, string Name, string PluginFileName) { string FileName = ""; switch (Type) { case PluginType.Passive: FileName = Config.RootDir + "\\plugins\\passive\\" + PluginFileName; lock (PassivePlugin.Collection) { PassivePlugin.Remove(Name); LoadPlugin(FileName); } break; case PluginType.Active: FileName = Config.RootDir + "\\plugins\\active\\" + PluginFileName; lock (ActivePlugin.Collection) { ActivePlugin.Remove(Name); LoadPlugin(FileName); } break; case PluginType.Format: FileName = Config.RootDir + "\\plugins\\format\\" + PluginFileName; lock (FormatPlugin.Collection) { FormatPlugin.Remove(Name); LoadPlugin(FileName); IronUI.UpdateAllFormatPluginRows(); } break; case PluginType.Session: FileName = Config.RootDir + "\\plugins\\session\\" + PluginFileName; lock (SessionPlugin.Collection) { SessionPlugin.Remove(Name); LoadPlugin(FileName); } break; } IronUI.UpdateAllFormatPluginRows(); IronUI.UpdateAllActivePluginRows(); IronUI.BuildPluginTree(); }
void SerializeNewXmlWithFormatPlugin(string XML, string PluginName) { this.CurrentFormatXml = XML; this.CurrentXmlNameValueArray = FormatPlugin.XmlToArray(this.CurrentFormatXml); if (FormatPluginCallingThread != null) { try { FormatPluginCallingThread.Abort(); } catch { } } ShowProgressBar(true); ShowStatusMsg(string.Format("Updating edited values in {0}", PluginName)); FormatPluginCallingThread = new Thread(SerializeNewXmlWithFormatPlugin); FormatPluginCallingThread.Start(PluginName); }
internal static void LoadNewFormatPlugins(ScriptEngine Engine) { string FormatPluginPath = Path.Combine(Config.RootDir, "plugins\\format"); string[] FormatPluginFiles = Directory.GetFiles(FormatPluginPath); List <string> OldPluginFiles = new List <string>(); List <string> NewPluginFiles = new List <string>(); foreach (string Name in FormatPlugin.List()) { OldPluginFiles.Add((Config.RootDir + "\\plugins\\format\\" + FormatPlugin.Get(Name).FileName).Replace("/", "\\")); } foreach (string PluginFile in FormatPluginFiles) { if (!OldPluginFiles.Contains(PluginFile)) { NewPluginFiles.Add(PluginFile); } } LoadFormatPlugins(Engine, NewPluginFiles); }
void AutoDetectFormatAndSetBodyParameters(object ReqObj) { try { Request Req = ((Request)ReqObj).GetClone(); string FPName = FormatPlugin.Get(Req); if (FPName == "Normal") { SetBodyParameters(Req, true); } else if (FPName.Length == 0) { SetBodyParameters(Req, false); } else { try { FormatPlugin FP = FormatPlugin.Get(FPName); CurrentFormatXml = FP.ToXmlFromRequest(Req); CurrentXmlNameValueArray = FormatPlugin.XmlToArray(CurrentFormatXml); SetDeserializedDataInUi(FP.Name, CurrentFormatXml, CurrentXmlNameValueArray); } catch { SetBodyParameters(Req, false); } } this.ResetBodyParametersChangedStatus(); } catch (ThreadAbortException) { } finally { ShowStatusMsg(""); ShowProgressBar(false); } }
void AutoDetectFormatAndSetBodyParameters(object ResObj) { try { Response Res = ((Response)ResObj).GetClone(); string FPName = FormatPlugin.Get(Res); if (FPName.Length > 0 && FPName != "Normal") { try { FormatPlugin FP = FormatPlugin.Get(FPName); CurrentFormatXml = FP.ToXmlFromResponse(Res); CurrentXmlNameValueArray = FormatPlugin.XmlToArray(CurrentFormatXml); SetDeserializedDataInUi(FP.Name, CurrentFormatXml, CurrentXmlNameValueArray); } catch { } } this.ResetBodyTypeFormatPluginsParametersChangedStatus(); ShowStatusMsg(""); ShowProgressBar(false); } catch {} }
static void GetNewPlugins(XmlNode ManifestNode) { string PluginType = ManifestNode.Name; List <string[]> AllPluginInfo = new List <string[]>(); switch (PluginType) { case ("active"): foreach (string Name in ActivePlugin.List()) { ActivePlugin P = ActivePlugin.Get(Name); AllPluginInfo.Add(new string[] { P.FileName, P.Version }); } break; case ("passive"): foreach (string Name in PassivePlugin.List()) { PassivePlugin P = PassivePlugin.Get(Name); AllPluginInfo.Add(new string[] { P.FileName, P.Version }); } break; case ("format"): foreach (string Name in FormatPlugin.List()) { FormatPlugin P = FormatPlugin.Get(Name); AllPluginInfo.Add(new string[] { P.FileName, P.Version }); } break; case ("session"): foreach (string Name in SessionPlugin.List()) { SessionPlugin P = SessionPlugin.Get(Name); AllPluginInfo.Add(new string[] { P.FileName, P.Version }); } break; } StringBuilder SB = new StringBuilder(); XmlWriter XW = XmlWriter.Create(SB); XW.WriteStartDocument(); XW.WriteStartElement("manifest"); foreach (XmlNode FileNode in ManifestNode.ChildNodes) { string Version = ""; string Action = ""; string FileName = ""; string DownloadFileName = ""; string Comment = ""; List <string[]> SupportFiles = new List <string[]>(); foreach (XmlNode PropertyNode in FileNode.ChildNodes) { switch (PropertyNode.Name) { case ("version"): Version = PropertyNode.InnerText; break; case ("action"): Action = PropertyNode.InnerText; break; case ("filename"): FileName = PropertyNode.InnerText; break; case ("downloadname"): DownloadFileName = PropertyNode.InnerText; break; case ("comment"): Comment = PropertyNode.InnerText; break; case ("support_file"): string SupportFileName = ""; string SupportFileDownloadName = ""; foreach (XmlNode SupportFileNode in PropertyNode.ChildNodes) { switch (SupportFileNode.Name) { case ("filename"): SupportFileName = SupportFileNode.InnerText; break; case ("downloadname"): SupportFileDownloadName = SupportFileNode.InnerText; break; } } SupportFiles.Add(new string[] { SupportFileName, SupportFileDownloadName }); break; } } if (Action.Equals("add") || Action.Equals("update")) { bool MatchFound = false; string[] MatchedPluginInfo = new string[2]; foreach (string[] PluginInfo in AllPluginInfo) { if (PluginInfo[0].Equals(FileName)) { MatchFound = true; MatchedPluginInfo = PluginInfo; break; } } if ((MatchFound && !MatchedPluginInfo[1].Equals(Version)) || !MatchFound) { DownloadPlugin(PluginType, FileName, DownloadFileName); XW.WriteStartElement("file"); XW.WriteStartElement("action"); XW.WriteValue(Action); XW.WriteEndElement(); XW.WriteStartElement("filename"); XW.WriteValue(FileName); XW.WriteEndElement(); XW.WriteStartElement("comment"); XW.WriteValue(Comment); XW.WriteEndElement(); XW.WriteEndElement(); foreach (string[] SupportFile in SupportFiles) { DownloadPlugin(PluginType, SupportFile[0], SupportFile[1]); XW.WriteStartElement("file"); XW.WriteStartElement("action"); XW.WriteValue(Action); XW.WriteEndElement(); XW.WriteStartElement("filename"); XW.WriteValue(SupportFile[0]); XW.WriteEndElement(); XW.WriteStartElement("comment"); XW.WriteValue(Comment); XW.WriteEndElement(); XW.WriteEndElement(); } } } } XW.WriteEndElement(); XW.WriteEndDocument(); XW.Close(); StreamWriter SW = File.CreateText(Config.Path + "\\updates\\" + PluginType + "_plugin_manifest.xml"); SW.Write(SB.ToString()); SW.Close(); }
public static FormatParameters GetJsonParameters(Request Req) { return(new FormatParameters(XmlToArray(FormatPlugin.JSON().ToXmlFromRequest(Req)))); }
public static FormatParameters GetSoapParameters(Request Req) { return(new FormatParameters(XmlToArray(FormatPlugin.SOAP().ToXmlFromRequest(Req)))); }
public static FormatParameters GetMultipartParameters(Request Req) { return(new FormatParameters(XmlToArray(FormatPlugin.MutliPart().ToXmlFromRequest(Req)))); }
internal BodyFormatParamters(Response Response, FormatPlugin Plugin) { this.Response = Response; this.Plugin = Plugin; }
public static FormatParameters GetSoapParameters(Response Res) { return(new FormatParameters(XmlToArray(FormatPlugin.SOAP().ToXmlFromResponse(Res)))); }
public static FormatParameters GetMultipartParameters(Response Res) { return(new FormatParameters(XmlToArray(FormatPlugin.MutliPart().ToXmlFromResponse(Res)))); }
internal static void StartDeSerializingRequestBody(Request Request, FormatPlugin Plugin) { BodyFormatParamters BFP = new BodyFormatParamters(Request, Plugin); RequestFormatThread = new Thread(IronProxy.DeSerializeRequestBody); RequestFormatThread.Start(BFP); }
internal static void StartSerializingResponseBody(Response Response, FormatPlugin Plugin, string XML) { BodyFormatParamters BFP = new BodyFormatParamters(Response, Plugin, XML); ResponseFormatThread = new Thread(IronProxy.SerializeResponseBody); ResponseFormatThread.Start(BFP); }
//private void ASRequestScanURLGrid_CellClick(object sender, DataGridViewCellEventArgs e) //{ // if (ASRequestScanURLGrid.SelectedCells.Count < 1 || ASRequestScanURLGrid.SelectedCells[0].Value == null) // { // return; // } // if ((bool)this.ASRequestScanURLGrid.SelectedCells[0].Value) // { // this.ASRequestScanURLGrid.SelectedCells[0].Value = false; // this.ASRequestScanAllCB.Checked = false; // this.ASRequestScanURLCB.Checked = false; // } // else // { // this.ASRequestScanURLGrid.SelectedCells[0].Value = true; // } //} //private void ASRequestScanQueryGrid_CellClick(object sender, DataGridViewCellEventArgs e) //{ // if (ASRequestScanQueryGrid.SelectedCells.Count < 1 || ASRequestScanQueryGrid.SelectedCells[0].Value == null) // { // return; // } // if ((bool)this.ASRequestScanQueryGrid.SelectedCells[0].Value) // { // this.ASRequestScanQueryGrid.SelectedCells[0].Value = false; // this.ASRequestScanAllCB.Checked = false; // this.ASRequestScanQueryCB.Checked = false; // } // else // { // this.ASRequestScanQueryGrid.SelectedCells[0].Value = true; // } //} //private void ASRequestScanBodyGrid_CellClick(object sender, DataGridViewCellEventArgs e) //{ // if (ConfigureScanRequestBodyTypeFormatPluginGrid.SelectedCells.Count < 1 || ConfigureScanRequestBodyTypeFormatPluginGrid.SelectedCells[0].Value == null) // { // return; // } // if ((bool)this.ConfigureScanRequestBodyTypeFormatPluginGrid.SelectedCells[0].Value) // { // this.ConfigureScanRequestBodyTypeFormatPluginGrid.SelectedCells[0].Value = false; // this.ASRequestScanAllCB.Checked = false; // this.ASRequestScanBodyCB.Checked = false; // } // else // { // this.ConfigureScanRequestBodyTypeFormatPluginGrid.SelectedCells[0].Value = true; // } //} //private void ASRequestScanCookieGrid_CellClick(object sender, DataGridViewCellEventArgs e) //{ // if (ASRequestScanCookieGrid.SelectedCells.Count < 1 || ASRequestScanCookieGrid.SelectedCells[0].Value == null) // { // return; // } // if ((bool)this.ASRequestScanCookieGrid.SelectedCells[0].Value) // { // this.ASRequestScanCookieGrid.SelectedCells[0].Value = false; // this.ASRequestScanAllCB.Checked = false; // this.ASRequestScanCookieCB.Checked = false; // } // else // { // this.ASRequestScanCookieGrid.SelectedCells[0].Value = true; // } //} //private void ASRequestScanHeadersGrid_CellClick(object sender, DataGridViewCellEventArgs e) //{ // if (ASRequestScanHeadersGrid.SelectedCells.Count < 1 || ASRequestScanHeadersGrid.SelectedCells[0].Value == null) // { // return; // } // if ((bool)this.ASRequestScanHeadersGrid.SelectedCells[0].Value) // { // this.ASRequestScanHeadersGrid.SelectedCells[0].Value = false; // this.ASRequestScanAllCB.Checked = false; // this.ASRequestScanHeadersCB.Checked = false; // } // else // { // this.ASRequestScanHeadersGrid.SelectedCells[0].Value = true; // } //} //private void ASSessionPluginsCombo_SelectionChangeCommitted(object sender, EventArgs e) //{ // this.ASScanPluginsGrid.Focus(); //} private void UpdateBodyGridForFormat(FormatPlugin Plugin, bool CheckStatus) { ConfigureScanRequestBodyTypeFormatPluginGrid.Rows.Clear(); string XmlString = Plugin.ToXml(Scanner.CurrentScanner.OriginalRequest.BodyArray); ConfigureScanRequestFormatXMLTB.Text = XmlString; string[,] InjectionPoints = FormatPlugin.XmlToArray(XmlString); for (int i = 0; i < InjectionPoints.GetLength(0); i++) { ConfigureScanRequestBodyTypeFormatPluginGrid.Rows.Add(new object[] { CheckStatus, InjectionPoints[i, 0], InjectionPoints[i, 1] }); } }
internal BodyFormatParamters(Response Response, FormatPlugin Plugin, string XML) { this.Response = Response; this.Plugin = Plugin; this.XML = XML; }
internal static void StartDeSerializingRequestBody(Request Request, FormatPlugin Plugin, List<bool> CheckStatus, bool CheckAll) { BodyFormatParamters BFP = new BodyFormatParamters(Request, Plugin, CheckStatus, CheckAll); RequestFormatThread = new Thread(Scanner.DeSerializeRequestBody); RequestFormatThread.Start(BFP); }
public static FormatParameters GetJsonParameters(Response Res) { return(new FormatParameters(XmlToArray(FormatPlugin.JSON().ToXmlFromResponse(Res)))); }
internal BodyFormatParamters(Request Request, FormatPlugin Plugin, string XML) { this.Request = Request; this.Plugin = Plugin; this.XML = XML; }
internal BodyFormatParamters(Request Request, FormatPlugin Plugin) { this.Request = Request; this.Plugin = Plugin; }