recenly the wrong captcha give me freaky error i dont know why
like this in the footer is that type of hacker plays or what
pls help
thank you
XFileSharing Pro - heeeelp pls Wrong captcha give link details in the footers
-
- Posts: 12
- Joined: Aug 31, 2010 8:16 pm
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
i got that problem to
do you use version 1.8 ? or 1.7
if i am not wrong , it have something to do with the template that output the error code (or php with error reporting on )
maybe disable php error reporting and it will be fine
i going try out some stuff and if i got the solution then i let you know
Thank you
Greetings From powerChaos
do you use version 1.8 ? or 1.7
if i am not wrong , it have something to do with the template that output the error code (or php with error reporting on )
maybe disable php error reporting and it will be fine
i going try out some stuff and if i got the solution then i let you know
Thank you
Greetings From powerChaos
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
i got everything basic exept 1 thing and thats the torrent mod
i know where the problem is , but i just cant fix it
and if i am not wrong , this code below is the problem
as it always will return that value , and in case of a error it puts it down your screen
Thank you
Greetings From PowerChaos
i know where the problem is , but i just cant fix it
Code: Select all
else
{
require HCE_MD5;
my $hce = HCE_MD5->new($c->{dl_key},"XFileSharingPRO");
my $file_id = $file->{file_real_id}||$file->{file_id};
my ($ip1,$ip2,$ip3,$ip4) = split(/\./,$ip);
my $hash = $hce->hce_block_encrypt( pack("LA12SC4L", $file_id, $file->{file_real}, $c->{down_speed}, $ip1,$ip2,$ip3,$ip4, (time+$c->{symlink_expire}*3600) ) );
my ($l,$e);
$hash=unpack('B*',$hash);$hash=~s/(.....)/000$1/g;$l=length($hash);
if ($l & 7){$e = substr($hash, $l & ~7);$hash = substr($hash, 0, $l & ~7);$hash .= "000$e" . '0' x (5 - length $e);}
$hash=pack('B*', $hash);$hash=~tr|\0-\37|a-z2-7|;
#unless($ENV{HTTP_ACCEPT_CHARSET}=~/utf-8/i)
#{
#$fname = $file->{file_name};
$fname =~ s/([^A-Za-z0-9\-_\.!~*'\(\)\s])/ uc sprintf "%%%02x",ord $1 /eg;
#$file->{file_name} =~ tr/ /_/;
#}
return "$file->{srv_cgi_url}/dl.cgi/$hash/$fname";
}
Code: Select all
return "$file->{srv_cgi_url}/dl.cgi/$hash/$fname";
Thank you
Greetings From PowerChaos
-
- Posts: 12
- Joined: Aug 31, 2010 8:16 pm
thank you PowerChaos
thank you PowerChaos for your help but even with expire session this error appear and i dont know
and you provide the code above what i have to do is to replace or what and where to replace
thank you
and you provide the code above what i have to do is to replace or what and where to replace
thank you
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
i dont know eather what to do with it ( i know php , not cgi :S)
but i am sure that that code is the problem
as it will always return that value even if something is wrong ( else = if all other fails)
i can be wrong to , but probaly the admin can fix it if he got time
Thank you
Greetings From PowerChaos
but i am sure that that code is the problem
as it will always return that value even if something is wrong ( else = if all other fails)
i can be wrong to , but probaly the admin can fix it if he got time
Thank you
Greetings From PowerChaos
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
@admin
i still use version 1.8 (as i can not get 1.9 ) and that error exist from version 1.6 (never used a older version)
the error is kinda more fun at this moment
if you type in a wrong capcha then it shows the link in footer (not a big deal basicly)
but if you use ReCapcha then it give the same error ( same as with text)
now the funny part
if you got direct links enabled (link valid for XX hours) then it just opens it below
meaning that the capcha is kinda rubish as it still loads the page in the background and opens it under the original page
it is tested with google chrome , but not sure if the solution for it can be easy to fix or that it is a bit more complicated then it looks ( as it generate the link as soon you press the button , but it skips the capcha as it first generate the link before checking the capcha and so on )
Greets From PowerChaos
i still use version 1.8 (as i can not get 1.9 ) and that error exist from version 1.6 (never used a older version)
the error is kinda more fun at this moment
if you type in a wrong capcha then it shows the link in footer (not a big deal basicly)
but if you use ReCapcha then it give the same error ( same as with text)
now the funny part
if you got direct links enabled (link valid for XX hours) then it just opens it below
meaning that the capcha is kinda rubish as it still loads the page in the background and opens it under the original page
it is tested with google chrome , but not sure if the solution for it can be easy to fix or that it is a bit more complicated then it looks ( as it generate the link as soon you press the button , but it skips the capcha as it first generate the link before checking the capcha and so on )
Greets From PowerChaos