Web Application Penetration Testing - Flash Card


HTML

<html>
<head></head>
<body>
Hello World!
This is <b>bold</b>.
<a href="http://www.faecbook.com">www.facebook.com</a>
<img src="https://www.haskell.org/happy/Happy.gif" />
</body>
</html>


JavaScript


<html
<head></head>
<body>
<script>
document.write(1+2);
</script>
</body>
</html>

PHP

GET Request

<?php
echo "Hello,".$_GET["name"];
?>

POST Request

<form action="" method="post">
Username <input type="text" name="username" />
<input type="submit" />
</form>

<?php
echo "Hello,".$_POST["username"];
?>




Popular posts from this blog

Remote Desktop Protocol (RDP) Security

Penetration Testing - Network

Damn Vulnerable Web Services (DVWS) - Walkthrough

Offensive Security Testing Guide

Server Message Block (SMB) Security

Host Configuration Assessment - Windows