TableOfContents

Include(ZPyUGnav)

IP作弊器

需求

Wang SH. <[email protected]>
reply-to        [email protected]
to      [email protected]
date    Thu, Dec 25, 2008 at 11:04
subject [CPyUG:74764] 请问投票网站如何IP作弊

最近有个朋友需要网络投票来拉选票。 网站的限制就是IP。如果一个IP已经投过了,则就会不能进行二次投票,而且是永久不能。

我找到了两个办法:

因此,特地来此向诸位请教。看有没有好的点子和方法。能进行IP 欺骗。

代码

王鑫-WangXin <[email protected]>
reply-to        [email protected]
to      [email protected]
date    Thu, Dec 25, 2008 at 11:35
subject [CPyUG:74772] 答复: [CPyUG:74768] Re: 请问投票网站如何IP作弊

   1 def delcoolie(url,CookiesPath):
   2     l =glob.glob(CookiesPath+"\*@"+re.findall("\w*",url,0)[6]+"*.txt")
   3     if len(l)!=0:
   4         for j in l: os.remove(j)      
   5 
   6 def DoJob():
   7     os.system("rasdial lns /DISCONNECT")
   8     os.system("rasdial lns thudme PassWord")
   9     os.system("CLS")
  10     fl = open("WangZhi.txt","r") 
  11 
  12     import _winreg
  13     key = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER,"Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders",0,_winreg.KEY_READ)
  14     CookiesPath = str(_winreg.QueryValueEx(key,"Cookies")[0])
  15     _winreg.CloseKey(key)
  16 
  17 #-----------------------

调用方式:

For……:
    delcoolie(line,CookiesPath)
    Dojob()
    time.sleep(random.randint(0,2)*0.1)


反馈

创建 by -- ZoomQuiet [DateTime(2008-12-25T03:46:38Z)]

PageComment2

[:/PageCommentData:PageCommentData]