Re: [W3af-develop] Reverse Ping/netcat/telnet osCommanding.py

2012-08-28 Thread Andres Riancho
Daniel, On Tue, Aug 28, 2012 at 5:11 PM, Daniel Zulla wrote: > Hi there, > I have recognized scapy as a dependency of the current w3af. Cool, > Also, the current osCommanding plugin seems to use "ping" on a remote host > to verify a vulnerability. > > That's smart. :) I'm sure I stole it from

[W3af-develop] Reverse Ping/netcat/telnet osCommanding.py

2012-08-28 Thread Daniel Zulla
Hi there, I have recognized scapy as a dependency of the current w3af. Also, the current osCommanding plugin seems to use "ping" on a remote host to verify a vulnerability. That's smart. :) But isn't it smarter / equally smart to let the remote host ping / netcat *OUR* server, and check via raw

Re: [W3af-develop] Xml eXternal Entity

2012-08-28 Thread Andres Riancho
Evgeny, On Tue, Aug 28, 2012 at 11:14 AM, Evgeny Tolmachev wrote: > Andres, > >> The file protocol should be able to specify relative locations, correct? >> After finishing this paragraph I tested it with Python and it seems to work: > urllib2.urlopen('file:///etc/passwd').readlines()[0] >

Re: [W3af-develop] Xml eXternal Entity

2012-08-28 Thread Evgeny Tolmachev
Andres, > The file protocol should be able to specify relative locations, correct? > After finishing this paragraph I tested it with Python and it seems to work: >>> urllib2.urlopen('file:///etc/passwd').readlines()[0] 'root:x:0:0:root:/root:/bin/bash\n' >>> urllib2.urlopen('file:w3af_console').

Re: [W3af-develop] Xml eXternal Entity

2012-08-28 Thread Andres Riancho
Evgeny, On Tue, Aug 28, 2012 at 9:39 AM, Evgeny Tolmachev wrote: > Andres, > >> I think I understand what you're proposing here, but just to make things >> clear: You want to include the http protocol in the XXE plugin in order to, >> by starting an HTTP server on the box running w3af, be able

Re: [W3af-develop] Xml eXternal Entity

2012-08-28 Thread Evgeny Tolmachev
Andres, > I think I understand what you're proposing here, but just to make things > clear: You want to include the http protocol in the XXE plugin in order to, > by starting an HTTP server on the box running w3af, be able to verify if the > target web application connects to it after sending t

Re: [W3af-develop] Xml eXternal Entity

2012-08-28 Thread Andres Riancho
Evgeny, On Tue, Aug 28, 2012 at 3:22 AM, Evgeny Tolmachev wrote: > Hi, list. > > The latest one case which I had was XXE in PHPMyAdmin, which allow reading > files after export with special crafted *.xml file and exploit looked like > this: > > > > ]> > xmlns:pma="http://www.phpmyadmin.ne