Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mpokrass@ugster19:~$ curl --cookie-jar cookies.txt -v "http://ugster19.student.cs.uwaterloo.ca/mpokrass/login.php" --data "username=nnasresfahani&password=bluejays&form=login&submit=Login"
- * Hostname was NOT found in DNS cache
- * Trying 129.97.173.87...
- * Connected to ugster19.student.cs.uwaterloo.ca (129.97.173.87) port 80 (#0)
- > POST /mpokrass/login.php HTTP/1.1
- > User-Agent: curl/7.35.0
- > Host: ugster19.student.cs.uwaterloo.ca
- > Accept: */*
- > Content-Length: 64
- > Content-Type: application/x-www-form-urlencoded
- >
- * upload completely sent off: 64 out of 64 bytes
- < HTTP/1.1 200 OK
- < Date: Sat, 24 Jun 2017 18:55:43 GMT
- * Server Apache/2.2.16 (Debian) is not blacklisted
- < Server: Apache/2.2.16 (Debian)
- < X-Powered-By: PHP/5.3.3-7+squeeze14
- * Added cookie CS458="q4ia51d0so72numanfkcggodd4" for domain ugster19.student.cs.uwaterloo.ca, path /, expire 0
- < Set-Cookie: CS458=q4ia51d0so72numanfkcggodd4; path=/
- < Expires: Thu, 19 Nov 1981 08:52:00 GMT
- < Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
- < Pragma: no-cache
- < Vary: Accept-Encoding
- < Content-Length: 1339
- < Content-Type: text/html
- <
- <html>
- <head>
- <title>CS458 - Content Sharing Portal</title>
- <style>
- body {
- padding:20px;
- font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 12px;
- }
- a, a:visited, a:active {
- text-decoration: none;
- color: #0000FF;
- }
- a:hover{
- text-decoration: underline;
- }
- li { line-height: 1.5em; }
- a img {border: 0;}
- </style>
- <!-- TODO Fix build scripts to exclude the php files ending with ~ characters,
- e.g. index.php~. Not sure where they're coming from, but I'm pretty sure we don't want them there. -->
- </head>
- <body>
- <h1><a href="index.php">CS458 - Content Sharing Portal</a></h1><hr />
- <center>
- Welcome, guest! (<a href="login.php">Login</a>) </center>
- <hr />
- <h2>Login</h2>
- <form action="post.php" method="post">
- Username: <input type="text" name="username" /><br />
- Password: <input type="password" name="password" /><br />
- <input type="hidden" name="form" value="login" />
- <input type="submit" name="submit" value="Login" />
- </form>
- <hr />
- <center><small>Last modified recently</small></center>
- </body>
- </html>
- * Connection #0 to host ugster19.student.cs.uwaterloo.ca left intact
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement