org.owasp.jbrofuzz.fuzz.ui.TransformsRow 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.fuzz.ui;
import org.owasp.jbrofuzz.encode.EncoderHashCore;
/**
*
* An Encoders row which represents values of the data help within each row.
*
*
* @author ragreen
* @since 2.3
*s
*/
public class TransformsRow {
private String encoder;
private String prefixOrMatch;
private String suffixOrReplace;
public TransformsRow(String encoder, String prefix, String suffix){
this.setEncoder(encoder);
this.setPrefixOrMatch(prefix);
this.setSuffixOrReplace(suffix);
}
public TransformsRow(){
encoder = EncoderHashCore.CODES[0];
prefixOrMatch = "";
suffixOrReplace = "";
}
public void setEncoder(String encoder) {
this.encoder = encoder;
}
public String getEncoder() {
return encoder;
}
public void setPrefixOrMatch(String prefixOrMatch) {
this.prefixOrMatch = prefixOrMatch;
}
public String getPrefixOrMatch() {
return prefixOrMatch;
}
public void setSuffixOrReplace(String suffixOrReplace) {
this.suffixOrReplace = suffixOrReplace;
}
public String getSuffixOrReplace() {
return suffixOrReplace;
}
public String toString(){
return "Encoder: " + encoder + " Preffix/Match: " + prefixOrMatch + " Suffix/Replace: " + suffixOrReplace;
}
}