IvanShatsky

curl.log (rewrite subdomain)

Sep 8th, 2021
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. G:\OpenResty\OpenResty11782\x86>curl -v -H "Host: admin.domainname.com" "http://127.0.0.1/slug"
  2. * Trying 127.0.0.1...
  3. * TCP_NODELAY set
  4. * Connected to 127.0.0.1 (127.0.0.1) port 80 (#0)
  5. > GET /slug HTTP/1.1
  6. > Host: admin.domainname.com
  7. > User-Agent: curl/7.62.0
  8. > Accept: */*
  9. >
  10. < HTTP/1.1 301 Moved Permanently
  11. < Server: openresty/1.17.8.2
  12. < Date: Wed, 08 Sep 2021 15:52:47 GMT
  13. < Content-Type: text/html
  14. < Content-Length: 175
  15. < Connection: keep-alive
  16. < Location: https://www.domainname.com/slug
  17. <
  18. <html>
  19. <head><title>301 Moved Permanently</title></head>
  20. <body>
  21. <center><h1>301 Moved Permanently</h1></center>
  22. <hr><center>openresty/1.17.8.2</center>
  23. </body>
  24. </html>
  25. * Connection #0 to host 127.0.0.1 left intact
  26.  
  27. G:\OpenResty\OpenResty11782\x86>curl -v -H "Host: admin.domainname.com" "http://127.0.0.1/wp-admin/slug"
  28. * Trying 127.0.0.1...
  29. * TCP_NODELAY set
  30. * Connected to 127.0.0.1 (127.0.0.1) port 80 (#0)
  31. > GET /wp-admin/slug HTTP/1.1
  32. > Host: admin.domainname.com
  33. > User-Agent: curl/7.62.0
  34. > Accept: */*
  35. >
  36. < HTTP/1.1 200 OK
  37. < Server: openresty/1.17.8.2
  38. < Date: Wed, 08 Sep 2021 15:53:10 GMT
  39. < Content-Type: application/octet-stream
  40. < Transfer-Encoding: chunked
  41. < Connection: keep-alive
  42. <
  43. URL is http://admin.domainname.com/wp-admin/slug
  44.  
  45. * Connection #0 to host 127.0.0.1 left intact
  46.  
  47. G:\OpenResty\OpenResty11782\x86>curl -v -H "Host: www.domainname.com" "http://127.0.0.1/wp-admin/slug"
  48. * Trying 127.0.0.1...
  49. * TCP_NODELAY set
  50. * Connected to 127.0.0.1 (127.0.0.1) port 80 (#0)
  51. > GET /wp-admin/slug HTTP/1.1
  52. > Host: www.domainname.com
  53. > User-Agent: curl/7.62.0
  54. > Accept: */*
  55. >
  56. < HTTP/1.1 200 OK
  57. < Server: openresty/1.17.8.2
  58. < Date: Wed, 08 Sep 2021 15:53:21 GMT
  59. < Content-Type: application/octet-stream
  60. < Transfer-Encoding: chunked
  61. < Connection: keep-alive
  62. <
  63. URL is http://www.domainname.com/wp-admin/slug
  64.  
  65. * Connection #0 to host 127.0.0.1 left intact
  66.  
  67. G:\OpenResty\OpenResty11782\x86>curl -v -H "Host: www.domainname.com" "http://127.0.0.1/slug"
  68. * Trying 127.0.0.1...
  69. * TCP_NODELAY set
  70. * Connected to 127.0.0.1 (127.0.0.1) port 80 (#0)
  71. > GET /slug HTTP/1.1
  72. > Host: www.domainname.com
  73. > User-Agent: curl/7.62.0
  74. > Accept: */*
  75. >
  76. < HTTP/1.1 200 OK
  77. < Server: openresty/1.17.8.2
  78. < Date: Wed, 08 Sep 2021 15:53:28 GMT
  79. < Content-Type: application/octet-stream
  80. < Transfer-Encoding: chunked
  81. < Connection: keep-alive
  82. <
  83. URL is http://www.domainname.com/slug
  84.  
  85. * Connection #0 to host 127.0.0.1 left intact
Advertisement
Add Comment
Please, Sign In to add comment