5
This commit is contained in:
2
5/screenr2/index.html
Normal file
2
5/screenr2/index.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<iframe src="http://localhost:9000/flag" name="iframe" id="iframe" scrolling="yes" frameborder="0" marginheight="0px" marginwidth="0px" height="2400" width="6000" style="zoom: 0.75">
|
||||
</iframe>
|
||||
13
5/screenr2/server.py
Normal file
13
5/screenr2/server.py
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env python3
|
||||
from http.server import SimpleHTTPRequestHandler, HTTPServer
|
||||
|
||||
PORT = 8000
|
||||
|
||||
def run_server():
|
||||
handler = SimpleHTTPRequestHandler
|
||||
httpd = HTTPServer(("", PORT), handler)
|
||||
print(f"Serving HTTP on port {PORT} (http://localhost:{PORT}/) …")
|
||||
httpd.serve_forever()
|
||||
|
||||
if __name__ == "__main__":
|
||||
run_server()
|
||||
Reference in New Issue
Block a user