Ok so i tried using spoonwep in BT4 and it resulted in failure, because it can't find the wireless card.
So i decompile the findcards.class from the jar archive in spoonwep2.lzm file file and it shows this:
Code:
// Decompiled by DJ v3.10.10.93 Copyright 2007 Atanas Neshkov Date: 09.04.09 00:39:46
// Decompiler options: packimports(3)
// Source File Name: findcards.java
package spoonwep;
import java.io.*;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JComboBox;
// Referenced classes of package spoonwep:
// spoonwep
class findcards
{
public findcards()
{
spoonwep.CARDBOX.setFocusable(false);
try
{
String cmdiwlist3[] = {
"/bin/sh", "-t", "-c", "(ifconfig -a | grep encap: | awk -F \" \" {'print $1'})"
};
ProcessBuilder builderiwlist3 = new ProcessBuilder(cmdiwlist3);
Process processiwlist3 = builderiwlist3.start();
spoonwep.CARDBOX.removeAllItems();
Thread.sleep(100L);
spoonwep.CARDBOX.addItem("CHOOSE A CARD");
InputStreamReader ISRiwl3 = new InputStreamReader(processiwlist3.getInputStream());
BufferedReader BR1iwl3 = new BufferedReader(ISRiwl3);
do
{
String linex3;
if((linex3 = BR1iwl3.readLine()) == null)
break;
if(!linex3.contains("lo"))
spoonwep.CARDBOX.addItem((new StringBuilder()).append(" ").append(linex3.toUpperCase()).toString());
} while(true);
}
catch(InterruptedException ex)
{
Logger.getLogger(spoonwep/findcards.getName()).log(Level.SEVERE, null, ex);
}
catch(IOException ex) { }
spoonwep.CARDBOX.setSelectedIndex(0);
}
String K[];
}
Then i tried to find where was the problem so after brainstorming i found that this command:
Code:
/bin/sh -t -c ifconfig -a | grep encap: | awk -F \ \ {'print $1'}
was giving this output in BT3:
Code:
eth0
lo
wlan0
wmaster0
and in BT4 gave a sort of error (i haven't wrote it down so i can't post the output).
And i think this error was due to this parameter in the command "-t".
And without the option "-t", the command gives the following output in BT4:
Code:
eth0
lo
wlan0
wmaster0
which is the same as in BT3.
And i think this should resolve the problem, BUT i need the full source code to make the changes, and that's a new problem that needs to be resolved.
I'm not a programmer, in fact I'm a power engineer and i have a basic knowledge of C and C++. And if there's something wrong in any of the
above postings and if someone knows Java please read my post and tell me if i am right.
P.S> And FYI (for your information) I'm using the terminal so i don't need this tool, but i thought i could help implementing this tool for the newbies in BT and WEP/WPA encryption.