Carlos,

On Sat, May 4, 2013 at 10:30 AM, Carlos Pantelides
<carlos_panteli...@yahoo.com> wrote:
> Hi,
>
> Thank you, Andrés, I am arrimando el bochín, the question should've been:
>
> "Where can I hook in order to know what w3af is doing?"
>
> I've found a ProgressBar[1] but seems to be sqlmap dependent.
>
> There is a Progress[2] that seems to be perfect

    Oh, now I understand what you're trying to achieve. I thought you
were running w3af in a different process and wanted to see what was
going on. Now it seems you're coding something in python that will
consume stuff from the core. My recommendation is that you read our
console and gui user interface implementations to understand how to
start a scan and get it's status.

    Regarding the status, the most important stuff is here [0][1]

[0] 
https://github.com/andresriancho/w3af/blob/master/core/controllers/core_helpers/status.py
[1] 
https://github.com/andresriancho/w3af/blob/master/core/ui/gui/tabs/log/stats.py


> I am not sure they are being used, although there is a config option set[3]
>
> Added some prints to Progress, but there was no visible activity.
>
>
>
> [1] plugins/attack/db/sqlmap/lib/core/progress.py:class ProgressBar
> [2] core/data/misc/progress.py:class Progress
> [3] profiles/OWASP_TOP10.pw3af:showProgressBar = True
>
> Carlos Pantelides
>
> @dev4sec
>
> http://seguridad-agile.blogspot.com/
>
>
> --- On Thu, 5/2/13, Andres Riancho <andres.rian...@gmail.com> wrote:
>
>> From: Andres Riancho <andres.rian...@gmail.com>
>> Subject: Re: [W3af-users] Monitor w3af from another application
>> To: "Carlos Pantelides" <carlos_panteli...@yahoo.com>
>> Cc: "w3af" <w3af-users@lists.sourceforge.net>
>> Date: Thursday, May 2, 2013, 11:55 PM
>> Carlos,
>>
>>     Take a look at this software:
>>     http://www.hackersh.org/
>>
>> Regards,
>>
>> On Thu, May 2, 2013 at 10:52 PM, Carlos Pantelides
>> <carlos_panteli...@yahoo.com>
>> wrote:
>> > Hi:
>> >
>> > In order to use w3af_console from a script and monitor
>> it, I need to get the status of w3af after starting an
>> exploration, what is the best point? It could be a write()
>> to a file that I would tail, it does not matter what but
>> where.
>> >
>> > Thank you
>> >
>> >
>> > Carlos Pantelides
>> >
>> > @dev4sec
>> >
>> > http://seguridad-agile.blogspot.com/
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Get 100% visibility into Java/.NET code with
>> AppDynamics Lite
>> > It's a free troubleshooting tool designed for
>> production
>> > Get down to code-level detail for bottlenecks, with
>> <2% overhead.
>> > Download for free and get started troubleshooting in
>> minutes.
>> > http://p.sf.net/sfu/appdyn_d2d_ap2
>> > _______________________________________________
>> > W3af-users mailing list
>> > W3af-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/w3af-users
>>
>>
>>
>> --
>> Andrés Riancho
>> Project Leader at w3af - http://w3af.org/
>> Web Application Attack and Audit Framework
>> Twitter: @w3af
>> GPG: 0x93C344F3
>>



--
Andrés Riancho
Project Leader at w3af - http://w3af.org/
Web Application Attack and Audit Framework
Twitter: @w3af
GPG: 0x93C344F3

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
W3af-users mailing list
W3af-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-users

Reply via email to