Login

Ich habe mein Passwort vergessen!

Forumsregeln

Navigation


    Rätselfrage für Marv

    Austausch
    avatar
    Spider
    Ehrenmitglied

    Anmeldedatum : 22.05.09
    Anzahl der Beiträge : 5205

    Rätselfrage für Marv

    Beitrag von Spider am 16.07.10 4:34

    Erste Frage, die recht einfach sein sollte: Was macht es?
    Zweite Frage, benötigt Insiderwissen: Wozu ist das zu gebrauchen?

    Viel Spass beim rausfinden. Grins

    Code:
    #!/usr/bin/env python

    import re
    import os
    import time
    import optparse
    import urllib.request

    parser = optparse.OptionParser()
    parser.add_option("-x", "--exclude", action="append", dest="exclude", default=[],
                   help="Exclude filenames that match the regex.")
    parser.add_option("-r", "--recursive", action="store_true", dest="recursive", default=False)
    parser.add_option("-v", "--verbose", action="store_true", dest="verbose", default=False)
    parser.add_option("-i", "--hidden", action="store_true", dest="hidden", default=False,
                   help="Include hidden files when using the recursive option.")
    parser.add_option("--debug", action="store_true", dest="debug", default=False,
                   help=optparse.SUPPRESS_HELP)
    parser.usage = '%prog [-xri] file1 file2 file3...'
    (options, optionargs) = parser.parse_args()

    if not parser.largs:
       parser.print_help()
       quit()

    class Stats:
       files_scanned = 0
       files_skipped = 0
       time = 0
       rars = 0
       hexedited = 0

    def process(file):
       if options.verbose:
          print("\rScanned: " + str(Stats.files_scanned + 1), end="")
       if options.exclude:
          for regex in options.exclude:
             if re.match(regex, os.path.basename(file)):
                debug('skipping: ' + file)
                #Skip the file if it matches any of the regexes
                Stats.files_skipped += 1
                return
       Stats.files_scanned += 1
       debug('checking ' + file)
       try:
          data = open(file, 'br').read()
       except:
          try:
             data = urllib.request.urlopen(file).read()
          except:
             debug('file ' + file + ' not found')
             return
       if b'\x21\x1a\x07\x00' in data:
          if b'\x52\x61\x72\x21\x1a\x07\x00' not in data:
             # Then the file is still a rar, but it's been hex-edited o.O for _some_ reason...
             debug('hexedited rar archive detected')
             hexedited.append(file)
             Stats.hexedited += 1
          else:
             # Then it's just a rar archive
             debug('rar archive detected')
             rars.append(file)
             Stats.rars += 1
       else:
          # Then it's not a rar archive
          pass

    def recurse(directory):
       if not directory.endswith('/'): directory += '/'
       debug('entering dir: ' + directory)
       files = os.listdir(directory)
       if not options.hidden:
          debug('skipping hidden files')
          files = filter(lambda x: not x.startswith('.'), files)
       for file in files:
          file = directory + file
          if not os.path.exists(file):
             debug('no such file: "' + file + '"')
             pass
          elif os.path.isdir(file):
             if options.recursive:
                recurse(file)
          else:
             process(file)

    def debug(msg):
       if options.debug:
          print('# DEBUG: ' + msg)

    rars = []
    hexedited = []
    s = time.time()

    for file in parser.largs:
       if os.path.isdir(file):
          if options.recursive:
             recurse(file)
       else:
          process(file)

    if Stats.files_scanned != 0 and options.verbose:
       print()
       print()

    if rars:
       if options.verbose: print('--Detected rars--')
       print('\n'.join(rars))

    if rars and hexedited:
       print()

    if hexedited:
       if options.verbose: print('--Detected hexedited rars--')
       print('\n'.join(hexedited))

    if (rars or hexedited) and options.verbose:
       print()

    if options.verbose:
       f = time.time()
       Stats.time = f - s
       print('%s files scanned.' % Stats.files_scanned)
       print('%s files skipped.' % Stats.files_skipped)
       print('%s rars detected.' % Stats.rars)
       print('%s hexedited rars detected.' % Stats.hexedited)
       print('%s seconds' % Stats.time)


    _________________________________________
    .
    avatar
    Freddy
    Ehrenmitglied

    Anmeldedatum : 24.06.09
    Anzahl der Beiträge : 1185

    Re: Rätselfrage für Marv

    Beitrag von Freddy am 16.07.10 5:12

    Für mich als Halblaien sieht das nach was aus, das .rar-Dateien zählt und kontrolliert, ob diese Datei eine .rar-Datei ist, wenn ja, ob sie Hex-editiert wurde. Den Rest konnte ich mir nicht erschließen.

    Wenn ich was falsches sage, tötet mich nicht Tongue


    _________________________________________
    avatar
    Marv
    Ehrenmitglied

    Anmeldedatum : 22.05.09
    Anzahl der Beiträge : 1852

    Re: Rätselfrage für Marv

    Beitrag von Marv am 16.07.10 5:13

    Spider schrieb:Erste Frage, die recht einfach sein sollte: Was macht es?
    Zweite Frage, benötigt Insiderwissen: Wozu ist das zu gebrauchen?

    Viel Spass beim rausfinden. Grins

    Code:
    #!/usr/bin/env python

    import re
    import os
    import time
    import optparse
    import urllib.request

    parser = optparse.OptionParser()
    parser.add_option("-x", "--exclude", action="append", dest="exclude", default=[],
                   help="Exclude filenames that match the regex.")
    parser.add_option("-r", "--recursive", action="store_true", dest="recursive", default=False)
    parser.add_option("-v", "--verbose", action="store_true", dest="verbose", default=False)
    parser.add_option("-i", "--hidden", action="store_true", dest="hidden", default=False,
                   help="Include hidden files when using the recursive option.")
    parser.add_option("--debug", action="store_true", dest="debug", default=False,
                   help=optparse.SUPPRESS_HELP)
    parser.usage = '%prog [-xri] file1 file2 file3...'
    (options, optionargs) = parser.parse_args()

    if not parser.largs:
       parser.print_help()
       quit()

    class Stats:
       files_scanned = 0
       files_skipped = 0
       time = 0
       rars = 0
       hexedited = 0

    def process(file):
       if options.verbose:
          print("\rScanned: " + str(Stats.files_scanned + 1), end="")
       if options.exclude:
          for regex in options.exclude:
             if re.match(regex, os.path.basename(file)):
                debug('skipping: ' + file)
                #Skip the file if it matches any of the regexes
                Stats.files_skipped += 1
                return
       Stats.files_scanned += 1
       debug('checking ' + file)
       try:
          data = open(file, 'br').read()
       except:
          try:
             data = urllib.request.urlopen(file).read()
          except:
             debug('file ' + file + ' not found')
             return
       if b'\x21\x1a\x07\x00' in data:
          if b'\x52\x61\x72\x21\x1a\x07\x00' not in data:
             # Then the file is still a rar, but it's been hex-edited o.O for _some_ reason...
             debug('hexedited rar archive detected')
             hexedited.append(file)
             Stats.hexedited += 1
          else:
             # Then it's just a rar archive
             debug('rar archive detected')
             rars.append(file)
             Stats.rars += 1
       else:
          # Then it's not a rar archive
          pass

    def recurse(directory):
       if not directory.endswith('/'): directory += '/'
       debug('entering dir: ' + directory)
       files = os.listdir(directory)
       if not options.hidden:
          debug('skipping hidden files')
          files = filter(lambda x: not x.startswith('.'), files)
       for file in files:
          file = directory + file
          if not os.path.exists(file):
             debug('no such file: "' + file + '"')
             pass
          elif os.path.isdir(file):
             if options.recursive:
                recurse(file)
          else:
             process(file)

    def debug(msg):
       if options.debug:
          print('# DEBUG: ' + msg)

    rars = []
    hexedited = []
    s = time.time()

    for file in parser.largs:
       if os.path.isdir(file):
          if options.recursive:
             recurse(file)
       else:
          process(file)

    if Stats.files_scanned != 0 and options.verbose:
       print()
       print()

    if rars:
       if options.verbose: print('--Detected rars--')
       print('\n'.join(rars))

    if rars and hexedited:
       print()

    if hexedited:
       if options.verbose: print('--Detected hexedited rars--')
       print('\n'.join(hexedited))

    if (rars or hexedited) and options.verbose:
       print()

    if options.verbose:
       f = time.time()
       Stats.time = f - s
       print('%s files scanned.' % Stats.files_scanned)
       print('%s files skipped.' % Stats.files_skipped)
       print('%s rars detected.' % Stats.rars)
       print('%s hexedited rars detected.' % Stats.hexedited)
       print('%s seconds' % Stats.time)
    Du kannst Python? Shocked Ugly Oder einfach von irgendwo kopiert? Zwinker

    Naja ich schau dan gleich mal, oder auch nicht, weil ich dann nachher noch ins Kino gehe.

    Edit: Und ja was Freddy schreibt, könnte man in den Kommentaren und prints erkennen.

    Edit: Gefunden? Klick


    _________________________________________
    16.08.2010
    01.10.2010
    16.10.2010
    Erfolge und Ziele
    avatar
    Spider
    Ehrenmitglied

    Anmeldedatum : 22.05.09
    Anzahl der Beiträge : 5205

    Re: Rätselfrage für Marv

    Beitrag von Spider am 16.07.10 19:22

    Sogar dasselbe, gibt mehrere Versionen davon. Und nein, nicht einfach gefunden, hat 'nen tatsächlichen Nutzen.

    Wenn niemand den Verwendungszweck weiss oder ergooglet verrate ich es heute Abend. Zwinker


    _________________________________________
    .
    avatar
    Taschentuch9
    Ehrenmitglied

    Anmeldedatum : 23.05.09
    Anzahl der Beiträge : 854

    Re: Rätselfrage für Marv

    Beitrag von Taschentuch9 am 16.07.10 19:47


    Python wollt ich mir schon anschaun aber atm bin i noch auf C#

    using System.PokeSpider; ftw

    eidt:Wenn du mal ne Programmiersprache mit Zukunft lernen willst schau dir mal LOLCODE an Grins Grins
    avatar
    Charly Hark

    Anmeldedatum : 12.06.09
    Anzahl der Beiträge : 1709

    Re: Rätselfrage für Marv

    Beitrag von Charly Hark am 16.07.10 21:53

    Ich will auch bald mal Python lernen Grins
    avatar
    Marv
    Ehrenmitglied

    Anmeldedatum : 22.05.09
    Anzahl der Beiträge : 1852

    Re: Rätselfrage für Marv

    Beitrag von Marv am 16.07.10 22:35

    Den Sinn kann ich auch nur erraten, meine Ideen gehen in die Richtungen: Entpacken erschweren oder Viren verstecken. Ugly

    Auf jeden Fall fress ich einen Besen, wenn jemand rausbekommt, was das Programm macht, ohne es zu starten (Ok, es wäre möglich, die Lösung verstackt sich schon in den ersten 25 Zeilen. Ugly ):

    Code:
    # -*- coding: cp1252 -*-
    # Version 0.8
    # ©️ by Joseph
    #
    from Tkinter import *
    from time import *
    from random import *
    import tkMessageBox
    import pickle
    _x_=time()
    ___=Tk()
    ___.title(chr(71)+chr(101)+chr(115)+chr(99)+chr(104)+chr(105)+chr(99)+chr(107)+chr(108)+chr(105)+chr(99)+chr(104)+chr(107)+chr(101)+chr(105)+chr(116)+chr(115)+chr(115)+chr(112)+chr(105)+chr(101)+chr(108))
    try:
        ___d_=file(chr(101)+chr(105)+chr(110)+chr(115)+chr(116)+chr(101)+chr(108)+chr(108)+chr(46)+chr(100)+chr(97)+chr(116),'r')
        _l__=pickle.load(___d_)
        z____=_l__[1];_out_=_l__[0]
        _31_=_l__[2];_4_1=_l__[3]
        _11=_l__[4];_s__=_l__[5]
        t=_l__[6];_113=_l__[7]
        hs=_l__[8];o____=_l__[9]
    except:
        _31_=550;_4_1=800;_11=30
        _s__=10;t=30;_out_=1;_113=20
        z____=1;hs=[[(chr(65)+chr(110)+chr(111)+chr(110)+chr(121)+chr(109)),50,5,25.0,100,25]]
        o____=chr(65)+chr(110)+chr(111)+chr(110)+chr(121)+chr(109)
    _15__=[]
    bew=1
    be=0
    abw=(_11)/(-3)
    per=10
    ver=0.7
    _ter___=0
    o___=''
    _______=_s__/1.4142135
    dx=_s__
    dy=_s__
    _t______=t*20
    hg=_11/2
    ric=3
    def __99(a):
        global be
        be=1
    def _x_stop(a):
        global bew
        if bew==1:
            bew=0
            _x_.configure(text=(chr(83)+chr(116)+chr(111)+chr(112)))
        else:
            bew=1
            _x_.configure(text=(chr(83)+chr(116)+chr(97)+chr(114)+chr(116)))
    def _m__u(a):
        global dy
        global dx
        dy=-_s__
        dx=0
    def ub(a):
        global _s__
        global _______
        if ges.get()!='':_s__=float(ges.get())
        _______=_s__/1.4142135
        if dy<0:
            if dx<0:
                _m__q(1)
            elif dx>0:
                _m__e(1)
            else:
                _m__u(1)
        elif dy>0:
            if dx<0:
                _m__y(1)
            elif dx>0:
                _m__c(1)
            else:
                _m__d(1)
        else:
            if dx<0:
                _m__l(1)
            elif dx>0:
                _m__r(1)
    def _m__d(a):
        global dy
        global dx
        dx=0
        dy=_s__
    def _m__r(a):
        global dy
        global dx
        dx=_s__
        dy=0
    def _m__l(a):
        global dy
        global dx
        dx=-_s__
        dy=0
    def _m__q(q):
        global dy
        global dx
        dx=-_______
        dy=-_______
    def _m__e(e):
        global dy
        global dx
        dx=_______
        dy=-_______
    def _m__c(e):
        global dy
        global dx
        dx=_______
        dy=_______
    def _m__y(y):
        global dy
        global dx
        dx=-_______
        dy=_______
    def w___(a):
        global c
        global ___t
        _rofl_=c.coords(___t)
        c.delete(___t)
        ___t=c.create_rectangle(_rofl_[0],_rofl_[1],_rofl_[0]+gro.get(),_rofl_[1]+gro.get())
    def t_a_zfer(a):
        global er,_15__
        er[(chr(116)+chr(101)+chr(120)+chr(116))]=chr(71)+chr(101)+chr(116)+chr(114)+chr(111)+chr(102)+chr(102)+chr(101)+chr(110)+chr(33)
        if dy!=0 or dx!=0:
            _15__+=c.create_oval(a.x-2,a.y-2,a.x+2,a.y+2,fill=(chr(103)+chr(114)+chr(101)+chr(101)+chr(110)),outline=(chr(103)+chr(114)+chr(101)+chr(101)+chr(110))),
            t_a_z[(chr(116)+chr(101)+chr(120)+chr(116)) ]=str(int(t_a_z[(chr(116)+chr(101)+chr(120)+chr(116)) ])+1)
    def _kl___(a):
        global er,_15__
        _rofl_=c.coords(___t)
        if a.x>_rofl_[0] and a.x<_rofl_[2] and a.y>_rofl_[1] and a.y<_rofl_[3]:
            t_a_zfer(a)
        else:
            er[(chr(116)+chr(101)+chr(120)+chr(116))]=chr(68)+chr(97)+chr(110)+chr(101)+chr(98)+chr(101)+chr(110)+chr(33)
            _15__+=c.create_oval(a.x-1,a.y-1,a.x+1,a.y+1,fill=(chr(114)+chr(101)+chr(100)) ,outline=(chr(114)+chr(101)+chr(100))),
        _s_[(chr(116)+chr(101)+chr(120)+chr(116)) ]=str(int(_s_[(chr(116)+chr(101)+chr(120)+chr(116)) ])+1)
        ddk[(chr(116)+chr(101)+chr(120)+chr(116)) ]=str(round(100.*int(t_a_z[(chr(116)+chr(101)+chr(120)+chr(116)) ])/int(_s_[(chr(116)+chr(101)+chr(120)+chr(116)) ])))
    def gr(a):
        global gro
        i=gro.get()
        gro.set(i+1)
    def kl(a):
        global gro
        i=gro.get()
        gro.set(i-1)
    def sc(a):
        global ges
        i=ges.get()
        ges.set(i+1)
    def la(a):
        global ges
        i=ges.get()
        ges.set(i-1)
    def aut_st(a):
        global i
        global _out_
        if _out_==1 and (i%(per/ver))<per:
            _rofl_=c.coords(___t)
            kx=(_rofl_[0]+_rofl_[2])/2
            ky=(_rofl_[1]+_rofl_[3])/2
            if i%15:
                if ky-abw<a.y:
                    if kx-abw<a.x: _m__q(1)
                    elif kx+abw>a.x: _m__e(1)
                    else: _m__u(1)
                elif ky+abw>a.y:
                    if kx-abw<a.x: _m__y(1)
                    elif kx+abw>a.x: _m__c(1)
                    else: _m__d(1)
                else:
                    if kx-abw<a.x: _m__l(1)
                    elif kx+abw>a.x: _m__r(1)
        if z____==1 and (i%(per/ver))>per:
            kx=(int(random()*3)-1)
            ky=(int(random()*3)-1)
            if i%15:
                if ky<0:
                    if kx<0: _m__q(1)
                    elif kx>0: _m__e(1)
                    else: _m__u(1)
                elif ky>0:
                    if kx<0: _m__y(1)
                    elif kx>0: _m__c(1)
                    else: _m__d(1)
                else:
                    if kx<0: _m__l(1)
                    elif kx>0: _m__r(1)

    def _out__change():
        global _out_
        global z___
        global z____
        if _out_==1:
            _out_=0
            z___.deselect()
            if z____==1: z____change()
            z___.configure(state=DISABLED)
        else:
            _out_=1
            z___.configure(state=NORMAL)
    def z____change():
        global z____
        if z____==1: z____=0
        else: z____=1
    def high_del():
        global hs
        hs=[]
    def ______________________inf(a):
        global hs
        i____=Tk()
        i____.title((chr(83)+chr(112)+chr(105)+chr(101)+chr(108)+chr(105)+chr(110)+chr(102)+chr(111)+chr(114)+chr(109)+chr(97)+chr(116)+chr(105)+chr(111)+chr(110)+chr(101)+chr(110)))
        _____________________=hs[int(a.widget[(chr(116)+chr(101)+chr(120)+chr(116)) ])-1]
        _g__=range(12)
        _g__[0]=(chr(83)+chr(112)+chr(105)+chr(101)+chr(108)+chr(101)+chr(114)+chr(58))
        _g__[1]=str(_____________________[0])
        _g__[2]=(chr(84)+chr(114)+chr(101)+chr(102)+chr(102)+chr(101)+chr(114)+chr(113)+chr(117)+chr(111)+chr(116)+chr(101)+chr(58))
        _g__[3]=str(_____________________[3])
        _g__[4]=(chr(83)+chr(101)+chr(105)+chr(116)+chr(101)+chr(110)+chr(108)+chr(228)+chr(110)+chr(103)+chr(101)+chr(32)+chr(100)+chr(101)+chr(115)+chr(32)+chr(90)+chr(105)+chr(101)+chr(108)+chr(115)+chr(58))
        _g__[5]=str(_____________________[1])
        _g__[6]=(chr(71)+chr(101)+chr(115)+chr(99)+chr(104)+chr(119)+chr(105)+chr(110)+chr(100)+chr(105)+chr(103)+chr(107)+chr(101)+chr(105)+chr(116)+chr(32)+chr(100)+chr(101)+chr(115)+chr(32)+chr(90)+chr(105)+chr(101)+chr(108)+chr(115)+chr(58))
        _g__[7]=str(_____________________[2])
        _g__[8]=(chr(83)+chr(99)+chr(104)+chr(252)+chr(115)+chr(115)+chr(101)+chr(58))
        _g__[9]=str(_____________________[4])
        _g__[10]=(chr(84)+chr(114)+chr(101)+chr(102)+chr(102)+chr(101)+chr(114)+chr(58))
        _g__[11]=str(_____________________[5])
        _l_1=[]
        for i in range(12):
            _l_1+=Label(i____,text=_g__[i]),
            _l_1[-1].grid(column=i%2,row=i/2)
            if i%2==0:
                _l_1[-1].configure(font=((chr(84)+chr(105)+chr(109)+chr(101)+chr(115)),10,'bold'))
            k=i
        __99_=Button(i____,text=(chr(83)+chr(99)+chr(104)+chr(108)+chr(105)+chr(101)+chr(223)+chr(101)+chr(110)),command=i____.destroy)
        __99_.grid(column=0,row=k,columnspan=2)
        i____.mainloop()
    def __hi___():
        global hs
        if bew==0: _x_stop(1)
        h____=Tk()
        h____.title((chr(72)+chr(105)+chr(103)+chr(104)+chr(115)+chr(99)+chr(111)+chr(114)+chr(101)))
        k=2
        s_l_=[]
        _l_=[]
        p_l_=[]
        caption=Label(h____,text=(chr(72)+chr(105)+chr(103)+chr(104)+chr(115)+chr(99)+chr(111)+chr(114)+chr(101)),font=('Comic Sans MS',10,'bold'),width=20)
        caption.grid(column=0,row=0,columnspan=3)
        cap1=Label(h____,text=(chr(83)+chr(112)+chr(105)+chr(101)+chr(108)+chr(101)+chr(114)),font=((chr(84)+chr(105)+chr(109)+chr(101)+chr(115)) ,10,'bold'))
        cap1.grid(column=1,row=1)
        cap2=Label(h____,text=(chr(84)+chr(114)+chr(101)+chr(102)+chr(102)+chr(101)+chr(114)+chr(113)+chr(117)+chr(111)+chr(116)+chr(101)),font=((chr(84)+chr(105)+chr(109)+chr(101)+chr(115)) ,10,'bold'))
        cap2.grid(column=2,row=1)
        be_hi=Button(h____,text=(chr(83)+chr(99)+chr(104)+chr(108)+chr(105)+chr(101)+chr(223)+chr(101)+chr(110)),command=h____.destroy)
        delete_=Button(h____,text=(chr(76)+chr(111)+chr(101)+chr(115)+chr(99)+chr(104)+chr(101)+chr(110)),command=high_del)
        for _____________________ in hs:
            _l_+=Button(h____,text=k-1,width=2),
            _l_[-1].grid(row=k, column=0)
            _l_[-1].bind((chr(60)+chr(49)+chr(62)),______________________inf)
            s_l_+=Label(h____,text=_____________________[0]),
            s_l_[-1].grid(row=k, column=1)
            p_l_+=Label(h____,text=str(_____________________[3])+" %"),
            p_l_[-1].grid(row=k, column=2)
            k=k+1
        delete_.grid(column=0,row=k+1,columnspan=3)
        be_hi.grid(column=0,row=k+2,columnspan=3)
    def _18_():
        global i,_t_______,be,bew,dx,dy,_4_1,_31_,ze,pr,sc,tr,_11,_s__,hs,c,hg,___t,_15__
        for kreis in _15__:
            c.delete(kreis)
        _15__=[]
        _rofl_=c.coords(___t)
        c.delete(___t)
        ___t=c.create_rectangle(100-hg,100-hg,100+hg,100+hg)
        er[(chr(116)+chr(101)+chr(120)+chr(116))]="Start!"
        if bew==0: _x_stop(1)
        i=0
        _t_______.configure(font=((chr(84)+chr(105)+chr(109)+chr(101)+chr(115)) ,10),fg='black')
        while (i<_t______ and be==0):
            while bew and be==0:
                _t_______[(chr(116)+chr(101)+chr(120)+chr(116)) ]=str(int(i*0.05))
                sleep(0.05)
                x1,y1,x2,y2=c.coords(___t)
                if x1<0 or x2>_4_1:dx=-dx
                if y1<0 or y2>_31_:dy=-dy
                c.move(___t,dx,dy)
                c.update()
                dx=0
                dy=0   
            while not(bew) and i<_t______ and be==0:
                if dx==0 and dy==0:
                    _m__c(1)
                _t_______[(chr(116)+chr(101)+chr(120)+chr(116)) ]=str(int(i*0.05))
                i=i+1
                sleep(0.05)
                x1,y1,x2,y2=c.coords(___t)
                if x1<0 or x2>_4_1:dx=-dx
                if y1<0 or y2>_31_:dy=-dy
                c.move(___t,dx,dy)
                c.update()
                if _t______/4*3<i:
                    _t_______.configure(font=((chr(84)+chr(105)+chr(109)+chr(101)+chr(115)) ,10,'bold'),fg='red')
        ze=_t_______[(chr(116)+chr(101)+chr(120)+chr(116)) ]
        _t_______[(chr(116)+chr(101)+chr(120)+chr(116)) ]=t
        pr=ddk[(chr(116)+chr(101)+chr(120)+chr(116)) ]
        sc=_s_[(chr(116)+chr(101)+chr(120)+chr(116)) ]
        tr=t_a_z[(chr(116)+chr(101)+chr(120)+chr(116)) ]
        _lol_=''
        if be==0: _lol_+=((chr(68)+chr(117)+chr(32)+chr(104)+chr(97)+chr(115)+chr(116)+chr(32)+chr(105)+chr(110)+chr(32))+str(t)+' Sekunden:\n')
        else: _lol_+=((chr(68)+chr(117)+chr(32)+chr(104)+chr(97)+chr(115)+chr(116))+'\n')
        _lol_+=(str(sc)+(chr(45)+chr(109)+chr(97)+chr(108)+chr(32)+chr(103)+chr(101)+chr(115)+chr(99)+chr(104)+chr(111)+chr(115)+chr(115)+chr(101)+chr(110)+chr(32)+chr(117)+chr(110)+chr(100)+chr(32)+chr(100)+chr(97)+chr(98)+chr(101))+'\n')
        _lol_+=(str(tr)+(chr(45)+chr(109)+chr(97)+chr(108)+chr(32)+chr(100)+chr(97)+chr(115)+chr(32)+chr(81)+chr(117)+chr(100)+chr(114)+chr(97)+chr(116)+chr(32)+chr(109)+chr(105)+chr(116)+chr(32)+chr(100)+chr(101)+chr(114)+chr(32)+chr(83)+chr(101)+chr(105)+chr(116)+chr(101)+chr(110)+chr(108)+chr(228)+chr(110)+chr(103)+chr(101)+chr(32))+str(_11)+chr(32)+chr(80)+chr(105)+chr(120)+chr(101)+chr(108)+chr(32)+chr(103)+chr(101)+chr(116)+chr(114)+chr(111)+chr(102)+chr(102)+chr(101)+chr(110)+'\n')
        _lol_+=((chr(68)+chr(101)+chr(105)+chr(110)+chr(101)+chr(32)+chr(84)+chr(114)+chr(101)+chr(102)+chr(102)+chr(101)+chr(114)+chr(113)+chr(117)+chr(111)+chr(116)+chr(101)+chr(32)+chr(98)+chr(101)+chr(116)+chr(114)+chr(228)+chr(103)+chr(116)+chr(32)+chr(100)+chr(97)+chr(109)+chr(105)+chr(116)+chr(32))+str(pr)+'%.')
        if int(tr)!=0 and int(sc)!=0: tkMessageBox.showinfo((chr(65)+chr(117)+chr(115)+chr(119)+chr(101)+chr(114)+chr(116)+chr(117)+chr(110)+chr(103)),_lol_)
        _s__=ges.get()
        _11=gro.get()
        o____=o__.get()
        if int(tr)!=0:
            hs+=[[o____,_11,_s__,pr,sc,tr]]
            print (chr(73)+chr(110)+chr(32)+chr(72)+chr(105)+chr(103)+chr(104)+chr(115)+chr(99)+chr(111)+chr(114)+chr(101)+chr(32)+chr(97)+chr(117)+chr(102)+chr(103)+chr(101)+chr(110)+chr(111)+chr(109)+chr(109)+chr(101)+chr(110)+chr(33))
            tkMessageBox.showinfo((chr(72)+chr(105)+chr(103)+chr(104)+chr(115)+chr(99)+chr(111)+chr(114)+chr(101)),chr(83)+chr(105)+chr(101)+chr(32)+chr(119)+chr(117)+chr(114)+chr(100)+chr(101)+chr(110)+chr(32)+chr(105)+chr(110)+chr(32)+chr(100)+chr(105)+chr(101)+chr(32)+chr(72)+chr(105)+chr(103)+chr(104)+chr(115)+chr(99)+chr(111)+chr(114)+chr(101)+chr(32)+chr(101)+chr(105)+chr(110)+chr(103)+chr(101)+chr(116)+chr(114)+chr(97)+chr(103)+chr(101)+chr(110)+chr(46))
        _l_=[_out_,z____,_31_,_4_1,_11,_s__,t,_113,hs,o____]
        ___d=file('einstell.dat','w')
        pickle.dump(_l_,___d)
        ___d.close()
        _x_stop(1)
    def __99():
        global _out_,z____,_31_,_4_1,_11,_s__,t,_113,hs,o____,be
        be=1
        if tkMessageBox.askyesno((chr(66)+chr(101)+chr(101)+chr(110)+chr(100)+chr(101)+chr(110)),'Wollen sie wirklich Beenden?'):
            _s__=ges.get()
            _11=gro.get()
            o____=o__.get()
            _l_=[_out_,z____,_31_,_4_1,_11,_s__,t,_113,hs,o____]
            ___d=file((chr(101)+chr(105)+chr(110)+chr(115)+chr(116)+chr(101)+chr(108)+chr(108)+chr(46)+chr(100)+chr(97)+chr(116)),'w')
            pickle.dump(_l_,___d)
            ___d.close()
            ___.destroy()
    ___.bind((chr(60)+chr(119)+chr(62)) ,_m__u);___.bind((chr(60)+chr(115)+chr(62)) ,_m__d);___.bind((chr(60)+chr(115)+chr(62)) ,_m__l);___.bind((chr(60)+chr(100)+chr(62)),_m__r);___.bind((chr(60)+chr(120)+chr(62)),_m__d);___.bind((chr(60)+chr(113)+chr(62)) ,_m__q);___.bind((chr(60)+chr(101)+chr(62)),_m__e)
    ___.bind((chr(60)+chr(99)+chr(62)),_m__c);___.bind((chr(60)+chr(121)+chr(62)),_m__y);___.bind((chr(60)+chr(85)+chr(112)+chr(62)) ,gr)
    ___.bind((chr(60)+chr(68)+chr(111)+chr(119)+chr(110)+chr(62)),kl);___.bind((chr(60)+chr(76)+chr(101)+chr(102)+chr(116)+chr(62)) ,la)
    ___.bind((chr(60)+chr(82)+chr(105)+chr(103)+chr(104)+chr(116)+chr(62)) ,sc);___.bind((chr(60)+chr(77)+chr(111)+chr(116)+chr(105)+chr(111)+chr(110)+chr(62)),aut_st)
    c=Canvas(___,width=_4_1,height=_31_,cursor=(chr(116)+chr(97)+chr(114)+chr(103)+chr(101)+chr(116)),bg='#CCCCCC')
    c.bind('<1>',_kl___);___t=c.create_rectangle(100-hg,100-hg,100+hg,100+hg)
    er=Label(___)
    t_a_z=Label(___, text=(chr(48)) ,width=_113)
    t_a_z2=Label(___, text=(chr(84)+chr(114)+chr(101)+chr(102)+chr(102)+chr(101)+chr(114)+chr(58)),width=_113)
    _s_=Label(___, text=(chr(48)) ,width=_113)
    _s_2=Label(___, text=(chr(83)+chr(99)+chr(104)+chr(117)+chr(101)+chr(115)+chr(115)+chr(101)+chr(58)),width=_113)
    ddk=Label(___, text=(chr(48)) ,width=_113)
    ddk2=Label(___, text=(chr(84)+chr(114)+chr(101)+chr(102)+chr(102)+chr(101)+chr(114)+chr(32)+chr(105)+chr(110)+chr(32)+chr(80)+chr(114)+chr(111)+chr(122)+chr(101)+chr(110)+chr(116)+chr(58)),width=_113)
    _x_=Button(___, text=(chr(83)+chr(116)+chr(97)+chr(114)+chr(116)),width=_113)
    neu=Button(___, text=(chr(78)+chr(101)+chr(117)+chr(101)+chr(115)+chr(32)+chr(83)+chr(112)+chr(105)+chr(101)+chr(108)),width=_113,command=_18_)
    high=Button(___, text=(chr(72)+chr(105)+chr(103)+chr(104)+chr(115)+chr(99)+chr(111)+chr(114)+chr(101)),width=_113,command=__hi___)
    ges=Scale(___,from_=1,to=40,width=_113,orient=HORIZONTAL,command=ub)
    ges2=Label(___,text=(chr(97)+chr(107)+chr(116)+chr(117)+chr(101)+chr(108)+chr(108)+chr(101)+chr(32)+chr(71)+chr(101)+chr(115)+chr(99)+chr(104)+chr(119)+chr(105)+chr(110)+chr(100)+chr(105)+chr(103)+chr(107)+chr(101)+chr(105)+chr(116)+chr(58)))
    gro=Scale(___,width=_113,from_=5,to=100,orient=HORIZONTAL,command=w___)
    gro2=Label(___,text=(chr(71)+chr(114)+chr(246)+chr(223)+chr(101)+chr(32)+chr(100)+chr(101)+chr(115)+chr(32)+chr(90)+chr(105)+chr(101)+chr(108)+chr(115)+chr(58)))
    _t_______=Label(___,text=(chr(48)) ,width=_113,relief=RIDGE,font=((chr(84)+chr(105)+chr(109)+chr(101)+chr(115)) ,10))
    _t_______2=Label(___,text=((chr(83)+chr(112)+chr(105)+chr(101)+chr(108)+chr(122)+chr(101)+chr(105)+chr(116)+chr(58)),t,'s'),width=_113)
    beend=Button(___,text=(chr(66)+chr(101)+chr(101)+chr(110)+chr(100)+chr(101)+chr(110)) ,width=_113,command=__99)
    aut=Checkbutton(___,text=(chr(97)+chr(117)+chr(116)+chr(111)+chr(109)+chr(97)+chr(116)+chr(105)+chr(115)+chr(99)+chr(104)+chr(101)+chr(32)+chr(83)+chr(116)+chr(101)+chr(117)+chr(101)+chr(114)+chr(117)+chr(110)+chr(103)),command=_out__change)
    z___=Checkbutton(___,text=(chr(90)+chr(117)+chr(102)+chr(97)+chr(108)+chr(108)+chr(115)+chr(98)+chr(101)+chr(119)+chr(101)+chr(103)+chr(117)+chr(110)+chr(103)+chr(101)+chr(110)) ,command=z____change)
    o__=Entry(___)
    o___=Label(___,text=(chr(78)+chr(97)+chr(109)+chr(101)+chr(32)+chr(100)+chr(101)+chr(115)+chr(32)+chr(83)+chr(112)+chr(105)+chr(101)+chr(108)+chr(101)+chr(114)+chr(115)+chr(58)))
    _x_.bind('<1>',_x_stop)
    er.grid(column=0,row=0);c.grid(column=0,row=1,columnspan=5);t_a_z.grid(column=1,row=3)
    _s_.grid(column=1,row=4);ddk.grid(column=1,row=5);t_a_z2.grid(column=0,row=3)
    _s_2.grid(column=0,row=4);ddk2.grid(column=0,row=5)
    ges.grid(column=3,row=4);ges2.grid(column=2,row=4)
    gro.grid(column=3,row=5);gro2.grid(column=2,row=5)
    _t_______.grid(column=4,row=2,columnspan=1)
    _t_______2.grid(column=4,row=3,columnspan=1)
    _x_.grid(column=1,row=0);neu.grid(column=2,row=0)
    high.grid(column=3,row=0);beend.grid(column=4,row=0)
    aut.grid(column=2,row=2);z___.grid(column=2,row=3)
    o__.grid(column=1,row=2);o___.grid(column=0,row=2)
    if _out_==1: aut.select()
    if z____==1: z___.select()
    elif _out_==0: z___.configure(state=DISABLED)
    ges.set(_s__);gro.set(_11)
    o__.delete(0,END);o__.insert(END,o____)
    er[(chr(116)+chr(101)+chr(120)+chr(116))]=chr(78)+chr(101)+chr(117)+chr(101)+chr(115)+chr(32)+chr(83)+chr(112)+chr(105)+chr(101)+chr(108)+chr(33)
    i=0;_18_();___.mainloop()


    _________________________________________
    16.08.2010
    01.10.2010
    16.10.2010
    Erfolge und Ziele
    avatar
    Spider
    Ehrenmitglied

    Anmeldedatum : 22.05.09
    Anzahl der Beiträge : 5205

    Re: Rätselfrage für Marv

    Beitrag von Spider am 17.07.10 6:37

    Kann kein Phyton. Ugly

    Die Lösung.
    Nur nicht missverstehen, aber letzhin gab es 'nen super Thread mit diesem Thema bei 4chan, war endlich mal wieder was Witziges.


    _________________________________________
    .
    avatar
    Marv
    Ehrenmitglied

    Anmeldedatum : 22.05.09
    Anzahl der Beiträge : 1852

    Re: Rätselfrage für Marv

    Beitrag von Marv am 17.07.10 7:03

    Spider schrieb:Kann kein Phyton. Ugly

    Die Lösung.
    Nur nicht missverstehen, aber letzhin gab es 'nen super Thread mit diesem Thema bei 4chan, war endlich mal wieder was Witziges.
    Naja 'Viren verstecken' war ja schon zu 50% richtig. Ugly

    Und wenn du Python hast, kannst du es trotzdem mal starten, da kannste schauen ob es das ist was du erwartest (passiert nichts schlimmes). Zwinker


    _________________________________________
    16.08.2010
    01.10.2010
    16.10.2010
    Erfolge und Ziele

    Gesponserte Inhalte

    Re: Rätselfrage für Marv

    Beitrag von Gesponserte Inhalte


      Aktuelles Datum und Uhrzeit: 20.11.17 23:48