miketracy / wwmd Goto Github PK
View Code? Open in Web Editor NEWRuby web application security assessment console
Home Page: http://www.matasano.com/log
Ruby web application security assessment console
Home Page: http://www.matasano.com/log
I believe that its
gem install miketracy-wwmd
not
gem install mtracy-wwmd
This could be environmental, but here is the error I am getting:
Can't handle 1.9.x yet
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Any suggestions?
I'm running Mac OS X 10.5
I've been tracking a bug which makes irb crash with a BUS ERROR:
% irb
irb(main):001:0> require 'rubygems'; require 'wwmd'; page = WWMD::Page.new
/opt/local/lib/ruby/1.8/irb.rb:302: [BUG] Bus Error
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9]
After poking around I finally found the issue is the call to page.inspect irb is doing (irb --noinspect for instance doesn't crash).
So I ran the following program:
% cat foo.rb
require 'rubygems'
require 'wwmd'
page = WWMD::Page.new
page.inspect
% gdb --args ruby foo.rb
[...]
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000010
0x003f1daa in ruby_curl_easy_inspect ()
(gdb) bt
#0 0x003f1daa in ruby_curl_easy_inspect ()
#1 0x0010d7ff in rb_call0 ()
#2 0x0010e44c in rb_call ()
#3 0x0010f1ad in vafuncall ()
#4 0x0010f331 in rb_funcall ()
#5 0x0013aaa2 in rb_inspect ()
#6 0x0013b5fe in inspect_i ()
#7 0x001236a8 in foreach_safe_i ()
#8 0x00174061 in st_foreach ()
#9 0x001236f8 in st_foreach_safe ()
#10 0x0013aae4 in inspect_obj ()
#11 0x000e9df8 in inspect_call ()
#12 0x00107599 in rb_ensure ()
#13 0x000ee554 in rb_protect_inspect ()
#14 0x0013e719 in rb_obj_inspect ()
#15 0x0010d7ff in rb_call0 ()
#16 0x0010e44c in rb_call ()
#17 0x0010bf4e in rb_eval ()
#18 0x001186f9 in ruby_exec ()
#19 0x0011a9ca in ruby_run ()
#20 0x00001ffd in main ()
(gdb)
So it seems to be crashing while calling inspect on the easy curl object.
What's strange is that the following works fine:
% irb
irb(main):001:0> require 'rubygems'; require 'curb'; c = Curl::Easy.new("http://www.google.co.uk"); c.inspect
=> "#<Curl::Easy http://www.google.co.u>"
I'm a n00b with ruby, so you will probably be faster that me debugging this issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.