CTF Guide / Python Prjoect - Automating SQL Injection

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • SQL Injection list:
    github.com/pay...
    BWAPP guide, yes docker really would be the best way to run it:
    infosecwriteup...
    Github link:
    github.com/gan...
    #sql #sqlinjection #python #kali #pentesting #pythonautomation

Комментарии • 6

  • @sussteve226
    @sussteve226 12 часов назад +2

    Any ways to protect my site from this?

    • @gand0rfTRZ
      @gand0rfTRZ  12 часов назад +1

      Input validation and an IDS like Suricata would go a long way to help.

    • @sussteve226
      @sussteve226 12 часов назад

      @@gand0rfTRZ what is ids?

    • @gand0rfTRZ
      @gand0rfTRZ  12 часов назад

      Intrusuon Detection System. I use suricata on my web site. I had a big problem with spray and pray ssh login attempts. After setting it up and adding a rule to drop ssh connects, and adding a ufw rule to only allow ssh logins from the ip address of a mchine I control. The ssh brute forcing has been stopped and isnt taking up resources on my server or clogging up my SIEM logs.

  • @heathbruce9928
    @heathbruce9928 День назад

    Does this attack work with Microsoft sites? The normal Ms query has brackets which would cause the query to fail.

    • @gand0rfTRZ
      @gand0rfTRZ  День назад +1

      It all depends on the database used on the backend. Thats why it is normally a good habit to have several txt files with different payloads.
      Scripts like this can also be tweeked for different cases. Or you can make several scripts. One for sql, nosql, or what ever you come across. The key is learning the differences and building a tools that can work with the different types.