Skip to content

Commit

Permalink
call local redirect response infinitely pairly
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovenoah committed Mar 2, 2024
1 parent ceeeca9 commit 01e86ee
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
host, localhost
port, 8080


GET /cgi-bin/invalid_local_redirect_infinity_pair_a.py HTTP/1.1
Host: test
Connection: close
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
HTTP/1.1 500 Internal Server Error
Connection: close
Content-Length: 620

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="/_errors/main.css"/>
<title>Error 500 - %{HOSTNAME}</title>
<style>
html{
background-color: #f1c40f;
}

body{
color: #fefefe;
}
</style>

</head>

<body>
<div class="error-middle">
<h1>Error 500 - Internal Server Error</h1>
<p>The 500 (Internal Server Error) status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.</p>
</div>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
print("Location: /cgi-bin/invalid_local_redirect_infinity_pair_b.py")
print() # ヘッダーの終わりを示す空行
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
print("Location: /cgi-bin/invalid_local_redirect_infinity_pair_a.py")
print() # ヘッダーの終わりを示す空行

0 comments on commit 01e86ee

Please sign in to comment.