// mFormat = new JBroFuzzFormat();
mWindow = new JBroFuzzWindow(new JBroFuzz());
if (inputFileName.length() > 0 && !inputFileName.equals("")){
// setup new session
OpenSession os = new OpenSession(mWindow, inputFileName);
// start fuzzing
if(!doNotFuzz){
final int c = mWindow.getTp().getSelectedIndex();
AbstractPanel p = (AbstractPanel) mWindow.getTp().getComponent(c);
p = (AbstractPanel) mWindow.getTp().getComponent(c);
p.start();
p.stop();
if (mWindow.getPanelFuzzing().isStopped()){
p.stop();
}
}
// write the results to output file
// tbd. see writeOutputfile() for further info;
// if (outputFileName.length() > 0 || !outputFileName.equals("")) returnValue = writeOutputFile(mWindow, outputFileName);
// open result window for further analysis
if (result) JBroFuzzWindow.createAndShowGUI(os.getmWindow());
}
else{
// no commandline options
JBroFuzzWindow.createAndShowGUI(mWindow);
}