any way of getting key hashes?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 3_stooges_geo

    #1

    any way of getting key hashes?

    is there anything out there for bf2 like ehelion that can give you a players key hash
    if you put there player name in.
    i had 3 players on server that were stat padding,i have the bf recorder demo of them doing it.
    but since no admins were on we werent able to ban them.
    here is there names and links to there stats.
    one of the regulars on server let me know about it,he stopped them by running in the room and c4ing them,it gave him 3 tk's but he felt it was worth it.
    ironoak

    John_DoeSix66

    aronfair
  • Munson

    #2
    Re: any way of getting key hashes?

    www.bf2tracker.com has player name to hash lookup =-)


    Munson

    Comment

    • bbrain

      #3
      Re: any way of getting key hashes?

      You can use this python script to get the info:


      import re

      def playerData():
      '''Returns a dictionary containing player data; dictionary keys are
      playerIDs, values are 4-element tuples, containing player name,
      IP address, IP port, and cd-key hash.'''

      rawData = host.rcon_invoke("admin.listplayers")

      pattern = re.compile(r'''^Id:\ +(\d+) # PlayerID
      \ -\ (\S+) # Player Name
      \ is\ remote\ ip:\ (\d+\.\d+\.\d+\.\d+): # IP Address
      (\d+).*? # Port Number
      hash:\ (\w{32}) # CD Key Hash
      ''', re.DOTALL | re.MULTILINE | re.VERBOSE)

      result = {}
      for player in pattern.findall(rawData):
      result[int(player[0])] = player[1:]

      return result

      A simple example of how you would use this function:
      # print a list of player names, IP addresses, and CD key hashes:

      info = playerData()
      for playerID in info:
      print info[playerID][0], info[playerID][1], info[playerID][3]

      Comment

      • 3_stooges_geo

        #4
        Re: any way of getting key hashes?

        Originally posted by Munson
        www.bf2tracker.com has player name to hash lookup =-)


        Munson
        where do you see that at?

        Comment

        • bbrain

          #5
          Re: any way of getting key hashes?

          Comment

          • 3_stooges_geo

            #6
            Re: any way of getting key hashes?

            thanks,but i want to look up a player name and get there key hash so i can ban them from server to keep them from coming back.

            bf1942 server manager kept a log of all players that joined along with there ip and key hash,and if it wasnt there.you could go to ehelion,type in players name,and get there key hash to add to ban list.
            bf2 has none of these features.
            since its a ranked server,i cant add any scripts to do it.

            Comment

            • bbrain

              #7
              Re: any way of getting key hashes?

              this engine is lack of the good features

              Comment

              • Furious-AGE-

                #8
                Re: any way of getting key hashes?

                I'd actually like to know an easy way to find the cd hash to be able to unban someone. At the moment, they can give us their pb guid but that is not what they were banned by (bf2cc tool bans by cd hash)

                the tracker site is not loading for me at this time.

                Comment

                • 3_stooges_geo

                  #9
                  Re: any way of getting key hashes?

                  tell the person to run this program

                  and it will give them there key hash and cd key,tell them just to send you there key hash.

                  Comment

                  • Furious-AGE-

                    #10
                    Re: any way of getting key hashes?

                    can you verify this program is safe for them to use? I looked at it but I'm at work and cannot test it myself

                    just want to make sure it isn't a key stealer

                    Comment

                    • 3_stooges_geo

                      #11
                      Re: any way of getting key hashes?

                      Originally posted by Furious-AGE-
                      can you verify this program is safe for them to use? I looked at it but I'm at work and cannot test it myself

                      just want to make sure it isn't a key stealer
                      its safe,i used it,and a few other people on server used it.
                      just make sure they only give you there key hash.

                      Comment

                      • Furious-AGE-

                        #12
                        Re: any way of getting key hashes?

                        thank you for verifying that, this will make the process a lot easier

                        Comment

                        • Turkey

                          #13
                          Re: any way of getting key hashes?

                          Look out for v0.4 of BF2RA which should be finished soon. It will have the the ability to log all players names ,cdkey hashes, and ip's.

                          Comment

                          Working...