View Single Post
ישן 01-11-07, 12:24   # 1
sababa_y
חבר חדש
 
מיני פרופיל
תאריך הצטרפות: Oct 2006
הודעות: 36

sababa_y לא מחובר  

הסוד מסתיר את הסיסמא והשם משתמש

משהוא הזוי הקוד כנראה כלכך מתוחכם שהוא מסתיר את השם משתמש והסיסמא באת ביצוע הפעולה.
כך הוא צריך לעבור:
קוד:
$file = file_get_contents("http://".$whmuser.":".$whmpass."@localhost:2086/scripts/wwwacct?sign=&plan=".$packagename."&domain=".$domain ."&username=".$user ."&password=".$password."&quota=".$quota."&cgi=".$cgi."&frontpage=".$frontpage."&maxftp=".$maxftp."&maxpop=".$maxpop."&maxlst=".$maxlist."&maxsql=".$maxsql."&maxsub=".$maxsub."&maxpark=".$maxpark."&maxaddon=".$maxaddon."&bwlimit=".$bwlimit."&cpmod=".$cpmod."&customip=--Auto+Assign--&msel=n%2Cy%2Cunlimited%2Cy%2Cunlimited%2Cunlimited%2Cunlimited%2Cunlimited%2Cunlimited%2Cunlimited%2Cunlimited%2Cy%2C0%2C0&contactemail=".urlencode($email));
זה מה שהוא מבצע בגלל ההסתרה:
קוד:
file_get_contents(http://...@localhost:2086/scripts/wwwacct?sign=&plan=websabab_Silver&domain=sun-mor.co.il&username=sun-mor&password=xeiv8ju&quota=500&cgi=1&frontpage=0&maxftp=50&maxpop=50&maxlst=50&maxsql=25&maxsub=25&maxpark=5&maxaddon=5&bwlimit=30000&cpmod=x&customip=--Auto+Assign--&msel=n%2Cy%2Cunlimited%2Cy%2Cunlimited%2Cunlimited%2Cunlimited%2Cunlimited%2Cunlimited%2Cunlimited%2Cunlimited%2Cy%2C0%2C0&contactemail=g.sababa%40gmail.com)
פשוט סם שלוש נקודות במקום השם משתמש והסיסמא והוא לא מבצע את הפעולה...

זו היא ההודעת שגיעה בסוף ההתקנה:
קוד:
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/websabab/public_html/host/index.php on line 2085

Warning: file_get_contents(http://...@66.7.209.7:2086/scripts/wwwacct?sign=&plan=websabab_Silver&domain=sun-mor.co.il&username=sun-mor&password=xeiv8ju&quota=500&cgi=1&frontpage=0&maxftp=50&maxpop=50&maxlst=50&maxsql=25&maxsub=25&maxpark=5&maxaddon=5&bwlimit=30000&cpmod=x&customip=--Auto+Assign--&msel=n%2Cy%2Cunlimited%2Cy%2Cunlimited%2Cunlimited%2Cunlimited%2Cunlimited%2Cunlimited%2Cunlimited%2Cunlimited%2Cy%2C0%2C0&contactemail=eliavorit%40gmail.com) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home/websabab/public_html/host/index.php on line 2085
בדקתי את השורת קוד הזאת אם השם משתמש והסיסמא וזה פתח חשבון חדש ב-WHM

מה יכול להסתיר את השם משתמש והסיסמא?
קובץ הכללי של התקנה מצורף

תודה ישראל
Attached Files כדי לראות קבצים מצורפים, מספר ההודעות שלך חייב להיות גדול מ,.. או שווה ל 10