Browse Source

TODO user config user_agent

akkariiin/master
Akkariiin 7 years ago
parent
commit
2db97259a0
  1. 1
      shadowsocks/obfsplugin/http_simple.py

1
shadowsocks/obfsplugin/http_simple.py

@ -63,6 +63,7 @@ class http_simple(plain.plain):
self.host = None
self.port = 0
self.recv_buffer = b''
# TODO user config user_agent
self.user_agent = [b"Mozilla/5.0 (Windows NT 6.3; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0",
b"Mozilla/5.0 (Windows NT 6.3; WOW64; rv:40.0) Gecko/20100101 Firefox/44.0",
b"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36",

Loading…
Cancel
Save