Giter Club home page Giter Club logo

wwmd's Introduction

PARDON OUR DUST

WWMD is currently in the throes of major cleanup and refactoring.

0.3.2 should be stable. It’s been thoroughly tested using 1.8.7 and should work under 1.9.3 but YMMV. It has not been tested using 2.0.

The viewstate tools can be had by themselves by using:

require 'wwmd/viewstate'

We appreciate your patience.

<;'"}()[]>{  XSSFish says, "Swim wif me"

DESCRIPTION:

WWMD was originally intended to provide a console helper tool for conducting web application security assessments (which is something I find myself doing alot of). I’ve spent alot of time and had alot of success writing application specific fuzzers + scrapers to test with.

WWMD provides a base of useful code to help you work with web sites both in IRB and by writing scripts that can be as generic or as application specific as you choose.

There’s alot of helpful stuff crammed in here and its usage has evolved quite a bit. It’s not intended to replace, remove or be better than any of the tools you currently use. In fact, WWMD works best with the tools you currently use to get stuff done. You get convenience methods for getting, scraping, spidering, decoding, decrypting and munging user inputs, pages and web applications.

It doesn’t try to be smart. That’s up to you.

What’s here is the basic framework for getting started. There’s a raft of cookbook scripts and examples that are coming soon so make sure you check the wiki regularly.

Dependencies:

  • rubygems

  • curb (taf2-curb located here on github)

  • nokogiri

  • htmlentities

INSTALL

gem installation

WWMD is available as a gem from github:

gem sources -a http://gems.github.com #(you only have to do this once)
gem install mtracy-wwmd

manual installation

fetch the repository from github and add path/to/wwmd/lib to your RUBYLIB environment variable

LICENSE:

(The MIT License)

Copyright © 2008-2019 Michael Tracy <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

## Blah blah blah

wwmd's People

Contributors

emonti avatar faandar avatar miketracy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wwmd's Issues

BUS Error in irb

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.

Doesn't seem to work on Ubuntu / 1.9.3

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?

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.