This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################# | |
# CVE-XXXXX Wordpress and Drupal XML Blowup Attack DoS# | |
# Author: Nir Goldshlager - Salesforce.com Product Security Team# | |
# This is a Proof of Concept Exploit, Please use responsibly.# | |
################################################################################# | |
#!/usr/bin/env python | |
from __future__ import print_function | |
import threading | |
import time | |
import urllib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$books = array(); | |
$selections = array(); | |
$selections_positions = array(); | |
$view = array(); | |
for ($i=0;$i<1000;$i++){ | |
$books[] = array("id_book"=>$i); | |
} | |
for ($i=0; $i < 5; $i++) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9785906067012 => imported!!! | |
9785961401837 => imported!!! | |
9785961409406 => imported!!! | |
9785961409703 => imported!!! | |
9785961410488 => imported!!! | |
9785961415131 => imported!!! | |
9785961416282 => imported!!! | |
9785961420036 => imported!!! | |
9785961420043 => imported!!! | |
9785961420067 => imported!!! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9785906067012_cover2.jpg imported! | |
9785961401837_cover1.jpg imported! | |
9785961409406_cover1.jpg imported! | |
9785961409703_cover2.jpg imported! | |
9785961410488_cover2.jpg imported! | |
9785961415131_cover2.jpg imported! | |
9785961416282_cover2.jpg imported! | |
9785961420036_cover2.jpg imported! | |
9785961420043_cover2.jpg imported! | |
9785961420067_cover1.jpg imported! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class TextOnImage | |
{ | |
public $jpegQuality = 100; | |
public $ttfFontDir = 'fonts'; | |
private $ttfFont = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Class ImageHelper | |
* | |
* Simple class to manage image load, save and resize | |
* | |
* Usage: | |
* | |
* $image = new ImageHelper; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class EverbookAudioImportCommand extends CConsoleCommand | |
{ | |
/** | |
* @var $task EverbookAudioImportTasks | |
*/ | |
private $task; | |
/** | |
* @var $everbook_book EverbookBooks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ZendeskImportCommand extends CConsoleCommand | |
{ | |
private $users; | |
private $apps; | |
private $list = 3; | |
/** | |
* @var $zendesk ZenDesk | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Class Encoding | |
* Usage: | |
* $text = Encoding::UTF8FixWin1252Chars($text); | |
* $text = Encoding::replaceBroken($text); | |
*/ | |
class Encoding { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update `table` set `field` = replace(`field` ,'É','É'); | |
update `table` set `field` = replace(`field` ,'“','"'); | |
update `table` set `field` = replace(`field` ,'â€','"'); | |
update `table` set `field` = replace(`field` ,'Ç','Ç'); | |
update `table` set `field` = replace(`field` ,'Ã','Ã'); | |
//Edit by slash4 | |
update `table` set `field` = replace(`field` ,'Ã ','À'); | |
update `table` set `field` = replace(`field` ,'ú','ú'); | |
update `table` set `field` = replace(`field` ,'•','-'); | |
update `table` set `field` = replace(`field` ,'Ø','Ø'); |