Git Product home page Git Product logo

hacky-holidays-2020-writeups's People

Contributors

limerencee avatar

Watchers

 avatar  avatar

Forkers

aktas

hacky-holidays-2020-writeups's Issues

请教一下hackyholidays中Evil Quiz题的解法

你好,能请教一个问题吗?

我看你写的Evil Quiz题的答案,用的方法是

' and (select 1);--

虽然题目确实返回了非0的结果,但是我不太明白这个语句为什么能执行。

假设后端查询语句是

SELECT count(*) FROM users where username='submit_username';

注入之后就是

SELECT count(*) FROM users where username='' and (select 1);--

我在MySQL中测试,这返回的是0。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.