Wireshark mailing list archives
Re: Wireshark on Kali linux
From: João Valverde <joao.valverde () tecnico ulisboa pt>
Date: Wed, 6 Feb 2019 00:32:46 +0000
On 05/02/19 23:50, Guy Harris wrote:
On Feb 5, 2019, at 2:52 PM, João Valverde <joao.valverde () tecnico ulisboa pt> wrote:On 05/02/19 16:48, Dario Lombardo wrote:Possible solutions: - don't enable this error for console.luaBy which you presumably mean something more general, such as "don't enable this error for scripts that are distributed as part of Wireshark".
Something like that, but...The risk with Lua scripts is privilege escalation, meaning running user writable Lua scripts as root. If Wireshark is installed with user-privileges to a user writable prefix, for example PREFIX=/home, and executed with root privileges then that risk still exists for scripts distributed as part of Wireshark and installed to $libdir (but the same is true for binary plugins).
- don't try to run dofile(console.lua) if the user is rootSee previous comment, plus "is there a reason not to run console.lua if the user is root"? Or do you mean "run it with something other than dofile()" (which just removes the "plus" part)?
I meant not load it at all with UID 0. Not sure what you are asking here. Doing that will disable some GUI features, this may or may not be acceptable.
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: Wireshark on Kali linux, (continued)
- Re: Wireshark on Kali linux Guy Harris (Feb 05)
- Lua error while running Wireshark as root (was: Re: Wireshark on Kali linux) Peter Wu (Feb 05)
- Re: Lua error while running Wireshark as root (was: Re: Wireshark on Kali linux) Guy Harris (Feb 05)
- Re: Lua error while running Wireshark as root (was: Re: Wireshark on Kali linux) Peter Wu (Feb 05)
- Re: Lua error while running Wireshark as root (was: Re: Wireshark on Kali linux) Guy Harris (Feb 05)
- Re: Lua error while running Wireshark as root (was: Re: Wireshark on Kali linux) Peter Wu (Feb 06)
- Lua error while running Wireshark as root (was: Re: Wireshark on Kali linux) Peter Wu (Feb 05)
- Re: Wireshark on Kali linux Guy Harris (Feb 05)
- Re: Wireshark on Kali linux Guy Harris (Feb 05)
- Re: Wireshark on Kali linux Guy Harris (Feb 05)
- Re: Wireshark on Kali linux João Valverde (Feb 05)
- Re: Wireshark on Kali linux Dario Lombardo (Feb 06)
- Re: Wireshark on Kali linux João Valverde (Feb 06)
- Re: Wireshark on Kali linux Peter Wu (Feb 06)
- Re: Wireshark on Kali linux Guy Harris (Feb 06)
- Re: Wireshark on Kali linux Graham Bloice (Feb 06)
- Re: Wireshark on Kali linux Jasper Bongertz (Feb 07)
- Re: Wireshark on Kali linux Dario Lombardo (Feb 07)
- Re: Wireshark on Kali linux Graham Bloice (Feb 07)
- Re: Wireshark on Kali linux Jeff Morriss (Feb 12)