Exemplo n.º 1
0
        static void FuzzService(SoapService service)
        {
            Console.WriteLine("Fuzzing service: " + service.Name);

            foreach (SoapPort port in service.Ports)
            {
                Console.WriteLine("Fuzzing " + port.ElementType.Split(':') [0] + " port: " + port.Name);
                SoapBinding binding = _wsdl.Bindings.Single(b => b.Name == port.Binding.Split(':') [1]);

                if (binding.IsHTTP)
                {
                    FuzzHttpPort(binding);
                }
                else
                {
                    FuzzSoapPort(binding);
                }
            }
        }
Exemplo n.º 2
0
        static void FuzzService(SoapService service)
        {
            Console.WriteLine ("Fuzzing service: " + service.Name);

            foreach (SoapPort port in service.Ports) {
                Console.WriteLine ("Fuzzing " + port.ElementType.Split (':') [0] + " port: " + port.Name);
                SoapBinding binding = _wsdl.Bindings.Where (b => b.Name == port.Binding.Split (':') [1]).Single ();

                if (binding.IsHTTP)
                    FuzzHttpPort (binding);
                else
                    FuzzSoapPort (binding);
            }
        }