Search the Community
Showing results for tags 'ruby'.
Hi guys. Quite newbie with wifipineapple, or in general, and I was trying to install bettercap to the nano since I really like it, but for that I need to install ruby and gems, I tried with: opkg --dest sd install ruby opkg --dest sd install ruby-gems but everytime I try to run ruby itself or .rb it does not point to the right path, it stills tries to go to /usr/lib/ruby/ruby2.2-bin. Since my english is quite negligent I'll try to put examples. # ruby /sd/usr/bin/ruby: exec: line 4: /usr/lib/ruby/ruby2.2-bin: not found /sd/usr/bin/ruby# ./ruby2-2.bin <internal:gem_prelude>:1:in `require': cannot load such file -- rubygems.rb (LoadError) from <internal:gem_prelude>:1:in `<compiled>' I believe bettercap also requires some specific libs or gems, but still, if I try: #sd/bettercap-master/bin ./bettercap /sd/usr/bin/ruby: exec: line 4: /usr/lib/ruby/ruby2.2-bin: not found. Again, it cannot find ruby path. Any ideas guys?
I have scanned for vulnerabilities with nessus, and i found this (PHP 5.4.x < 5.4.5 _php_stream_scandir Overflow). So i went to the www.exploit-db.com/exploits/19231/ where it is Exploit Code written in python, i tried to use it with metasploit+armitage. But i don't know how to load the script in the existing database on my pc, i am using windows 7, and the "victim" is not on local network, i am new to this so i need some help. Also i am asking for some tutorials, or useful links where can i learn new things.
When I first got my pineapple I could opkg install ruby and other ruby packages just fine. Ruby "still" works... but irb and gem won't. I've looked into the fact that /usr/lib/ruby is at /usb/usr/lib/ruby ... I linked it. After that I seemed to have progress except I get a "/usb/usr/bin/ruby: can't resolve symbol 'getipnodebyname'" error. It seems that OpenWRT has a bad file in the package. One source suggests downgrading the zlib library... but the link given is bad. Another seems to indicate it's a makefile difference and a merge to an old version will fix it. Are we able to build/fix packages on the box? I really would like to use the full power of the Ruby language here. Help would be greatly appreciated!