but this command must be done in the "sudo"
my problem is to transmit it to the
since just after a sudo, Linux pass the request
I do this
Code: Select all
Compiler = RunProgram("sudo airmon-ng", "start "+carte$, "", #PB_Program_Open|#PB_Program_Read)
Debug ReadProgramString(Compiler)
WriteProgramStringN(Compiler, "pass")
**************************************************************************************************
**************************************************************************************************
in french

je cherche a lancer une commande par le biais de RunProgram
mais cette commande doit se faire en "Sudo"
mon problem c'est de transmettre le pass a la commande
puisque juste apres un sudo, Linux demande le pass
je fais ça
Code: Select all
Compiler = RunProgram("sudo airmon-ng", "start "+carte$, "", #PB_Program_Open|#PB_Program_Read)
Debug ReadProgramString(Compiler)
WriteProgramStringN(Compiler, "pass")
