Results 1 to 14 of 14

Thread: OK , Search One file, And Get a certain number of things out of it...

  1. #1

    Thread Starter
    Frenzied Member wpearsall's Avatar
    Join Date
    Feb 2002
    Location
    England / UK
    Posts
    1,065

    OK , Search One file, And Get a certain number of things out of it...

    Hi,

    I have two text files,

    The one i Have made,

    And the one another application install made



    My File

    VB Code:
    1. ; Server Prefs
    2. ;
    3. SERVERNAME "The Walks Chat"
    4. WIZARDPASSWORD " \4554545493T\9FN"
    5. GODPASSWORD "lq*\8FU\545459F["
    6. PERMISSIONS 0xA0F    
    7. DEATHPENALTY 40
    8. MAXOCCUPANCY 200
    9. ROOMOCCUPANCY 30
    10. MINFLOODEVENTS 30000
    11. MAXSESSIONID 10000
    12. SERVEROPTIONS 0x2      
    13. PICFOLDER "E:/Servers/PalaceServer/Palace/Media/"
    14. SYSOP "RT46T395"
    15. URL "palace://thewalks.ods.org:9996"
    16. HTTP_URL "http://www.thewalks.ods.org:88/palace/media/"
    17. AVATAR_URL "http://thewalks.ods.org:88/palace/avatars/"
    18. MACHINETYPE "Windows 4.10,  A . Processor: pentium processor."
    19. AUTOANNOUNCE "Hi There.  Welcome to The Walks.  If you need help Feel free to locate a Wizard or God with a * before their name. You can also connect to realm-ed.co.uk:9998 ."
    20. JAVACLIENTWEBPAGE "http://thewalks.ods.org:88/modules.php?name=InstantPalace"
    21. USEOTHERAVATARSERVER
    22. ROOMSFILE "TheWalks.pat"
    23.  
    24. END


    The installers file

    VB Code:
    1. ; Server Prefs
    2. ;
    3. SERVERNAME "Some Wierd'os Palace Chat Server"
    4. WIZARDPASSWORD "h\93p"
    5. GODPASSWORD "/(OA\15\84o\91q"
    6. PERMISSIONS 0x87F    
    7. DEATHPENALTY 120
    8. MAXOCCUPANCY 100
    9. ROOMOCCUPANCY 24
    10. MINFLOODEVENTS 300
    11. PURGEPROPDAYS 21
    12. MAXSESSIONID 10000
    13. PICFOLDER "E:\\Program Files\\Communities.com\\PalaceServer\\palace\\media\\"
    14. SYSOP "Wayne Pearsall"
    15. HTTP_URL "http://[currentIPAddress]:9990/palace/media/"
    16. AVATAR_URL "http://[currentIPAddress]:9990/palace/avatars/"
    17. MACHINETYPE "Windows 5.0, . Processor: pentium processor."
    18. JAVACLIENTWEBPAGE "http://www.thepalace.com:8000/perl/palentry.pl?ID=28DSTR3L"
    19. ROOMSFILE "PServer.pat"
    20.  
    21. END

    OK Then

    Well the ting is you see,

    I wanna get certain things read from the bottom file, and replace the top files values with it, then replace the origional file (bottom one).


    IE
    VB Code:
    1. SERVERNAME "The Walks Chat"
    2. WIZARDPASSWORD " \4554545493T\9FN"
    3. GODPASSWORD "lq*\8FU\545459F["
    4. PERMISSIONS 0xA0F    
    5. DEATHPENALTY 40
    6.  
    7. 'replaced with
    8.  
    9. SERVERNAME "Some Wierd'os Palace Chat Server"
    10. WIZARDPASSWORD "h\93p"
    11. GODPASSWORD "/(OA\15\84o\91q"
    12. PERMISSIONS 0x87F    
    13. DEATHPENALTY 120
    14.  
    15.  
    16. ' and
    17.  
    18. ROOMSFILE "TheWalks.pat"
    19.  
    20. ' replaced with
    21.  
    22. ROOMSFILE "PServer.pat"

    And some more of the file,

    So as to get the correct details of the persons site,,,


    Now if i ONLY have to get two major things, it would be:

    VB Code:
    1. WIZARDPASSWORD "h\93p"
    2. GODPASSWORD "/(OA\15\84o\91q"

    Since its encrypted, and im not certain which encryption it uses

    OK,

    Well if some1 can let me know how to do this, i would be very happy (Cuz it would save me time writting a email to some1 every time they need to "install instant palace" on their machines

    Thanks.

    Wayne
    Wayne

  2. #2
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Palace eh.

    The encryption is rather simple.

    Use instr to find characters and mid$ to get and replace them.

  3. #3

    Thread Starter
    Frenzied Member wpearsall's Avatar
    Join Date
    Feb 2002
    Location
    England / UK
    Posts
    1,065
    :lost:

    ?
    Wayne

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    do you know what the values of the passwords are? if not, you probably won't be able to work out the encryption.

    if you know what they should be then you might be able to do it... if you can change the password and find out what it encrypts to then you can definitely do it (but it might take a while).

  5. #5

    Thread Starter
    Frenzied Member wpearsall's Avatar
    Join Date
    Feb 2002
    Location
    England / UK
    Posts
    1,065
    Originally posted by si_the_geek
    do you know what the values of the passwords are? if not, you probably won't be able to work out the encryption.

    if you know what they should be then you might be able to do it... if you can change the password and find out what it encrypts to then you can definitely do it (but it might take a while).
    Sure,

    I can get yer the passwords. Values, ETC.

    Not rite now though ( @ College ) But l8r on...

    See Ya.
    Wayne
    Wayne

  6. #6
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    There's one problem. Those passwords are encrypted twice.

    Using seperate algos.

    What is this for?

  7. #7

    Thread Starter
    Frenzied Member wpearsall's Avatar
    Join Date
    Feb 2002
    Location
    England / UK
    Posts
    1,065
    Originally posted by DiGiTaIErRoR
    There's one problem. Those passwords are encrypted twice.

    Using seperate algos.

    What is this for?
    Its for Palace Chat,

    But i need to Re-Write the Config Files to install a "Add-On" for it,
    Wayne

  8. #8
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    WIZARDPASSWORD "h\93p"
    GODPASSWORD "/(OA\15\84o\91q"

    I'm guessing...

    DFG is wizard pass

    efefFEAEF is god pass

  9. #9

    Thread Starter
    Frenzied Member wpearsall's Avatar
    Join Date
    Feb 2002
    Location
    England / UK
    Posts
    1,065
    something like that?

    not sure, i jst pressed random keys

    OK These are proper values


    What I Entered As Password

    GODPASSWORD "Encrypted Password"



    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>





    Password

    GODPASSWORD "\13bh)\8DT\84S"





    hello

    GODPASSWORD "6\89B\91X"





    abcde

    GODPASSWORD "5\83O\93R"





    abcdefghijklmnopqrstuvwxyz

    GODPASSWORD "\ADhUf\F2W\83.@\17\85\F1\B4\848\E0V\14\04vi.\8FV\91M"
    Wayne

  10. #10

    Thread Starter
    Frenzied Member wpearsall's Avatar
    Join Date
    Feb 2002
    Location
    England / UK
    Posts
    1,065
    BTW

    Location: dev\null
    Think u mean

    Location: /dev/null
    :P
    Wayne

  11. #11

    Thread Starter
    Frenzied Member wpearsall's Avatar
    Join Date
    Feb 2002
    Location
    England / UK
    Posts
    1,065
    Originally posted by DiGiTaIErRoR
    WIZARDPASSWORD "h\93p"
    GODPASSWORD "/(OA\15\84o\91q"

    I'm guessing...

    DFG is wizard pass

    efefFEAEF is god pass

    OK,,,

    Yeah,

    BTW...

    U Use Palace Chat, Program With IT, ETC... SOOOOO...

    Guess u know how to encrypt the passwords right off then ?



    And UN - Encrypt em?
    Wayne

  12. #12
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    Originally posted by wpearsall
    something like that?

    not sure, i jst pressed random keys

    OK These are proper values


    What I Entered As Password

    GODPASSWORD "Encrypted Password"



    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>





    Password

    GODPASSWORD "\13bh)\8DT\84S"





    hello

    GODPASSWORD "6\89B\91X"





    abcde

    GODPASSWORD "5\83O\93R"





    abcdefghijklmnopqrstuvwxyz

    GODPASSWORD "\ADhUf\F2W\83.@\17\85\F1\B4\848\E0V\14\04vi.\8FV\91M"
    Try it out with similar passwords (preferably short ones), that way you can spot the differences, eg:

    a
    b
    aa
    ab
    ac
    ...

    once you have those you'll be able to spot the similarities/differences, and hopefully work out how to encrypt/decrypt them

  13. #13
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Originally posted by wpearsall
    BTW



    Think u mean



    :P
    No... THIS IS MY HOUSE!


  14. #14

    Thread Starter
    Frenzied Member wpearsall's Avatar
    Join Date
    Feb 2002
    Location
    England / UK
    Posts
    1,065
    lol

    So u wanna post how i do the encryption if it's pretty easy dood ?



    :P
    Wayne

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