Giter VIP home page Giter VIP logo

patoolkit's Issues

unable to run from the global plugin folder

Hi,

I have uploaded scripts into /usr/lib64/wireshark/plugins/ and facing the problem as listed below.
Any idea what could be wrong?

Lua: Error during loading:
 ...eshark/plugins/2.6.4/patoolkit/web/tor_detection.lua:11: module 'util' not found:
	no field package.preload['util']
	no file './util.lua'
	no file '/usr/share/lua/5.1/util.lua'
	no file '/usr/share/lua/5.1/util/init.lua'
	no file '/usr/lib64/lua/5.1/util.lua'
	no file '/usr/lib64/lua/5.1/util/init.lua'
	no file '/usr/share/lua/5.1/util.lua'
	no file '/usr/share/lua/5.1/util/init.lua'
	no file './util.so'
	no file '/usr/lib64/lua/5.1/util.so'
	no file '/usr/lib64/lua/5.1/util.so'
	no file '/usr/lib64/lua/5.1/loadall.so'

Lua: Error during loading:
 ...eshark/plugins/2.6.4/patoolkit/web/post_requests.lua:13: module 'util' not found:

<skip>
Lua: Error during loading:
 ...gins/2.6.4/patoolkit/wifi/beacon_flood_detection.lua:13: module 'security' not found:
	no field package.preload['security']
	no file './security.lua'
	no file '/usr/share/lua/5.1/security.lua'
	no file '/usr/share/lua/5.1/security/init.lua'
	no file '/usr/lib64/lua/5.1/security.lua'
	no file '/usr/lib64/lua/5.1/security/init.lua'
	no file '/usr/share/lua/5.1/security.lua'
	no file '/usr/share/lua/5.1/security/init.lua'
	no file './security.so'
	no file '/usr/lib64/lua/5.1/security.so'
	no file '/usr/lib64/lua/5.1/security.so'
	no file '/usr/lib64/lua/5.1/loadall.so'

dhcp_table.lua:216 bad argument #1 to 'new'

Wireshark 3.2.5
Plugins in global (global branch)
When loading wireshark (main display, no capture files):

Lua: Error during loading:
/usr/lib/wireshark/plugins/3.2/dhcp/dhcp_table.lua:216: bad argument #1 to 'new' (Field_new: a field with this name must exist)
stack traceback:
    [C]: in function 'new'
        /usr/lib/wireshark/plugins/3.2/dhcp/dhcp_table.lua:216: in function 'callback_client_table'
            /usr/lib/wireshark/plugins/3.2/dhcp/dhcp_table.lua:304: in main chunk

            Lua: Error during loading:
            /usr/lib/wireshark/plugins/3.2/web/website_lists.lua:29: bad argument #1 to 'new' (Field_new: a field with this name must exist)
            stack traceback:
                [C]: in function 'new'
                    /usr/lib/wireshark/plugins/3.2/web/website_lists.lua:29: in main chunk

                    Lua: Error during loading:
                    /usr/lib/wireshark/plugins/3.2/web/tor_detection.lua:14: bad argument #1 to 'new' (Field_new: a field with this name must exist)
                    stack traceback:
                        [C]: in function 'new'
                            /usr/lib/wireshark/plugins/3.2/web/tor_detection.lua:14: in main chunk

Create new branch compatible with Wireshark v2.9

Hi
first of all very cool Tool.
Second a small issue with Wireshark 2.9 Dev

Lua: Error during loading:
...uzona/.local/lib/wireshark/plugins/web/tor_detection.lua:14: bad argument #1 to 'new' (Field_new: a field with this name must exist)

Hole other Tools working very well only in this script I have the small problem above
maybe Wireshark 2.9 dev or my OS is the Problem or a simple Mistake in script self.

If you have some idea it was Coll otherwise I not use the tor_detection

thanks

Andre

How to fix Lua problem

I have the latest version of Wireshark. I copied the "plugins" directory to Wireshark plugins directory.
capture

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.