Nota: el programa parece haber sido abandonado por su autor por diversos problemas (vea la lista de correo). Tenga en cuenta que la versión 4.5 conecta directamente si el proxy falla!
See Matching Rules in the Naoko-3 help file for more detailed explanations of stuff supported in Naoko-3. The readme.txt file in Naoko-4 has details and examples for the new stuff.
Matching meta characters
* Match a string of any characters. ? match any single character. [abc] Match any single character listed in the brackets. [^a-z] Match any single character not listed in the brackets. [#n-n] Prox3 Numeric range match. [#x:y] Prox4 Numeric range match. Supports negative numbers. " " Always matches but also consumes any whitespace. \s Match string of whitespace only. \w Match any number of non-space characters except ">". \t Matches a single tab character. \r Matches a single carriage return character. \n Matches a single newline character. \0-9 Match into a variable - works like "*" unless following stuff in parentheses: "( ... )\1" \# Match into the replacement stack. Each time it is used, the matched item is added to the stack. | OR function. & AND function. (...) Group a sub-expression. Negate with "(^ ... )" + Repeat previous match - matches pattern runs. Keeps matching until there is no more left. ++ Same as '+' except matches to up to the point where what follows is true. +{5} The + or ++ pattern run will match only 5 repetitions. +{2,7} The + or ++ pattern run will match 2 to 7 repetitions. +{3,*} The + or ++ pattern run will match 3 or more repetitions. \ Escape any meta character's special meaning. = Magic equal - absorbs leading/trailing spaces. " Magic quote - matches double or single quote. ' Smart ending quote - use to deal with nested quotes.
Replacement Text Escapes
\0-9 - Insert a variable into the replacement text. \@ - Insert all the stuff matched by the replacement stack. (\#) \# - Inserts an item from the replacement stack each time it is used. The first one matched is the first one inserted. \k - Kills the current connection. \u - Insert the full URL of the current web page. \h - Insert the host portion of the URL. \p - Insert the path portion. \q - Insert any query string from a URL. (anything following a "?") \a - Insert any anchor text from a URL. (anything following a "#") \d - Insert the Proxomitron base directory in "file://" URL format. \\ - Insert a single backslash.
URL commands (ProxN4)
These commands are inserted before the hostname in the URL. Commands are separated from the URL with either ".." or "//". You can add a command to be used as a password on the Access tab of the Config dialog.
http://src..www.host.com/ - Displays the filtered source of any web page. http://bypass..www.host.com/ - Bypass the Proxomitron for a specific URL. http://bin..www.host.com/ - Bypass only incoming headers. http://bout..www.host.com/ - Bypass only outgoing headers. http://bweb..www.host.com/ - Bypass only web filters. http://dbug..www.host.com/ - Displays the source with HTML debug info. http://file//path - Run a local file through the Proxomitron. http://load//filename?url - Load a config file and optionally go to a URL. http://https..www.host.com/ - The Proxomitron downloads/filters the page in secure mode but sends it to the browser unencrypted. Requires SSLeay/OpenSSL DLLs.
URL commands can be combined. Here are some interesting combos:
Note: Combining bypass.. with src.. will turn off the Accept-Encoding filter, so you will get gibberish if the server sends an encoded page. Use bweb.. instead.
Matching Commands (ProxN4)
-- $LST(ListID) - Include a list file in any matching expression. $SET(1=value) - Set a variable to a specific value. Also works with \#. $FILTER(bool) - Force filtering on (true) or off (false). $IHDR(header-name:matching) - Test the value of an incoming HTTP header. $OHDR(header-name:matching) - Test the value of an outgoing HTTP header. $JUMP(URL) - Redirect the browser to another URL. $RDIR(URL) - Redirect to another URL without the browser noticing. $URL(matching) - Like the URL match box. Use to set variables from the URL. $USEPROXY(bool) - Enable (true) or disable (false) the remote proxy. $SETPROXY(proxy:port) - Use a particular proxy from the proxy list. $UESC(escaped text) - Convert most escaped characters to ASCII. $CON(x,y[,z]) - Rotate values based on connection. That is, do something if the current connection number is x of y [for every z connections]. $CTYP(code) - Limit a filter to a certain content type. code can be one of these: htm - Web pages css - Cascading style sheets js - JavaScript vbs - VB Script oth - Anything else