org.owasp.jbrofuzz.io.StorageInterface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jbrofuzz-encoder Show documentation
Show all versions of jbrofuzz-encoder Show documentation
JBroFuzz is a stateless web application fuzzer for requests
being made over HTTP and/or HTTPS. Its purpose is to provide a single,
portable application that offers stable web protocol fuzzing capabilities.
As a tool, it emerged from the needs of penetration testing.
package org.owasp.jbrofuzz.io;
import java.util.Vector;
import org.owasp.jbrofuzz.fuzz.MessageContainer;
import org.owasp.jbrofuzz.graph.FileSystemTreeNode;
import org.owasp.jbrofuzz.graph.GraphingPanel;
import org.owasp.jbrofuzz.ui.JBroFuzzWindow;
public interface StorageInterface {
// The max value in bytes of the file being read 32 Mbytes
public static final int MAX_BYTES = 33554432;
/**
* Method for creating a new storage location.
*
* If the directory with the current timestamp exists, a number from
* 000 to 999 is padded to the current timestamp and a new directory
* is created.
*
* @author [email protected]
* @version 2.5
* @since 2.5
*/
public abstract void createNewLocation();
/**
*
* Return the canonical path of the directory location of the 'fuzz'
* directory.
*
*
* @return String the path of the 'fuzz' directory
*
* @author [email protected]
* @version 2.0
* @since 1.2
*/
public abstract String getLocationCanonicalPath();
/**
* For a filename, return the URI string where it is
* stored.
*
* @param fileName
* @return
*/
public abstract String getFuzzURIString(String fileName);
/**
* Return the directory which is currently being used
* for fuzz data
*
* @return File
*/
public abstract String getLocationURIString();
public abstract void writeFuzzFile(MessageContainer outputMessage, String sessionName);
public abstract Vector readFuzzFile(String fileName, String sessionId, JBroFuzzWindow mWindow);
public abstract String[] readTableRow(String sqlStatement);
public FileSystemTreeNode getSystemTreeNodeFromWalker(GraphingPanel gPanel);
}