|
Hex Patches 4U!
|
|
May. 07, 2014, 05:32 PM
(This post was last modified: May. 18, 2014 07:45 PM by Stone-D.)
Post: #1
|
|||
|
|||
|
Hex Patches 4U!
Over the years I've hacked into Proxo's guts with various disassemblers and debuggers as a result of some kind of annoyance. I've been using Proxomitron forever, and without it I wouldn't be enjoying my job as much as I do.
I teach in a Korean high school situated in Indonesia, where I control a computer lab. For three years my lab had 20 computers, and this year I moved to one with 35. The current lab has a dedicated 10 Gb link. On a typically busy day I've got a maximum of 20 students in there, hammering the connection with Youtube, Twitch and HD K-soaps for between 10 and 40 minutes solid. The worst was when my lab was used with one day of warning for a paid on-line TOEFL mock test, which involves massive amounts of audio going both ways, using Java in Internet Explorer. I have been using this combination of patches all this time, and Proxo has yet to fail me. It is a champ, and a testament to Scott's brilliance. Currently it's running on Server 2003 (original lab, re-purposed for the middle school), and Server 2008. For a 'remote' proxy I use a secondary one called Proxy+. Also ancient and discontinued, it has an extremely good caching technology and supports https and socks 4/5. Oh and it's a mail server, too. Anyway! To give back to the community, here are my patches. Changelog: 2014-05-08 : Initial Post 2014-05-11 : Added 'SSL Certificate CN Always Matches', Deprecated 'Bypass SSL Certificate Error' 2014-05-11 : Added 'Font Adjustments' 2014-05-12 : Added Note #3 to 'Font Adjustments' 2014-05-12 : Added Monospaced Message Log to 'Font Adjustments' 2014-05-12 : Added Note to 'For Reference: RWIN Patch', briefly explaining what it does. All are for Naoko 4.5j (June release). Yes, you can apply them to any such copy, whether or not they've had a GUI patch[1]. The first column is the offset, the second is the changed byte, and the third is the original byte: ADDRESS: NEW OLD SSL Certificate CN Always Matches Note: Rename or delete your certs.pem file in order to use this. Otherwise you'll need to use the deprecated patch below. Code: 0000ECA7: EB 75 jnz short loc_40F8C1 // SSL Certificate CN Always Matches, JMPS/EB.DEPRECATED: Bypass SSL Certificate Error Note: With high load, using 1 as the return value can lead to a crashed SSL library. I'm experimenting with using 3 to reduce the likelihood. So far so good. Code: Part 1: "Should Proxo ask? NO."Bypass Texture Errors: "Failed to load texture bitmap" Code: Part 1:Bypass Exception Errors: "ProxomiTron Application Error. Exception [%08X] raised in..." Code: 00009450: C3 8B Immediate RETN.Bypass Texture Errors: "Proxomitron Application Error. ** WARNING **\nAn unauthorized access at" Also in the message log, so it's redundant. Code: 0001DE6A: EB 68 Change a PUSH command to a JMPS command.Font Adjustments Note 1: This example dictates the font size used in the Web Page Filter Editor's EDIT controls. I use Andale Mono size 7 for the main dialog, and this value matches that size. Converting point sizes isn't easy: it depends on the desktop DPI, amongst other things, and pos/neg values have different meanings. Just experiment going up and down, is my suggestion. Code: 0000A9B0: F7 F4 Andale Mono // Web Editor, F7 = Font pt 7For further information, look up "CreateFontA" using your search engine of choice and refer to this assembler tutorial. Note 2: There are two locations in the binary where there is a font name referenced: Code: .004287F0: 43 4C 4F 43-4B 24 00 00-41 55 58 00-43 4F 4E 00 CLOCK$ AUX CONThe Web Page Edit example uses the second one, originally Courier New. All other calls use the other, originally MS Sans Serif. You can replace them with any other font, provided the font name is the same as or shorter than the original. If it is shorter, replace any excess characters from the original with 0x00 - NOT 0x20, which is space - to 'null-terminate' the string. The locations are as follows: Code: 00006780: 00 F8 MS Sans Serif // UnknownNote 3: I've found that replacing 'F8' with '0D' (a positive value) is a perfect match for Tahoma 8. It also works with Segoe UI, and I'm assuming many others. '0C' works well with the Message log - slightly smaller than normal, and still within my own comfort zone for visibility. Besides, I only look out for certain colors flashing by, not specific phrases. At offset 00011FBB you will find this PUSH statement: Code: .00412BAF: 8B542420 mov edx,[esp][20]Code: .00412BBB: 688C8D4200 push 000428D8C ;'Andale Mono'For Reference: RWIN Patch Note: As a point of interest, this mod changes the length/size of the location where the RWIN value REALLY is, thereby negating it. 32768 in hex is 0x8000... 4 bytes long, hence the '04'. Code: 0000D581: 00 04For Reference: Multiple Instances Patch Code: 00012DCB: EB 74Enjoy! [1]: FYI. For all this time I've been using Henk's ProxoPatcher 3.6, modified to suit my own tastes. Recently I investigated the alternatives - I really liked MizzMona's and tried it out... only to have glitches and flickering in the editor windows. It turns out that this is the result of adding a Manifest to Proxomitron's resources. Adding a Manifest tells Windows that it's okay to apply newer visual styles that came with COMCTL32 version 6... unfortunately, this new method is partially incompatible with version 5 and below when programmers use OWNERDRAW methods and make their own subroutines to handle window messages. Removing the Manifest fixes the problem, but then the GUI patch gets all fugly. |
|||
The following 4 users say Thank You to Stone-D for this post:ProxRocks, defconnect, Kye-U, Styx |
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
Hex Patches 4U! - Stone-D - May. 07, 2014 05:32 PM
RE: Hex Patches 4U! - JJoe - May. 08, 2014, 02:22 AM
RE: Hex Patches 4U! - ProxRocks - May. 08, 2014, 03:23 AM
RE: Hex Patches 4U! - Stone-D - May. 08, 2014, 03:38 AM
RE: Hex Patches 4U! - ProxRocks - May. 08, 2014, 04:05 AM
RE: Hex Patches 4U! - Stone-D - May. 08, 2014, 05:49 AM
RE: Hex Patches 4U! - Stone-D - May. 08, 2014, 05:17 PM
RE: Hex Patches 4U! - ProxRocks - May. 09, 2014, 12:30 AM
RE: Hex Patches 4U! - Stone-D - May. 09, 2014, 02:43 AM
RE: Hex Patches 4U! - JJoe - May. 09, 2014, 04:03 AM
RE: Hex Patches 4U! - Stone-D - May. 09, 2014, 05:35 AM
RE: Hex Patches 4U! - JJoe - May. 09, 2014, 03:04 PM
RE: Hex Patches 4U! - Stone-D - May. 09, 2014, 03:46 PM
RE: Hex Patches 4U! - Oddysey - May. 09, 2014, 08:30 PM
RE: Hex Patches 4U! - Stone-D - May. 10, 2014, 03:12 PM
RE: Hex Patches 4U! - Oddysey - May. 10, 2014, 05:33 PM
RE: Hex Patches 4U! - ProxRocks - May. 10, 2014, 08:40 PM
RE: Hex Patches 4U! - Stone-D - May. 11, 2014, 06:15 AM
RE: Hex Patches 4U! - Stone-D - May. 11, 2014, 07:27 AM
RE: Hex Patches 4U! - Styx - May. 17, 2014, 03:35 PM
RE: Hex Patches 4U! - JJoe - May. 18, 2014, 12:02 AM
RE: Hex Patches 4U! - Stone-D - May. 18, 2014, 04:33 AM
RE: Hex Patches 4U! - Styx - May. 18, 2014, 07:40 PM
RE: Hex Patches 4U! - Stone-D - May. 18, 2014, 07:50 PM
RE: Hex Patches 4U! - Styx - May. 28, 2014, 12:27 AM
RE: Hex Patches 4U! - Stone-D - May. 28, 2014, 02:33 AM
RE: Hex Patches 4U! - GunGunGun - Jan. 28, 2015, 03:43 AM
RE: Hex Patches 4U! - JJoe - Jan. 28, 2015, 04:03 AM
RE: Hex Patches 4U! - ProxRocks - Jan. 28, 2015, 11:47 AM
RE: Hex Patches 4U! - GunGunGun - Jan. 29, 2015, 02:45 AM
RE: Hex Patches 4U! - JJoe - Jan. 29, 2015, 03:48 AM
RE: Hex Patches 4U! - herbalist - Jan. 28, 2015, 05:49 PM
RE: Hex Patches 4U! - herbalist - Jan. 28, 2015, 05:53 PM
RE: Hex Patches 4U! - JJoe - Jan. 29, 2015, 03:35 AM
RE: Hex Patches 4U! - herbalist - Jan. 29, 2015, 04:31 AM
RE: Hex Patches 4U! - ProxRocks - Jan. 29, 2015, 10:08 AM
RE: Hex Patches 4U! - JJoe - Jan. 29, 2015, 03:08 PM
RE: Hex Patches 4U! - GunGunGun - Jan. 29, 2015, 11:58 AM
RE: Hex Patches 4U! - GunGunGun - Jan. 29, 2015, 03:25 PM
RE: Hex Patches 4U! - JJoe - Jan. 29, 2015, 07:03 PM
RE: Hex Patches 4U! - GunGunGun - Jan. 30, 2015, 03:28 AM
RE: Hex Patches 4U! - JJoe - Jan. 30, 2015, 03:55 AM
RE: Hex Patches 4U! - GunGunGun - Jan. 30, 2015, 05:52 AM
RE: Hex Patches 4U! - JJoe - Jan. 30, 2015, 03:14 PM
|

Search
Member List
Calendar
Help




![[-]](images/ONi/collapse.gif)