Kolla denna tråden: http://www.webforum.nu/showthread.php?t=129128
Kolla på denna länk:http://www.ridgebowshankook.com/gastbok/guestbook.php dår men massa konstiga meddelande,är det någon som vet varför??
2 svar · 399 visningar · startad av mr.mainline
Kolla på denna länk:http://www.ridgebowshankook.com/gastbok/guestbook.php dår men massa konstiga meddelande,är det någon som vet varför??
Kolla denna tråden: http://www.webforum.nu/showthread.php?t=129128
Tänkte prova detta:
What you as a site admin need to do to be 100% safe is strip carriage returns (\r) and liefeed characters (\n) from form fields in your cgi scripts. How to actually do this depends on the language used in your cgi. In the case of perl, you could do it with a regular expression this way:
$field =~ s/\r/ /g;
$field =~ s/\n/ /g;
for each field used in an email.
Some clarification on questions posted: even if your forms are hard-coded to send you the email, you are still possibly vulnerable to this attack. Adding additional header lines, including a BCC: lists is possible whenever an unchecked field is used in the header of an email. Commonly with cgi forms on the Internet, the subject line, which is part of the email headers, comes from a cgi posted variable and hence can be exploited.
men vilken php funktion ska jag använda??