Repository Analysis

XX-net/XX-Net

A proxy tool to bypass GFW.

11.9 Low AI signal View on GitHub
11.9
Adjusted Score
11.9
Raw Score
100%
Time Factor
2026-05-12
Last Push
33,454
Stars
Python
Language
171,531
Lines of Code
508
Files
1400
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 1HIGH 125MEDIUM 114LOW 1160

Pattern Findings

1400 matches across 14 categories. Click a row to expand file-level details.

Cross-File Repetition109 hits · 545 pts
SeverityFileLineSnippet
HIGH…default/x_tunnel/local/tls_relay_front/http2_stream.py0open the stream. does this by encoding and sending the headers: no more calls to ``add_header`` are allowed after this m
HIGHcode/default/lib/noarch/front_base/http2_stream.py0open the stream. does this by encoding and sending the headers: no more calls to ``add_header`` are allowed after this m
HIGHcode/default/lib/noarch/hyper/http20/stream.py0open the stream. does this by encoding and sending the headers: no more calls to ``add_header`` are allowed after this m
HIGHcode/default/lib/noarch/pyasn1/type/univ.py0indicate that |asn.1| object represents asn.1 value. if *isvalue* is `false` then this object represents just asn.1 sche
HIGHcode/default/lib/noarch/pyasn1/type/univ.py0indicate that |asn.1| object represents asn.1 value. if *isvalue* is `false` then this object represents just asn.1 sche
HIGHcode/default/lib/noarch/pyasn1/type/univ.py0indicate that |asn.1| object represents asn.1 value. if *isvalue* is `false` then this object represents just asn.1 sche
HIGHcode/default/lib/noarch/pyasn1/type/base.py0indicate that |asn.1| object represents asn.1 value. if *isvalue* is `false` then this object represents just asn.1 sche
HIGHcode/default/lib/noarch/sortedcontainers/sorteddict.py0return true if and only if *that* is disjoint with self.
HIGHcode/default/lib/noarch/sortedcontainers/sorteddict.py0return true if and only if *that* is disjoint with self.
HIGHcode/default/lib/noarch/sortedcontainers/sorteddict.py0return true if and only if *that* is disjoint with self.
HIGHcode/default/lib/noarch/sortedcontainers/sorteddict.py0return true if and only if *that* is disjoint with self.
HIGHcode/default/lib/noarch/ecdsa/keys.py0return true if the points are identical, false otherwise.
HIGHcode/default/lib/noarch/ecdsa/keys.py0return true if the points are identical, false otherwise.
HIGHcode/default/lib/noarch/ecdsa/ecdsa.py0return true if the points are identical, false otherwise.
HIGHcode/default/lib/noarch/ecdsa/keys.py0return false if the points are identical, true otherwise.
HIGHcode/default/lib/noarch/ecdsa/keys.py0return false if the points are identical, true otherwise.
HIGHcode/default/lib/noarch/ecdsa/ecdsa.py0return false if the points are identical, true otherwise.
HIGHcode/default/lib/noarch/ecdsa/_compat.py0return number of bits necessary to represent an integer.
HIGHcode/default/lib/noarch/ecdsa/_compat.py0return number of bits necessary to represent an integer.
HIGHcode/default/lib/noarch/tlslite/utils/compat.py0return number of bits necessary to represent an integer.
HIGHcode/default/lib/noarch/tlslite/utils/compat.py0return number of bits necessary to represent an integer.
HIGHcode/default/lib/noarch/tlslite/utils/compat.py0return number of bits necessary to represent an integer.
HIGHcode/default/lib/noarch/front_base/ssl_wrap.py0returns a (common name, [subject alternative names]) tuple.
HIGHcode/default/lib/noarch/front_base/pyopenssl_wrap.py0returns a (common name, [subject alternative names]) tuple.
HIGHcode/default/lib/noarch/front_base/boringssl_wrap.py0returns a (common name, [subject alternative names]) tuple.
HIGHcode/default/lib/noarch/front_base/tlslite_wrap.py0returns a (common name, [subject alternative names]) tuple.
HIGHcode/default/lib/noarch/tlslite/extensions.py0return raw data encoding of the extension. :rtype: bytearray
HIGHcode/default/lib/noarch/tlslite/extensions.py0return raw data encoding of the extension. :rtype: bytearray
HIGHcode/default/lib/noarch/tlslite/extensions.py0return raw data encoding of the extension. :rtype: bytearray
HIGHcode/default/lib/noarch/tlslite/extensions.py0return raw data encoding of the extension. :rtype: bytearray
HIGHcode/default/lib/noarch/tlslite/extensions.py0return raw data encoding of the extension. :rtype: bytearray
HIGHcode/default/lib/noarch/tlslite/extensions.py0deserialise extension from on-the-wire data. :param tlslite.utils.codec.parser parser: data :rtype: extension
HIGHcode/default/lib/noarch/tlslite/extensions.py0deserialise extension from on-the-wire data. :param tlslite.utils.codec.parser parser: data :rtype: extension
HIGHcode/default/lib/noarch/tlslite/extensions.py0deserialise extension from on-the-wire data. :param tlslite.utils.codec.parser parser: data :rtype: extension
HIGHcode/default/lib/noarch/tlslite/extensions.py0deserialise extension from on-the-wire data. :param tlslite.utils.codec.parser parser: data :rtype: extension
HIGHcode/default/lib/noarch/tlslite/extensions.py0return human readable representation of the extension.
HIGHcode/default/lib/noarch/tlslite/extensions.py0return human readable representation of the extension.
HIGHcode/default/lib/noarch/tlslite/extensions.py0return human readable representation of the extension.
HIGHcode/default/lib/noarch/tlslite/extensions.py0create programmer-readable representation of object :rtype: str
HIGHcode/default/lib/noarch/tlslite/extensions.py0create programmer-readable representation of object :rtype: str
HIGHcode/default/lib/noarch/tlslite/extensions.py0create programmer-readable representation of object :rtype: str
HIGHcode/default/lib/noarch/tlslite/utils/ecdsakey.py0return the size of the order of the curve of this key, in bits. :rtype: int
HIGHcode/default/lib/noarch/tlslite/utils/dsakey.py0return the size of the order of the curve of this key, in bits. :rtype: int
HIGHcode/default/lib/noarch/tlslite/utils/eddsakey.py0return the size of the order of the curve of this key, in bits. :rtype: int
HIGHcode/default/lib/noarch/tlslite/utils/ecdsakey.py0return whether or not this key has a private component. :rtype: bool
HIGHcode/default/lib/noarch/tlslite/utils/rsakey.py0return whether or not this key has a private component. :rtype: bool
HIGHcode/default/lib/noarch/tlslite/utils/dsakey.py0return whether or not this key has a private component. :rtype: bool
HIGHcode/default/lib/noarch/tlslite/utils/eddsakey.py0return whether or not this key has a private component. :rtype: bool
HIGHcode/default/lib/noarch/tlslite/utils/ecdsakey.py0return true if the write() method accepts a password for use in encrypting the private key. :rtype: bool
HIGHcode/default/lib/noarch/tlslite/utils/rsakey.py0return true if the write() method accepts a password for use in encrypting the private key. :rtype: bool
HIGHcode/default/lib/noarch/tlslite/utils/eddsakey.py0return true if the write() method accepts a password for use in encrypting the private key. :rtype: bool
HIGHcode/default/lib/noarch/tlslite/utils/ecdsakey.py0return a string containing the key. :rtype: str :returns: a string describing the key, in whichever format (pem) is nati
HIGHcode/default/lib/noarch/tlslite/utils/rsakey.py0return a string containing the key. :rtype: str :returns: a string describing the key, in whichever format (pem) is nati
HIGHcode/default/lib/noarch/tlslite/utils/eddsakey.py0return a string containing the key. :rtype: str :returns: a string describing the key, in whichever format (pem) is nati
HIGHcode/default/lib/noarch/asn1crypto/algos.py0encryption algorithm "%s" does not have a registered key derivation function
HIGHcode/default/lib/noarch/asn1crypto/algos.py0encryption algorithm "%s" does not have a registered key derivation function
HIGHcode/default/lib/noarch/asn1crypto/algos.py0encryption algorithm "%s" does not have a registered key derivation function
HIGHcode/default/lib/noarch/asn1crypto/algos.py0encryption algorithm "%s" does not have a registered key derivation function
HIGHcode/default/lib/noarch/asn1crypto/ocsp.py0sets common named extensions to private attributes and creates a list of critical extensions
HIGHcode/default/lib/noarch/asn1crypto/ocsp.py0sets common named extensions to private attributes and creates a list of critical extensions
49 more matches not shown…
Excessive Try-Catch Wrapping344 hits · 382 pts
SeverityFileLineSnippet
LOWcode/default/babel_update.py32 except Exception as e:
LOWcode/default/launcher/update.py163 except Exception as e:
LOWcode/default/launcher/update.py238 except Exception as e:
LOWcode/default/launcher/update.py278 except Exception as e:
LOWcode/default/launcher/update.py304 except Exception as e:
LOWcode/default/launcher/update.py322 except Exception as e:
LOWcode/default/launcher/update.py328 except Exception as e:
MEDIUMcode/default/launcher/update.py90def download_file(url, file):
MEDIUMcode/default/launcher/update.py265def check_update():
LOWcode/default/launcher/module_init.py73 except Exception as e:
LOWcode/default/launcher/module_init.py106 except Exception as e:
LOWcode/default/launcher/module_init.py120 except Exception as e:
MEDIUMcode/default/launcher/module_init.py79def stop(module):
LOWcode/default/launcher/update_from_github.py151 except Exception as e:
LOWcode/default/launcher/update_from_github.py174 except Exception as e:
LOWcode/default/launcher/update_from_github.py271 except Exception as e:
LOWcode/default/launcher/update_from_github.py307 except Exception as e:
LOWcode/default/launcher/update_from_github.py357 except Exception as e:
LOWcode/default/launcher/update_from_github.py411 except Exception as e:
LOWcode/default/launcher/config.py87except Exception as e:
LOWcode/default/launcher/config.py97except Exception as e:
LOWcode/default/launcher/config.py134 except Exception as e:
LOWcode/default/launcher/download_modules.py80 except Exception as e:
LOWcode/default/launcher/download_modules.py108 except Exception as e:
LOWcode/default/launcher/autorun.py75 except Exception as e:
LOWcode/default/launcher/web_control.py119 except Exception as e:
LOWcode/default/launcher/web_control.py154 except Exception as e:
LOWcode/default/launcher/web_control.py175 except Exception as e:
LOWcode/default/launcher/web_control.py221 except Exception as e:
LOWcode/default/launcher/web_control.py316 except Exception as e:
LOWcode/default/launcher/web_control.py365 except Exception as e:
LOWcode/default/launcher/web_control.py837 except Exception as e:
LOWcode/default/launcher/web_control.py911 except Exception as e:
LOWcode/default/launcher/web_control.py931 except Exception as e:
LOWcode/default/launcher/web_control.py1007 except Exception as e:
LOWcode/default/launcher/web_control.py1051 except Exception as e:
LOWcode/default/launcher/web_control.py1104 except Exception as e:
LOWcode/default/launcher/win_compat_suggest.py56 except Exception as e:
LOWcode/default/launcher/win_compat_suggest.py70 except Exception as e:
LOWcode/default/launcher/win_compat_suggest.py96 except Exception as e:
MEDIUMcode/default/launcher/win_compat_suggest.py50def run_cmd(cmd):
LOWcode/default/launcher/mac_tray.py425 except Exception as e:
MEDIUMcode/default/launcher/mac_tray.py288def setupHelper():
LOWcode/default/launcher/start.py72except Exception as e2:
LOWcode/default/launcher/start.py196except Exception as e:
LOWcode/default/launcher/setup.py64 except Exception as e:
LOWcode/default/launcher/setup.py137 except Exception as e:
MEDIUMcode/default/launcher/setup.py37def download_file(url, file):
LOWcode/default/launcher/sys_platform.py47 except Exception as e:
LOWcode/default/launcher/sys_platform.py120 except Exception as e:
MEDIUMcode/default/launcher/sys_platform.py31def X_is_running():
LOWcode/default/launcher/tests/integrate_testing.py105 except Exception as e:
LOWcode/default/launcher/tests/integrate_testing.py165 except Exception as e:
LOWcode/default/launcher/tests/integrate_testing.py240 except Exception as e:
LOWcode/default/launcher/tests/integrate_testing.py255 except Exception as e:
LOWcode/default/launcher/tests/integrate_testing.py295 except Exception as e:
MEDIUMcode/default/launcher/tests/integrate_testing.py100def check_web_console(self):
LOWcode/default/launcher/tests/try_run.py28 except Exception as e:
LOWcode/default/x_tunnel/tests/test_proxy.py70 except Exception as e:
LOWcode/default/x_tunnel/local/direct_front.py85 except Exception as e:
284 more matches not shown…
Unused Imports389 hits · 374 pts
SeverityFileLineSnippet
LOWcode/default/launcher/update.py4
LOWcode/default/launcher/update.py15
LOWcode/default/launcher/update.py17
LOWcode/default/launcher/module_init.py9
LOWcode/default/launcher/web_control.py52
LOWcode/default/launcher/web_control.py16
LOWcode/default/launcher/web_control.py17
LOWcode/default/launcher/web_control.py17
LOWcode/default/launcher/web_control.py18
LOWcode/default/launcher/web_control.py21
LOWcode/default/launcher/web_control.py22
LOWcode/default/launcher/web_control.py22
LOWcode/default/launcher/web_control.py22
LOWcode/default/launcher/web_control.py954
LOWcode/default/launcher/start.py71
LOWcode/default/launcher/sys_platform.py45
LOWcode/default/launcher/sys_platform.py56
LOWcode/default/x_tunnel/tests/test_proxy.py15
LOWcode/default/x_tunnel/local/client.py47
LOWcode/default/x_tunnel/local/__init__.py5
LOWcode/default/x_tunnel/local/__init__.py6
LOWcode/default/x_tunnel/local/base_container.py1
LOWcode/default/x_tunnel/local/tls_relay_front/__init__.py2
LOWcode/default/x_tunnel/local/seley_front/ip_manager.py5
LOWcode/default/x_tunnel/local/seley_front/web_control.py6
LOWcode/default/x_tunnel/local/seley_front/__init__.py2
LOWcode/default/x_tunnel/local/seley_front/test.py7
LOW…de/default/x_tunnel/local/cloudflare_front/__init__.py2
LOW…de/default/x_tunnel/local/cloudfront_front/__init__.py2
LOWcode/default/x_tunnel/local/cloudfront_front/test.py7
LOWcode/default/gae_proxy/local/direct_handler.py6
LOWcode/default/gae_proxy/local/__init__.py2
LOWcode/default/gae_proxy/local/__init__.py3
LOWcode/default/gae_proxy/local/ipv6_tunnel/pteredor.py19
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py5
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py8
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py8
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py8
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py8
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py8
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py8
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py10
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py10
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py10
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py10
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py10
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py10
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py12
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py12
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py12
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py12
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py12
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py12
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py14
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py14
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py14
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py14
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py14
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py14
LOWcode/default/gae_proxy/local/ipv6_tunnel/__init__.py16
329 more matches not shown…
Deep Nesting303 hits · 276 pts
SeverityFileLineSnippet
LOWcode/default/launcher/update.py90
LOWcode/default/launcher/update.py167
LOWcode/default/launcher/update.py265
LOWcode/default/launcher/update_from_github.py84
LOWcode/default/launcher/update_from_github.py159
LOWcode/default/launcher/update_from_github.py230
LOWcode/default/launcher/update_from_github.py426
LOWcode/default/launcher/update_from_github.py427
LOWcode/default/launcher/config.py102
LOWcode/default/launcher/download_modules.py14
LOWcode/default/launcher/web_control.py123
LOWcode/default/launcher/web_control.py190
LOWcode/default/launcher/web_control.py336
LOWcode/default/launcher/web_control.py405
LOWcode/default/launcher/web_control.py644
LOWcode/default/launcher/web_control.py817
LOWcode/default/launcher/web_control.py945
LOWcode/default/launcher/mac_tray.py401
LOWcode/default/launcher/mac_tray.py128
LOWcode/default/launcher/start.py106
LOWcode/default/launcher/simple_i18n.py21
LOWcode/default/launcher/setup.py34
LOWcode/default/launcher/setup.py37
LOWcode/default/launcher/win_tray.py32
LOWcode/default/x_tunnel/local/web_control.py63
LOWcode/default/x_tunnel/local/web_control.py115
LOWcode/default/x_tunnel/local/web_control.py361
LOWcode/default/x_tunnel/local/web_control.py424
LOWcode/default/x_tunnel/local/base_container.py173
LOWcode/default/x_tunnel/local/base_container.py299
LOWcode/default/x_tunnel/local/base_container.py503
LOWcode/default/x_tunnel/local/base_container.py744
LOWcode/default/x_tunnel/local/proxy_handler.py44
LOWcode/default/x_tunnel/local/proxy_handler.py71
LOWcode/default/x_tunnel/local/proxy_handler.py96
LOWcode/default/x_tunnel/local/proxy_handler.py121
LOWcode/default/x_tunnel/local/proxy_handler.py150
LOWcode/default/x_tunnel/local/upload_logs.py132
LOWcode/default/x_tunnel/local/proxy_session.py1104
LOWcode/default/x_tunnel/local/proxy_session.py1148
LOWcode/default/x_tunnel/local/proxy_session.py166
LOWcode/default/x_tunnel/local/proxy_session.py395
LOWcode/default/x_tunnel/local/proxy_session.py548
LOWcode/default/x_tunnel/local/proxy_session.py856
LOWcode/default/x_tunnel/local/front_dispatcher.py101
LOW…/default/x_tunnel/local/tls_relay_front/web_control.py127
LOWcode/default/x_tunnel/local/seley_front/web_control.py66
LOW…/default/x_tunnel/local/cloudflare_front/ip_manager.py25
LOW…default/x_tunnel/local/cloudflare_front/web_control.py127
LOW…ult/x_tunnel/local/cloudfront_front/connect_creator.py7
LOWcode/default/gae_proxy/local/appid_manager.py41
LOWcode/default/gae_proxy/local/direct_handler.py27
LOWcode/default/gae_proxy/local/config.py377
LOWcode/default/gae_proxy/local/config.py402
LOWcode/default/gae_proxy/local/config.py501
LOWcode/default/gae_proxy/local/gae_handler.py171
LOWcode/default/gae_proxy/local/gae_handler.py379
LOWcode/default/gae_proxy/local/gae_handler.py479
LOWcode/default/gae_proxy/local/gae_handler.py902
LOWcode/default/gae_proxy/local/web_control.py124
243 more matches not shown…
Self-Referential Comments56 hits · 163 pts
SeverityFileLineSnippet
MEDIUMcode/default/lib/noarch/simple_http_server.py334 # Define the function and return True to accept
MEDIUMcode/default/lib/noarch/pyasn1/error.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/debug.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/compat/calling.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/compat/binary.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/compat/octets.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/compat/dateandtime.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/compat/__init__.py1# This file is necessary to make this directory a package.
MEDIUMcode/default/lib/noarch/pyasn1/compat/integer.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/compat/string.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/codec/__init__.py1# This file is necessary to make this directory a package.
MEDIUMcode/default/lib/noarch/pyasn1/codec/native/decoder.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/codec/native/__init__.py1# This file is necessary to make this directory a package.
MEDIUMcode/default/lib/noarch/pyasn1/codec/native/encoder.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/codec/der/decoder.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/codec/der/__init__.py1# This file is necessary to make this directory a package.
MEDIUMcode/default/lib/noarch/pyasn1/codec/der/encoder.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/codec/cer/decoder.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/codec/cer/__init__.py1# This file is necessary to make this directory a package.
MEDIUMcode/default/lib/noarch/pyasn1/codec/cer/encoder.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/codec/ber/decoder.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/codec/ber/eoo.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/codec/ber/__init__.py1# This file is necessary to make this directory a package.
MEDIUMcode/default/lib/noarch/pyasn1/codec/ber/encoder.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/type/constraint.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/type/error.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/type/tagmap.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/type/useful.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/type/namedtype.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/type/char.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/type/__init__.py1# This file is necessary to make this directory a package.
MEDIUMcode/default/lib/noarch/pyasn1/type/opentype.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/type/univ.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/type/namedval.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/type/base.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/pyasn1/type/tag.py2# This file is part of pyasn1 software.
MEDIUMcode/default/lib/noarch/front_base/http2_stream.py35# Define a set of states for a HTTP/2 stream.
MEDIUMcode/default/lib/noarch/idna/idnadata.py1# This file is automatically generated by build-idnadata.py
MEDIUMcode/default/lib/noarch/idna/uts46data.py1# This file is automatically generated by tools/build-uts46data.py
MEDIUMcode/default/lib/noarch/tlslite/sessioncache.py14 """This class is used by the server to cache TLS sessions.
MEDIUMcode/default/lib/noarch/tlslite/x509.py220 # Create a public key instance
MEDIUMcode/default/lib/noarch/tlslite/x509.py271 # Create a public key instance
MEDIUMcode/default/lib/noarch/tlslite/tlsconnection.py661 # Create the session object which is used for resumptions
MEDIUMcode/default/lib/noarch/tlslite/tlsconnection.py2204 # Create the ServerHello message
MEDIUMcode/default/lib/noarch/tlslite/tlsconnection.py2416 #Create the session object
MEDIUMcode/default/lib/noarch/tlslite/x509certchain.py12 """This class represents a chain of X.509 certificates.
MEDIUMcode/default/lib/noarch/tlslite/mathtls.py919#This function is used by VerifierDB.makeVerifier
MEDIUMcode/default/lib/noarch/tlslite/utils/cipherfactory.py187#Create a new TripleDES instance
MEDIUMcode/default/lib/noarch/hyper/http11/response.py320 # The following methods implement the context manager protocol.
MEDIUMcode/default/lib/noarch/hyper/http20/response.py181 # The following methods implement the context manager protocol.
MEDIUMcode/default/lib/noarch/hyper/http20/stream.py29# Define a set of states for a HTTP/2 stream.
MEDIUMcode/default/lib/noarch/hyper/http20/stream.py37# Define the largest chunk of data we'll send in one go. Realistically, we
MEDIUMcode/default/lib/noarch/hyper/http20/stream.py127 # Define a utility iterator for file objects.
MEDIUMcode/default/lib/noarch/hyper/http20/connection.py108 # Create the mutable state.
MEDIUMcode/default/lib/noarch/hyper/http20/connection.py323 # Create a new stream.
MEDIUM…fault/lib/noarch/hyper/packages/rfc3986/normalizers.py71 output = [] # Initialize the variable to use to store output
Cross-Language Confusion16 hits · 80 pts
SeverityFileLineSnippet
HIGHcode/default/x_tunnel/local/cloudflare_front/front.py53 self.check_ip = CheckIp(xlog.null, self.config, self.connect_creator)
HIGHcode/default/x_tunnel/local/cloudfront_front/front.py43 self.ip_checker = CheckIp(xlog.null, self.config, self.connect_creator)
HIGHcode/default/gae_proxy/local/front.py55 self.ip_checker = CheckIp(xlog.null, self.config, self.connect_creator)
HIGHcode/default/lib/noarch/pyasn1/compat/integer.py17from pyasn1.compat.octets import oct2int, null, ensureString
HIGHcode/default/lib/noarch/pyasn1/codec/native/decoder.py144 debug.scope.push(type(pyObject).__name__)
HIGHcode/default/lib/noarch/pyasn1/codec/native/encoder.py163 debug.scope.push(type(value).__name__)
HIGHcode/default/lib/noarch/pyasn1/codec/cer/encoder.py205 return null, True, True
HIGHcode/default/lib/noarch/pyasn1/codec/ber/decoder.py161 bitString = self.protoComponent.fromOctetString(null, internalFormat=True)
HIGHcode/default/lib/noarch/pyasn1/codec/ber/decoder.py191 bitString = self.protoComponent.fromOctetString(null, internalFormat=True)
HIGHcode/default/lib/noarch/pyasn1/codec/ber/decoder.py1225 debug.scope.push(concreteDecoder is None and '?' or concreteDecoder.protoComponent.__class__.__name_
HIGHcode/default/lib/noarch/pyasn1/codec/ber/decoder.py1274 debug.scope.push(chosenSpec is None and '?' or chosenSpec.__class__.__name__)
HIGHcode/default/lib/noarch/pyasn1/codec/ber/encoder.py11from pyasn1.compat.octets import (int2oct, oct2int, ints2octs, null,
HIGHcode/default/lib/noarch/pyasn1/codec/ber/encoder.py118 return null, False, True
HIGHcode/default/lib/noarch/pyasn1/codec/ber/encoder.py242 return null, False, True
HIGHcode/default/lib/noarch/pyasn1/codec/ber/encoder.py359 return null, False, True
HIGHcode/default/lib/noarch/ecdsa/_version.py13 "error": null,
Over-Commented Block78 hits · 78 pts
SeverityFileLineSnippet
LOWxx_net.sh1#!/bin/bash
LOWcode/default/launcher/update.py41root_path = os.path.abspath(os.path.join(current_path, os.pardir))
LOWcode/default/launcher/update.py441if __name__ == "__main__":
LOWcode/default/gae_proxy/server/gae/gunicorn.conf.py1# Recommended number of workers based on instance size:
LOWcode/default/gae_proxy/local/proxy.py1#!/usr/bin/env python2
LOWcode/default/gae_proxy/local/proxy.py21# Harmony Meow <harmony.meow@gmail.com>
LOWcode/default/gae_proxy/local/ipv6_tunnel/pteredor.py1#!/usr/bin/env python
LOWcode/default/lib/noarch/encrypt.py1#!/usr/bin/env python
LOWcode/default/lib/noarch/selectors2.py1""" Back-ported, durable, and portable selectors """
LOWcode/default/lib/noarch/six.py1# Copyright (c) 2010-2020 Benjamin Peterson
LOWcode/default/lib/noarch/pyasn1/compat/octets.py1#
LOWcode/default/lib/noarch/pyasn1/codec/native/decoder.py181#: ----------
LOWcode/default/lib/noarch/pyasn1/codec/native/decoder.py201#:
LOWcode/default/lib/noarch/pyasn1/codec/native/encoder.py201#: in ASN.1 SEQUENCE.
LOWcode/default/lib/noarch/pyasn1/codec/native/encoder.py221#:
LOWcode/default/lib/noarch/pyasn1/codec/der/decoder.py41 supportIndefLength = False
LOWcode/default/lib/noarch/pyasn1/codec/der/decoder.py61#:
LOWcode/default/lib/noarch/pyasn1/codec/der/decoder.py81#: SequenceOf:
LOWcode/default/lib/noarch/pyasn1/codec/der/encoder.py61
LOWcode/default/lib/noarch/pyasn1/codec/der/encoder.py81#: Given ASN.1 object encoded into BER octet-stream
LOWcode/default/lib/noarch/pyasn1/codec/der/encoder.py101#:
LOWcode/default/lib/noarch/pyasn1/codec/cer/decoder.py61 pass
LOWcode/default/lib/noarch/pyasn1/codec/cer/decoder.py81#:
LOWcode/default/lib/noarch/pyasn1/codec/cer/decoder.py101#: SequenceOf:
LOWcode/default/lib/noarch/pyasn1/codec/cer/encoder.py241 univ.SequenceOf.typeId: SequenceOfEncoder()
LOWcode/default/lib/noarch/pyasn1/codec/cer/encoder.py261#: ------------
LOWcode/default/lib/noarch/pyasn1/codec/cer/encoder.py281#: >>> seq = SequenceOf(componentType=Integer())
LOWcode/default/lib/noarch/pyasn1/codec/ber/decoder.py1321 debug.scope.pop()
LOWcode/default/lib/noarch/pyasn1/codec/ber/decoder.py1341#: being decoded, *asn1Spec* may or may not be required. Most common reason for
LOWcode/default/lib/noarch/pyasn1/codec/ber/decoder.py1361#: >>> s, _ = decode(b'0\t\x02\x01\x01\x02\x01\x02\x02\x01\x03')
LOWcode/default/lib/noarch/pyasn1/codec/ber/encoder.py661 logger('using value codec %s chosen by tagSet %s' % (concreteEncoder.__class__.__name__, tagSet))
LOWcode/default/lib/noarch/pyasn1/codec/ber/encoder.py681#: Keyword Args
LOWcode/default/lib/noarch/pyasn1/codec/ber/encoder.py701#:
LOWcode/default/lib/noarch/pyasn1/type/univ.py901 # representation in cases when non-printable content is present. At the
LOWcode/default/lib/noarch/pyasn1/type/base.py441# * Sequence, Set and Choice types also implement by-identifier addressing
LOWcode/default/lib/noarch/ecdsa/util.py141# range limits as randrange() above. They are meant for deriving consistent
LOWcode/default/lib/noarch/ecdsa/ellipticcurve.py1#! /usr/bin/env python
LOWcode/default/lib/noarch/ecdsa/ellipticcurve.py21# - Verify that Q is on the curve.
LOWcode/default/lib/noarch/ecdsa/der.py361# signatures: (from RFC3279)
LOWcode/default/lib/noarch/scrypto/ctypes_openssl.py1#!/usr/bin/env python
LOWcode/default/lib/noarch/scrypto/salsa20_ctr.py1#!/usr/bin/env python
LOWcode/default/lib/noarch/scrypto/m2.py1#!/usr/bin/env python
LOWcode/default/lib/noarch/scrypto/util.py1#!/usr/bin/env python
LOWcode/default/lib/noarch/scrypto/__init__.py1#!/usr/bin/env python
LOWcode/default/lib/noarch/scrypto/rc4_md5.py1#!/usr/bin/env python
LOWcode/default/lib/noarch/scrypto/table.py1# !/usr/bin/env python
LOWcode/default/lib/noarch/front_base/ip_manager.py181 if self.config.show_state_debug:
LOWcode/default/lib/noarch/front_base/ip_manager.py241 self.iplist_saved_time = 0
LOWcode/default/lib/noarch/front_base/http2_stream.py421 # time.time() - self.connection.last_redv_time > self.connection.config.http2_timeout_active:
LOWcode/default/lib/noarch/front_base/ssl_wrap.py381 return self.x509.get_serial_number()
LOWcode/default/lib/noarch/tlslite/tlsrecordlayer.py601 def makefile(self, mode='r', bufsize=-1):
LOWcode/default/lib/noarch/tlslite/tlsrecordlayer.py1041
LOWcode/default/lib/noarch/tlslite/tlsrecordlayer.py1241
LOWcode/default/lib/noarch/tlslite/constants.py1# Authors:
LOWcode/default/lib/noarch/tlslite/tlsconnection.py1# Authors:
LOWcode/default/lib/noarch/tlslite/tlsconnection.py821 # if session and session.sessionID:
LOW…e/default/lib/noarch/tlslite/utils/python_tripledes.py1#################################################
LOWcode/default/lib/noarch/tlslite/utils/rsakey.py521 error_detected |= ct_lt_u32(pos, 10) & (1 ^ ct_isnonzero_u32(val))
LOWcode/default/lib/noarch/tlslite/utils/rsakey.py541 # ret_msg_start = synth_msg_start
LOWcode/default/lib/noarch/tlslite/utils/aesgcm.py1# Author: Google
18 more matches not shown…
Hyper-Verbose Identifiers66 hits · 64 pts
SeverityFileLineSnippet
LOWcode/default/launcher/update_from_github.py278def download_overwrite_new_version(xxnet_version, checkhash=1):
LOWcode/default/launcher/web_control.py1109def confirm_xxnet_not_running():
LOWcode/default/launcher/win_compat_suggest.py121 def change_reserved_port_range(self):
LOWcode/default/launcher/start.py78def uncaught_exception_handler(etype, value, tb):
LOWcode/default/launcher/web_ui/index.html600 function updateVersionWithoutHashCheck() {
LOWcode/default/x_tunnel/local/proxy_session.py184 def traffic_speed_calculation(self):
LOWcode/default/x_tunnel/local/proxy_session.py604 def get_down_sn_timeout_list_pack(self):
LOWcode/default/x_tunnel/local/proxy_session.py720 def process_server_received_transfer_no(self, server_received_no_list, server_sent_no_list, server_time):
LOWcode/default/x_tunnel/local/proxy_session.py745 def process_server_unacked_sent_sn(self, data):
LOWcode/default/x_tunnel/web_ui/config.html684 function getBandwidthForHumanReading(bandwidth) {
LOWcode/default/x_tunnel/web_ui/config.html1257 function doTransferBandwidthAction(transferAccount, transferAmount, expireTime) {
LOWcode/default/gae_proxy/local/web_control.py665 def req_download_cert_handler(self):
LOWcode/default/lib/noarch/simple_http_server.py673 def check_listen_port_or_reset(self):
LOWcode/default/lib/noarch/simple_http_server.py702 def generate_random_lowercase(self, n):
LOWcode/default/lib/noarch/utils.py178def generate_random_lowercase(n):
LOWcode/default/lib/noarch/env_info.py167def is_in_system_application_path(p):
LOWcode/default/lib/noarch/sortedcontainers/sortedset.py241 def symmetric_difference_update(self, that):
LOWcode/default/lib/noarch/ecdsa/util.py115def randrange_from_seed__overshoot_modulo(seed, order):
LOWcode/default/lib/noarch/ecdsa/util.py151def randrange_from_seed__truncate_bytes(seed, order, hashmod=sha256):
LOWcode/default/lib/noarch/ecdsa/util.py165def randrange_from_seed__truncate_bits(seed, order, hashmod=sha256):
LOWcode/default/lib/noarch/ecdsa/util.py180def randrange_from_seed__trytryagain(seed, order):
LOWcode/default/lib/noarch/ecdsa/util.py218def string_to_number_fixedlen(string, order):
LOWcode/default/lib/noarch/ecdsa/util.py285def sigencode_strings_canonize(r, s, order):
LOWcode/default/lib/noarch/ecdsa/util.py291def sigencode_string_canonize(r, s, order):
LOWcode/default/lib/noarch/ecdsa/keys.py59def _truncate_and_convert_digest(digest, curve, allow_truncate):
LOWcode/default/lib/noarch/ecdsa/keys.py467 def from_public_key_recovery_with_digest(
LOWcode/default/lib/noarch/ecdsa/keys.py1359 def sign_digest_deterministic(
LOWcode/default/lib/noarch/ecdsa/_sha3.py142 def _reinterpret_to_words_and_xor(s, b):
LOWcode/default/lib/noarch/ecdsa/numbertheory.py494def largest_factor_relatively_prime(a, b): # pragma: no cover
LOWcode/default/lib/noarch/ecdsa/ecdh.py240 def load_received_public_key_bytes(
LOWcode/default/lib/noarch/ecdsa/ecdh.py264 def load_received_public_key_der(self, public_key_der):
LOWcode/default/lib/noarch/ecdsa/ecdh.py283 def load_received_public_key_pem(self, public_key_pem):
LOWcode/default/lib/noarch/ecdsa/ecdh.py302 def generate_sharedsecret_bytes(self):
LOWcode/default/lib/noarch/front_base/http2_connection.py266 def increase_remote_window_size(self, inc_size):
LOWcode/default/lib/noarch/front_base/connect_manager.py243 def _create_more_connection_worker(self):
LOWcode/default/lib/noarch/tlslite/handshakesettings.py688 def _sanity_check_implementations(self, other):
LOWcode/default/lib/noarch/tlslite/tlsrecordlayer.py1411 def _handle_keyupdate_request(self, request):
LOWcode/default/lib/noarch/tlslite/tlsconnection.py1889 def _check_certchain_with_settings(self, cert_chain, settings):
LOWcode/default/lib/noarch/tlslite/tlsconnection.py2447 def request_post_handshake_auth(self, settings=None):
LOWcode/default/lib/noarch/tlslite/tlsconnection.py3949 def _server_select_certificate(self, settings, client_hello,
LOWcode/default/lib/noarch/tlslite/utils/rsakey.py573 def _raw_private_key_op_bytes(self, message):
LOWcode/default/lib/noarch/tlslite/utils/deprecations.py99def deprecated_instance_attrs(names,
LOWcode/default/lib/noarch/tlslite/utils/openssl_rsakey.py72 def _raw_private_key_op_bytes(self, message):
LOWcode/default/lib/noarch/asn1crypto/ocsp.py274 def acceptable_responses_value(self):
LOWcode/default/lib/noarch/asn1crypto/ocsp.py289 def preferred_signature_algorithms_value(self):
LOWcode/default/lib/noarch/asn1crypto/x509.py2217 def private_key_usage_period_value(self):
LOWcode/default/lib/noarch/asn1crypto/x509.py2231 def subject_directory_attributes_value(self):
LOWcode/default/lib/noarch/asn1crypto/x509.py2333 def crl_distribution_points_value(self):
LOWcode/default/lib/noarch/asn1crypto/x509.py2347 def certificate_policies_value(self):
LOWcode/default/lib/noarch/asn1crypto/x509.py2378 def authority_key_identifier_value(self):
LOWcode/default/lib/noarch/asn1crypto/x509.py2447 def authority_information_access_value(self):
LOWcode/default/lib/noarch/asn1crypto/x509.py2461 def subject_information_access_value(self):
LOWcode/default/lib/noarch/asn1crypto/x509.py2658 def delta_crl_distribution_points(self):
LOWcode/default/lib/noarch/asn1crypto/x509.py2670 def _get_http_crl_distribution_points(self, crl_distribution_points):
LOWcode/default/lib/noarch/asn1crypto/core.py5248def _tag_type_to_explicit_implicit(params):
LOWcode/default/lib/noarch/asn1crypto/crl.py369 def delta_crl_indicator_value(self):
LOWcode/default/lib/noarch/asn1crypto/crl.py383 def issuing_distribution_point_value(self):
LOWcode/default/lib/noarch/asn1crypto/crl.py397 def authority_key_identifier_value(self):
LOWcode/default/lib/noarch/asn1crypto/crl.py425 def authority_information_access_value(self):
LOWcode/default/lib/noarch/asn1crypto/crl.py483 def delta_crl_distribution_points(self):
6 more matches not shown…
Redundant / Tautological Comments15 hits · 22 pts
SeverityFileLineSnippet
LOWcode/default/launcher/mac_tray.py319 # Check if auto proxy is enabled
LOWcode/default/launcher/mac_tray.py324 # Check if global proxy is enabled
LOWcode/default/launcher/mac_tray.py329 # Check if global proxy is enabled
LOWcode/default/lib/noarch/socks.py608 # Check if the destination address provided is an IP address
LOWcode/default/lib/noarch/tlslite/tlsconnection.py570 # Check if server selected encrypt-then-MAC
LOWcode/default/lib/noarch/tlslite/tlsconnection.py848 # Check if padding extension should be added
LOWcode/default/lib/noarch/tlslite/tlsconnection.py3371 #Check if there's intersection between supported curves by client and
LOWcode/default/lib/noarch/tlslite/tlsconnection.py3489 # Check if the session there is good enough and consistent with
LOWcode/default/lib/noarch/tlslite/tlsconnection.py3495 # Check if we are willing to use that old cipher still
LOWcode/default/lib/noarch/tlslite/tlsconnection.py3997 # Check if this is the last (cert, key) pair we have to check
LOWcode/default/lib/noarch/tlslite/tlsconnection.py4067 # Check if every certificate(except the self-signed root CA)
LOWcode/default/lib/noarch/tlslite/utils/python_rsakey.py87 # Return the output
LOWcode/default/lib/noarch/asn1crypto/core.py5025 # Set it to None and let the class take care of converting the next
LOWcode/default/lib/noarch/asn1crypto/core.py5124 # Set it to None and let the class take care of converting the next
LOWcode/default/lib/noarch/dnslib/zoneresolver.py34 # Check if label & type match
AI Slop Vocabulary10 hits · 19 pts
SeverityFileLineSnippet
MEDIUMcode/default/gae_proxy/local/cert_util.py277 # to elevate
MEDIUMcode/default/lib/noarch/selectors2.py766 """ This function serves as a first call for DefaultSelector to
MEDIUMcode/default/lib/noarch/pyasn1/type/univ.py908 # Eventually we should deprecate `.prettyPrint()` / `.prettyOut()` harness
LOWcode/default/lib/noarch/ecdsa/util.py251 # fixed, so just use simple concatenation
LOWcode/default/lib/noarch/ecdsa/ellipticcurve.py8# because one can simply use NIST's standard curves.
MEDIUMcode/default/lib/noarch/asn1crypto/core.py204 # some classes since they utilize _bytes or _unicode
LOWcode/default/lib/noarch/hyper/httplib_compat.py31# If we have NPN support, define our custom one, otherwise just use the
LOWcode/default/lib/noarch/hyper/http20/stream.py381 # Right now let's not bother with grace, let's just call close on the
LOWcode/default/lib/noarch/hyper/packages/hpack/huffman.py35 # handle this cleanly, just use a single giant integer.
LOWcode/default/lib/noarch/hyper/packages/rfc3986/misc.py62# the reference so we can also simply use SRE_Match#groups.
Decorative Section Separators5 hits · 15 pts
SeverityFileLineSnippet
MEDIUMcode/default/lib/noarch/xlog.py284 # =================================================================
MEDIUMcode/default/smart_router/local/host_records.py22 # ===============
MEDIUMcode/default/smart_router/local/host_records.py29 # ==============
MEDIUMcode/default/smart_router/local/host_records.py223 # =============
MEDIUMcode/default/smart_router/local/host_records.py233 # ==============
Dead Code7 hits · 14 pts
SeverityFileLineSnippet
MEDIUMcode/default/gae_proxy/local/sni_manager.py21
MEDIUMcode/default/gae_proxy/local/sni_manager.py22
MEDIUMcode/default/gae_proxy/local/sni_manager.py23
MEDIUMcode/default/gae_proxy/local/sni_manager.py27
MEDIUMcode/default/gae_proxy/local/sni_manager.py29
MEDIUMcode/default/gae_proxy/local/sni_manager.py30
MEDIUMcode/default/gae_proxy/local/sni_manager.py32
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippet
CRITICALcode/default/launcher/web_ui/js/jquery-1.11.2.min.js4}m.Tween=Zb,Zb.prototype={constructor:Zb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippet
LOWcode/default/smart_router/local/proxy_handler.py66 def handle_request(self):