[Owasp-o2-platform] Fwd: [Owasp-webscarab] Repository beanshell scripts for webscarab

dinis cruz dinis.cruz at owasp.org
Wed Mar 23 00:33:21 EDT 2011

I wonder if we can run WebScarab under IKVM <http://www.ikvm.net/>? (i.e.
under .NET so that I could execute the scripts mentioned bellow directly
from O2 :)  )

Theoretically it should be possible, and O2 already has some support for

So ...  If you are looking for an O2 (or .NET) related challenge, here is a
good one :)

Dinis Cruz

Blog: http://diniscruz.blogspot.com
Twitter: http://twitter.com/DinisCruz
Web: http://www.owasp.org/index.php/O2

---------- Forwarded message ----------
From: Daniel Medianero <dmedianero at gmail.com>
Date: 22 March 2011 17:08
Subject: [Owasp-webscarab] Repository beanshell scripts for webscarab
To: owasp-webscarab at lists.owasp.org


I would like to know if there is some kind of beanshell script repo for
webscarab. That will help me to know about it.
In my side I developed one of that scripts to check if the HTTP TRACE method
is available and I want to share with you all, there is the script code:


import org.owasp.webscarab.model.ConversationID;
import org.owasp.webscarab.model.HttpUrl;
import org.owasp.webscarab.model.Request;
import org.owasp.webscarab.model.Response;


servidor = "https://example.org";

//Creación de la request

Request request = new Request();
request.setURL(new HttpUrl(servidor));
request.setHeader("User-Agent","WebScarabTRACE by buguroo");

//Ejecución de la petición

response = scripted.fetchResponse(request);

// Formateo la salida

if ( response.getStatus().equals("200") && response.getMessage().equals("OK"
)) {

out.println("El sistema " +servidor+ "  admite el metodo TRACE");
out.println("----- EVIDENCIA DE TRACE ------");
out.println("Request:\n"+ request);
out.println("Response:\n"+ response);

} else {

out.println("El sistema " +servidor+ "  no admite el metodo TRACE");


Kind Regards

Daniel Medianero

Owasp-webscarab mailing list
Owasp-webscarab at lists.owasp.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.owasp.org/pipermail/owasp-o2-platform/attachments/20110323/51be4b0f/attachment.html 

More information about the Owasp-o2-platform mailing list