Jump to content
petrolino

Visitatori mai multi?

Recommended Posts

Trece toate GET-urile care sti ca sunt numerice gen tip_anunt, id, si ce mai ai pe-acolo printr-un is_numeric. Dau exemplu pentru tip_anunt

if( !is_numeric( $_GET['tip_anunt'] ) ) die("Hackere te-am ars");

Pentru cele non-numerice o varianta ar fi:

$_GET['tipP'] = htmlspecialchars( stripslashes( mysql_real_escape_string(  $_GET['tipP'] ) ) );

Ar trebui sa fie de-ajuns.

Inca o problema grava de securitate, parolele adminilor nu sunt criptate, sunt tinute in baza de date in plain-text. In plus, sunt foarte simple, cele 2 parole putand fi gasite in foarte multe dictionare, asadar chiar daca vor fi criptate (md5/sha1/etc) tot vor putea fi sparte.

Rezumat: Site-ul poate fi distrus in 20 de minute de la prima accesare :)

Daca vorbesc limbi strainte si vrei sa-l faci okay, da-mi un pm cu o adresa de contact si te ajut sa le repari.

EDIT: Remote file upload? http://24h.ro/banere/lovetohax.txt

Link to comment
Share on other sites

sau poate nu-i site-ul lui, a ales altul la intamplare si vrea sa va ceara voua idei sau sa incercati sa-l spargeti.

e praf site-u fata de al meu :D

e site-ul meu pe bune,nu caut sa umblu la ce nu e al meu.trimite mail pe adresa de admin si iti voi raspunde ... daca nu era al meu nu ceream mai multi vizitatori pe el

Edited by petrolino
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...