Sunday, February 16, 2020

How to deploy Qt programs

Ref:

https://www.udemy.com/course/qt5-gui-cpp-programming-tutorial-2d-graphics/learn/lecture/6265064#questions/2820818

1. Launch the Qt Command Line (not the regular one).
2. In the Qt command line, write the command windeployqt and give the path to your executable file.

Friday, February 14, 2020

Correct Visual Studio Code Configuration Properties for writing CrackMe's

When you write CrackMe's in win32, you want it to be easy to debug with x64dbg - especially for beginners to reversing. Below are the optimal configuration properties for Visual Studio 2017:


[Build]
Set Build to Release for x86 (32 bit)

[Configuration properties]
[----   General -----]
Character Set -> Use Multi-Byte Character Set

[----    C/C++  -----]
[General]
SDL checks -> No (/sdl-)

[Code Generation]
Runtime Library -> Multi-threaded(/MT)
Security Check -> Disable security Check (/GS-)

[----   Linker  ----- ]
[Advanced]
Randomized Base Address -> No(/DYNAMICBASE:NO)
Fixed Base Address -> Yes(/FIXED)