AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Nsis decompiler9/22/2023 ![]() ![]() If you want read more you can visit this very useful article: Self-extracting executables, thanks to Peter for a good adn clean explanation. NsisDecompiler/NsisDecompilerDlg.cpp at master Noice2k/NsisDecompiler GitHub Noice2k / NsisDecompiler Public master NsisDecompiler/NsisDecompilerDlg.cpp Go to file Cannot retrieve contributors at this time 259 lines (200 sloc) 6.74 KB Raw Blame // NsisDecompilerDlg.cpp : implementation file // include 'stdafx.h' include 'NsisDecompiler. So, just look for the ReadFile API call, follow the program flow until the loops start again an watch for the last jump before the loop repeat it has to have a comparision around. So as you can see NSIS installer have some sort of marker. It includes the icons, bitmaps, and cursors that are stored in the RES subdirectory. NsisDecompiler.rc This is a listing of all of the Microsoft Windows resources that the program uses. I believe it's the simplest method it's also faster than other methods with marker. NsisDecompiler.cpp This is the main application source file that contains the application class CNsisDecompilerApp. else read another 512-byte chunk in the loop So you don't need to scan the whole exe for a marker, you just need to read 512-byte chunks and look for marker at their start. Just remember that data in an exe file is aligned by 512 or 4096 bytes. Hack/Break ZIP File Password with free NSIS. ![]() It's so simple that you will say: "Why didn't I think about it?!" rc files), and a decompiler - enabling viewing and editing of resources in executables (. NSIS authors found a fast solution using marker. Well, without reject Igor Skochinsky's answer I want to post this more landed in the fact of how to find where compressed data is. ![]()
0 Comments
Read More
Leave a Reply. |