Skip to content

xXPyHack3dXx/htb-sanitize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Sanitize

Solution to Hack The Box Challenge - Sanitize

Problem

Can you escape the query context and log in as admin at my super secure login page?

Solution

As the problem says the form is vuln to SQL Injection. Also when you complete the form it prints the SQL query as result in the HTML.

So you must do an injection that escapes some validation and gain access as admin user to get the flag...

Username field

admin

Password field

' OR 1=1 --

As result you get the flag print on the HTML

About

Solution to Hack The Box Challenge - Sanitize

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published