Results 1 to 13 of 13
Thread: Auto Login (Remember me)
Hybrid View
-
28th December 2010 18:37 #1Registered User
Join Date: Jul:2006
Location:
Posts: 1,071
Auto Login (Remember me)
- ? , , Cookie-, ID- , Hash . .
. , , Cookie. 3 cookies ID, ( MD5 + time() + salt( )) MD5 + SHA-1; time(). , , .
-, , IP useragent-a, , . , IP IP (Load Balancing, Proxy). , WiFi .
UserAgent- , , . .
, , . - cookie- - .
.. ? MD5 SHA-1 , bruteforce- ...
-
28th December 2010 19:21 #2
-
28th December 2010 19:54 #3Registered User
Join Date: Oct:2003
Location:
Posts: 4,317
, . , . . . , .
-
28th December 2010 20:05 #4Registered User
Join Date: Jul:2006
Location:
Posts: 1,071
. , , , , / , , . => logout. , . , .
-
28th December 2010 20:27 #5
- MD5 , . SHA1 "", , . (20+), SHA256. - .
, id username . secure, . ( ) secure cookie - cookie, , . HMAC cookie- , . client-side ; server-side - .
, :
- HTTPS HTTPS-only cookies
- IP User-Agent
- expiration time , ; ,
. 100% - compromised, * . , ., !
-
28th December 2010 20:37 #6
ID . , , a-zA-Z0-9. 20- .
, . -
. , , , 6 12 .
-
29th December 2010 18:46 #7
-
29th December 2010 19:11 #8Registered User
Join Date: Jul:2006
Location:
Posts: 1,071
, .

. .
Pesho , , Google .
-
10th January 2011 19:56 #9Banned
Join Date: Aug:2006
Location: Sofia
Posts: 162
, -
<?php
function addcookie() {
$nick = "saveuser";
$var = "nick"; //
setcookie($var,$nick,time()+360); // 99999
}
if (!$HTTP_COOKIE_VARS["nick"]) {
// "nick" , .
addcookie();
} else { docookie(); }
?>
"docookie" , ,
, , index.php,
Header("Location: index.php");
function docookie() {
$nick =
$HTTP_COOKIE_VARS["nick"];
}
sam re[i kwo , , , id ip , ...
, , mysqlLast edited by alabamass; 10th January 2011 at 20:16.
-
10th January 2011 20:16 #10
-
10th January 2011 20:54 #11Banned
Join Date: Aug:2006
Location: Sofia
Posts: 162
$nick = "saveuser";, encode,
, , , , , , , ,
vbTheKing , , , , " ...."Last edited by Bombera; 11th January 2011 at 03:03.
-
10th January 2011 23:24 #12, "" ? ?, " ...."

" id ip"
- , . " " - , , URL ... ( , .. ...)
"if (!$HTTP_COOKIE_VARS["nick"]) {"
- Huh,
.......
, , .
, , . , - , , .., .
, . - . , " , ". session_start() - PHP . , . , - , .Last edited by tedych; 10th January 2011 at 23:35.
-
11th January 2011 02:44 #13
, .
EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|




Reply With Quote

Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in