Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (isset($_POST["username"]) && isset($_POST["password"]))
- {
- $username = $_POST['username'];
- $password = $_POST['password'];
- if($username == 'admin' && $password == 'password'){
- echo "good login";
- }
- else
- {
- echo "bad login";
- }
- }
- ?>
- print(post(url, data={"username": "admin", "password": "blahBlah"}).content)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement