渔夫微信互投票群,越来越多的人在平常生活中使用微信,以微信为载体的许多功能就被开发和使用了起来,比如——微信投票。于是乎,微信上兴起了各种投票,从小学生到gov部门的投票活动都有,,刷票交易也越来越火。刷票单纯在请求的技术手段上,都是正常的访问请求,基本是没法识别的,但它真的像吃瓜群众一样说的没法认出来吗!
1.水军为了做更多生意自曝身份,在微信昵称上用了显而易见的刷票词语,比如用“票”筛选投票数据,就得到了大量的刷票信息,见图:
延伸阅读:
这几天朋友参加比赛需要,就写了个脚本帮忙.投票
我们首先来到要投票的 站上来看看。
随便找一个投上一票
然后我们登VPN 换一个IP 试试看。
然后接下来就是写脚本了。
由于我没有长期接触过Python 络方面的编程。以前也只是看着用Requests库爬了一些小 站的数据。
- #coding=utf-8
- import urllib2
- import urllib
- import re
- import threading
- import sys
- from time import ctime
- import time
- rlock = threading.RLock()
- def vote(proxyIP,i,urls):
- try:
- #print “voting…%d…” % i
- #使用代理IP
- proxy_support = urllib2.ProxyHandler(proxyIP)
- opener = urllib2.build_opener(proxy_support, urllib2.HTTPHandler)
- #定义Opener
- urllib2.install_opener(opener)
- #把opener绑定到全局
- sendt = ‘投票’.decode(‘utf-8’).encode(‘gb2312’)
- #设置刷票地址
- #post数据bn
- values = {}
- req = urllib2.urlopen(urls)
- #直接打开这个URL
- html = req.read()
- #读取返回数据
- if html.find(‘true’.decode(‘utf-8’).encode(‘gb2312’)):
- print “投票 [%d] 成功” % i
- return 1
- else:
- print “投票 [%d] 失败” % i
- return 0;
- except Exception:
- return False
- if __name__ == “__main__”:
- args = sys.argv
- if(len(args) == 3):
- ipFile = open(args[1]);
- ipList = ipFile.readlines()
- ipFile.close()
- length = range(len(ipList))
- threads = []
- for i in length:
- ipLine = ipList[i]
- ip=ipLine.strip()
- proxy_ip = {‘http’: ip}
- t = threading.Thread(target=vote,args=(proxy_ip,i,args[2]))
- print “get “,args[2],ip
- threads.append(t)
- for i in length:
- threads[i].start();
- if i%100:
- time.sleep(5)
- #每100个线程等待 5秒
- for i in length:
- threads[i].join()
- else:
- print “””刷票工具
- python brush.py IP文件 Get地址:
- “””
然后我们运行来看看结果
原来的票数
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!