Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


testing, no need to enter

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam
View previous topic :: View next topic  
Author Message
Lyfa
The Lonely Man
Reputation: 12

Joined: 02 Nov 2008
Posts: 743

PostPosted: Wed Jun 23, 2010 8:46 pm    Post subject: testing, no need to enter This post has 1 review(s) Reply with quote

[img]http://quinnheagy.org/image/image.png?text=Haha,%20Hitler%20is%20a%20fag[/img]

Edit: Didn't work

_________________
Back to top
View user's profile Send private message
Nirojan
How do I cheat?
Reputation: 108

Joined: 16 Sep 2008
Posts: 0
Location: seshville

PostPosted: Wed Jun 23, 2010 8:58 pm    Post subject: Reply with quote

I"M NOT A FAG Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad
_________________
Quote:
yo i b 22 tryna make it in dis rap game but da steetz dont got luv for no wun na mean so im out hea tryna holla at da fams on dis innernet shit u no way i sayin
Back to top
View user's profile Send private message
compactwater
I post too much
Reputation: 8

Joined: 02 Aug 2006
Posts: 3923

PostPosted: Wed Jun 23, 2010 9:08 pm    Post subject: Reply with quote

Need help with that?
Back to top
View user's profile Send private message
Lyfa
The Lonely Man
Reputation: 12

Joined: 02 Nov 2008
Posts: 743

PostPosted: Wed Jun 23, 2010 10:10 pm    Post subject: Reply with quote

compactwater wrote:
Need help with that?
IRC
_________________
Back to top
View user's profile Send private message
compactwater
I post too much
Reputation: 8

Joined: 02 Aug 2006
Posts: 3923

PostPosted: Thu Jun 24, 2010 3:24 am    Post subject: Reply with quote

F3ar wrote:
compactwater wrote:
Need help with that?
IRC
Sorry about that.

A few things that a board will usually check to protect its users:
The image is accessible (no password), has the proper mime-type, and has the proper extension.
CEF uses the third.
This will not work:
http://www.com/some.png?usr=Hitler
This will work:
http://www.com/Hitler.png

There are two common ways you could do this. Have a 404 redirect to a PHP script with a mime-type of the proper image extension using GD/ImageMagick, or mod_rewrite. Using rewrite is the more proper way of doing it (and will avoid issues with some browsers/board checks) as it will not be a 404.

Make a .htaccess file with the following content in the same directory as your scripts, absolutely do not not not attempt to use that directory or any directory in it for anything else, as it'll totally screw things up (the htaccess file works recursively.)

Execute .png files with PHP:
Code:
AddType application/x-httpd-php .png


404 method:
Code:
ErrorDocument 404 /hax/script.php

In that script, use $_SERVER["REQUEST_URI"] to get the URL being used to access it, which will contain the username.

More proper mod_rewrite method:
Code:
RewriteEngine On
RewriteRule (.*)\.png /hax/script.php?usr=$1 [PT]


Example script.php for debugging:
Code:
<?php
echo $_SERVER["REQUEST_URI"] . "\n" . $_GET["usr"];
?>
Would print:
Code:
/hax/asdf.png
asdf


And for mime, on the VERY FIRST LINE OF CODE, making sure there is ABSOLUTELY NO WHITE-SPACE ANYWHERE and that the file is in ASCII Unix/Windows/Mac format depending on your OS/Apache configuration.
Code:
header('Content-Type: image/png');
Back to top
View user's profile Send private message
Haxory'
Grandmaster Cheater Supreme
Reputation: 92

Joined: 30 Jul 2007
Posts: 1900

PostPosted: Thu Jun 24, 2010 4:03 am    Post subject: Reply with quote

And how could you remove the http 404 status flag?
header("HTTP/1.0 OK - 200"); was giving me an internal 500 error :S

_________________
you and me baby ain't nothing but mammals so lets do it like they do on the discovery channel
Back to top
View user's profile Send private message
Cheat Engine User
Something epic
Ban
Reputation: 60

Joined: 22 Jun 2007
Posts: 2071

PostPosted: Thu Jun 24, 2010 4:13 am    Post subject: Reply with quote

You can also call upon ip2user.
Back to top
View user's profile Send private message
compactwater
I post too much
Reputation: 8

Joined: 02 Aug 2006
Posts: 3923

PostPosted: Thu Jun 24, 2010 4:13 am    Post subject: Reply with quote

Haxory' wrote:
And how could you remove the http 404 status flag?
header("HTTP/1.0 OK - 200"); was giving me an internal 500 error :S
404 status is only there if you use the 404 method. If you have problems, use mod_rewrite instead.
Back to top
View user's profile Send private message
Haxory'
Grandmaster Cheater Supreme
Reputation: 92

Joined: 30 Jul 2007
Posts: 1900

PostPosted: Thu Jun 24, 2010 4:35 am    Post subject: Reply with quote

compactwater wrote:
Haxory' wrote:
And how could you remove the http 404 status flag?
header("HTTP/1.0 OK - 200"); was giving me an internal 500 error :S
404 status is only there if you use the 404 method. If you have problems, use mod_rewrite instead.


Well it's regarding the DF pserver i'm coding, could I use mod rewrite on a (paid) host?

_________________
you and me baby ain't nothing but mammals so lets do it like they do on the discovery channel
Back to top
View user's profile Send private message
Cheat Engine User
Something epic
Ban
Reputation: 60

Joined: 22 Jun 2007
Posts: 2071

PostPosted: Thu Jun 24, 2010 4:45 am    Post subject: Reply with quote

Haxory' wrote:
compactwater wrote:
Haxory' wrote:
And how could you remove the http 404 status flag?
header("HTTP/1.0 OK - 200"); was giving me an internal 500 error :S
404 status is only there if you use the 404 method. If you have problems, use mod_rewrite instead.


Well it's regarding the DF pserver i'm coding, could I use mod rewrite on a (paid) host?
Possibly, if the host allows that.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites