| skipped 2 lines |
3 | 3 | | |
4 | 4 | | Generator of static files for testing file upload functionality. |
5 | 5 | | |
| 6 | + | When generating a png, as in the following screenshot, you can generate a png of a specified size. |
| 7 | + | |
| 8 | + | <img src="screenshots/demo.png"> |
| 9 | + | |
6 | 10 | | ## Motivation |
7 | 11 | | I often test the file upload function during security testing. |
8 | 12 | | I am always at a loss as to what kind of images to upload at that time. |
| skipped 20 lines |
29 | 33 | | $ dummy test.jpeg |
30 | 34 | | ``` |
31 | 35 | | |
32 | | - | You can also specify the number of bytes in the file when generating png files with the `-t` option. |
33 | | - | |
| 36 | + | You can also specify the number of bytes in the file when generating png files with the `-b` option. |
| 37 | + | To specify bytes, you can use B, KB, MB, or GB as a unit. |
34 | 38 | | |
35 | 39 | | ```bash |
36 | 40 | | $ dummy -t abc -b 1MB test.png |
| skipped 23 lines |