2 Eylül 2022 Cuma

MSSQL Enjection için kod temizleme fonksiyonu (ClearBigFive)

MSSQL Enjection için kod temizleme fonksiyonu         

        public static string KodTemizle(string s)
        {
            if (s != null)
            {
                s = s.Replace("update", "");
                s = s.Replace("delete", "");
                s = s.Replace("drop", "");
                s = s.Replace("select", "");
                s = s.Replace("--", "");
            }
            return s;
        }

Hiç yorum yok:

Yorum Gönder

Ücretsiz Resim, Müzik Video yapım için siteler

 Resim,Müzik Video yapım için ücretsiz siteler Ücretsiz Kaynak bulma siteleri: videvo.net : Ses ve Video dosyaları pixabay.com : Resimler, m...