Neat! Now, you practice. Read the output of the /challenge/run command directly into a variable called PWN, and it will contain the flag! Trivia: You can also use backticks instead of $(): FLAG=`cat ...
Command line parameters can be passed directly to the DBeaver executable. The way to do this depends on your operating system. You can use the dbeaverc.exe ...