Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.54 KB | None | 0 0
  1.  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"
  2. * Hostname was NOT found in DNS cache
  3. *   Trying 129.97.173.87...
  4. * Connected to ugster19.student.cs.uwaterloo.ca (129.97.173.87) port 80 (#0)
  5. > POST /mpokrass/login.php HTTP/1.1
  6. > User-Agent: curl/7.35.0
  7. > Host: ugster19.student.cs.uwaterloo.ca
  8. > Accept: */*
  9. > Content-Length: 64
  10. > Content-Type: application/x-www-form-urlencoded
  11. >
  12. * upload completely sent off: 64 out of 64 bytes
  13. < HTTP/1.1 200 OK
  14. < Date: Sat, 24 Jun 2017 18:55:43 GMT
  15. * Server Apache/2.2.16 (Debian) is not blacklisted
  16. < Server: Apache/2.2.16 (Debian)
  17. < X-Powered-By: PHP/5.3.3-7+squeeze14
  18. * Added cookie CS458="q4ia51d0so72numanfkcggodd4" for domain ugster19.student.cs.uwaterloo.ca, path /, expire 0
  19. < Set-Cookie: CS458=q4ia51d0so72numanfkcggodd4; path=/
  20. < Expires: Thu, 19 Nov 1981 08:52:00 GMT
  21. < Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
  22. < Pragma: no-cache
  23. < Vary: Accept-Encoding
  24. < Content-Length: 1339
  25. < Content-Type: text/html
  26. <
  27. <html>
  28.     <head>
  29.         <title>CS458 - Content Sharing Portal</title>
  30.         <style>
  31.             body {
  32.                 padding:20px;
  33.                 font-family: Verdana, Arial, Helvetica, sans-serif;
  34.                 font-size: 12px;
  35.             }
  36.             a, a:visited, a:active {
  37.                 text-decoration: none;
  38.                 color: #0000FF;
  39.             }
  40.             a:hover{
  41.                 text-decoration: underline;
  42.             }
  43.             li { line-height: 1.5em; }
  44.             a img {border: 0;}
  45.         </style>
  46.         <!-- TODO Fix build scripts to exclude the php files ending with ~ characters,
  47.    e.g. index.php~. Not sure where they're coming from, but I'm pretty sure we don't want them there. -->
  48.     </head>
  49.  
  50.     <body>
  51.         <h1><a href="index.php">CS458 - Content Sharing Portal</a></h1><hr />
  52.     <center>
  53.         Welcome, guest! (<a href="login.php">Login</a>)    </center>
  54.     <hr />
  55.     <h2>Login</h2>
  56.         <form action="post.php" method="post">
  57.         Username: <input type="text" name="username" /><br />
  58.         Password: <input type="password" name="password" /><br />
  59.         <input type="hidden" name="form" value="login" />
  60.         <input type="submit" name="submit" value="Login" />
  61.     </form>
  62.  
  63. <hr />
  64. <center><small>Last modified recently</small></center>
  65.  
  66. </body>
  67. </html>
  68. * Connection #0 to host ugster19.student.cs.uwaterloo.ca left intact
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement