Advertisement
Guest User

Untitled

a guest
Aug 12th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. C:\Python27>python27.exe
  2. Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] on win32
  3. Type "help", "copyright", "credits" or "license" for more information.
  4. >>> import requests
  5. >>> reply = requests.post('http://kotc-brute.codewarz.ninja/login', data = {'user':'test','password':'test'}).text
  6. >>> print(reply)
  7. <html>
  8.  
  9. Incorrect Login, Please Try again
  10.  
  11. <form method="POST" action="/login">
  12. Username: <input type="text" name="user" /><br />
  13. Password: <input type="password" name="password" /><br />
  14. <input type="submit" value="submit" />
  15. </form>
  16. >>>
  17. Exception KeyboardInterrupt in <module 'threading' from 'C:\Python27\lib\threading.pyc'> ignored
  18.  
  19. C:\Python27>python27.exe
  20. Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] on win32
  21. Type "help", "copyright", "credits" or "license" for more information.
  22. >>> import requests
  23. >>>
  24. Exception KeyboardInterrupt in <module 'threading' from 'C:\Python27\lib\threading.pyc'> ignored
  25.  
  26. C:\Python27>python27.exe d:
  27. C:\Python27\python27.exe: can't find '__main__' module in 'd:'
  28.  
  29. C:\Python27>
  30.  
  31. C:\Python27>python27.exe d:\CTF\CodeWarz\connect.py
  32. Traceback (most recent call last):
  33. File "d:\CTF\CodeWarz\connect.py", line 4, in <module>
  34. import requests
  35. File "C:\Python27\lib\site-packages\requests-2.18.3-py2.7.egg\requests\__init__.py", line 100, in <module>
  36. from .api import request, get, head, post, patch, put, delete, options
  37. File "C:\Python27\lib\site-packages\requests-2.18.3-py2.7.egg\requests\api.py", line 13, in <module>
  38. from . import sessions
  39. File "C:\Python27\lib\site-packages\requests-2.18.3-py2.7.egg\requests\sessions.py", line 28, in <module>
  40. from .adapters import HTTPAdapter
  41. File "C:\Python27\lib\site-packages\requests-2.18.3-py2.7.egg\requests\adapters.py", line 41, in <module>
  42. from urllib3.contrib.socks import SOCKSProxyManager
  43. File "C:\Python27\lib\site-packages\urllib3-1.22-py2.7.egg\urllib3\contrib\socks.py", line 27, in <module>
  44. import socks
  45. File "d:\CTF\CodeWarz\socks.py", line 5, in <module>
  46. host = sys.argv[1]
  47. IndexError: list index out of range
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement