37 lines
1013 B
Markdown
37 lines
1013 B
Markdown
# windows-binary-fuzzing
|
|
|
|
## DLL methods
|
|
|
|
- [x] `GetOpenFileNameA`
|
|
- [ ] `IFileOpenDialog`
|
|
- [x] `QFileDialog::getOpenFileName`
|
|
- [ ] `QFileDialog::getOpenFileNames`
|
|
- [ ] `QFileDialog::getOpenFileUrl`
|
|
- [ ] `QFileDialog::getOpenFileUrls`
|
|
- [ ] `QFileDialog::getOpenFileContent`
|
|
- [ ] `wxFileDialog`
|
|
|
|
## Build scripts
|
|
|
|
```bash
|
|
# Client(s)
|
|
clients/build_all.ps1
|
|
|
|
# Programs
|
|
programs/build.bat
|
|
```
|
|
|
|
## Execution commands (drrun)
|
|
|
|
### `GetOpenFileNameA.exe`
|
|
|
|
```bash
|
|
drrun -c ..\..\clients\CustomClient\build\Debug\CustomClient.dll -c C:\Users\vboxuser\git\winafl\build64\bin\Release\winafl.dll -debug -target_offset 0x8530 -fuzz_iterations 1 -nargs 2 -target_module .\GetOpenFileNameA.exe -- .\GetOpenFileNameA.exe
|
|
```
|
|
|
|
### `QT_getOpenFileName.exe`
|
|
|
|
```bash
|
|
drrun -c ..\..\clients\CustomClient\build\Debug\CustomClient.dll -c C:\Users\vboxuser\git\winafl\build64\bin\Release\winafl.dll -debug -target_offset 0x1320 -fuzz_iterations 1 -nargs 2 -target_module .\QT_getOpenFileName.exe -- .\QT_getOpenFileName.exe
|
|
```
|