Results 1 to 12 of 12

Thread: Compiled code

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2003
    Posts
    7

    Compiled code

    When i make an *.exe from my code i get the visual basic exe, if i open it with notepad or some hex editor i can see some of my code and stuff like pathe where the program has been compiled too.

    I want to get rid of it, if I just delte it the program dosent work anymore, can i crypto the code somehow or something? So every1 would not see the code...



    Sry for pure english

  2. #2

    Thread Starter
    New Member
    Join Date
    Nov 2003
    Posts
    7
    Can't any1 help me?

    I just dont want to show my code and i and dont want ppl to find out that i made da code...

  3. #3
    Frenzied Member
    Join Date
    May 2003
    Location
    So Cal
    Posts
    1,564
    I dont think you can hide string information like that.

    Are you doing something malicious that you dont want traced back to you?

  4. #4

    Thread Starter
    New Member
    Join Date
    Nov 2003
    Posts
    7
    not really just wanna joke with some friends, gonna have a little fun with them but they allvis use hex edit or somthing to chek the code befor they open it and if they see i made it they dont wanna open it and they see string info too that sux....

  5. #5
    Frenzied Member Lightning's Avatar
    Join Date
    Oct 2002
    Location
    Eygelshoven
    Posts
    1,611
    There are some tools the encrypt an exe. These can be found on "hackers"-sites. There are also tools to decrypt an exe. Search for one (encrypt exe in google) and see qhat it does.
    VB6 & C# (WCF LINQ) mostly


    If you need help with a WPF/WCF question post in the NEW WPF & WCF forum and we will try help the best we can

    My site

    My blog, couding troubles and solutions

    Free online tools

  6. #6

    Thread Starter
    New Member
    Join Date
    Nov 2003
    Posts
    7
    thx I'll take a look

  7. #7
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    I know, its annoying. Its shows up:

    D:\Microsoft Visual Studio\Projects\

    for me in Wordpad, wonder if you could use Resource Hacker to change the string table data?

    When you tried modyfing it in Hex, did you just delete the string? As if you

    a) add bytes through hex
    b) delete values which shouldnt

    it will corrupt, send me the exe if you like, ill fix it for you if i can

  8. #8

    Thread Starter
    New Member
    Join Date
    Nov 2003
    Posts
    7
    Yea i tried to delete it I'll try to change the symbols but if i cant handel it i'll tell u where u can find da code.

  9. #9
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    Just overwrite them with a spacebar Making sure not to overwrite unfamiliar characters from the Hex table

    Only ones containing the strings, if its like:

    D:\ M I C R O S O F T V I S U A L S T U D I O

    then ignore the spaces, just go over the actual text

  10. #10
    Hyperactive Member
    Join Date
    Oct 2001
    Location
    www.alexdata.com
    Posts
    484

    Red face You could use a program like Hex Workshop or ResHacker

    If you use reshacker, then you can change those strings to whatever you like (as long as you find the strings)

    if you use "hex workshop" then you must overwrite the text with a random letter or so... like x0x0x0x00x0x0x00x0x0x0x0x or whatever you like...

    But these two programs are the best.. and then pack it with UPX
    (to reduce size, and to crypt the code some more)

    if you hex edit the upx-crypted exe and replace the text UPX (apperars 3 times early in the file) with any other three letters, then you cannot decrypt it using UPX later...

    so then your buddies would have to run it,inorder to see it...

    But make no viruses please... and make it possible to REMOVE your joke from the machine...
    ***************
    Please use [highlight=vb] ..your code.. [/highlight] when posting code!

    When you have received the working answer to your question,
    please mark it as *SOLVED* + Your Questions Title ...using your Thread's Tool menu.


    Also try to point out what answer made it work for you, or edit your first post to contain a quote of the correct answer...

    Please Answer All Questions With Working Code Examples...


    My Unfinished Projects and My working Programs
    ***************

  11. #11

  12. #12

    Thread Starter
    New Member
    Join Date
    Nov 2003
    Posts
    7
    Thx all.
    Its no virus

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