-
April 22nd, 2002, 12:57 AM
#1
Banned
???????????????
hi,
i need to know what this script does especially the $username part
$doflocks = 1;
$username = $ENV{'REMOTE_USER'};
$firsttime=0;
if (dbmopen(logins,$loginlog,0666))
{
flock(logins,2) if ($doflocks);
$logincount = $logins{$username};
$firsttime=1 if ($logincount == 0);
$logins{$username}++;
dbmclose(logins);
flock(logins,8) if ($doflocks);
}
$memberspage=$welcomepage if ($firsttime);
print "Location: $memberspage\n\n";
print "URI: $memberspage\n\n\n";
exit(0);
sorry for having to ask but i have not learnt any cgi yet
-
April 22nd, 2002, 01:00 AM
#2
It looks like its a login script....
$welcomepage is shown the first time $username logs in, the second time it shows $memberpage...
Looks like it logs all logins to $loginlog... Where is this from?
-
April 22nd, 2002, 01:02 AM
#3
Banned
would it be possible to make it submit the same username whatever is entered in the form or whatever?
-
April 22nd, 2002, 01:05 AM
#4
Banned
bring on the flames....
this is from a globill affiliate program script
i social engineered a password for a MASSIVE affiliate program that does all its tracking through globill and i want to redirect everyones hits to my account - but secretly and unnoticeable accept for them noticing a drop in sales
-
April 22nd, 2002, 01:07 AM
#5
Wow, This post is getting interesting..... PM me and send the details, explain what you need and Ill see what I can do
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|