This file contains hidden or 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 | |
/** | |
* @desc This program was amended by Pierre-Henry. | |
* @author SORIA Pierre-Henry <[email protected]> | |
* @version 2.1.4 (Last update 2012/06/21). | |
* | |
* | |
* UTF-8 friendly replacement functions - v0.2 | |
* Copyright (C) 2004-2006 Niels Leenheer & Andy Matsubara | |
* |
This file contains hidden or 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
[user] | |
name = Pierre-Henry Soria | |
email = $EMAIL_ADDRESS | |
[init] | |
defaultBranch = main | |
[color] | |
diff = auto | |
status = auto |
This file contains hidden or 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 | |
/** | |
* Front to the WordPress application. This file doesn't do anything, but loads | |
* wp-blog-header.php which does and tells WordPress to load the theme. | |
* | |
* @package WordPress | |
*/ | |
/** | |
* Tells WordPress to load the WordPress theme and output it. |
This file contains hidden or 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 | |
$sPhoneNum = '**********'; // Le numΓ©ro de tΓ©lΓ©phone qui recevra l'SMS (avec le prΓ©fixe, ex: +33) | |
$aProviders = array('vtext.com', 'tmomail.net', 'txt.att.net', 'mobile.pinger.com', 'page.nextel.com'); | |
foreach ($aProviders as $sProvider) | |
{ | |
if (mail($sPhoneNum . '@' . $sProvider, '', 'Ce texto a Γ©tΓ© envoyΓ© avec PHP, tout simplement !')) | |
{ | |
// C'est bon, l'SMS a correctement Γ©tΓ© envoyΓ© avec le fournissuer | |
break; |
This file contains hidden or 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
########## | |
## | |
## Get all Udemy Courses with 100% off Coupons thanks to growthcoupon.com & Importer.io | |
## | |
########## | |
from json import loads | |
from bs4 import BeautifulSoup | |
import mechanize |
This file contains hidden or 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
ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}' |
This file contains hidden or 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 | |
/** | |
* This is used by hackers wanna hack Wordpress sites. With this file, most of the time hackers add HTML files to promote | |
* them (usually Chinese posts/products) on your server, change the Google Webmaster account and add new sitemap file | |
* (containing the HTML files added) to request new indexation of the compromising site by Google, etc. | |
* This can be very dangerous and destroy your whole reputation. | |
* Most of the time hackers are able to upload this file on crappy (most are!) sharing Web host. | |
* Be really careful and scan your site + overwritten all files by new ones | |
*/ | |
header("Content-type:text/html;charset=utf-8"); |
This file contains hidden or 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
-- | |
-- Author: Pierre-Henry Soria <[email protected]> | |
-- Copyright: (c) 2013-2016, Pierre-Henry Soria. All Rights Reserved. | |
-- License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. | |
-- | |
--- Replace 'PH7_' by your prefix set in "~/_protected/app/configs/config.ini" [database] prefix var | |
UPDATE PH7_Settings SET `name` = 'bgProfileManualApproval' WHERE `name` = 'profileBackgroundManualApproval'; |
This file contains hidden or 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
-- | |
-- Author: Pierre-Henry Soria <[email protected]> | |
-- Copyright: (c) 2016, Pierre-Henry Soria. All Rights Reserved. | |
-- License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. | |
-- | |
----- Update Two-Factor authentication feature | |
ALTER TABLE pH7_Admins ADD COLUMN isTwoFactorAuth enum('1','0') DEFAULT '0'; | |
ALTER TABLE pH7_Admins ADD COLUMN twoFactorAuthSecret varchar(40) DEFAULT NULL; |
This file contains hidden or 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 | |
/* | |
YOUR PERSONAL CONSTANTS ARE BELOW | |
... | |
... | |
... | |
*/ | |
// Add it in the end of the file |
OlderNewer