Proxmark3 community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

Announcement

Time changes and with it the technology
Proxmark3 @ discord

Users of this forum, please be aware that information stored on this site is not private.

#1 2020-03-15 10:59:57

eybisi
Contributor
Registered: 2020-03-07
Posts: 4

Using http lua modules

Hi, I want to use luasocket module in my lua scripts. I installed luarocks to install luasocket. I can load module from my system's lua5.2 interpreter but when I try to load it from proxmark's lua scripts I get undefined symbol errors.


pm3 --> script run proxy.lua
[+] Executing Lua script: ~/proxmark3/client/luascripts/proxy.lua, args ''
          
error loading module 'socket.core' from file '/usr/local/lib/lua/5.2/socket/core.so':
	/usr/local/lib/lua/5.2/socket/core.so: undefined symbol: lua_gettop

Am I doing something wrong ?

Offline

#2 2020-03-15 11:03:22

iceman
Administrator
Registered: 2013-04-25
Posts: 9,537
Website

Re: Using http lua modules

Proxmark3 client uses its own lua lib.  It doesn't honor your system installed lib.

Offline

#3 2020-03-15 11:23:42

eybisi
Contributor
Registered: 2020-03-07
Posts: 4

Re: Using http lua modules

Is there a way to install lua module ?

Offline

Board footer

Powered by FluxBB