Results 1 to 8 of 8

Thread: h4x0r

  1. #1

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    h4x0r

    #!/usr/bin/python

    list = []

    cern_file = open("a6", "r")
    cern_list = cern_file.readlines()
    cern_file.close()

    for lines in cern_list:
    list.append(lines.split(';'))

    herna = 0

    for lines in list:
    for numbers in range(herna + 1, len(cern_list)):
    if (list[numbers][1] == lines[1]):
    print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
    print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]

    herna += 1


    #!/usr/bin/python

    list = []

    cern_file = open("a6", "r")
    cern_list = cern_file.readlines()
    cern_file.close()

    for lines in cern_list:
    list.append(lines.split(';'))

    herna = 0

    for lines in list:
    for numbers in range(herna + 1, len(cern_list)):
    if (list[numbers][1] == lines[1]):
    print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
    print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]

    herna += 1


    #!/usr/bin/python

    list = []

    cern_file = open("a6", "r")
    cern_list = cern_file.readlines()
    cern_file.close()

    for lines in cern_list:
    list.append(lines.split(';'))

    herna = 0

    for lines in list:
    for numbers in range(herna + 1, len(cern_list)):
    if (list[numbers][1] == lines[1]):
    print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
    print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]

    herna += 1


    #!/usr/bin/python

    list = []

    cern_file = open("a6", "r")
    cern_list = cern_file.readlines()
    cern_file.close()

    for lines in cern_list:
    list.append(lines.split(';'))

    herna = 0

    for lines in list:
    for numbers in range(herna + 1, len(cern_list)):
    if (list[numbers][1] == lines[1]):
    print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
    print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]

    herna += 1


    #!/usr/bin/python

    list = []

    cern_file = open("a6", "r")
    cern_list = cern_file.readlines()
    cern_file.close()

    for lines in cern_list:
    list.append(lines.split(';'))

    herna = 0

    for lines in list:
    for numbers in range(herna + 1, len(cern_list)):
    if (list[numbers][1] == lines[1]):
    print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
    print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]

    herna += 1


    #!/usr/bin/python

    list = []

    cern_file = open("a6", "r")
    cern_list = cern_file.readlines()
    cern_file.close()

    for lines in cern_list:
    list.append(lines.split(';'))

    herna = 0

    for lines in list:
    for numbers in range(herna + 1, len(cern_list)):
    if (list[numbers][1] == lines[1]):
    print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
    print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]

    herna += 1


    #!/usr/bin/python

    list = []

    cern_file = open("a6", "r")
    cern_list = cern_file.readlines()
    cern_file.close()

    for lines in cern_list:
    list.append(lines.split(';'))

    herna = 0

    for lines in list:
    for numbers in range(herna + 1, len(cern_list)):
    if (list[numbers][1] == lines[1]):
    print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
    print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]

    herna += 1


    #!/usr/bin/python

    list = []

    cern_file = open("a6", "r")
    cern_list = cern_file.readlines()
    cern_file.close()

    for lines in cern_list:
    list.append(lines.split(';'))

    herna = 0

    for lines in list:
    for numbers in range(herna + 1, len(cern_list)):
    if (list[numbers][1] == lines[1]):
    print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
    print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]

    herna += 1


    #!/usr/bin/python

    list = []

    cern_file = open("a6", "r")
    cern_list = cern_file.readlines()
    cern_file.close()

    for lines in cern_list:
    list.append(lines.split(';'))

    herna = 0

    for lines in list:
    for numbers in range(herna + 1, len(cern_list)):
    if (list[numbers][1] == lines[1]):
    print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
    print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]

    herna += 1


    #!/usr/bin/python

    list = []

    cern_file = open("a6", "r")
    cern_list = cern_file.readlines()
    cern_file.close()

    for lines in cern_list:
    list.append(lines.split(';'))

    herna = 0

    for lines in list:
    for numbers in range(herna + 1, len(cern_list)):
    if (list[numbers][1] == lines[1]):
    print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
    print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]

    herna += 1


    #!/usr/bin/python

    list = []

    cern_file = open("a6", "r")
    cern_list = cern_file.readlines()
    cern_file.close()

    for lines in cern_list:
    list.append(lines.split(';'))

    herna = 0

    for lines in list:
    for numbers in range(herna + 1, len(cern_list)):
    if (list[numbers][1] == lines[1]):
    print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
    print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]

    herna += 1


    #!/usr/bin/python

    list = []

    cern_file = open("a6", "r")
    cern_list = cern_file.readlines()
    cern_file.close()

    for lines in cern_list:
    list.append(lines.split(';'))

    herna = 0

    for lines in list:
    for numbers in range(herna + 1, len(cern_list)):
    if (list[numbers][1] == lines[1]):
    print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
    print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]

    herna += 1


    #!/usr/bin/python

    list = []

    cern_file = open("a6", "r")
    cern_list = cern_file.readlines()
    cern_file.close()

    for lines in cern_list:
    list.append(lines.split(';'))

    herna = 0

    for lines in list:
    for numbers in range(herna + 1, len(cern_list)):
    if (list[numbers][1] == lines[1]):
    print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
    print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]

    herna += 1


    #!/usr/bin/python

    list = []

    cern_file = open("a6", "r")
    cern_list = cern_file.readlines()
    cern_file.close()

    for lines in cern_list:
    list.append(lines.split(';'))

    herna = 0

    for lines in list:
    for numbers in range(herna + 1, len(cern_list)):
    if (list[numbers][1] == lines[1]):
    print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
    print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]

    herna += 1


    #!/usr/bin/python

    list = []

    cern_file = open("a6", "r")
    cern_list = cern_file.readlines()
    cern_file.close()

    for lines in cern_list:
    list.append(lines.split(';'))

    herna = 0

    for lines in list:
    for numbers in range(herna + 1, len(cern_list)):
    if (list[numbers][1] == lines[1]):
    print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
    print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]

    herna += 1
    Last edited by NoteMe; Jan 9th, 2006 at 07:52 AM.

  2. #2
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: h4x0r

    ...Ant that my friends is how the nuclear bomb was borugh into existance, any questions ?
    Zeegnahtuer?

  3. #3

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: h4x0r

    What does the code do???

  4. #4
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: h4x0r

    Never used Phthon EVER before, but my quick guess is splitting a file into an array of some sorts, then sorting it through and adding more items.

    Just a quick guess tho :S

    What does it do ?
    Zeegnahtuer?

  5. #5
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: h4x0r

    Don't use Python. Use Cobra. It's much efficient.
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  6. #6

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: h4x0r

    Quote Originally Posted by iPrank
    Don't use Python. Use Cobra. It's much efficient.

    No way...

  7. #7

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: h4x0r

    Quote Originally Posted by thegreatone
    Never used Phthon EVER before, but my quick guess is splitting a file into an array of some sorts, then sorting it through and adding more items.

    Just a quick guess tho :S

    What does it do ?
    Opens a file
    split it up in an array
    check if two entries in the arrays are the same for one field,
    if so, then print them out...

  8. #8
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: h4x0r

    So, i suppose it wasn't such a bad guess from me then ? hehe
    Zeegnahtuer?

Posting Permissions

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



Click Here to Expand Forum to Full Width