[Security Lesson] Techie-Micheal's Lesson 1

Learn about Security for code and servers. Learn how to secure your site and your code. Learn about hacking prevention, finding and identifying exploits, and recognising vulnerabilities. Plus, Weekly Security tips and Tutorials.
Forum rules
Post questions related to security, analyse and learn about vulnerabilities and exploits within code to protect yourself against hackers.

Re: [Security Lesson] Techie-Micheal's Lesson 1

Postby Aureax » 17 Dec 2009, 04:46

Spoiler:
Code: Select all
$file = $_GET['file'];

if(file_exists($file))
{
        echo "File found: $file";
}

else
{
        echo "File not found.";
}

script.php?file=/etc/passwd


Hellooo server passwords.
Aureax
Crewman
Crewman
 
Posts: 3
Joined: 17 Dec 2009, 04:31
Gender: Male
phpBB Knowledge: 4


Previous

Return to Security Class

Who is online

Users browsing this forum: No registered users and 1 guest