Giter VIP home page Giter VIP logo

sqli's Introduction

SQLi Lab

Installation

pip install git+https://github.com/Avielyo10/sqli

sqli-session.gif

Usage

Run sqli [options ...].

Options:

  • -w to get a summary on stdout in addition to output.out.
  • -t to run the test case before running the program.

Screenshots

In this part I just changed the php?id=<some_number> to jump to another course.
Here I tried consecutive numbers from the page I started from.

1.png 2.png 3.png 4.png 5.png


An example of a page with access as a guest. non-reg.png


Q3

The weakness here is that the .php is visible, to solve this issue see: StackOverflow - How to hide .php from address bar?.


Q4

Here you can find the output file contains all the open pages on our moodle. What I did to improve the efficiency is to iterate all the categories with all the possible courses, to achieve that I chose this prefix &browse=courses&perpage=10000&page=0, this will guarantee having all the courses on the same page from a certain category.

If course is open, there is an "unlock" symbol next to it. So instead of iterating on each and every course, I looked on the overall page, and look for this symbol, if found - return the link to it.


Q5

I couldn't find any vulnerability inside the search bar since they use parameterized queries so I couldn't change the intent of the query, I tried to do some escaping, but all I got is the same search results without the shadow on the searched word.
Some other vulnerabilities I found: sqli_findings.png


sqli's People

Watchers

 avatar

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.