3 ms·
Interestingly, you may have just fucked yourself, because the sudo session is maintained whilst launching Firefox. If we create a script 1: #!/bin/sh ec
by antihero 13y ago
Interestingly, you may have just fucked yourself, because the sudo session is maintained whilst launching Firefox.
If we create a script 1:
#!/bin/sh
echo "I'm doing something secure"
And then script 2:
#!/bin/sh
echo "I'm doing something insecure".
sudo echo "I'm doing something malicious".
Then run:
$ sudo ./script1.sh; ./script2.sh
Looks like Firefox has access to your banking user :)
- FedRegister 13y agoNot if sudo is set to only allow gnucash! :-)