View Single Post
ישן 18-08-07, 09:48   # 17
omercnet
אחראי פורום תחזוק שרתים
 
מיני פרופיל
תאריך הצטרפות: Aug 2006
גיל: 38
הודעות: 722

omercnet לא מחובר  

http://www.znutgang.com/remote_inclu...sS=hostsIScool

אוקי, הנה
רק אם תגשו מהפוסט הזה ללינק הזה תקבלו את מה שאתם רוצים לקבל

בודק גם סיסמא וגם מאיפה באתם, אפשר להוסיף גם מאיזה IP ולא רק מאיזה עמוד

PHP קוד:
<pre>
<?
if ($_SERVER["HTTP_REFERER"] == "http://www.hosts.co.il/forums/showthread.php?p=543688") {
  if (
$_GET['pAsS'] == 'hostsIScool') {
    echo 
"This is a sweet remote include that checks referer and has a key!";
  } else { echo 
"Wrong key !!"; }
} else { echo 
"Unauthorized access !!"; }
?>
__________________
Omer Cohen
Information Security Specialist
eBaY Inc

Last edited by omercnet; 18-08-07 at 09:54..
  Reply With Quote