[Owasp-dirbuster] Error on headless mode (no gui)
Carlos Gabriel Vergara
carlosgabrielvergara at gmail.com
Tue Apr 13 20:21:40 EDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
I'm using DirBusbuster in headless mode (-H parameter from command line)
from a remote server in a text terminal. When working with some
directories, DirBuster shows me this exception:
- -------------------------------------------------------------------
Exception in thread "Thread-15" java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation
which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
at java.awt.Window.<init>(Window.java:437)
at java.awt.Frame.<init>(Frame.java:419)
at java.awt.Frame.<init>(Frame.java:384)
at
javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1756)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1833)
at javax.swing.JDialog.<init>(JDialog.java:276)
at javax.swing.JDialog.<init>(JDialog.java:210)
at
com.sittinglittleduck.DirBuster.gui.JDialogInconsistentFailCodes.<init>(JDialogInconsistentFailCodes.java:44)
at
com.sittinglittleduck.DirBuster.GenBaseCase.genBaseCase(GenBaseCase.java:202)
at
com.sittinglittleduck.DirBuster.workGenerators.WorkerGenerator.run(WorkerGenerator.java:219)
at java.lang.Thread.run(Thread.java:636)
- -------------------------------------------------------------------
Doing a little homework i've found that the problem resides on the
matter that the remote text terminal cannot render a form that appears
to be shown on some circumstances. Trying again the same call but from
my local terminal (with graphical interface) and without the "-H"
parameter, i've found that in some point of the scan the application
pops a form saying "Warning - Unable to determine consistent fail
response". This form is used to enter a regular expression to allow
DirBuster to continue working, but the problem is that in headless mode
on a pure text terminal, it throws a java exception (mentioned above)
and i can't manage to input the regex in any way, so the program
execution enters in a loop waiting for some input that will never come
(in some cases, i notices a downgrade of performance in the host).
This is my command line call to the app:
$ java -jar DirBuster-0.12.jar -H -l discovery.txt -g -t 20 -s / -P -u
http://www.somehost.com
Is there some way to tell DirBuster about this regex but from "pure"
textmode? Or is there some parameter to archieve this?
Thanks in advance
PD1: Excuse me if something is not understandable; english is not my
natural language.
PD2: DirBuster is a great great tool; keep working that way!
- --
- --------8<--------
Carlos Gabriel Vergara
http://www.ThorSecurity.com.ar
PGP: http://www.ThorSecurity.com.ar/gabrielvergara.pgp
- -------->8--------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkvFCo8ACgkQDD/ODFMIaph5xwCglc/b7kfHuVe6tkDsGblD2tQ+
KtcAniY8Dmp4ngVrvZ33EPP+wedzoIFc
=d0sz
-----END PGP SIGNATURE-----
More information about the Owasp-dirbuster
mailing list