Hi,
I get error. Can you help me?
Code:
[>] Creating scripts...
[>] Starting metasploit...
fakeAP_pwn.sh: line 365: syntax error near unexpected token `;'
fakeAP_pwn.sh: line 365: `if [ "$transparent" == "false" ]; then; $xterm -geometry 75x15+10+0 -T "fakeAP_pwn v$version - Metasploit" -e "$metasploitPath/msfconsole -r /tmp/fakeAP_pwn.rc" &; fi'
and two more problems that I fix already:
Code:
interface=$(ifconfig | grep $monitorInterface | awk '{print $1}')
if [ "$interface" != "$monitorInterface " ]; then
echo "[-] The monitor interface $monitorInterface , isnt correct." 1>&2
cleanup
fi
should be without space, because it return error.
and one more thing
should be before
Code:
interface=$(ifconfig | grep at0 | awk '{print $1}')
if [ "$interface" != "at0" ]; then
echo "[-] Couldn't create the fake access point." 1>&2
cleanup
fi
because when at0 is down it is not listed in ifconfig.
EDIT
I fix error in line 365. I delete two ";" and now it works fine. THANKS FOR GREAT SCRIPT 
Regards