-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
/me wonders why as a common user the LUA script is executed whwreas as sudo it won't print the hello world :
tfoerste@n22 ~/devel/wireshark $ cat hello.lua
-
-- hello.lua
- -- Lua's implementation of D. Ritchie's hello world program.
print("hello world!")
- --
- --
tfoerste@n22 ~/devel/wireshark $ ./tshark -X lua_script:hello.lua
hello world!
tshark: There are no interfaces on which a capture can be done
tfoerste@n22 ~/devel/wireshark $ sudo ./tshark -X lua_script:hello.lua
Running as user "root" and group "root". This could be dangerous.
Capturing on 'wlp3s0'
1 16:40:09.559696 62.231.75.133 -> 192.168.178.21 TCP 236 afs3-fileserver → 35798 [PSH, ACK]
Seq=1 Ack=1 Win=520 Len=170
2 16:40:09.559792 192.168.178.21 -> 62.231.75.133 TCP 66 35798 → afs3-fileserver [ACK] Seq=1 Ack=171 Win=1304 Len=0
3 16:40:09.822955 192.168.178.1 -> 239.255.255.250 SSDP 165 M-SEARCH * HTTP/1.1
4
16:40:09.823733 fe80::a96:d7ff:fe05:f928 -> ff02::c SSDP 179 M-SEARCH * HTTP/1.1
^C4 packets captured
- --
MfG/Sincerely
Toralf Förster
pgp finger print:1A37 6F99 4A9D 026F 13E2 4DCF C4EA CDDE 0076 E94E
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -
http://www.enigmail.net/iF4EAREIAAYFAlMtrzcACgkQxOrN3gB26U6T3QD/TsHPGLqRq1/XPCAv7Nru+zpz
a+LQikNYgxgzfl36B1IA/1O2NbW+zXx2F2hw4qDvkNQl/j5B/pbvrs1/On8y8liF
=Agst
-----END PGP SIGNATURE-----
___________________________________________________________________________
Sent
via: Wireshark-users mailing list <
wireshark-users@xxxxxxxxxxxxx>
Archives:
http://www.wireshark.org/lists/wireshark-usersUnsubscribe:
https://wireshark.org/mailman/options/wireshark-users mailto:
wireshark-users-request@xxxxxxxxxxxxx?subject=unsubscribe