Página 1 de 1
HexEditor lua module for ams
Publicado: 19 Dic 2017 22:17
por Pabloko
Hello, first thanks @abedc18 for the donation to the forums for this year's domain maintenance, as a present im releasing a beta object for hex editing.
It features a complete hex editor using be.hexeditor component. It requires .net framework 4 to run (windows 7 sp3+) and its fully written in c#. Source code is attached to this post.
Quick reference:
HexEditor.Setup(hwnd_dest) -- Setup the hexbox over some hwnd (tree for example)
HexEditor.SetText(string) -- Set hex editor contents from literal string, can be binary
string=HexEditor.GetString() --Obtain contents on hex editor to literal string that can be binary
HexEditor.SetFile(file_path_string) -- Opens a file to hexbox
HexEditor.SaveFile() --save the contents of file opened, wont work if loaded with SetString
HexEditor.Move() -- it will automaticly resize to host hwnd, put on resize event
DOWNLOAD:
- HIDE: ON
- Hidebb Message Hidden Description
Re: HexEditor lua module for ams
Publicado: 19 Dic 2017 23:40
por abood1987
very thanks Pablo
Re: HexEditor lua module for ams
Publicado: 24 Dic 2017 15:10
por abedc18
thank you very much
this is the best forum forever
Re: HexEditor lua module for ams
Publicado: 26 Dic 2017 20:06
por usamakey
tnks my friend
Re: HexEditor lua module for ams
Publicado: 31 Ene 2018 17:13
por patch
Epic but it crashed on me when I tried resizing the window but part from that, cool, epic work.
Update:
I tested it again, open a file and then resizing it at a little speed with make it crash
Re: HexEditor lua module for ams
Publicado: 31 Ene 2018 22:44
por Pabloko
patch escribió: ↑31 Ene 2018 17:13
Epic but it crashed on me when I tried resizing the window but part from that, cool, epic work.
Update:
I tested it again, open a file and then resizing it at a little speed with make it crash
I know that bug, also can crash if you keep opening different source files... This occurs due to internal problems on be.hebox itself as its obviosly not designed to be used outside winforms on win32, i think it can be tuned and properly fixed but this dude needed it for editing microcontroller bytecode, so he only need to load a single file, and i bet he dont even need resizable window, so i should be pretty fine for this specific task. Ive also released it on the forums so people can learn.
Re: HexEditor lua module for ams
Publicado: 02 Feb 2018 15:53
por usamakey
tnks m8
Re: HexEditor lua module for ams
Publicado: 07 Feb 2018 21:50
por patch
Pabloko escribió: ↑31 Ene 2018 22:44
patch escribió: ↑31 Ene 2018 17:13
Epic but it crashed on me when I tried resizing the window but part from that, cool, epic work.
Update:
I tested it again, open a file and then resizing it at a little speed with make it crash
I know that bug, also can crash if you keep opening different source files... This occurs due to internal problems on be.hebox itself as its obviosly not designed to be used outside winforms on win32, i think it can be tuned and properly fixed but this dude needed it for editing microcontroller bytecode, so he only need to load a single file, and i bet he dont even need resizable window, so i should be pretty fine for this specific task. Ive also released it on the forums so people can learn.
Yes I can see it been useful with you disable resizing and be careful what you doing, I was just reporting back not complaining lol
Re: HexEditor lua module for ams
Publicado: 20 Feb 2018 17:52
por Louise
Re: HexEditor lua module for ams
Publicado: 09 Feb 2020 03:56
por jhonitimer
thnk you
Re: HexEditor lua module for ams
Publicado: 08 May 2020 11:55
por mahdi1993
thanks
Re: HexEditor lua module for ams
Publicado: 29 Ene 2021 23:18
por DarkLavey
gracias, mui bueno, friend
Re: HexEditor lua module for ams
Publicado: 09 Feb 2021 06:47
por pexabosh
Graciaaas
Re: HexEditor lua module for ams
Publicado: 14 May 2021 07:00
por Y2K38