Server IP : 111.118.215.189 / Your IP : 18.217.89.171 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/net/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:10:35 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/net/socks.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\302\303!\204 \304\303\305\"\210\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345&\207" [require custom fboundp split-string defalias #[(string &optional pattern) "\204 \304\305\306\307 #\203 \306\224O\nB\306\225\202\n \305O\nB\237*\207" [pattern start parts string "[ \f \n ]+" nil 0 string-match] 4 "Return a list of substrings of STRING which are separated by PATTERN.\nIf PATTERN is omitted, it defaults to \"[ \\f\\t\\n\\r\\v]+\"."] define-widget dynamic-choice menu-choice "A pretty simple dynamic dropdown list" :format "%[%t%]: %v" :tag "Network" :case-fold t :void (item :format "invalid (%t)\n") :value-create s5-widget-value-create :value-delete widget-children-value-delete :value-get widget-choice-value-get :value-inline widget-choice-value-inline :mouse-down-action widget-choice-mouse-down-action :action widget-choice-action :error "Make a choice" :validate widget-choice-validate :match s5-dynamic-choice-match :match-inline s5-dynamic-choice-match-inline] 32) (defalias 's5-dynamic-choice-match #[(widget value) "\305\306\" \307\211\203! \204! @A\310\n\311\f#\202\n +\207" [widget found current choices value widget-get :choice-function nil widget-apply :match] 4]) (defalias 's5-dynamic-choice-match-inline #[(widget value) "\305\306\" \307\211\203 \204 @A\310\n\f\"\202\n +\207" [widget found current choices value widget-get :choice-function nil widget-match-inline] 3]) (defalias 's5-widget-value-create #[(widget) "\303\304\" \303\305\" \204 \306\305\307\n@!#\210\306\310\n#\210\311!*\207" [widget value choices widget-get :choice-function :value widget-put widget-value :args widget-choice-value-create] 5]) (byte-code "\300\301\302\303\304\305\306\307\310\311& \210\312\313\314\315\310\301\316\317&\207" [custom-declare-group socks nil "SOCKS Support" :version "22.2" :prefix "socks-" :group processes custom-declare-variable socks-server (list "Default server" "socks" 1080 5) #1="" :type (list (string :format #1# :value "Default server") (string :tag "Server") (integer :tag "Port") (radio-button-choice :tag "SOCKS Version" :format "%t: %v" (const :tag "SOCKS v4 " :format "%t" :value 4) (const :tag "SOCKS v5" :format "%t" :value 5)))] 10) (defconst socks-version 5) (defvar socks-debug nil) (defconst socks-connect-command 1) (defconst socks-bind-command 2) (defconst socks-udp-associate-command 3) (defconst socks-authentication-null 0) (defconst socks-authentication-failure 255) (defconst socks-response-success 0) (defconst socks-response-general-failure 1) (defconst socks-response-access-denied 2) (defconst socks-response-network-unreachable 3) (defconst socks-response-host-unreachable 4) (defconst socks-response-connection-refused 5) (defconst socks-response-ttl-expired 6) (defconst socks-response-cmd-not-supported 7) (defconst socks-response-address-not-supported 8) (defvar socks-errors '("Succeeded" "General SOCKS server failure" "Connection not allowed by ruleset" "Network unreachable" "Host unreachable" "Connection refused" "Time-to-live expired" "Command not supported" "Address type not supported")) (defconst socks-address-type-v4 1) (defconst socks-address-type-name 3) (defconst socks-address-type-v6 4) (defvar socks-timeout 5) (defvar socks-connections (make-hash-table :size 13)) (defvar socks-authentication-methods nil) (defvar socks-username (user-login-name)) (defvar socks-password nil) (defalias 'socks-register-authentication-method #[(id desc callback) " \236\211\203 \n\fB\241\202 \fBB B\211)\207" [id socks-authentication-methods old desc callback] 4]) (defalias 'socks-unregister-authentication-method #[(id) " \236\211\205 \303\n \"\211)\207" [id socks-authentication-methods old delq] 4]) (socks-register-authentication-method 0 "No authentication" 'identity) (defalias 'socks-build-auth-list #[nil "\303\304\305\306\307\n!\"\210\310\311 #*\207" [retval num socks-authentication-methods 0 "" mapc #[(x) "\303AA!\205 \304\305 @#\nT\211\207" [x retval num fboundp format "%s%c"] 4] reverse format "%c%s"] 4]) (defconst socks-state-waiting-for-auth 0) (defconst socks-state-submethod-negotiation 1) (defconst socks-state-authenticated 2) (defconst socks-state-waiting 3) (defconst socks-state-connected 4) (defalias 'socks-wait-for-state-change '(macro . #[(proc htable cur-state) "\303\304\305\306\307E E\310\311\nD\312BBE\313\n\314BBE\207" [htable cur-state proc while and = gethash 'state memq process-status ('(run open)) accept-process-output (socks-timeout)] 6])) (defalias 'socks-filter #[(proc string) "\306 \"\307\211\211\211\204 \310\311\"\210\306\304 \"\211U\203V \312\313\306\313 \"P #\210\306\313 \"\211G\314W?\205V\312\315\316H #\210\312\313\314\307O #\210\312\304 #\202V\f U\206V\f!U\206V\f\"U\203R\312\313\306\313 \"P #\210\306\313 \"\306\317 \"\211\320\232\203\246 \321\322\"\205V\312\304# #\210\312\323\324 #\210\312\325 #\202V\326\232\203\347 G\314W?\205V\327G\nW?\205V\316H\211\330U\203\317 \324\312\304# #\210\312\323 #\210\312\325 #)\202V\331\232\205VG\326W?\205V\332\333H$U\203\326\202.\333H%U\203\334\202.\333H&U\205.G\331W\203)\335\202.\326HT\\G\nW?\205V\312\304# #\210\312\323\316H #\210\312\325 #\202V\f#U,\207" [proc socks-connections desired-len version state info gethash nil error "socks-filter called on non-SOCKS connection %S" puthash scratch 2 authtype 1 server-protocol http string-match " \n \n" reply 0 response 4 8 90 5 6 3 16 255 socks-state-waiting-for-auth string socks-state-submethod-negotiation socks-state-authenticated socks-state-waiting socks-state-connected socks-address-type-v4 socks-address-type-v6 socks-address-type-name] 7]) #@84 Whether to overwrite the open-network-stream function with the SOCKSified version. (defvar socks-override-functions nil (#$ . 6379)) (byte-code "\301\302!\210\303\304!\204 \305\304\306K\"\210\203 \305\306\307\"\210\301\207" [socks-override-functions require network-stream fboundp socks-original-open-network-stream defalias open-network-stream socks-open-network-stream] 3) (defalias 'socks-open-connection #[(server-info) "\212\306\307\310A@\3118$\312\313\314\"\310\211\315\f\316\"\210\317\f\310\"\210\320\f #\210\320\321)#\210\320\302*#\210\320\322\3238#\210\320\324A@#\210\3238\211\325\232\204\375 \326\232\204\375 \327\232\203\375 \330\f\331\332+\333 #\"\210\334\321\")U\203 \335\f!\336>\203 \337\f,\"\210\202d \334\302\"\211-U\203\227 .\203\361 \340\341!\210\202\361 \n*U\203\245 \342\343!\210\202\361 \334\302\"/\344/0\"\2111\205\273 1AA21\205\306 1A@3\315\f\310\"\2102\203\340 \3452!\203\340 2\f!\204\360 \346\f!\210\342\3473\206\354 \350/#\210,\320\3214#\210\315\f\316\"\210\f-\207" [server-info version authtype info proc socks-connections socks-original-open-network-stream "socks" nil 2 make-hash-table :size 13 set-process-filter socks-filter set-process-query-on-exit-flag puthash state server-protocol 3 server-name http 4 5 process-send-string format "%c%s" socks-build-auth-list gethash process-status (run open) accept-process-output message "No authentication necessary" error "No acceptable authentication methods found" assoc fboundp delete-process "Failed to use auth method: %s (%d)" "Unknown" socks-state-waiting-for-auth socks-authentication-failure socks-version socks-timeout socks-authentication-null socks-debug auth-type socks-authentication-methods auth-handler auth-func auth-desc socks-state-authenticated] 7 nil nil]) (defalias 'socks-send-command #[(proc command atype address port) " U\204\f \nU\203 \202# \fU\203 \306\307G#\202# \310\311\"\312 &\"\313\211'()*)\204<