fork download
  1. #!/usr/bin/python
  2.  
  3. def index():
  4. return """
  5. <html>
  6. <body>
  7. <!-- hint is a function in this document -->
  8. <form action="http://10.1.65.82/hack/index.py/validate">
  9. <input type="password" name="passw">
  10. <input type="submit">
  11. </form>
  12. </body>
  13. </html>
  14.  
  15. """
  16. def hint():
  17. return """
  18. <html>
  19. <head>
  20. </head>
  21. <body>
  22. <div class="main">P
  23. <div class="main2">A
  24. <div class="main3">S
  25. <div class="main4">S
  26. <div class="ads1">W
  27. <div class="ads2">O
  28. <div class="ads3">R
  29. <div class="ads4">D
  30. </div>.
  31. </div>I
  32. </div>S
  33. </div>.
  34. </div>H
  35. </div>E
  36. </div>R
  37.  
  38. </div>E
  39. </body>
  40. </html>
  41. """
  42. def validate(req,passw):
  43. if passw=="iac":
  44. return "success"
  45. else:
  46. return "failure"
  47.  
  48.  
Success #stdin #stdout 0.03s 6352KB
stdin
Standard input is empty
stdout
Standard output is empty