You are here

Proxy Get Utility 1.2

18 posts / 0 new
Last post
John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 22 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Proxy Get Utility 1.2

I put together a quick utility that will pull the proxy info for the current PC and display it on-screen. This way, if you don't have access to the Internet Connections properties, you can still get the proxy info for getting Portable Firefox, Gaim, etc working.

Get it here:
https://portableapps.com/downloads/ProxyGet.exe

Source here:
https://portableapps.com/downloads/ProxyGet.7z

It's a small 90k EXE. It's portable. Just run it and a message box will pop up with all the proxy settings you need (including ports).

I'm planning on building this functionality into a later version of the launchers but thought I'd release it stand-alone for now so people can utilize it.

And if you use the code for something... please let me know Smile

Regards,
John

ProxyGet 1.2 (2016-04-04)
- Added support for auto config URL proxies
- Updated to a high resolution icon
- Added full unicode support
- Updated to NSIS3 to remove DLL hijack issue
- Added high DPI and modern Windows theme support
- Switched to internal WordReplace function from custom StrRep
- Added digital signatures

EW (not verified)
Clicked it and it says page

Clicked it and it says page not found.

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 22 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Oops

The name was inverted. I fixed it.

Sometimes, the impossible can become possible, if you're awesome!

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
Thank you

Now I can use Pff at school
Yay
*Stupid Surfcontrol*
Oh can I (we) see the source?
Please?
Pretty please?
----
R McCue

"If you're not part of the solution, you're part of the precipitate."

tittoproject
tittoproject's picture
Offline
Last seen: 5 years 4 months ago
Joined: 2005-12-09 12:23
Usefull!

Great idea!

Is it open source?

phillyboy
Offline
Last seen: 17 years 6 months ago
Joined: 2006-02-13 13:05
This is What I need

This is what I need. Can we see the source-code. What language is this utility written in?

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2005-12-10 15:22
I guess that it is written

I guess that it is written in NSIS as all of the portable apps on this site are.

Yours

Steve Lamerton

Developer Profile Sync & PortaLog

derekthegeek
Offline
Last seen: 15 years 11 months ago
Joined: 2006-03-02 13:07
What is NSIS?

I have seen a lot of postings on NSIS. Is it a language? Scripting/Compiled?

- DTG

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2005-12-10 15:22
NSIS is a scripting language

NSIS is a scripting language mainly designed for writing installers but it is also fast and portable enough to be use to write full applicatios. See more here
http://nsis.sourceforge.net

Yours

Steve Lamerton

Developer Profile Sync & PortaLog

Rob Loach
Rob Loach's picture
Offline
Last seen: 15 years 8 months ago
Developer
Joined: 2005-12-09 17:29
Interesting

Very neat application. Is the source available?

Rob Loach [Website] [Projects]

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 22 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Really Simple

It's actually really simple. Just a quick read from Software\Microsoft\Windows\CurrentVersion\Internet Settings and then messing with the string to make it display prettily.

Here's the source:
https://portableapps.com/downloads/ProxyGet.nsi

Sometimes, the impossible can become possible, if you're awesome!

cavedeamon
Offline
Last seen: 15 years 11 months ago
Joined: 2006-05-20 21:58
I like this but...

I like this but I was lucky enough to get my schools proxy ip before they blocked the settings in IE

*****
If I can't get it at school I save it to my flashdrive and take it with me.
*****

mjcarman
Offline
Last seen: 13 years 3 months ago
Joined: 2006-07-27 17:05
Doesn't work with autoconfig proxies

ProxyGet can report "no proxy enabled" when the system is actually using an autoconfig proxy. See my comments at https://portableapps.com/node/3441#comment-17000

mjcarman
Offline
Last seen: 13 years 3 months ago
Joined: 2006-07-27 17:05
Autoproxy patch

Here's a patch to add in support for autoproxy detection. It works for me, but I don't have access to enough systems (with different proxy settings) to fully test it.

--- ProxyGet-v0.0.1.1.nsi	Wed Nov 15 11:39:21 2006
+++ ProxyGet.nsi	Wed Nov 15 11:36:26 2006
@@ -20,7 +20,7 @@
 ;Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 !define NAME "ProxyGet"
-!define VER "0.0.1.1"
+!define VER "0.0.1.2"
 !define WEBSITE "portableapps.com"
 
 !include LogicLib.nsh
@@ -145,6 +145,12 @@
 
 Section "Main"
 		;=== Check http registry
+		ReadRegStr $0 HKCU "Software\Microsoft\Windows\CurrentVersion\Internet Settings" "AutoConfigURL"
+		StrCmp $0 "" NotAutoProxy
+		MessageBox MB_OK|MB_ICONINFORMATION `This computer has an autoproxy:$\n$\n$0$\n$\nThis Proxy Get Utility is made available by the friendly folks at PortableApps.com`
+		Goto TheEnd
+
+	NotAutoProxy:
 		ReadRegStr $0 HKCU "Software\Microsoft\Windows\CurrentVersion\Internet Settings" "ProxyEnable"
 		StrCmp $0 0 NoProxy
 		ReadRegStr $1 HKCU "Software\Microsoft\Windows\CurrentVersion\Internet Settings" "ProxyServer"
meanhoe
Offline
Last seen: 5 years 3 months ago
Joined: 2006-10-22 23:39
how would one implement this

how would one implement this patch?

mjcarman
Offline
Last seen: 13 years 3 months ago
Joined: 2006-07-27 17:05
Use "patch"
  1. Download the source for ProxyGet. (link above)
  2. Apply the patch with the "patch" program. For such a simple change you could edit in the changes by hand using a text editor.
  3. Extract the program icon from the executable. (I used IcoFX.)
  4. Recompile the source (and icon) with NSIS.

I had hoped that by posting the patch here John would apply it and release a new version.

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 22 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Version 1.2

I made an overdue update to add support for auto config URLs as suggested above as well as cleaning up the code and presentation.

Sometimes, the impossible can become possible, if you're awesome!

3D1T0R
3D1T0R's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2006-12-29 23:48
Cool. ☺

I like the new icon.
Smile

~3D1T0R

Log in or register to post comments