it was a joke as sweetangel post was soooooo off topic lol
Bugs in lavalair
Collapse
X
-
If you use globals off and you don't have already declared the variables in the script, it can be changed via browser like:
<?php
if ($isAuth)
// blah blah
?>
On browser the "hacker" can put : file.php?isAuth=1
And the code debugging will be more harder...
<?php
$user = isset($_GET['user']) ? (int) $_GET['user'] : 0;
echo $user;
?>
vs
<?php
echo $user;
?><?php unlink('World/Europe/Romania.country'); ?>
Comment
-
Originally posted by nazmul View Posti0nutzxp@ yeah.. bt when i declared my $user variable like $_GET['user'], no ques abt that and it safe enough.<!DOCTYPE html PUBLIC "-//WAPFORUM.RS
Comment
-
Originally posted by CreativityKills View PostTurn register globals off andPHP Code:$who = (int) $_GET['who'];
our lfe is simple words....
http://mygenkz.net
ewanz06@yahoo.com
PHP Code:$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file);
Comment
Comment