+ Reply to Thread
Results 1 to 3 of 3

Thread: [Python] GooProxy

  1. #1
    Programmer LogicKills has a spectacular aura about LogicKills has a spectacular aura about LogicKills has a spectacular aura about LogicKills's Avatar
    Join Date
    May 2008
    Location
    US
    Posts
    137

    [Python] GooProxy

    This is some coded I designed specifically for a friend that couldn't access certain websites.

    Yes I am aware their are thousands of ways to bypass website filters.
    I just thought it was fun to exploit the allowed website lists.

    Code:
    # Program uses google translate as a proxy
    # Used it at work and at school to access 
    # various things.
    # 
    # Enjoy;
    # LogicKills (9.1.08)
    
    
    
    from Tkinter import *
    import webbrowser
    
    root = Tk()
    root.title('::gProxy::')
    
    fram = Frame(root)
    Label(fram,text='Website:').pack(side=LEFT)
    edit = Entry(fram)
    edit.pack(side=LEFT, fill=BOTH, expand=1)
    edit.focus_set()
    butt = Button(fram, text='Connect')
    butt.pack(side=RIGHT)
    fram.pack(side=TOP)
    
    
    def find():
        s = edit.get()
        url_goog = 'http://www.google.com/translate?u='
        trans = '&hl=en&ie=UTF-8&sl=es&tl=en'
        url_add1 = ''
        s = '+'.join((s.split(' ')))
        webbrowser.open(url_goog+s+trans)
    
    
    butt.config(command=find)
    root.mainloop()
    http://logickills.org
    Science - Math - Hacking - Tech

  2. #2
    Administrator Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan's Avatar
    Join Date
    Nov 2005
    Location
    Hendersonville, NC
    Posts
    24,556
    Blog Entries
    97

    Re: [Python] GooProxy

    I've never thought about using Google as a proxy. Good idea and thanks for the code!

  3. #3
    Code Warrior Brandon W is a name known to all Brandon W is a name known to all Brandon W is a name known to all Brandon W is a name known to all Brandon W is a name known to all Brandon W is a name known to all Brandon W's Avatar
    Join Date
    Sep 2008
    Location
    Australia
    Age
    16
    Posts
    4,824
    Blog Entries
    10

    Re: [Python] GooProxy

    Hmmm, really interesting work mate. If our school had a Python compiler I would run it
    jQuery Selectors Tutorial - jQuery Striped Table tutorial - jQuery Events - jQuery Validation
    Sorry if I don't post as often as I did, I'll try to get here as much as possible! I'm working my bum off to get this scholarship and other stuff!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

     
        Algorithms and Data Structures

        Java tutorials

        Algorithms Forum

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts