We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7862e50 commit 2ede8d0Copy full SHA for 2ede8d0
README.md
@@ -60,6 +60,9 @@ sudo python3 samsungserver.py
60
61
```
62
192.168.1.23 gld.samsungosp.com www.samsungimaging.com www.ospserver.net snsgw.samsungmobile.com
63
+# For ST200F and WB850F also add this:
64
+192.168.1.23 www.yahoo.co.kr
65
+
66
67
68
## NX1/NX500
samsungserver.py
@@ -38,6 +38,11 @@ def autoindex(path='.'):
38
39
@app.route('/')
40
def home():
41
+ host = (request.headers.get('Host') or "")
42
+ if host == "www.yahoo.co.kr":
43
+ resp = make_response("YAHOO!", 200)
44
+ resp.set_cookie('samsung', 'hotspot', domain='.yahoo.co.kr')
45
+ return resp
46
return render_template('index.html', useragent=request.user_agent)
47
48
SITES = [
0 commit comments