Ejemplo n.º 1
0
        public List <ReflectedCrossSiteScriptingPayload> RetriveAllPayloads()
        {
            #region Initialise
            var payloads       = new List <ReflectedCrossSiteScriptingPayload>();
            var fileSerializer = new FileSerializer <ReflectedCrossSiteScriptingPayload>();
            #endregion

            #region RetrivePayloadsFromFile
            List <string> paths = RetriveListOfCrossSiteScriptingPayloadFilePaths();
            foreach (var path in paths)
            {
                payloads.Add(fileSerializer.GetFromDisk(path));
            }
            #endregion

            return(payloads);
        }