Jump to content

c# EMPTOM


Guest empis

Recommended Posts

  • 3 weeks later...

Muhaha čekal jsem to "Hacked" ( tomu se ani nedá říct hacked) máš tam MySql Injection. Jinak přes program to nejde.

 

Obrázek

 

sqlin.png

 

Koukni se na funkci mysql_real_escape_string

<?php
// Connect
$link = mysql_connect('mysql_host', 'mysql_user', 'mysql_password')
   OR die(mysql_error());

// Query
$query = sprintf("SELECT * FROM users WHERE user='%s' AND password='%s'",
           mysql_real_escape_string($user),
           mysql_real_escape_string($password));
?>

Link to comment
Share on other sites

tvle ty si mi hackl heslo ?

 

Né tvoje heslo neznám. Je to jen bezpečnostní díra v PHP a MySql ( Mysql Injection). Kdybys hesla ukládal do cookies tak už bych ho znal, teda kdyby nebylo 2x hashovaný md5. Jestli stím chceš pomoct můžeš mi napsat na ICQ klidně ti to pomůžu opravit.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...