Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 675 Bytes

README.md

File metadata and controls

33 lines (29 loc) · 675 Bytes

Colocar senha no banco de dados

mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';
mysql> FLUSH PRIVILEGES;
mysql> quit

Quebrando

    1' or 1=1 or email = '1

Tabela

CREATE TABLE `usuarios` (
  `id` int NOT NULL AUTO_INCREMENT,
  `nome` varchar(100) DEFAULT NULL,
  `email` varchar(50) DEFAULT NULL,
  `senha` varchar(255) DEFAULT NULL,
  `descricao` text,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

ordem dos branchs

  • main
  • sqlinjection
  • dados_expostos
  • forca_bruta
  • cross_site_script
  • senha_cripto
  • roubo_de_sessao