• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 4 of 4
    1. #1
      Administrator
      Hacked By Jesus
       
      Reversing
       
      [GH]Rake's Avatar
      Join Date
      Jan 2014
      Location
      USA
      Posts
      3,596
      Thanks (-->)
      854
      Thanks (<--)
      1060

      Post Binary To Array of Bytes Dumper

      Advertise on GuidedHacking
      I was interested in this question by @Axion and decided to code it up for the tool section! He asked how to create an array of bytes from a binary file on disk similar to what HxD Hex Editor does.

      It's a console app, you drag and drop your binary on to it and it generates a header that looks like this:
      Binary To Array of Bytes Dumper

      https://bitbucket.org/GH-Rake/binarytoaob/

      Feel free to critique my shitcode

      Virus Scan
      Attached Files Attached Files

    2. Thanks Oneshot, Roman_Ablo thanked for this post
    3. #2
      Coder
      KFC
       
      Reversing
       
      Roman_Ablo's Avatar
      Join Date
      Feb 2017
      Location
      KFC
      Posts
      132
      Thanks (-->)
      59
      Thanks (<--)
      32
      Dankass code bruh, thx for ur efforts and memes on the forum m8

      and thx for my double warning on the same post

    4. #3
      Administrator
      Hacked By Jesus
       
      Reversing
       
      [GH]Rake's Avatar
      Join Date
      Jan 2014
      Location
      USA
      Posts
      3,596
      Thanks (-->)
      854
      Thanks (<--)
      1060
      Quote Originally Posted by Axion View Post
      and thx for my double warning on the same post
      Go for a triple next time!

    5. #4
      Hacker
      I'm just a collection of atoms
      maan
       
      No Status
       
      mambda's Avatar
      Join Date
      Jun 2014
      Posts
      760
      Thanks (-->)
      72
      Thanks (<--)
      223
      Advertise on GuidedHacking
      Neato amigo


      CloseHandle(CreateFile(path, GENERIC_WRITE, 0, 0, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, 0));

      //open header file stream
      std::ofstream header(path, std::ios::out | std::ios::binary);


      ofstream will create the file, dont need to do the CreateFile before, if you do ios::trunc as well it will clear the contents of the file if it already exists


      header.close();
      delete aob;


      cute that you cleanup a program thats about to end :P

      DANK CODENZ.
      It is written.

    6. Thanks [GH]Rake thanked for this post

    Similar Game Hacker Threads

    1. [Help] Find password stored in Binary
      By kuruvi in forum Hacking Help
      Replies: 6
      Last Post: 12-15-2016, 07:39 PM
    2. [Help] Array of Bytes Scan Without Module
      By XtremeCoder in forum C/C++
      Replies: 5
      Last Post: 12-12-2016, 06:43 PM
    3. Binary Ninja (IDA Alternative)
      By Syperus in forum Hacking Tools
      Replies: 3
      Last Post: 08-29-2015, 04:31 AM
    4. Opcode to bytes & Bytes to Opcode Convertor
      By GameMaster Greatee in forum C#
      Replies: 6
      Last Post: 11-22-2014, 05:40 AM
    5. Array of bytes in DLL hack
      By Syperus in forum Tutorials and Snippets
      Replies: 6
      Last Post: 01-17-2014, 08:05 PM